Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jserv/rv32jit

JIT-accelerated RISC-V instruction set simulator
https://github.com/jserv/rv32jit

dynamic-binary-translation jit-compiler risc-v riscv riscv-emulator riscv-simulator riscv32

Last synced: 3 days ago
JSON representation

JIT-accelerated RISC-V instruction set simulator

Awesome Lists containing this project

README

        

# rv32jit

`rv32jit` is a modern C++-based RISC-V instruction set simulator with a JIT
assembler serving as an x86-64 binary translator.

Features
* Fast runtime for executing the RV32 ISA
* Built-in ELF loader
* Implementation of partial Linux system calls

## Build and Verify

Currently, only GNU/Linux is supported for building `rv32jit`.

`rv32jit` relies on specific third-party packages for full functionality.
Please install the following package in advance.
* clang version 15+, which can be downloaded from the [LLVM Page](https://releases.llvm.org/download.html).
* `libelf-dev`

Build the simulator:
```shell
$ make
```

You might receive the message "Please run 'make' again."
If you do, simply follow the instruction and run `make` once more.

Download prebuilt RISC-V ELF files and run:
```shell
$ make check
```

## License
`rv32jit` is available under a permissive MIT-style license.
Use of this source code is governed by a MIT license that can be found in the [LICENSE](LICENSE) file.