Saumeek Upadhyay
10/21/2024, 5:35 PMTim Edwards
10/21/2024, 5:41 PMSaumeek Upadhyay
10/21/2024, 5:47 PMTim Edwards
10/21/2024, 5:52 PM.subckt inverter in out vdd vss w=1 l=0.15
X1 out in vdd vdd sky130_fd_pr__pfet_01v8 w={2.5*w} l={l}
X2 out in vss vss sky130_fd_pr__nfet_01v8 w={w} l={l}
.ends
parameters can be declared on the .subckt
line, and can be used by reference as shown.Tim Edwards
10/21/2024, 5:53 PMSaumeek Upadhyay
10/21/2024, 6:04 PMTim Edwards
10/21/2024, 6:28 PMSaumeek Upadhyay
10/21/2024, 10:24 PM