Commit Graph

279 Commits

Author SHA1 Message Date
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 175f01ac71
fix path to spdlog 2021-11-26 01:14:20 +01:00
Màrius Montón c786010527
wrong directory 2021-11-26 01:08:26 +01:00
Màrius Montón ef3f6d5af8
download spdlog to travis 2021-11-26 01:05:08 +01:00
Màrius Montón 875d784264
try to find spdlog 2021-11-26 00:34:49 +01:00
Màrius Montón 3b134013d0
systemc compiled using cmake 2021-11-26 00:21:29 +01:00
Màrius Montón b5c8b9d208
fixed paths for travis 2021-11-25 23:41:54 +01:00
Màrius Montón de2e14ff28
better log output 2021-11-25 23:31:49 +01:00
Màrius Montón 50c6d4e6d3
systemc version 2.3.3 2021-11-25 23:31:06 +01:00
Màrius Montón 8d658e8151
fixed missing path 2021-11-25 23:25:52 +01:00
Màrius Montón 7409f9c07a
Use cmake instead of Makefile. 2021-11-25 14:20:58 +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 2c4de6a427 Fixed types 2021-11-16 10:27:28 +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 429a67fbef Merge branch 'master' of https://github.com/mariusmm/RISC-V-TLM 2021-11-09 11:18:06 +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 73a1047e3e
Update README.md
Changed travis-ci link to .com
2021-11-08 18:17:04 +01:00
Màrius Montón d1c80d1014
Update README.md 2021-11-08 18:16:34 +01:00
Màrius Montón 20909f4582
Update README.md
Changed to travis.ci.com
2021-11-08 18:16:01 +01:00
Màrius Montón bddf2b68c1
Update .travis.yml
Add --no-check-certificate to download systemc library
2021-11-08 18:11:01 +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 24c593e715 JALR cannot be const because calls RaiseException 2021-11-08 09:21:19 +01:00
Màrius Montón ebf658ccd2 Merge branch 'master' of https://github.com/mariusmm/RISC-V-TLM 2021-09-06 23:18:30 +02:00
mariusmonton 67015c2d35 removed codeql analysis, I can't make it work 2021-09-03 17:27:12 +02: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
Màrius Montón 5bf877c7e5
Merge pull request #10 from hsufit/Add_missing_colons
Add missing colons for log purposes.
2021-08-20 18:01:43 +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 b4461cab61
Create codeql-analysis.yml 2021-07-09 14:42:08 +02: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