Mitch Bailey
07/06/2021, 9:06 AM.subckt pk_sky130_fd_bd_sram__openram_dp_cell_replica VDD BL0 BL1 BR0 BR1 GND WL0
+ WL1 a_400_n79# a_38_n79#
...
X0 a_38_133# WL0 a_38_133# VDD sky130_fd_pr__special_pfet_pass ... w=70000u l=150000u
X4 VDD WL1 VDD VDD sky130_fd_pr__special_pfet_pass ... w=70000u l=150000u
X3 GND GND BL1 GND sky130_fd_pr__special_nfet_latch ... w=210000u l=80000u
X6 GND GND a_400_n79# GND sky130_fd_pr__special_nfet_latch ... w=210000u l=80000u
X9 GND GND a_38_n79# GND sky130_fd_pr__special_nfet_latch ... w=210000u l=80000u
X10 GND GND BR1 GND sky130_fd_pr__special_nfet_latch ... w=210000u l=80000u
.ends
and this is what's in the spice netlist from https://github.com/efabless/sky130_sram_macros/blob/main/sram_1rw1r_32_256_8_sky130/sram_1rw1r_32_256_8_sky130.lvs.sp .
.SUBCKT sky130_fd_bd_sram__openram_dp_cell_replica bl0 br0 bl1 br1 wl0 wl1 vdd gnd
** N=9 EP=8 IP=0 FDC=16
*.SEEDPROM
...
* drainOnly PMOS
X10 vdd wl1 vdd vdd sky130_fd_pr__special_pfet_pass L=0.08 W=0.14 m=1 mult=1
X11 Q wl0 Q vdd sky130_fd_pr__special_pfet_pass L=0.08 W=0.14 m=1 mult=1
* drainOnly NMOS
X12 bl1 gnd bl1 gnd sky130_fd_pr__special_nfet_latch W=0.21 L=0.08 m=1 mult=1
X14 br1 gnd br1 gnd sky130_fd_pr__special_nfet_latch W=0.21 L=0.08 m=1 mult=1
.ENDS
You'll notice that the number and connections of the nfets differs along with the pmos parameters.
@User Is it correct to change the spice netlist to match the extracted netlist or do we need the same result as some other tool, such as Calibre?Matthew Guthaus
07/06/2021, 2:29 PM