Tuohang Zeng
02/28/2022, 6:51 PMTuohang Zeng
02/28/2022, 7:09 PMMitch Bailey
03/01/2022, 12:51 AM# generate lvs netlist using magic
magic -rcfile $COMMON_VERIF_DIR/sky130A/sky130A.magicrc -noconsole -dnull << EOF
gds read $1
load $2
extract all
ext2spice lvs
ext2spice -o $2_lvsmag.spice
flatten -nolabels $2_flat
load $2_flat
extract all
ext2spice lvs
ext2spice cthresh 0
ext2spice -o $2_pex.spice
exit
EOF
# run lvs check using netgen
# netgen lvs $2_lvsmag.spice $2.spice $COMMON_VERIF_DIR/sky130A/sky130A_setup.tcl $3 -full
# Run netgen in batch mode
netgen -batch lvs $2_lvsmag.spice $2.spice $COMMON_VERIF_DIR/sky130A/sky130A_setup.tcl $3 -full
Tuohang Zeng
03/01/2022, 12:59 PMMitch Bailey
03/01/2022, 1:21 PMTuohang Zeng
03/01/2022, 1:56 PM