rm -r WORK/*
echo vhdlan -nc -cycle -event tlcWalk.vhd tlcWalk1.vhd tlcTst.vhd >> sci.time
echo "------------------------------------------------"		>> sci.time
(time vhdlan -nc -cycle -event tlcWalk.vhd tlcWalk1.vhd tlcTst.vhd) >>& sci.time
echo ""								>> sci.time

set outCnt = 1
foreach arch ("" "1")
  foreach opt ("-debug_all" "-event_all")
    echo -n walk${arch}cfg -running $opt ...
    echo scsim -nc -time ns $opt -include sci.scr \\		>> sci.time
    echo "     "-output tmpout walk${arch}cfg 			>> sci.time
    echo "------------------------------------------------"	>> sci.time
    foreach run (1 2 3)
      echo -n " "$run
      (time scsim -nc -time ns $opt -include sci.scr			\
	-output tmpout walk${arch}cfg)				>>& sci.time
      mv tmpout tmpout.$outCnt
      @ outCnt++
    end
    echo ""
    echo ""							>> sci.time
  end
  foreach opt ("-partition walk" "-partition tst")
    echo -n walk${arch}cfg -running ${opt}${arch}.part ...
    echo scsim -nc -time ns ${opt}${arch}.part -include sci.scr \\ >> sci.time
    echo "     "-output tmpout walk${arch}cfg 			>> sci.time
    echo "------------------------------------------------"	>> sci.time
    foreach run (1 2 3)
      echo -n " "$run
      (time scsim -nc -time ns ${opt}${arch}.part -include sci.scr	\
	-output tmpout walk${arch}cfg)				>>& sci.time
      mv tmpout tmpout.$outCnt
      @ outCnt++
    end
    echo ""
    echo ""							>> sci.time
  end
end
unset outCnt
