rm -rf WORK/*
echo "vhdlan -nc -cycle -event <vhd-File>"		>> vss.time
echo "------------------------------------------------"	>> vss.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)		>>& vss.time
echo "" >> vss.time

set outCnt = 1
foreach opt ("-fi_all" "-d4" "-d1" "")
  echo -n running $opt ...
  echo vhdlsim -nc $opt -i vss.scr cfgClock		>> vss.time
  echo "------------------------------------------------" >> vss.time
  foreach run (1 2)
    echo -n " "$run
    (time vhdlsim -nc $opt -i vss.scr -o tmpout cfgClock) >>& vss.time 
    mv tmpout tmpout.$outCnt
    @ outCnt++
  end
  echo ""
  echo "" >> vss.time
end
unset outCnt
