From 246f142e142a3ff5bf302a0a7df51cc1e11af984 Mon Sep 17 00:00:00 2001 From: Gianna Paulin Date: Fri, 28 Jul 2023 18:35:39 +0200 Subject: [PATCH] docs: Add information about spike-dasm installation --- docs/ug/getting_started.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/ug/getting_started.md b/docs/ug/getting_started.md index 82f60ff70..1a8bba567 100644 --- a/docs/ug/getting_started.md +++ b/docs/ug/getting_started.md @@ -55,8 +55,18 @@ export CC="gcc-9.2.0" export CXX="g++-9.2.0" export LLVM_BINROOT="/usr/pack/riscv-1.0-kgf/pulp-llvm-0.12.0/bin" # As a temporary workaround (until correct tool versions are installed system-wide): -export PATH=/home/colluca/snitch/bin:$PATH export PATH=/usr/scratch/dachstein/colluca/opt/verible/bin:$PATH + +# Install spike for spike-dasm (submodule of the repository) +cd sw/deps/riscv-isa-sim +autoconf +mkdir build +cd build +../configure +make +export PATH=$(pwd):$PATH +# or use temporary: +# export PATH=/home/colluca/snitch/bin:$PATH ``` Add these commands to your shell startup file (e.g. `~/.bashrc` if you use bash as the default shell) to ensure that the environment is set up correctly every time you open a new shell.