Matthew Guthaus
11/03/2021, 3:27 PM.subckt pmos_m1_w1_600_sm1_dm1_da_p G D comment_n24_n24# w_n24_n24# S
M1000 D G S w_n24_n24# pfet w=1.6u l=0.4u
+ ad=0p pd=0u as=0p ps=0u
.ends
.subckt nmos_m1_w0_800_sm1_dm1_da_p G D comment_n24_n24# S
M1000 D G S w_n24_n24# nfet w=0.8u l=0.4u
+ ad=0p pd=0u as=0p ps=0u
.ends
.subckt pinv A Z vdd gnd
Xpmos_m1_w1_600_sm1_dm1_da_p_0 A Z comment_0_0# vdd vdd pmos_m1_w1_600_sm1_dm1_da_p
Xnmos_m1_w0_800_sm1_dm1_da_p_0 A Z comment_0_0# gnd nmos_m1_w0_800_sm1_dm1_da_p
.ends
Specifically, the net w_n24_n24# is not connected in the nmos subckt and there is no port in the nmos instantiation. It could have to do with each transistor being its own cell? I generate them like pcells so they have hierarchy.
Note, this is not specific to sky130.Tim Edwards
11/03/2021, 3:48 PMTim Edwards
11/03/2021, 5:41 PMTim Edwards
11/03/2021, 9:46 PM