rm -rf WORK/*
echo "vhdlan -nc -cycle -event <vhd-File>"			>> sci.time
echo "------------------------------------------------"		>> sci.time
(time vhdlan -nc -cycle -event clockPkg.vhd alaBlk.vhd	\
	alaFsm.vhd clkGen.vhd ctrlFsm.vhd dcfFsmF.vhd	\
	display.vhd timBlk.vhd compPkg.vhd dcfClock.vhd	\
	simEnvPkg.vhd dcfSend.vhd tstClock.vhd)			>>& sci.time
echo ""								>> sci.time

set outCnt = 1
foreach opt ("-debug_all" "-event_all" "-partition dcfClock.part"	\
		"-partition tstClock.part")
  echo -n running $opt ...
  echo scsim -nc -time ns $opt -include sci.scr -output tmpout cfgClock \
								>> sci.time
  echo "------------------------------------------------"	>> sci.time
  foreach run (1 2)
    echo -n " "$run
    (time scsim -nc -time ns $opt -include sci.scr -output tmpout cfgClock) \
								>>& sci.time
    mv tmpout tmpout.$outCnt
    @ outCnt++
  end
  echo ""
  echo "" >> sci.time
end
unset outCnt
