set outCnt = 1
set evopt = ("-preserve" "-performance" "-performance -noipd -notcheck -vitalmsgoff -vitalxoff")
foreach cvopt ("-nobuiltin -noopt -nortl -novitalaccl" "-avopt -performance" "-avopt -performance -bounds -underover -notcheck -vitalmsgoff -vitalxoff")
  echo cv -nocopyright -v93 $cvopt '<vhdFile>' >> sv.time
  echo "------------------------------------------------" >> sv.time
  echo -n running cv
  foreach vhd ("alu.vhd" "opw.vhd" "opwTst.vhd")
    echo -n $vhd": " >>sv.time
    (time cv -nocopyright -v93 $cvopt $vhd) >>& sv.time 
  end
  echo ev -nocopyright -v93 $evopt[1] tstcfg >> sv.time
  echo "------------------------------------------------" >> sv.time
  echo -n " - ev"
  (time ev -nocopyright -v93 $evopt[1] tstcfg) >>& sv.time 
  echo sv -nocopyright -batch -input sv.scr -output tmpout tstcfg >> sv.time
  echo "------------------------------------------------" >> sv.time
  echo -n " - sv"
  foreach run (1 2 3)
    echo -n " "$run
    (time sv -nocopyright -batch -input sv.scr -output tmpout tstcfg) >>& sv.time
    mv tmpout tmpout.$outCnt
    @ outCnt++
  end
  echo "" >> sv.time
  echo ""
  shift evopt
end
unset evopt
