do_bst_mda 981 Bytes
#!/bin/csh -f
#
# MDA
#

cp vlsi.boo.bst vlsi.boo
rm -f rcp_*_bst.sp*
rm -f rcp_*_bst.delta
rm -f rcp_clock_spi_bst.nle
rm -f rcp_mda_bst.nle

vlsishell << EOF1
set echo on

util rc_net_spicer
readnetlist [nle]rcp_f_bst
net clock
set modelfile nec35.sph
set autotran on
set temp 0
set power 3.6 .1
set waveform .1 .1 6 .1
set networkinputthresh 50 50
stat
writespice [spi]rcp_clock_bst
net gclk
stat
writespice [spi]rcp_gclk_bst
q
q
EOF1

hspice rcp_clock_bst.spi > rcp_clock_bst.spo
hspice rcp_gclk_bst.spi > rcp_gclk_bst.spo

vlsishell << EOF2
set echo on

util rc_net_spicer
readnetlist [nle]rcp_f_bst
net clock
set modelfile nec35.sph
set autotran on
set temp 0
set power 3.6 .1
set waveform .1 .1 6 .1
set networkinputthresh 50 50
stat
readspice rcp_clock_bst.spo
printsummary rcp_clock_bst.delta
writenetlist [nle]rcp_clock_spi_bst
y
net gclk
stat
readspice rcp_gclk_bst.spo
printsummary rcp_gclk_bst.delta
writenetlist [nle]rcp_mda_bst
y
q
q
EOF2

cp vlsi.boo.wst vlsi.boo