Skip to content

kkinos/grvemu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grvemu

Go License

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.

Install

go install github.com/kinpoko/grvemu@latest

Usage

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

Reference

西山悠太朗,井田健太,2021,RISC-V と Chisel で学ぶ はじめての CPU 自作 オープンソース命令セットによるカスタム CPU 実装への第一歩,技術評論社

Releases

No releases published

Packages

No packages published

Languages