Commit Graph
100 Commits
Author SHA1 Message Date
eyck b8fa5fbbda adapt to extended instrumentation interface 2022-02-09 21:01:17 +01:00
eyck ac86f14a54 add tgc_c_xrb_nn to tgc-sim 2022-02-02 21:33:42 +01:00
eyck 68b5697c8f Fix cycles JSON template 2022-02-01 21:48:56 +01:00
eyck 09b0f0d0c8 fix cycle estimation plugin 2022-02-01 21:14:50 +01:00
eyck 98b418ff43 fix JSON reading 2022-02-01 19:28:11 +01:00
eyck 059bd0d371 rework cycle estimation 2022-02-01 19:03:45 +01:00
eyck ef2a4df925 simplify spawn block handling 2022-01-31 23:40:31 +01:00
eyck afe8905ac9 fix else-ambiguity in CoreDSL description 2022-01-31 20:30:46 +01:00
eyck 3563ba80d0 add spawn blocks 2022-01-12 07:21:16 +01:00
eyck 09955be90f update gitignore 2021-12-05 08:45:49 +01:00
eyck dd4c19a15c add option to configure number of irq 2021-12-01 12:56:36 +01:00
eyck 07d5af1dde fix stand-alone ISS compilation to include all generated cores 2021-11-26 17:56:40 +01:00
eyck 6f8595759e make tgc-sim include all available ISS 2021-11-25 20:00:27 +01:00
eyck 309758b994 fix clic_cfg access scheme 2021-11-17 07:59:02 +01:00
eyck 965929d1eb remove descriptions 2021-11-15 09:30:16 +01:00
eyck d47375a70e fix ebreak CSR update 2021-11-13 12:47:23 +01:00
eyck d31b4ef5a8 fix MISA val 2021-11-11 12:58:57 +01:00
eyck 7452c5df43 add TGC_D_XRB_NN definition 2021-11-11 12:16:35 +01:00
eyck 43d7b99905 revert pmp check implementation 2021-11-11 09:58:19 +01:00
eyck f90c48e881 adapt to changed define names 2021-11-11 08:33:35 +01:00
eyck 2d7973520b fix mip handling 2021-11-09 19:47:34 +01:00
eyck fd98ad95f6 rework PMP check and fix MISA for TGC_D 2021-11-09 15:55:22 +01:00
eyck bfa8166223 fix wrong template class name 2021-11-08 10:44:33 +01:00
eyck c42e336509 fix proper debug mode handling (#267 & #268) 2021-11-07 17:48:44 +01:00
eyck 49d09a05d7 fix access rights to debug CSR register (#268) 2021-11-07 16:45:10 +01:00
eyck 459794b863 add proper handling of store access fault (hart_mu_p) 2021-11-06 13:29:11 +01:00
eyck 039746112b fix exception behavior 2021-11-02 15:10:20 +01:00
eyck ac6d7ea5d4 add debug feature to platform 2021-11-02 11:13:29 +01:00
eyck 8b6e3abd23 fix hard-code arch in templates 2021-10-30 13:37:17 +02:00
eyck 1616f0ac90 remove deprecated functions 2021-10-30 12:57:08 +02:00
eyck a20f39e847 update core definitions to include Zicsr and Zifencei (#276) 2021-10-30 12:56:31 +02:00
eyck 334d3fb296 adapt to SCC changes 2021-10-21 22:53:16 +02:00
eyck eb2ca33e5a remove unused sources 2021-10-12 15:17:56 +02:00
eyck 0ea4cba1ca add dynamic plugin loading 2021-10-12 14:24:55 +02:00
eyck 1d13c8196e fix wrong PGMASK usage 2021-10-11 10:40:01 +02:00
eyck ee6e1d4092 Merge remote-tracking branch 'origin/msvc_compat' into develop
Conflicts:
	src/sysc/core_complex.cpp
2021-10-11 09:42:40 +02:00
eyck c8679fca85 remove MSVC warning 2021-10-10 19:56:33 +02:00
eyck f0ada1ba8c add MSVC 16 compatibility 2021-10-10 19:06:41 +02:00
eyck b17682e50e fix YAML template 2021-10-01 23:49:04 +02:00
eyck 5866acf565 update .gitignore 2021-10-01 13:06:10 +02:00
eyck 6acf73a40f add template to generate instruction YAML 2021-10-01 13:05:36 +02:00
eyck 2f15d9676e fix unaligned instr fetch behavior 2021-09-30 19:27:46 +02:00
eyck d78fcc48e5 use marchid in platform 2021-09-30 19:27:03 +02:00
eyck 4186723d37 add marchid setting to CoreDSL description 2021-09-30 19:26:21 +02:00
eyck 17ee7b138d update generated TGC-C VM 2021-09-29 00:44:17 +02:00
eyck aa84a27a5b fix JALR alignment in description 2021-09-29 00:43:42 +02:00
eyck 438e598a4a remove clutter from core descriptions, added instr alignment setting 2021-09-29 00:03:11 +02:00
eyck 174259155d add support for non-compressed ISA 2021-09-23 21:09:52 +02:00
eyck ba9339a50d fix MPP reset value, PMP inactive in U-mode handling and MRET in U-mode 2021-09-21 16:52:40 +02:00
eyck 65b4db5eca remove mcounteren in M-mode only platform 2021-09-18 11:40:00 +02:00
eyck 0fd82f1f3c add tgc_d_xrb_mac to SC and C++ ISS 2021-09-04 13:04:34 +02:00
eyck a3084456fd rework core definitions 2021-09-04 12:47:07 +02:00
eyck 09b01af3fa fix find_package use and debug access alignment check 2021-08-26 22:10:27 +02:00
eyck 9c8b72693e correct trap ids of access faults 2021-08-20 09:02:56 +02:00
eyck c409e7b7ca adapt to fixed handling of SystemCPackage 2021-08-19 13:38:29 +02:00
eyck 2f05083cf0 fix elf loader and pmp check for debug accesses 2021-08-19 10:50:25 +02:00
eyck e934049dd4 fix inconsistency due to PA adaptation 2021-08-16 17:55:14 +02:00
Eyck Jentzsch 94f796ebdb add install target and PA compatibility 2021-08-16 17:02:31 +02:00
eyck 836ba269e3 fix clic reset values 2021-08-16 15:05:05 +02:00
eyck c8681096be update vm_tgfs_c to match CoreDSL 2021-08-14 10:57:36 +02:00
eyck adeffe47ad fix behavior of riscv_hart_mu_p to match TGC_D 2021-08-12 20:34:10 +02:00
eyck d95846a849 fix trap handling if illegal fetch (PMP) and U-mode CSRs 2021-08-01 17:23:22 +02:00
eyck af887c286f fix for #2 2021-07-28 09:09:08 +02:00
eyck 4ddf50162c make library naming consistent 2021-07-27 15:55:08 +02:00
eyck da819d8890 fix SystemC lib handling in build system 2021-07-27 12:25:31 +02:00
eyck 5ef5d57d30 Merge branch 'tmp' into develop 2021-07-27 10:49:35 +02:00
eyck d7bddd825c add clic CSRs 2021-07-27 10:47:48 +02:00
eyck 15f46a87db adapt core_complex to use scv-tr (scc commit id a3cde47) 2021-07-27 09:38:05 +02:00
eyck fc1ae4d57d update build system 2021-07-26 12:03:52 +02:00
eyck d0f3a120fd fix naming in MU wrapper 2021-07-19 16:26:23 +02:00
eyck c592a26346 fix mepc mask 2021-07-09 13:01:22 +02:00
eyck e68918c2e8 fix instruction decode 2021-07-09 07:37:12 +02:00
eyck 473f8a5a17 fix privilege behavior 2021-07-07 11:30:00 +02:00
eyck 2f4b5bd9b2 fix detailed behavior of TGC_C 2021-07-06 21:19:36 +02:00
eyck 23b9741adf refine and fix TGC_C iss to becoem compliant 2021-06-29 11:51:30 +02:00
eyck 5d8da08ce5 fix linker issue
the root cuase of the issue is the template paramter deduction which led
to the wrong template parameter.
2021-06-26 14:30:36 +02:00
eyck e432dd8208 fix handling of exceptions while accessing address spaces 2021-06-07 22:22:36 +02:00
eyck 8c385647dd remove redundant code from checked in generated sources 2021-05-26 23:06:31 +02:00
eyck aaceecd5dc fix mu_p platform features and CSRs 2021-05-17 09:20:09 +02:00
eyck 4b3f5a6b0c add missing change 2021-05-16 16:44:30 +02:00
eyck d41e1d816a add factory for ISS and use it in main.cpp 2021-05-16 16:44:14 +02:00
eyck a35974c9f5 make cpu type in core_complex configurable 2021-05-16 15:06:42 +02:00
eyck 9c456ba8f2 initial version of MU hart 2021-05-14 13:29:39 +02:00
eyck c57884caee small fix 2021-05-13 16:01:04 +02:00
eyck cf7b62a3f9 update names 2021-05-13 15:54:48 +02:00
eyck f2bf6d682a fix build setup 2021-05-13 14:03:10 +02:00
eyck a1fa8877f7 make core name a cmake option 2021-05-13 09:32:38 +02:00
eyck 391f9bb808 remove unneeded constants 2021-05-08 15:14:19 +02:00
eyck 0a76ccbdac make RSP register response independend of register definition 2021-03-31 07:48:46 +00:00
eyck 32e4aa83b8 use extracted variables 2021-03-27 09:36:52 +00:00
eyck 78c7064295 update groovy template to extract used registers 2021-03-26 08:24:45 +00:00
eyck 412a4bd9bb update name 2021-03-23 17:13:32 +00:00
eyck b0bcb7febb small fixes for robustness and readability 2021-03-22 22:47:30 +00:00
eyck 51fbc34fb3 change namespace of core complex 2021-03-22 11:57:40 +00:00
eyck 4e0f20eba0 rework abort conditions 2021-03-17 19:32:57 +00:00
eyck ff3fa19208 fix RVM description bugs 2021-03-13 10:46:41 +00:00
eyck 80057eef32 fix RVC description bugs, remove paged fetch 2021-03-13 10:46:41 +00:00
eyck f4ec21007b fix signedness issues 2021-03-11 16:12:28 +00:00
eyck ac8eab6e25 update RISC-V desciptions 2021-03-10 17:31:10 +00:00
eyck 768716b064 fix another missing XLEN 2021-03-09 11:07:56 +00:00