summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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