ethernet 10 0M MAC
源代码在线查看: run_sim
#!/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 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