From 9504225c8178935d561873c665214dcea2cf07fc Mon Sep 17 00:00:00 2001 From: cheapie Date: Sun, 24 May 2026 18:55:00 -0500 Subject: Fix CSRs --- rvcontroller.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rvcontroller.lua') 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) -- cgit v1.2.3