RISC-V emulator for CLI written in Go
For now, grvemu supports only rv32i.
grvemu can pass some riscv-tests and run c program. If you want to try them, you can use riscv-tools-and-tests-docker-for-grvemu.
go install github.com/kinpoko/grvemu@latest
grvemu -h
RISC-V emulator for cli written in Go
Usage:
grvemu [binary file] [flags]
Flags:
-a, --arch string architecture (default "rv32i")
-d, --debug debug mode
-e, --eof uint32 end of binary
-h, --help help for grvemu
-t, --test display global pointer
西山悠太朗,井田健太,2021,RISC-V と Chisel で学ぶ はじめての CPU 自作 オープンソース命令セットによるカスタム CPU 実装への第一歩,技術評論社