projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e00fd3
)
add way to run unit tests
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 8 Oct 2018 06:29:55 +0000
(07:29 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 8 Oct 2018 06:29:55 +0000
(07:29 +0100)
3d_gpu/spike_sv.mdwn
patch
|
blob
|
history
diff --git
a/3d_gpu/spike_sv.mdwn
b/3d_gpu/spike_sv.mdwn
index bc74cd974a9c23e2695f872504e59c3225beab7d..8dc3ff521634c72d632fd3d624187db081c4889a 100644
(file)
--- a/
3d_gpu/spike_sv.mdwn
+++ b/
3d_gpu/spike_sv.mdwn
@@
-7,5
+7,19
@@
Needs riscv-tools, first
* git checkout -b sv
* cd ..
* git clone https://git.libre-riscv.org/git/riscv-tests.git
-* cd risc-tests
+* cd risc
v
-tests
* git checkout -b sv
+
+To run the sv unit tests (requires $RISCV to be set correctly i think, or
+at least riscv32/64-unknown-elf-gcc to be in the path)
+
+* $ cd riscv-tests
+* $ cd isa
+* $ make
+* $ make run
+
+example dev script (riscvdev.sh):
+
+ export RISCV="$HOME/src/riscv"
+ export PATH="$PATH:$RISCV/bin"
+