Commit Graph

136 Commits

Author SHA1 Message Date
mariusmonton d430b23fc6 No nested namespaces 2021-11-29 22:21:20 +01:00
mariusmonton fb84f197bf Added namespace to project 2021-11-29 20:35:26 +01:00
mariusmonton e2981d8a50 remove unused files 2021-11-28 22:26:49 +01:00
Màrius Montón 8f0db75ee0
fixed type variable for PC 2021-11-26 01:30:29 +01:00
Màrius Montón a3e98ecc7c
reducing scope to vriable new_pc 2021-11-26 01:21:31 +01:00
Màrius Montón de2e14ff28
better log output 2021-11-25 23:31:49 +01:00
Màrius Montón 724cf258ce
merge with log branch. New log mechanism 2021-11-25 13:01:23 +01:00
Màrius Montón e6bf4e30a4
Use spdlog library as logger. 2021-11-25 12:11:18 +01:00
Màrius Montón 61be24e608 changed pointer by reference 2021-11-16 10:26:42 +01:00
Màrius Montón f7c9f47c3f changed pointer by reference 2021-11-16 10:25:47 +01:00
Màrius Montón 5caf1b77c8 Rework on DMI mechanism. Limited memory to 16MB 2021-11-16 10:20:59 +01:00
Màrius Montón e0684b6e40 change types from uintX_t to std::uintX_t 2021-11-11 17:10:43 +01:00
Màrius Montón a42877ab95 change types from uintX_t to std::uintX_t 2021-11-11 17:10:23 +01:00
Màrius Montón d0f1d2f3b2 Code clean-up 2021-11-11 14:53:26 +01:00
Màrius Montón d8a20db976 New function to increase PC by 2 (incPCby2) instead of a parameter to incPC function, could be faster code. 2021-11-11 14:52:50 +01:00
Màrius Montón de1aa4c7a6 changed C array to std::array 2021-11-09 11:15:36 +01:00
Màrius Montón 49e17203c2 Removed commented out code 2021-11-08 09:50:21 +01:00
Màrius Montón dfeb35ccea Removed double ';' 2021-11-08 09:49:36 +01:00
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 908b7e965d Better output, change registers to unsigned int as base. Should be uint32_t? 2021-11-08 09:25:36 +01:00
Màrius Montón e22f321caf Better output 2021-11-08 09:24:57 +01:00
Màrius Montón e9e4543f72 Exception doesn't stop simulation 2021-11-08 09:24:43 +01:00
Màrius Montón 08d699d34e If write to HOST, stop simulation 2021-11-08 09:21:59 +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
Màrius Montón f029d365be Unaligned jalr raise exception, ecall raise exception 2021-09-01 09:11:45 +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
hsufit cc5a14e1cd
Add missing colon for BASIC instruction log
Better for analysis the RISC-V code stream
2021-08-20 16:19:26 +08:00
Màrius Montón 06748d99bc New options to use with riscv-arch-test suite 2021-07-04 22:48:10 +02:00
Màrius Montón 56c5203899 Use real addresses in memory, extend memory size fo 0xFFFFFFFF 2021-07-04 22:47:47 +02:00
Màrius Montón 34a8f66035 Simplified extension check 2021-07-04 22:46:41 +02:00
Màrius Montón 5f47a8a906 Flush log file to save all data to disk before close simulator. 2021-06-30 17:28:10 +02:00
Màrius Montón c9bab2ae27 Remove SC_MODULE macros, other trivial code clean-up 2021-06-30 15:37:18 +02:00
Màrius Montón 40c9d678ef code clean-up (using clang-tidy) 2021-04-26 00:38:47 +02:00
Màrius Montón 08bb222df9 code clean-up (using clang-tidy) 2021-04-26 00:36:46 +02:00
Màrius Montón 1777a3bc9a code clean-up (using clang-tidy) 2021-04-26 00:20:29 +02:00
Màrius Montón 3b3813bd07 code clean-up (using clang-tidy) 2021-04-25 19:52:12 +02:00
mariusmonton 295e86a324 fixed (silly way) unused ret value 2021-02-21 20:54:15 +01:00
mariusmonton bfb537e0d5 deprecated constructor 2021-02-21 20:53:39 +01:00
Màrius Montón e340264670 fixed some bug, removed cout output 2021-02-21 19:32:52 +01:00
Màrius Montón 0e80259674 call to sc_module constructor 2021-02-21 16:17:57 +01:00
mariusmonton ea04c6ac37 fixe enum name 2021-02-21 14:04:24 +01:00
mariusmonton 512e701f22 removed unused constructor parameters 2021-02-21 14:04:11 +01:00
mariusmonton 49103e5591 Prepare for debug 2021-02-21 13:49:05 +01:00
mariusmonton 4c60d6ae75 Prepare for debug 2021-02-21 13:48:41 +01:00
mariusmonton 5927dade4d check memory boundaries 2021-02-21 13:47:06 +01:00
mariusmonton 9b7b5635d2 removed CPU64 files (unused) 2021-02-02 19:56:14 +01:00
mariusmonton db682f6055 removed typedef, use default_time instead of fixed time 2021-02-02 19:53:18 +01:00
Màrius Montón b3b00ac7f3 more performance metrics output 2021-02-01 11:24:53 +01:00
mariusmonton 1d1b6de616 reduce scope variables 2021-01-31 12:09:15 +01:00