mariusmonton
1d271cbb0a
explicit sc_core::wait, typos and newline
2020-07-19 11:18:58 +02:00
mariusmonton
d278b1e0a5
Added ecall to asm example files as commented in issue #7
2020-07-17 17:04:05 +02:00
mariusmonton
04aa12e42d
fix issue #5
2020-07-10 16:48:29 +02:00
mariusmonton
abf47625a1
change fixed array for CSR to unordered map
2020-06-21 00:29:45 +02:00
mariusmonton
5b91897244
added likely, unlikely attributes to switch case, could boost perfomance
2020-06-21 00:22:51 +02:00
mariusmonton
9feda996e6
Merge branch 'master' of https://github.com/mariusmm/RISC-V-TLM
2020-06-20 11:22:39 +02:00
mariusmonton
376d3e9e4f
better container class
2020-06-20 11:22:22 +02:00
Màrius Montón
3cfbdcf6b8
cpp rtti examples
2020-06-11 10:23:35 +02:00
Màrius Montón
03a228b020
cpp rtti examples
2020-06-11 10:23:20 +02:00
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