Commit Graph

271 Commits

Author SHA1 Message Date
Màrius Montón 7867d7c592 fixed Makefile to work with cpp files 2020-06-11 09:29:06 +02:00
Màrius Montón 7ddacbfe1e C++ example 2020-06-11 09:24:48 +02:00
Màrius Montón c33524e726 fixed log condition 2020-06-11 09:23:59 +02:00
Màrius Montón 6ff0da0313 new log file, same performance 2020-06-09 16:37:29 +02:00
Màrius Montón 5ee634e4b4 Major refactoring!
* A_Instruction, C_Instruction and M_Instruction renamed to *_extension
  * These files decode and executes extensions
  * These classes use a new base clase extension_base
* Execute & Instruction classes heavyly modified:
  * Execute now is BASE_ISA and decodes and executes base ISA, Zicsr & Zifencei
  * Instruction keeps the instruction being executed, nothing else
* Add memory interface to ISS to clear the code and the structure
* Removed "using namespace " directives, all classes are called using their namespace
* Added proper header to each file
* Added license to all files
2020-06-02 13:08:38 +02:00
Màrius Montón 9a46e9d0a5 add missing break for case 2020-05-29 16:03:45 +02:00
Màrius Montón 95b9685ad9 removed creation of class every CPU loop. It should get better performance 2020-05-28 17:18:50 +02:00
Màrius Montón 4838205aba FreeRTOS test project 2020-05-28 11:23:43 +02:00
Màrius Montón 16b86bfe14 add authors and credits 2020-05-26 10:55:12 +02:00
mariusmonton 5968a12e5f typo 2020-05-24 21:04:39 +02:00
mariusmonton 7d0620fb9a add CARRV paper 2020-05-24 21:03:50 +02:00
Màrius Montón 2aaa83a064 new MSTATUH CSR register 2020-04-14 12:27:09 +02:00
Màrius Montón 45884cb0bd new tests 2020-04-11 13:33:12 +02:00
mariusmonton ede34d7768 Merge branch 'master' of https://github.com/mariusmm/RISC-V-TLM 2020-04-10 16:43:35 +02:00
mariusmonton 5d30416955 Fixed some warnings from coverity 2020-04-10 16:43:22 +02:00
Màrius Montón dc5f6aa37b Makefile for newlib nano and new Trace peripheral explanied 2019-09-25 09:04:44 +02:00
Màrius Montón 62b8bc4cb2 better docker explanation 2019-09-25 08:15:08 +02:00
Màrius Montón 1379eca32d unused option 2019-09-24 11:19:19 +02:00
Màrius Montón 2e9044a68c new test using malloc() 2019-09-24 11:18:54 +02:00
Màrius Montón d575410a06 if condition clarified 2019-09-24 11:12:47 +02:00
Màrius Montón 70e9313025 fixed wrong interrupt enable value 2019-09-24 11:03:31 +02:00
Màrius Montón 5f0da6b208 fixed potential bug on memcpy 2019-09-24 11:02:15 +02:00
Màrius Montón 7431fc5abb Fixed Makefile, definitive Makefile using newlib 2019-09-24 11:00:06 +02:00
Màrius Montón 72ffb2bce3 file renamed 2019-09-20 16:45:38 +02:00
mariusmonton 9796130cb5 Merge branch 'master' of https://github.com/mariusmm/RISC-V-TLM 2019-09-13 19:11:47 +02:00
Màrius Montón b4f355f4fe
updated docker shield 2019-09-13 14:48:18 +02:00
Màrius Montón a0907cbbfe fixed wrong objdump filename 2019-09-13 14:28:43 +02:00
mariusmonton e75a4bfdfd add missing CSR register MCYcLE and similars 2019-09-13 00:00:59 +02:00
Màrius Montón 92a450b75e updated performance with new computer 2019-09-12 11:30:57 +02:00
Màrius Montón 916ab46907 print out test result at the end of simulation 2019-09-10 12:36:45 +02:00
Màrius Montón d63d95f634 fixed bug related DMI access when memory offset != 0 2019-09-10 12:24:46 +02:00
Màrius Montón 1d7c8bbdac missing docker command line update 2019-09-09 14:13:45 +02:00
Màrius Montón 37891e28a0 fixed wrong binary name 2019-09-09 14:09:16 +02:00
Màrius Montón 2c5615fc8d updated Docker information 2019-09-09 14:09:06 +02:00
Màrius Montón 4d5efee0e9 added xterm package to docker image 2019-09-08 15:39:32 +02:00
Màrius Montón 1bb3200eb6 add destructor for clean exit 2019-09-08 11:42:05 +02:00
Màrius Montón 1babf6cb88 added sc_stop at the end of the simulation to call destructors 2019-09-08 11:41:30 +02:00
Màrius Montón 0415ba3c66 added xterm window for trace output 2019-09-08 11:41:06 +02:00
Màrius Montón e2f3dfb30c fixed wrong dump executable name 2019-09-07 11:41:16 +02:00
Màrius Montón 96c17868e4 added unused sys functions to avoid warning on compile 2019-09-07 11:40:00 +02:00
Màrius Montón a703c5f4ba new malloc test 2019-09-07 11:39:09 +02:00
Màrius Montón dd847804c0 Merge branch 'master' of https://github.com/mariusmm/RISC-V-TLM 2019-07-12 17:50:20 +02:00
Màrius Montón 30e81424ee added coverage 2019-07-12 17:50:07 +02:00
Màrius Montón 32c9c6c6a5
Update README.md
typos
2019-06-22 17:07:34 +02:00
Màrius Montón 45c1548971
Update README.md
add how to compile cross compiler for riscv32
2019-06-22 16:31:06 +02:00
mariusmonton f140f5118f update how to work with assembly files 2019-06-09 21:19:47 +02:00
mariusmonton 1d1c1b0931 added memory map 2019-04-10 11:16:14 +02:00
mariusmonton 471d2c045f Merge branch 'master' of https://github.com/mariusmm/RISC-V-TLM 2019-03-28 22:53:53 +01:00
mariusmonton d42d67b991 DMI access added (if available) 2019-03-28 22:52:36 +01:00
Màrius Montón 0a5938a13f
Update issue templates 2019-02-21 13:27:37 +01:00