Running the riscv-arch-test against my RISC-V emulator.
RISC-V-emulator-ACT
The missing piece that turns my RISC-V emulator from "passes some tests" into "certified against the official ACT suite". One `make` command per ISA config, one HTML report at the end.
What's in the repo
- A `Makefile` driving the whole flow.
- `scripts/install.sh`, which builds the Sail model and ACT4 framework from source.
- `gen_core.py` for per-config core templates.
- `test_all.sh`.
- `report_all.py` for the HTML report.
The flow
A config name like `rve-rv32imacb_zicsr_zifencei` maps to a PlatformIO environment in the Native repo. `make elfs` generates self-checking test ELFs, `make build` compiles the matching emulator binary, `make run` executes them, `make report` prints the score. Run `./scripts/install.sh` once; it checks prerequisites and builds everything non-system, skipping finished steps on re-runs. `test_all.sh` sweeps every environment in the ini, resumable and regex-filterable.