Hi @User , facing LVS issue in netgen for simple inverter. in the layout spice , its not able to recognize the devices it seems , although the magic has extracted the pmos and nmos.
-------------------------------------------------
(sky130_layouts) 6 % lvs ../../xschem/inv_g5D10.spice inverter_D1_g5d10_tapped.spice
Comparison output logged to file comp.out
Logging to file "comp.out" enabled
Contents of circuit 1: Circuit: '../../xschem/inv_g5D10.spice'
Circuit ../../xschem/inv_g5D10.spice contains 2 device instances.
Class: sky130_fd_pr__nfet_g5v0d10v5 instances: 1
Class: sky130_fd_pr__pfet_g5v0d10v5 instances: 1
Circuit contains 5 nets.
Contents of circuit 2: Circuit: 'inverter_D1_g5d10_tapped.spice'
Circuit inverter_D1_g5d10_tapped.spice contains 0 device instances.
Circuit contains 0 nets.
Circuit inverter_D1_g5d10_tapped.spice contains no devices.
Result: Verify: no current cell to verify.
Logging to file "comp.out" disabled
LVS Done.
-------------------------------------------------
Layout spice :
* SPICE3 file created from inverter_D1_g5d10_tapped.ext - technology: sky130B
.subckt sky130_fd_pr__nfet_g5v0d10v5_RU632G a_60_n42# a_n60_n68# a_n118_n42# VSUBS
X0 a_60_n42# a_n60_n68# a_n118_n42# VSUBS sky130_fd_pr__nfet_g5v0d10v5 ad=1.218e+11p pd=1.42e+06u as=1.218e+11p ps=1.42e+06u w=420000u l=600000u
.ends
.subckt sky130_fd_pr__pfet_g5v0d10v5_54DD5S w_n154_n146# a_n118_n84# a_60_n84# a_n60_n110#
+ VSUBS
X0 a_60_n84# a_n60_n110# a_n118_n84# w_n154_n146# sky130_fd_pr__pfet_g5v0d10v5 ad=2.436e+11p pd=2.26e+06u as=2.436e+11p ps=2.26e+06u w=840000u l=600000u
.ends
.subckt inverter_D1_g5d10_tapped VDD GND IN OUT
Xsky130_fd_pr__nfet_g5v0d10v5_RU632G_0 OUT IN GND GND sky130_fd_pr__nfet_g5v0d10v5_RU632G
Xsky130_fd_pr__pfet_g5v0d10v5_54DD5S_0 VDD VDD OUT IN GND sky130_fd_pr__pfet_g5v0d10v5_54DD5S
.ends
xschem spice :
** sch_path: /home/ratul619/IIT_study_VM/xschem/inv_g5D10.sch
**.subckt inv_g5D10 IN VSS VDD OUT
*.ipin IN
*.iopin VSS
*.iopin VDD
*.opin OUT
XM1 OUT IN VDD VDD sky130_fd_pr__pfet_g5v0d10v5 L=0.6 W=0.840 nf=1 ad='int((nf+1)/2) * W/nf * 0.29' as='int((nf+2)/2) * W/nf * 0.29'
+ pd='2*int((nf+1)/2) * (W/nf + 0.29)' ps='2*int((nf+2)/2) * (W/nf + 0.29)' nrd='0.29 / W' nrs='0.29 / W'
+ sa=0 sb=0 sd=0 mult=1 m=1
XM2 OUT IN VSS GND sky130_fd_pr__nfet_g5v0d10v5 L=0.6 W=0.420 nf=1 ad='int((nf+1)/2) * W/nf * 0.29' as='int((nf+2)/2) * W/nf * 0.29'
+ pd='2*int((nf+1)/2) * (W/nf + 0.29)' ps='2*int((nf+2)/2) * (W/nf + 0.29)' nrd='0.29 / W' nrs='0.29 / W'
+ sa=0 sb=0 sd=0 mult=1 m=1
**.ends
.lib /home/ratul619/IIT_study_VM/OpenLane/pdks/open_pdks/sky130/custom/models/sky130.lib.spice tt
.GLOBAL GND
.end
------------------------------------------------