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

foreach vcsopt ("+cli" "" "+rad+2" "+cli +nospecify +notimingchecks"	\
	"+nospecify +notimingchecks" "+rad+2 +nospecify +notimingchecks")
  echo vcs -q -v \$amsDir/HRDLIB.v -v \$amsDir/udp.v \\		>> vcs62.time
  echo "   " $vcsopt opwTst.v opwS.v				>> vcs62.time
  echo "------------------------------------------------"	>> vcs62.time
  echo -n running vcs
  (time vcs -q -v $amsDir/HRDLIB.v -v $amsDir/udp.v	\
	$vcsopt opwTst.v opwS.v)				>>&vcs62.time

  echo simv -q							>> vcs62.time
  echo "------------------------------------------------"	>> vcs62.time
  echo -n " - simv"
  foreach run (1 2 3)
    echo -n " "$run
    (time simv -q -l tmpout)					>>&vcs62.time
    mv tmpout tmpout.$outCnt
    @ outCnt++
  end
  echo ""							>> vcs62.time
  echo ""
  rm -rf simv* csrc
end
unset amsDir
unset outCnt
