<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">set outCnt = 1
set elabopt = ("-novitalaccl -ntc_warn" "" "-neverwarn -notimingchecks -noipd -no_tchk_msg -no_tchk_xgen -no_vpd_msg -no_vpd_xgen")
set simopt  = ("" "" "-neverwarn -nocifcheck")
foreach vhdlopt ("-linedebug -nobuiltin" "" \
 "-neverwarn -nopragmawarn -novitalcheck")
## -novitalaccl -ntc_warn -preserve	-&gt; internal error!!!
  echo ncvhdl -nocopyright -v93 -nostdout -nolog $vhdlopt '&lt;vhdFile&gt;'	\
								&gt;&gt; ncsim.time
  echo "------------------------------------------------"	&gt;&gt; ncsim.time
  echo -n running ncvhdl
  foreach vhd ("alu.vhd" "opw.vhd" "opwTst.vhd")
    echo -n $vhd": "						&gt;&gt;ncsim.time
    (time ncvhdl -nocopyright -v93 -nostdout -nolog $vhdlopt $vhd)	\
								&gt;&gt;&amp; ncsim.time 
  end
  echo ncelab -nocopyright -v93 -generic "'cyclesC=&gt;50000'" \\	&gt;&gt; ncsim.time
  echo "      "-nostdout -nolog $elabopt[1] tstcfg		&gt;&gt; ncsim.time
  echo "------------------------------------------------"	&gt;&gt; ncsim.time
  echo -n " - ncelab"
  (time ncelab -nocopyright -v93 -generic 'cyclesC=&gt;50000' \
	-nostdout -nolog $elabopt[1] tstcfg)			&gt;&gt;&amp; ncsim.time 
  echo ncsim -nocopyright -batch -input ncsim.scr -nostdout \\	&gt;&gt; ncsim.time
  echo "     "-nokey -logfile tmpout $simopt[1] tstcfg		&gt;&gt; ncsim.time
  echo "------------------------------------------------"	&gt;&gt; ncsim.time
  echo -n " - ncsim"
  foreach run (1 2 3)
    echo -n " "$run
    (time ncsim -nocopyright -batch -input ncsim.scr -nostdout \
	-nokey -logfile tmpout $simopt[1] tstcfg)		&gt;&gt;&amp; ncsim.time
    mv tmpout tmpout.$outCnt
    @ outCnt++
  end
  echo ""							&gt;&gt; ncsim.time
  echo ""
  shift elabopt
  shift simopt
end
unset elabopt
unset simopt
unset outCnt
</pre></body></html>