1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-30 02:32:53 +08:00
oh/common/dv/run.sh
2020-01-28 18:12:57 -05:00

14 lines
180 B
Bash
Executable File

#!/bin/bash
#ARGUMENTS
#$1=name of "dut*.bin" to simulate
#$2=path to test to run
#Uses BASH $RANDOM variable to set seed
rm test_0.emf
ln -s $2 test_0.emf
./$1 +SEED=$RANDOM