Charles Papon
153445ff21
Fix CFU / FPU decoder stage fork on illegal instruction
2023-03-05 20:29:53 +08:00
Dolu1990
cf70bc6b1f
fix last push
2023-03-03 14:20:12 +01:00
Dolu1990
b03b00a5c4
Improve d$ coupled timings
2023-03-03 14:13:51 +01:00
Dolu1990
5493c55ab0
Alows Fetcher to have multiple debug injection ports
2023-03-03 09:06:20 +01:00
Dolu1990
5f67075e30
Fix FPU with F64 support, not removing mantissa precision from F32 #317
2023-03-01 13:56:25 +01:00
Dolu1990
b29eb542f2
Merge pull request #306 from lschuermann/dev/csr-plugin-formal-halt
...
CsrPlugin: insert FORMAL_HALT := False
2023-02-27 09:22:46 +01:00
Dolu1990
c655abbb1e
Merge pull request #304 from lschuermann/dev/fetcher-formal-mode
...
Fetcher: insert FORMAL_MODE encoded from privilegeService
2023-02-27 09:09:58 +01:00
Leon Schuermann
49246e757f
CsrPlugin: insert FORMAL_HALT := False
2023-02-26 16:56:00 -05:00
Leon Schuermann
13d66b3ae4
Fetcher: insert FORMAL_MODE encoded from privilegeService
...
Previously, FORMAL_MODE would simply be hard-coded to "11", indicating
machine mode. However, that's not necessarily true when using the
CsrPlugin, which allows to switch the hart into either User or
optional Supervisor mode. Hence we create a FORMAL_MODE insert in the
fetch-phase (which is generally when the MPP register can take effect)
and generate `rvfi_mode` based on that insert.
2023-02-24 16:40:47 -05:00
Dolu1990
6f76a45e7d
update mmu test
2023-02-23 15:54:39 +01:00
Dolu1990
d7e9c726c3
Fix datacache initial flush
2023-02-23 14:42:21 +01:00
Dolu1990
c5689e512c
CsrPlugin now provide regression args
2023-02-23 12:00:25 +01:00
Dolu1990
a40d5f19b2
Fix MMU A and D flag handeling
2023-02-23 12:00:08 +01:00
Dolu1990
344b2d4eda
TestIndividual supervisor missing CSR=yes
2023-02-23 11:59:13 +01:00
Dolu1990
9605b663bf
D$ now support thightly coupled ram.
...
Add IBusDBusCachedTightlyCoupledRam plugin
2023-02-22 15:26:14 +01:00
Dolu1990
220b599c9a
Fix d$ invalidation when the mmu is enabled
2023-02-22 13:16:02 +01:00
Dolu1990
366f09a14a
fix too early
2023-02-19 09:51:54 +01:00
Dolu1990
15a665af53
fix too early
2023-02-19 09:51:18 +01:00
Dolu1990
c57da3c7dc
fix too early
2023-02-19 09:50:41 +01:00
Dolu1990
d078297496
fix too early
2023-02-19 09:48:59 +01:00
Dolu1990
a780eec616
Merge branch 'debug-debug' into dev
2023-02-13 10:04:41 +01:00
Dolu1990
33e820bdf9
FPU now implement a less pessismitic dirty logic
2023-02-08 15:16:53 +01:00
Dolu1990
3ae51cdeb8
Fix fpu csr access on fs===0 now also trap
2023-02-08 14:44:04 +01:00
Dolu1990
692f604dd5
Fix VexRiscvSmpClusterGen without linux debug minimal features
2023-02-08 11:28:21 +01:00
Dolu1990
cbc89093b3
fpu csr access on fs===0 now also trap
2023-02-07 10:18:08 +01:00
Dolu1990
9acc5ddc1c
Fix FPU access trap on fs = 0 #297
2023-02-06 11:44:44 +01:00
Dolu1990
fc9a9d25ed
sync
2023-02-06 11:43:49 +01:00
Dolu1990
e83bc5312e
Fix RVC decompressor don't care #296
2023-01-18 15:19:59 +01:00
Dolu1990
2bc6e70f03
Fix RVC decompressor don't care #296
2023-01-18 15:19:33 +01:00
Dolu1990
7d3a862183
Fix Litex cluster scopt update
2023-01-16 18:10:51 +01:00
Dolu1990
aea2e90d1e
Upgrade to SBT 1.6.0
2023-01-16 17:58:23 +01:00
Dolu1990
94f2ea6dec
Merge pull request #289 from buncram/expose-satp
...
Expose satp
2023-01-16 12:45:02 +01:00
Dolu1990
0aa6e0573d
shorter satp export
2023-01-16 12:43:01 +01:00
Dolu1990
ed5babaaab
shorter syntax on privilege export
2023-01-16 12:39:55 +01:00
buncram
2297f8aea0
also need to expose privilege state
...
turns out SATP is not enough to figure out what code you're running,
because the kernel code is mapped into all userspace's virtual memory
areas. You also need the privilege state to be exported.
This creates an option to export those bits.
2023-01-16 02:16:25 +08:00
Dolu1990
0963eb06bd
Merge pull request #294 from chiangkd/master
...
Fix invalid hyperlink
2023-01-13 16:25:30 +01:00
chiangkd
6650d0549d
Fix invalid hyperlink
2023-01-12 20:51:58 +08:00
Dolu1990
c8dff13391
Merge pull request #291 from chiangkd/master
...
Fix incorrect comment
2023-01-02 09:56:49 +01:00
chiangkd
df52fab7d1
Fix incorrect comment
2022-12-24 20:41:57 +08:00
Dolu1990
8a6a926401
Merge pull request #288 from betrusted-io/expand-satp
...
Expand SATP register to 22 bits per spec
2022-12-20 16:05:13 +01:00
buncram
11f391eadf
Merge remote-tracking branch 'origin/expand-satp' into expose-satp
2022-12-20 19:31:15 +08:00
bunnie
bf3521f86a
Expand SATP register to 22 bits per spec
...
Vex only implements a 32-bit PA which does not take advantage
of the potetnial 32-bit space in Sv32 mode. Very reasonably,
Vex simply discards the top two unused bits.
However, the spec does require that the register occupy all 22
bits and it is possible for the OS to use the extra bits up top
for some bookkeeping purpose. This commit proposes to expand the
register to occupy the full 22 bits in case an OS is written
to utilize the full width of the register as written in the spec.
2022-12-20 19:25:47 +08:00
buncram
b86047901a
add flag to expose SATP externally
2022-12-19 19:03:33 +08:00
Dolu1990
51b69a1527
SpinalHDL 1.8.0
2022-12-05 20:10:58 +01:00
Dolu1990
773f268f37
Fix FPU test syntax
2022-12-01 12:04:16 +01:00
Dolu1990
fb084327da
Add VexRiscvBmbGenerator CsrPlugin withPrivilegedDebug assert
2022-11-28 16:30:47 +01:00
Dolu1990
eafeb5fe49
Add EmbeddedRiscvJtag.debugCd
2022-11-28 11:04:02 +01:00
Dolu1990
a25ae96d33
comment debug code
2022-11-21 14:02:35 +01:00
Dolu1990
572ca3fcfa
Privileged debug fake maskmax to 31
2022-11-21 14:01:28 +01:00
Dolu1990
5a8cdee884
Fix CsrPlugin dcsr.stepie
2022-11-21 11:55:07 +01:00