A riscv emulator.
Implemented: RV64IMAFDCSU
git clone https://github.com/riscv-software-src/opensbi.git
cd opensbi
dtc /path/to/your/yuri/yuri.dtc > yuri.dtb
make PLATFORM=generic CROSS_COMPILE=riscv64-unknown-linux-musl- FW_FDT_PATH=./yuri.dtb
cp build/platform/generic/firmware/fw_payload.elf /path/to/your/yuri
cargo run --release
git clone https://github.com/riscv/riscv-tests.git
cd riscv-tests
./configure && make
mkdir tests && find isa -executable -type f -exec cp {} ./tests \;
rm tests/{rv32*,rv64uzfh*,rv64mi-p-breakpoint,rv64mzicbo-p-zero,rv64ssvnapot-p-napot}
mv tests /path/to/your/yuri
cargo test -- --nocapture