StefanCK
10/24/2022, 10:25 PMMitch Bailey
10/25/2022, 1:22 AMe
, StefanCK
10/25/2022, 6:07 AMStefan Schippers
10/25/2022, 8:04 AM.include /home/schippes/share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice
(of course your actual path depends on your open_pdks installation)
Taking for example a NAND2_1 gate this is the port order as netlisted by xschem:
x1 A B VSS VSS VCC VCC IX sky130_fd_sc_hd__nand2_1
so inputs first, then power/body rails and output last.
This matches the nand2 netlist found in above file:
.subckt sky130_fd_sc_hd__nand2_1 A B VGND VNB VPB VPWR Y
X0 Y A VPWR VPB sky130_fd_pr__pfet_01v8_hvt w=1e+06u l=150000u
X1 VPWR B Y VPB sky130_fd_pr__pfet_01v8_hvt w=1e+06u l=150000u
X2 VGND B a_113_47# VNB sky130_fd_pr__nfet_01v8 w=650000u l=150000u
X3 a_113_47# A Y VNB sky130_fd_pr__nfet_01v8 w=650000u l=150000u
.ends
Stefan Schippers
10/25/2022, 8:16 AMsky130_fd_sc_hd.spice
also into the netlist for LVS, so you will be checking layout vs schematic all the way down to transistors.StefanCK
10/25/2022, 5:29 PMsky130_fd_sc_hs.spice
file in the produced netlist and it seems to work now. It does break the cells into their transistors now. Thank you.