Soumil Jain
05/20/2022, 7:32 PMMitch Bailey
05/20/2022, 10:59 PMMitch Bailey
05/20/2022, 11:05 PM.subckt x/Volumes/export/isn/soumil/ReRAM_sky130_files/col_driver_1x2
Your top xschem subckt is commented out, too.
**.subckt col_driver_1x2
Soumil Jain
05/20/2022, 11:07 PMSoumil Jain
05/20/2022, 11:08 PMSoumil Jain
05/20/2022, 11:09 PMMitch Bailey
05/20/2022, 11:19 PMext2spice lvs
like this
extract all
ext2spice hierarchy on
ext2spice scale off
ext2spice lvs
ext2spice
For lvs, you'll need the setup file for mos source/drain permutability. This also requires a top level subckt named col_driver_1x2
in both netlists.
netgen -batch lvs "col_driver_1x2_magic.spice col_driver_1x2" "col_driver_1x2_xschem.spice col_driver_1x2" $PDK_ROOT/sky130A/libs.tech/netgen/sky130A_setup.tcl
Mitch Bailey
05/20/2022, 11:23 PMSoumil Jain
05/21/2022, 3:15 AMnetgen -batch lvs col_driver_1x2_magic.spice col_driver_1x2_xschem.spice $PDK_ROOT/sky130B/libs.tech/netgen/sky130B_setup.tcl
which gives property errors (as, ad, ps, .. not present in magic netlist).
Also I was using sky130B.Mitch Bailey
05/21/2022, 5:02 AMx/Volumes/export/isn/soumil/ReRAM_sky130_files/col_driver_1x2
but try this
netgen -batch lvs "col_driver_1x2_magic.spice x/Volumes/export/isn/soumil/ReRAM_sky130_files/col_driver_1x2" "col_driver_1x2_xschem.spice col_driver_1x2" $PDK_ROOT/sky130B/libs.tech/netgen/sky130B_setup.tcl
Soumil Jain
05/21/2022, 5:37 PM