BASH run script
A script to run the test. It uses irun, which makes life easy.
The VHDL files are first loaded. Next, to be loaded, is specman e file.
It is followed by specman seed, wave access and TCL script.
Note: seed entry is optional. Test name is mandatory.
#!/bin/bash
#$1 test name is mandatory
#$2 seed is optional
if [ "$2" = "" ] ; then
seed="2"
else
seed=$2
fi
irun ../RTL/RX.vhd ../TB/rx_tb_spc.vhd -top worklib.rx_tb:behavior ../e/test/$1.e -snseed $seed -nosncomp -access +r -input pk.tcl
To go to main project: main project page
|