3 releases

0.1.2 Dec 13, 2023
0.1.1 Apr 17, 2023
0.1.0 Mar 30, 2023

#11 in #executing

41 downloads per month

MIT license

9KB
216 lines

A Rust FFI binding for executing instructions in spike (https://github.com/riscv-software-src/riscv-isa-sim). It's not a full binding to spike.

$ cargo build

If the build fails, please install the following dependencies

$ sudo apt install device-tree-compiler

$ wget https://apt.llvm.org/llvm.sh
$ chmod +x llvm.sh
$ sudo ./llvm.sh 16 all
$ rm llvm.sh

How to publish it to crates.io

$ cargo publish --no-verify

No runtime deps