cp /local/tech1.1/ams/vhdlLib/sci/csx33/.synopsys_vss.setup .
set outCnt = 1

rm -r WORK/*
echo "vhdlan -nc -cycle -event <vhd-File>"			>> sci01.time
echo "------------------------------------------------"		>> sci01.time
(time vhdlan -nc -cycle -event compPkg.vhd dcfClockS.vhd	\
	simEnvPkg.vhd dcfSend.vhd tstClock.vhd)			>>&sci01.time
echo ""								>> sci01.time

foreach scsopt  ("" "-partition dcfClock.part" "-partition tstClock.part") 
  echo -n running $scsopt scs
# echo scs -nc -time ps $scsopt cfgClock			>> sci01.time
  echo scs -nc -time ns $scsopt cfgClock			>> sci01.time
  echo "------------------------------------------------"	>> sci01.time
# (time scs -nc -time ps $scsopt cfgClock)			>>&sci01.time
  (time scs -nc -time ns $scsopt cfgClock)			>>&sci01.time

  echo -n "- scsim ..."
  echo scsim -nc -include sci01.scr -output tmpout		>> sci01.time
  echo "------------------------------------------------"	>> sci01.time
  foreach run (1 2)
    echo -n " "$run
    (time scsim -nc -include sci01.scr -output tmpout)		>>&sci01.time

    mv tmpout tmpout01.$outCnt
    @ outCnt++
  end
  echo ""
  echo ""							>> sci01.time
  rm -r scsim*
end
unset outCnt
