@ -4,7 +4,7 @@ This is a reference for running Spike as a target for the RISC-V Architectural T
## Getting Spike
## Getting Spike
The Spike repository should be cloned from [here](https://github.com/riscv/riscv-isa-sim/), preferably at the same directory level as the riscv-compliance repository.
The Spike repository should be cloned from [here](https://github.com/riscv/riscv-isa-sim/), preferably at the same directory level as the riscv-arch-test repository.
## Building Spike
## Building Spike
@ -25,15 +25,15 @@ for all extensions available in the ``device/rv{XLEN}i_m`` directory No other va
Now clone the architectural test framework repo and copy the updated Makefile.include to it:
Now clone the architectural test framework repo and copy the updated Makefile.include to it:
The user will have to modify the ``TARGETDIR`` variable in ``riscv-compliance/Makefile.include`` to point to the
The user will have to modify the ``TARGETDIR`` variable in ``riscv-arch-test/Makefile.include`` to point to the
absolute location of the ``riscv-isa-sim/arch_test_target`` directory.
absolute location of the ``riscv-isa-sim/arch_test_target`` directory.
You can execute the tests from the root directory of the riscv-compliance repo:
You can execute the tests from the root directory of the riscv-arch-test repo:
```
```
make compile simulate verify
make compile simulate verify
@ -42,7 +42,7 @@ make compile simulate verify
## Updating the target for new tests
## Updating the target for new tests
As tests for new extensions are added to the architectural test repo, the spike target (i.e.
As tests for new extensions are added to the architectural test repo, the spike target (i.e.
arch_test_target directory) will also need to be updated accordingly. Please refer to the [Porting a new target](https://github.com/riscv/riscv-compliance/blob/master/doc/README.adoc#5-porting-a-new-target)
arch_test_target directory) will also need to be updated accordingly. Please refer to the [Porting a new target](https://github.com/riscv/riscv-arch-test/blob/master/doc/README.adoc#5-porting-a-new-target)
section for more details on what those changes/updates should be.
section for more details on what those changes/updates should be.