summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <cheapiephp@gmail.com>2026-05-29 09:30:38 -0500
committercheapie <cheapiephp@gmail.com>2026-05-29 09:30:38 -0500
commit10f2ddd4fd79e86ef1a4ae13e746767f2b637532 (patch)
treefe443c3f21e4006450de182c4936fddde010bcec
parentcc8fbb4c177ce7c860ae199786a46086e09c1411 (diff)
downloadrvcontroller-10f2ddd4fd79e86ef1a4ae13e746767f2b637532.tar
rvcontroller-10f2ddd4fd79e86ef1a4ae13e746767f2b637532.tar.gz
rvcontroller-10f2ddd4fd79e86ef1a4ae13e746767f2b637532.tar.bz2
rvcontroller-10f2ddd4fd79e86ef1a4ae13e746767f2b637532.tar.xz
rvcontroller-10f2ddd4fd79e86ef1a4ae13e746767f2b637532.zip
Use the newly-assigned marchid value
-rw-r--r--rvcontroller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rvcontroller.lua b/rvcontroller.lua
index 18fa788..eeeb7a7 100644
--- a/rvcontroller.lua
+++ b/rvcontroller.lua
@@ -2400,7 +2400,7 @@ if event.type == "program" or event.iid == "reset" then
mem.csr = {
[0x017] = 0, --jvt
[0xf11] = 0, --mvendorid
- [0xf12] = 0, --marchid
+ [0xf12] = 53, --marchid (53 is RVController's officially assigned value, see https://github.com/riscv/riscv-isa-manual/blob/main/marchid.md )
[0xf13] = 0x6f435652, --mimpid ("RVCo")
[0xf14] = 0, --mhartid
[0x300] = 0, --mstatus