# Simple-V Spike emulator
####1. Set RISCV and PATH variables
+
RISCV will be the location where riscv-tools will place all created
executables into when building. RISCV must also be appended to the PATH
to allow the usage of the created executables without specifying RISCV.
> export PATH="$PATH:$RISCV/bin"
####2. Install riscv-tools: <https://github.com/riscv/riscv-tools>
+
riscv-tools is needed to perform a variety of actions such as: compiling
a program to work with a spike simulator, simulate the kernel running
on spike, and more!
####3. Clone and check out Simple-V riscv-isa-sim:
- This is a repository used by libre and contains an augmented version of the spike simulator . Do not clone these inside riscv-tools!
+ This is a repository used by libre and contains an augmented version
+ of the spike simulator. Do not clone these inside riscv-tools!
> 1. Clone Simple-V riscv-isa-sim
* git clone https://git.libre-riscv.org/git/riscv-isa-sim.git