Skip to content

0xmozak/mozak-vm

Repository files navigation

Mozak Risc-V Virtual Machine

If you are unfamiliar with the Risc-V instruction set, please have a look at the Risc-V instruction set reference.

Installation

The Mozak VM is built in Rust, so the Rust toolchain is a pre-requisite.

cargo build

Update official Risc-V tests

Updating the official Risc-V tests relies on Docker to install the RISC-V toolchain and build the ELF files necessary for our tests to run.

The Mozak VM implements the base RV32I instruction set with the M-extension, so we are using rv32ui and rv32um ELF files from the riscv-software-src/riscv-tests repo.

You can update the tests via:

cd vm/tests/create_testdata/
./update_testdata

About

Mozak RISC-V Virtual Machine

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages