Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kkinos/grvemu
RISC-V emulator for CLI written in Go.
https://github.com/kkinos/grvemu
cli emulator go riscv riscv-emulator
Last synced: 24 days ago
JSON representation
RISC-V emulator for CLI written in Go.
- Host: GitHub
- URL: https://github.com/kkinos/grvemu
- Owner: kkinos
- License: mit
- Created: 2022-02-24T06:23:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-11T12:24:27.000Z (about 2 years ago)
- Last Synced: 2024-12-08T06:04:31.622Z (about 1 month ago)
- Topics: cli, emulator, go, riscv, riscv-emulator
- Language: Go
- Homepage:
- Size: 73.2 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-golang-repositories - grvemu - V emulator for CLI written in Go. (Repositories)
README
# grvemu
[![Go](https://github.com/kinpoko/grvemu/actions/workflows/go.yml/badge.svg)](https://github.com/kinpoko/grvemu/actions/workflows/go.yml)
![License](https://img.shields.io/github/license/kinpoko/grvemu?color=blue)RISC-V emulator for CLI written in Go
For now, grvemu supports only rv32i.
grvemu can pass some [riscv-tests](https://github.com/riscv-software-src/riscv-tests) and run c program. If you want to try them, you can use [riscv-tools-and-tests-docker-for-grvemu](https://github.com/kinpoko/riscv-tools-and-tests-docker-for-grvemu).
## Install
```bash
go install github.com/kinpoko/grvemu@latest
```## Usage
```bash
grvemu -h
RISC-V emulator for cli written in GoUsage:
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 実装への第一歩,技術評論社