set outCnt = 1
source make-veri

foreach vcsopt ("" "+rad+2 +delay_mode_zero +nospecify" "+rad+2 +delay_mode_zero +nospecify +notimingcheck +no_notifier +no_tchk_msg")
  echo vcs -q -k off -v umc18co.v $vcsopt opwVcs.v opwS.v	>> vcs.time
  echo "------------------------------------------------"	>> vcs.time
  echo -n running vcs
  (time vcs -q -k off -v umc18co.v $vcsopt opwVcs.v opwS.v)	>>&vcs.time

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

