mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Add test runner for privileged
This commit is contained in:
parent
c9d70a1778
commit
0b880110c9
22
wally-pipelined/testgen/privileged/run.sh
Normal file
22
wally-pipelined/testgen/privileged/run.sh
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
clear
|
||||||
|
printf "\n\n#####\nStarting tests for $1\n#####\n\n"
|
||||||
|
|
||||||
|
if [[ "$2" != "-simonly" ]]
|
||||||
|
then
|
||||||
|
cd ~/riscv-wally/wally-pipelined/testgen/privileged
|
||||||
|
python3 "testgen-$1.py"
|
||||||
|
printf "\n\n#####\nRan testgen-$1.py Making...\n#####\n\n\n"
|
||||||
|
|
||||||
|
cd ~/riscv-wally/imperas-riscv-tests
|
||||||
|
make privileged
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$2" == "-sim" || "$2" == "-simonly" ]]
|
||||||
|
then
|
||||||
|
printf "\n\n\n#####\nSimulating!\n#####\n\n"
|
||||||
|
cd ~/riscv-wally/wally-pipelined/regression
|
||||||
|
vsim -do wally-privileged.do -c
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd ~/riscv-wally
|
||||||
|
printf "\n\n\n#####\nDone!\n#####\n\n"
|
Loading…
Reference in New Issue
Block a user