# /bin/csh -f # Script to run SPICE2g6 on a DS3100 #set DIR=$1 set SPICE2g6=spice2g6 #set files=( add20.sp add32.sp chip2.sp dac.sp fadd32.sp mem_plus.sp pc_frame.sp pchip.sp ram2k.sp smult20.sp sqrt.sp sram.sp voter.sp voter25.sp) set files=( voter25.sp ) foreach i ($files) set bi=$i:r echo "$bi" echo "$bi" >>&! $bi.s2time (/bin/time $SPICE2g6 < $bi".sp" > $bi".s2out") >& $bi.s2time end