summaryrefslogtreecommitdiff
path: root/rvcontroller.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2026-05-24 18:55:00 -0500
committercheapie <no-email-for-you@example.com>2026-05-24 18:55:00 -0500
commit9504225c8178935d561873c665214dcea2cf07fc (patch)
treee9a02bef6660eaa40cf9f91d957b8f36e312f072 /rvcontroller.lua
parent6b6c76200829142aa6b3986a64362825d56fd471 (diff)
downloadrvcontroller-9504225c8178935d561873c665214dcea2cf07fc.tar
rvcontroller-9504225c8178935d561873c665214dcea2cf07fc.tar.gz
rvcontroller-9504225c8178935d561873c665214dcea2cf07fc.tar.bz2
rvcontroller-9504225c8178935d561873c665214dcea2cf07fc.tar.xz
rvcontroller-9504225c8178935d561873c665214dcea2cf07fc.zip
Fix CSRs
Diffstat (limited to 'rvcontroller.lua')
-rw-r--r--rvcontroller.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/rvcontroller.lua b/rvcontroller.lua
index 3fda5db..25e66f9 100644
--- a/rvcontroller.lua
+++ b/rvcontroller.lua
@@ -2316,8 +2316,8 @@ if event.type == "program" or event.iid == "reset" then
mem.csr = {
[0x017] = 0, --jvt
[0xf11] = 0, --mvendorid
- [0xf12] = 0x6f435652, --marchid ("RVCo")
- [0xf13] = 0, --mimpid
+ [0xf12] = 0, --marchid
+ [0xf13] = 0x6f435652, --mimpid ("RVCo")
[0xf14] = 0, --mhartid
[0x300] = 0, --mstatus
[0x301] = 0x40001107, --misa (RV32IMACB)