This is an implementation of my RISC-V cpu emulator that can compile into an operating system executable using PlatformIO Native development platform.
It is used for generating signature files that the RISCOF test suite can test against the tests defined in riscv-arch-test.
The resulting report.html that RISCOF generates gives an overview of RISV-V instructions that behave correctly or ones that need some work.
Symlink the build executable called program
to /usr/local/bin/rve
.
Execute rve
in the same directory as where dut-rom.bin
(the RISC-V ROM image) and dut-ram.bin
(the RISC-V RAM default values) exist. After executing you should get dut-ram-after.bin
.