From 10f2ddd4fd79e86ef1a4ae13e746767f2b637532 Mon Sep 17 00:00:00 2001 From: cheapie Date: Fri, 29 May 2026 09:30:38 -0500 Subject: Use the newly-assigned marchid value --- rvcontroller.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rvcontroller.lua') 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 -- cgit v1.2.3