#
#
#	dracula cellname rulesFileName
#
set verbose
setenv ECADLIB /usr/ecad/
setenv ECADTAPE /dev/nrst0/
setenv ECADHELP /usr/ecad/
setenv ECADSEC /usr/ecad/
set path = ($path /usr ecad/)
echo "; description block for dracula\
\
*DESCRIPTION\
PRIMARY = $1\
PROGRAM-DIR = /usr/ecad/\
SYSTEM = CIF\
SCALE = 0.01 MIC\
RESOLUTION = 0.01 MIC\
INDISK = $1.cif\
OUTDISK = $1.errors.cif\
KEEPDATA = SMART\
MODE = EXEC NOW\
SYSOUT = CIF\
SCALEOUT = 0.25 MIC\
PRINTFILE = drclog\
*END\
" > $1.des
/usr/ecad/PDRACULA2 <<--EOF
/get $1.des n
/get /usr/ecad/rules/$2.rul n
/fin
--EOF
time csh JXRUN.COM >& $1.log
/bin/rm $1.des