A standalone, transistor-level 6T SRAM bitcell designed and verified through an open-source custom IC flow in the SkyWater 130nm (sky130A) PDK. The cell is DRC-clean, LVS-clean (Circuits match uniquely), and verified with a post-layout parasitic-extracted (PEX) transient smoke test in Ngspice.
sky130-6t-sram-bitcell/
├── README.md
├── .gitignore
├── layout/
│ ├── srambc1.mag # Final DRC-clean Magic layout
│ └── srambc1.gds # Exported GDSII stream
├── schematic/
│ └── sram_6t.sch # Final LVS-clean Xschem schematic
├── lvs/
│ ├── sram_6t_layout.spice # Extracted layout netlist (LVS)
│ ├── sram_6t_sch.spice # Exported schematic netlist
│ ├── lvs_report.log # Passing Netgen LVS report
│ └── run_lvs.sh # Reproducible Netgen script
├── sim/
│ ├── sram_6t_pex.spice # Post-layout PEX netlist (with parasitic C)
│ └── tb_sram_6t.spice # Ngspice transient testbench
└── images/
├── schematic.png # Xschem schematic capture
├── layout.png # Magic VLSI layout capture
└── sim_transient.png # Post-layout transient waveforms
| Parameter | Value |
|---|---|
| Process / PDK | SkyWater 130nm (sky130A) |
| EDA Toolchain | Magic (Layout/DRC/PEX), Xschem (Schematic), Netgen (LVS), Ngspice (Sim) |
| Cell Dimensions | 6.80 µm × 5.80 µm |
| Total Area |
39.44 µm² (standard logic DRC rules, standalone uncompacted cell) |
| Supply Voltage ( |
1.8 V |
| Pull-Up PMOS (PU) |
W = 0.95 µm, L = 0.15 µm (sky130_fd_pr__pfet_01v8) |
| Pull-Down NMOS (PD) |
W = 0.60 µm, L = 0.15 µm (sky130_fd_pr__nfet_01v8) |
| Pass-Gate NMOS (PG) |
W = 0.60 µm, L = 0.15 µm (sky130_fd_pr__nfet_01v8) |
| Cell Ratio ( |
1.00 |
| Pull-Up Ratio ( |
1.58 |
| Interconnect Layers |
poly, li1 (locali), mcon, met1, via, met2
|
| Physical Signoff | DRC Clean (0 errors) · LVS Clean (Circuits match uniquely.) |
| Simulation Status | Post-layout PEX transient smoke test passed (tt, 1.8 V, 50 fF BL) |
- DRC:
0errors undersky130Astandard logic design rules in Magic. - LVS: Verified in Netgen comparing
lvs/sram_6t_layout.spice(srambc1) againstlvs/sram_6t_sch.spice(sram_6t):
Circuit 1: srambc1 |Circuit 2: sram_6t
-------------------------------------------|-------------------------------------------
sky130_fd_pr__nfet_01v8 (4) |sky130_fd_pr__nfet_01v8 (4)
sky130_fd_pr__pfet_01v8 (2) |sky130_fd_pr__pfet_01v8 (2)
Number of devices: 6 |Number of devices: 6
Number of nets: 7 |Number of nets: 7
---------------------------------------------------------------------------------------
Cell pin lists are equivalent.
Device classes srambc1 and sram_6t are equivalent.
Final result: Circuits match uniquely.
Three physical/schematic bugs were identified and resolved during LVS closure:
- Open inverter cross-coupling (9 nets vs. 7 nets):
polyccontacts were drawn withoutmcon(viali) vias at the inverter feedback nodes, leavingmet1floating aboveli1. Fixed by insertingmconvias to close the feedback loop. - Disconnected
wlport: Thewlport label was bound outside the active wordline layer, leaving the pass-gate poly isolated on an unnamed internal net. Fixed by attaching the port directly to the active wire layer. - Schematic
vdd/wlpin swap: PMOS bulk terminals in Xschem were accidentally wired towlinstead ofvdd. Caught by Netgen's pin-mismatch report and corrected insram_6t.sch.
A 40 ns transient functional smoke test (sim/tb_sram_6t.spice) was run on the parasitic-extracted netlist (sim/sram_6t_pex.spice) at the nominal tt corner (1.8 V, 27 °C, 50 fF bitline capacitance) covering Write 1 → Hold & Precharge → Read 1 → Write 0:
Plot Key:
- Left window (External lines):
v(wl)(red,0–1.8 V),v(bl)+2(blue, offset+2 V),v(blb)+2(yellow, offset+2 V). - Right window (Internal storage nodes):
v(wl)+2(yellow, offset+2 V),Q = v(x1.a_n200_n360#)(red),QB = v(x1.a_30_n360#)(blue).
Observed Behavior:
- Write 1 (
0–10 ns): Withbl = 1.8 Vandblb = 0 V, assertingwllatchesQ = 1.8 VandQB = 0 V. - Hold & Precharge (
10–20 ns): Withwl = 0 V, bothblandblbprecharge to1.8 Vwhile internal storage nodes remain completely undisturbed. - Read 1 (
20–30 ns): Assertingwldischargesblbto0 Vwithin~1.5 nswhileblstays at1.8 V. Internal nodeQBexhibits a~0.33 Vread-disturb bump at20.1 nsdue to the pass-gate/pull-down voltage divider (CR = 1.00), staying well below the inverter trip point and recovering cleanly without a destructive read. - Write 0 (
31–40 ns): Drivingbl = 0 Vandblb = 1.8 Vwithwlasserted cleanly flipsQto0 VandQBto1.8 V.
Ensure sky130A is installed ($PDK_ROOT set) and configure Ngspice for Sky130 HSPICE model compatibility:
grep -q "ngbehavior=hsa" ~/.spiceinit 2>/dev/null || echo "set ngbehavior=hsa" >> ~/.spiceinitOpen the layout in Magic (magic -T $PDK_ROOT/sky130A/libs.tech/magic/sky130A.tech layout/srambc1.mag) and run in tkcon:
# LVS netlist (no parasitics)
extract all
ext2spice lvs
ext2spice -o lvs/sram_6t_layout.spice
# PEX netlist (with parasitic capacitances)
ext2spice cthresh 0
ext2spice -o sim/sram_6t_pex.spice./lvs/run_lvs.shAdjust the .lib path on line 2 of sim/tb_sram_6t.spice if your sky130A installation is not at /usr/local/share/pdk/sky130A, then run:
cd sim && ngspice tb_sram_6t.spiceThis project was built as a standalone custom-layout and physical-verification exercise (DRC → LVS → PEX → functional transient baseline), not as a tape-out-ready memory compiler bitcell. Specifically:
-
Transistor sizing ratios: Production 6T SRAM cells typically target
$CR \ge 1.5$ and$PR \le 1.0$ to maximize Read SNM and Write Margin. This layout uses$CR = 1.00$ and$PR = 1.58$ , which passes at nominalttwith50 fFbitlines but would require resizing to survive worst-case silicon variation. -
Unverified corners & load stress: Simulation was limited to the nominal
ttcorner (1.8 V,50 fFbitlines) and did not include a Read 0 cycle, heavier array bitline loads (300–500 fF), skewed PVT corners (fsfor Read stability,sffor Writeability), DC Static Noise Margin (SNM) butterfly curves, or Monte Carlo mismatch analysis. -
Uncompacted cell area: At
39.44 µm², the layout follows standard logic DRC rules without array-level pitch compaction, shared wells/contacts, or foundry pushed-rule SRAM waivers.


