set outCnt = 1
set amsDir = "/local/tech1.1/ams/v3.30/artist/HK_0.35/veritools"

foreach xlopt ("-q" "-q +notimingchecks +turbo+3 +twin_turbo")
  echo verilog -v \$amsDir/HRDLIB.v -v \$amsDir/udp.v \\	>> verilog.time
  echo "       " -l tmpout $xlopt opwTst.v opwS.v 		>> verilog.time
  echo "------------------------------------------------"	>> verilog.time
  echo -n running verilog
  foreach run (1 2 3)
    echo -n " "$run
    (time verilog -v $amsDir/HRDLIB.v -v $amsDir/udp.v	\
	-l tmpout $xlopt opwTst.v opwS.v)			>>&verilog.time
    mv tmpout tmpout.$outCnt
    @ outCnt++
  end
  echo ""							>> verilog.time
  echo ""
end
unset amsDir
unset outCnt
