diff --git a/test/sim/riscv-tests/riscv-tests b/test/sim/riscv-tests/riscv-tests index 6155fb3..0c35c37 160000 --- a/test/sim/riscv-tests/riscv-tests +++ b/test/sim/riscv-tests/riscv-tests @@ -1 +1 @@ -Subproject commit 6155fb3c4a889cb028b6fe219fbe8b66e43425dd +Subproject commit 0c35c3705973deb37a528e9a4df24c1c3192ce1c diff --git a/test/sim/riscv-tests/run-isa-tests.sh b/test/sim/riscv-tests/run-isa-tests.sh new file mode 100644 index 0000000..9a793d4 --- /dev/null +++ b/test/sim/riscv-tests/run-isa-tests.sh @@ -0,0 +1,11 @@ +set -e + +make -C ../tb_cxxrtl tb +cd riscv-tests/isa +make XLEN=32 clean + +# Note SKIP_V is something I added to their Makefile. We have no need for the +# virtual memory test machine configuration. +make -j$(nproc) XLEN=32 SKIP_V=1 rv32ui rv32uc rv32um rv32ua rv32mi + +for test in $(find -name "*-p-*.bin"); do echo $test; ../../../tb_cxxrtl/tb --bin $test --cycles 10000; done \ No newline at end of file