diff options
| author | cheapie <cheapiephp@gmail.com> | 2026-05-29 09:30:38 -0500 |
|---|---|---|
| committer | cheapie <cheapiephp@gmail.com> | 2026-05-29 09:30:38 -0500 |
| commit | 10f2ddd4fd79e86ef1a4ae13e746767f2b637532 (patch) | |
| tree | fe443c3f21e4006450de182c4936fddde010bcec | |
| parent | cc8fbb4c177ce7c860ae199786a46086e09c1411 (diff) | |
| download | rvcontroller-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.lua | 2 |
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 |
