Update path to Springbok RVV tests. Change-Id: I26566abae18f930b615b16dcc5e8e73f74a1c6e0
diff --git a/CreateSpringbokVectorUnitTest.md b/CreateSpringbokVectorUnitTest.md index 3b3f4da..74dccf6 100644 --- a/CreateSpringbokVectorUnitTest.md +++ b/CreateSpringbokVectorUnitTest.md
@@ -170,7 +170,7 @@ From the root directory, run `sim_springbok` ```sh -sim_springbok ./out/springbok/tests/vadd_test.elf +sim_springbok ./out/springbok/rvv/tests/vadd_test.elf ``` This will run the single elf, and if there is an error, can give useful @@ -181,7 +181,7 @@ From the root directory, run `qemu_sim_springbok` ```sh -qemu_sim_springbok ./out/springbok/tests/vadd_test.elf +qemu_sim_springbok ./out/springbok/rvv/tests/vadd_test.elf ``` ## Step 6.2 (Optional): Debug Elf with Renode/Qemu and gdb @@ -191,24 +191,24 @@ Start Renode simulation: ```sh -sim_springbok ./out/springbok/tests/vadd_test.elf debug +sim_springbok ./out/springbok/rvv/tests/vadd_test.elf debug ``` Alternatively, start Qemu simulation: ```sh -qemu_sim_springbok ./out/springbok/tests/vadd_test.elf -s -S +qemu_sim_springbok ./out/springbok/rvv/tests/vadd_test.elf -s -S ``` Now, in the other console session run the following command to start a gdb session: ```sh -cache/toolchain/bin/riscv32-unknown-elf-gdb -ex "target remote :3333" out/springbok/tests/vadd_test.elf +cache/toolchain/bin/riscv32-unknown-elf-gdb -ex "target remote :3333" out/springbok/rvv/tests/vadd_test.elf ``` Note: To run GDB with the Qemu simulation, use ```sh -cache/toolchain/bin/riscv32-unknown-elf-gdb -ex "target remote :1234" out/springbok/tests/vadd_test.elf +cache/toolchain/bin/riscv32-unknown-elf-gdb -ex "target remote :1234" out/springbok/rvv/tests/vadd_test.elf ``` First, in the Renode session, type `start`. @@ -231,7 +231,7 @@ Run this on the elf (while in the `$ROOTDIR`): ```sh -cache/toolchain_iree_rv32imf/bin/riscv32-unknown-elf-objdump -d out/springbok/tests/vadd_test.elf | less +cache/toolchain_iree_rv32imf/bin/riscv32-unknown-elf-objdump -d out/springbok/rvv/tests/vadd_test.elf | less ``` Then search for the PC for any instruction of interest. @@ -254,7 +254,7 @@ Code for the main test was autogenerated, however by `cd`'ing into the following directory, one can inspect the generated code. ```sh -${ROOTDIR}/out/springbok/tests/generated/ +${ROOTDIR}/out/springbok/rvv/tests/generated/ ``` ## Step 9: Mark Tests as Passing