ethernet 10 0M MAC

源代码在线查看: run_sim

软件大小: 913 K
上传用户: demonray
关键词: ethernet MAC 10 0M
下载地址: 免注册下载 普通下载 VIP

相关代码

				#!/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											

相关资源