do_wst_mda 959 Bytes
#!/bin/csh -f
#
# MDA
#

cp vlsi.boo.wst vlsi.boo
rm -f rcp_*_wst.sp*
rm -f rcp_*_wst.delta
rm -f rcp_clock_spi_wst.nle
rm -f rcp_mda_wst.nle

vlsishell << EOF1
set echo on

util rc_net_spicer
readnetlist [nle]rcp_f_wst
net clock
set modelfile nec35.sph
set autotran on
set temp 125
set power 2.7 .1
set waveform .1 .1 6 .1
set networkinputthresh 50 50
stat
writespice [spi]rcp_clock_wst
net gclk
stat
writespice [spi]rcp_gclk_wst
q
q
EOF1

hspice rcp_clock_wst.spi > rcp_clock_wst.spo
hspice rcp_gclk_wst.spi > rcp_gclk_wst.spo

vlsishell << EOF2
set echo on

util rc_net_spicer
readnetlist [nle]rcp_f_wst
net clock
set modelfile nec35.sph
set autotran on
set temp 125
set power 2.7 .1
set waveform .1 .1 6 .1
set networkinputthresh 50 50
stat
readspice rcp_clock_wst.spo
printsummary rcp_clock_wst.delta
writenetlist [nle]rcp_clock_spi_wst
y
net gclk
stat
readspice rcp_gclk_wst.spo
printsummary rcp_gclk_wst.delta
writenetlist [nle]rcp_mda_wst
y
q
q
EOF2