Commit Graph

16 Commits

Author SHA1 Message Date
Màrius Montón 1890b62f07 Changed registers to uint32_t.
Removed unused initializers.
Add cast from uint to int when necessary.
2021-11-08 09:49:08 +01:00
Màrius Montón a4db8c1929 Merge branch 'master' of https://github.com/mariusmm/RISC-V-TLM 2021-09-01 09:12:16 +02:00
Màrius Montón bc1e49dc41 flush out stream when C.EBREAK 2021-09-01 09:12:13 +02:00
hsufit 293b7926f6
Add missing colon for C_extension instruction log
Better for analysis the RISC-V code stream
2021-08-20 16:23:19 +08:00
Màrius Montón 1777a3bc9a code clean-up (using clang-tidy) 2021-04-26 00:20:29 +02:00
mariusmonton 49103e5591 Prepare for debug 2021-02-21 13:49:05 +01:00
mariusmonton 622da9872a added performace information for data memory accesses 2021-01-31 12:00:25 +01:00
mariusmonton 86b98209ce exit cleanup, now closes xterm window, etc. 2021-01-31 11:38:57 +01:00
mariusmonton cb63c65d7f Implemented C_EBREAK instruction 2021-01-18 09:14:54 +01:00
mariusmonton 286dbf07a6 added const keyword to const methods 2021-01-17 15:40:47 +01:00
Màrius Montón a019de5eb3 reduce variable scope 2021-01-15 15:51:03 +01:00
mariusmonton f7dbf106cc trivial changes to increase performance 2021-01-15 09:09:52 +01:00
mariusmonton a3ad14b670 Replaced std::endl by \n for Log performance 2020-12-10 18:02:42 +01:00
mariusmonton 5b91897244 added likely, unlikely attributes to switch case, could boost perfomance 2020-06-21 00:22:51 +02:00
Màrius Montón c33524e726 fixed log condition 2020-06-11 09:23:59 +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