URL
https://opencores.org/ocsvn/ethmac/ethmac/trunk
Subversion Repositories ethmac
[/] [ethmac/] [trunk/] [sim/] [rtl_sim/] [bin/] [run_sim] - Rev 335
Go to most recent revision | Compare with Previous | Blame | View Log
#!/bin/csh -f
set arg_num = $#argv; # number of arguments
if ($arg_num < 1) then
echo " "
echo "Missing required ATS argument:"
echo " '-r' for regression"
echo " "
exit
endif
set cur_arg = 1
set arg_chk = 0
set regression = 0
while ($cur_arg <= $arg_num)
if ("$argv[$cur_arg]" == "-r") then
@ regression = 1
@ arg_chk = $arg_chk + 1
endif
if ($arg_chk != $cur_arg) then
echo " "
echo "Invalid argument $argv[$cur_arg]"
echo " "
exit
endif
@ cur_arg = $cur_arg + 1
end
if ($regression == 0) then
echo " "
echo "Missing required ATS argument:"
echo " '-r' for regression"
echo " "
exit
else
echo " "
echo "ATS running ethernet script with following argument:"
echo " '-r' for regression"
echo " "
../run/run_eth_sim_regr.scr -r
endif
Go to most recent revision | Compare with Previous | Blame | View Log