ZJV2's difftest framework based on Verilator, QEMU and GDB.
- riscv-gnu-toolchain
- qemu-system-riscv64
- verilator
NOTICE: if you need a dockerized environment with all above tools, check zjv2-env
The following is a simple use case:
$ cd ZJV2-difftest
$ make prepare ELF=riscv-tests/rv64um-p-div
$ make
$ cd build && ./emulator