caravel/mag/run_caravan_lvs.sh

23 lines
427 B
Bash
Executable File

#!/bin/bassh
#
PDK_ROOT ?= /usr/share/pdk
if [ ! -f caravan.spice ]; then
magic -dnull -noconsole -rcfile $PDK_ROOT/sky130A/libs.tech/magic/sky130A.magicrc << EOF
drc off
crashbackups stop
load caravan
select top cell
expand
extract do local
extract all
ext2spice lvs
ext2spice
EOF
fi
rm *.ext
export NETGEN_COLUMNS=60
netgen -batch lvs "caravan.spice caravan" "../verilog/gl/caravan.v caravan" ./sky130A_setup.tcl comp.out