Micah Tseng
07/29/2022, 11:05 PMlvs
with the config file …/libs.tech/netgen/sky130A_setup.tcl
.
Thanks!Mitch Bailey
07/29/2022, 11:11 PMSimulation
-> LVS netlist: Top level is a .subckt
Does that make a difference?
What command are you using for netgen?Micah Tseng
07/29/2022, 11:18 PMlvs demux2_xschem.spice "demux2.spice demux2" sky130A_setup.tcl comp.out
*removing all of the extra pathing due to my directory structure…
Now after setting a top level .subctk netgen crashes with a segmentation fault.Micah Tseng
07/29/2022, 11:20 PMMitch Bailey
07/29/2022, 11:27 PMlvs "demux2_xschem.spice demux2" "demux2.spice demux2" sky130A_setup.tcl comp.out
Micah Tseng
07/29/2022, 11:29 PMMicah Tseng
07/29/2022, 11:39 PMMitch Bailey
07/29/2022, 11:42 PMMitch Bailey
07/29/2022, 11:46 PMMicah Tseng
07/29/2022, 11:48 PMMicah Tseng
07/29/2022, 11:49 PMMicah Tseng
07/29/2022, 11:50 PMMitch Bailey
07/29/2022, 11:50 PMdemux2_xschem.spice
to do a quick abstract lvs.
.subckt sky130_fd_sc_hd__and2_0 A B VGND VNB VPWR VPB X
.ends
.subckt sky130_fd_sc_hd__inv_1 A VGND VNB VPWR VPB Y
.ends
Mitch Bailey
07/29/2022, 11:51 PMe
do you descend to a schematic?Micah Tseng
07/29/2022, 11:51 PMMicah Tseng
07/29/2022, 11:52 PMMitch Bailey
07/29/2022, 11:52 PMMicah Tseng
07/29/2022, 11:53 PMMitch Bailey
07/29/2022, 11:54 PMMicah Tseng
07/29/2022, 11:55 PMMicah Tseng
07/30/2022, 12:11 AMMicah Tseng
07/30/2022, 12:26 AM.subckt
definition in the xschem schematic. So for me (being lazy and using absolute paths) adding
.include /foss/pdk/sky130A/libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice
in a code block did the trick.Micah Tseng
07/30/2022, 12:28 AMMitch Bailey
07/30/2022, 12:36 AMMicah Tseng
07/30/2022, 12:40 AMMicah Tseng
07/30/2022, 12:40 AMMitch Bailey
07/30/2022, 1:35 AMxschemrc
file contains the library definitions.