Nahum Yonas
07/31/2024, 7:22 PMMitch Bailey
07/31/2024, 8:53 PMextract no all ;# clear all flags
extract do aliases
extract do local
extract unique
extract
ext2spice lvs
ext2spice short resistor ;# keep both ports but connect them with a 0 ohm resistor
ext2spice -o Flippy_layout.spice Flippy_layout.ext
Make sure your layout has ports defined.Nahum Yonas
08/02/2024, 3:54 PMMitch Bailey
08/02/2024, 4:17 PM.subckt
with ports and should no longer have parasitic capacitors.Nahum Yonas
08/02/2024, 5:36 PMNahum Yonas
08/02/2024, 5:40 PMNahum Yonas
08/02/2024, 5:42 PMContents of circuit 1: Circuit: 'Flippy.spice'
Circuit Flippy.spice contains 30 device instances.
Class: sky130_fd_pr__nfet_01v8 instances: 15
Class: sky130_fd_pr__pfet_01v8 instances: 15
Circuit contains 18 nets.
Contents of circuit 2: Circuit: 'Flippy_layout.spice'
Circuit Flippy_layout.spice contains 0 device instances.
Circuit contains 0 nets.
Circuit Flippy_layout.spice contains no devices.
Final result:
Verify: cell Flippy_layout.spice has no elements and/or nodes. Not checked.
Logging to file "comp.out" disabled
LVS Done.
Its saying that my layout has no devices.
Do you know why this is happening?Mitch Bailey
08/02/2024, 5:48 PMFlippy_layout.spice
file?
Normally, when I run LVS, I use the following format.
netgen lvs "layout.spice layout_top" "schematic.spice schematic_top" setup_file
It might be wise to explicitly state what cell you want to compare (the "netlist cellname"
format allows this).Nahum Yonas
08/02/2024, 5:49 PMMitch Bailey
08/02/2024, 6:00 PMSimulation -> LVS -> LVS netlist: Top level is a .subckt
.
This should create a netlist with a top .subckt
definition.
And then can you try
netgen lvs "Flippy_layout.spice Flippy_layout" "Flippy.spice Flippy" $PDK_ROOT/$PDK/libs.tech/netgen/${PDK}_setup.tcl
Nahum Yonas
08/02/2024, 8:44 PMContents of circuit 1: Circuit: 'Flippy.spice'
Circuit Flippy.spice contains 30 device instances.
Class: sky130_fd_pr__nfet_01v8 instances: 15
Class: sky130_fd_pr__pfet_01v8 instances: 15
Circuit contains 18 nets.
Contents of circuit 2: Circuit: 'Flippy_layout'
Circuit Flippy_layout contains 30 device instances.
Class: sky130_fd_pr__nfet_01v8 instances: 15
Class: sky130_fd_pr__pfet_01v8 instances: 15
Circuit contains 18 nets, and 3 disconnected pins.
Circuit 1 contains 30 devices, Circuit 2 contains 30 devices.
Circuit 1 contains 18 nets, Circuit 2 contains 18 nets.
Final result:
Top level cell failed pin matching.
Logging to file "comp.out" disabled
LVS Done.
It seems the issue has something to do with pin matching/ports in my layout.
I will attach my comp.out file. It appears the actual errors are in comp.out around lines 32-43Mitch Bailey
08/02/2024, 11:11 PMSimulation -> LVS -> LVS netlist: Top level is a .subckt
before generating the schematic netlist from xschem.
3. From the extracted netlist, clock
, r
, and q
are not connected to anything. Please check that you have all the relevant vias and contacts.