- Renode 1.14, the high-level hardware simulator https://github.com/renode/renode
- Rust https://rustup.rs/, MSRV 1.81
- Codegen backend for target cores
- HPC
rustup target add riscv64imac-unknown-none-elf
- SysCtrl (VP)
rustup target add riscv32im-unknown-none-elf
- SysCtrl (ASIC)
rustup target add riscv32imc-unknown-none-elf
- HPC
- (optional) Install
just
, the command runner https://github.com/casey/just
cd examples/headsail-bsp
cargo run --example uart0 -Fvp -Fhpc-rt -Fpanic-apb-uart0 --target riscv64imac-unknown-none-elf
or if you're a just
user:
just run uart0
cd examples/hpc/hello-dla
cargo run --example dla
You'll need to have built the binaries prior to running Robot Tests.
renode-test scripts/robot/hello_dla.robot
./scripts/run_on_hpc.sh $bin
./scripts/run_on_sysctrl.sh $bin