Appendix B

PDK Quick Reference

IHP SG13G2 and SkyWater SKY130 side by side: device names and netlist lines, model libraries and corners, the device constants used for hand design, layers and rules, and the verification commands. Every number is from the chapter given with it, simulated with the PDK models in IIC-OSIC-TOOLS 2026.10 (tt, 27 °C) unless the table says otherwise.

Contents

B.1 The two processes at a glance

From Table 3.3 (W = 10 µm, threshold by linear extrapolation, Eq. 3.1).

Quantity SG13G2 SKY130
Core supply \(V_{DD}\) 1.2 V 1.8 V
Minimum L of core devices 0.13 µm 0.15 µm
Gate oxide of core devices 2.65 nm (NMOS), 2.45 nm (PMOS) 4.15 nm
NMOS \(V_{TH}\) at Lmin / at 10 µm 0.500 / 0.201 V 0.724 / 0.547 V
PMOS \(\lvert V_{TH}\rvert\) at Lmin / at 10 µm 0.461 / 0.354 V 0.805 / 1.05 V
NMOS / PMOS on-current at \(V_{DD}\) 479 / 203 µA/µm 529 / 206 µA/µm
NMOS subthreshold slope 83 mV/decade 91 mV/decade
Higher-voltage devices 3.3 V thick oxide 5 V / 10.5 V, 20 V
Bipolar devices SiGe HBT (fT 350 GHz), substrate pnp parasitic npn and pnp
Metal stack Metal1–5, TopMetal1 (2 µm), TopMetal2 (3 µm) li1, met1–5
Transistor model PSP 103.6, compiled Verilog-A (OSDI) BSIM4 4.5, built into ngspice, binned

B.2 Devices and netlist lines

The lines are as the course scripts write them; Xschem’s PDK symbols produce the same. SG13G2 instances take SI units; SKY130 instances take micrometres because its library sets .option scale=1.0u (Section 3.5).

Device SG13G2 SKY130
Core NMOS XM1 d g s b sg13_lv_nmos W=5u L=0.5u ng=1 m=1 XM1 d g s b sky130_fd_pr__nfet_01v8 W=5 L=0.5 nf=1
Core PMOS XM2 d g s b sg13_lv_pmos W=5u L=0.5u ng=1 m=1 XM2 d g s b sky130_fd_pr__pfet_01v8 W=5 L=0.5 nf=1
Medium-value poly resistor XR1 a b sub rppd w=1e-6 l=10e-6 m=1 b=0 (260 Ω/□) XR1 a b sub sky130_fd_pr__res_high_po_0p69 L=10 mult=1 m=1 (about 300 Ω/□)
High-value poly resistor rhigh, same terminals (1360 Ω/□) sky130_fd_pr__res_xhigh_po_0p69, same terminals (about 2000 Ω/□)
Low-value poly resistor rsil, same terminals without b= (7 Ω/□) XR1 a b sky130_fd_pr__res_generic_po W=1 L=10 m=1 (48 Ω/□)
MIM capacitor XC1 top bot cap_cmim w=20e-6 l=20e-6 m=1 (1.5 fF/µm²) XC1 top bot sky130_fd_pr__cap_mim_m3_1 W=20 L=20 MF=1 m=1 (2.0 fF/µm²)
Substrate pnp XQ1 c b e pnpMPA a=1.4e-12 p=5.4e-6 m=1 (any emitter) XQ1 c b e sky130_fd_pr__pnp_05v5_W3p40L3p40 m=1 mult=1 (0.68² or 3.4² µm² only)
Thick-oxide MOSFETs sg13_hv_nmos, sg13_hv_pmos (3.3 V) sky130_fd_pr__nfet_g5v0d10v5, ..._pfet_g5v0d10v5

The SG13G2 resistor parameter b is the number of bends; the SKY130 precision resistors come in fixed widths (_0p35, _0p69, _1p41, _2p85, _5p73 µm), and the third terminal of each poly resistor is its body (substrate or well). Size an accurate resistor with the end resistance and width bias of Eq. (3.2): in SKY130 they add 17 % to a 10 kΩ res_high_po drawn from the sheet resistance alone (Worked example 3.1).

B.3 Models, corners and mismatch

Quantity SG13G2 SKY130
Core MOSFETs .lib cornerMOSlv.lib mos_tt .lib $PDK_ROOT/sky130A/libs.tech/ngspice/sky130.lib.spice tt
Resistors, capacitors, bipolars .lib cornerRES.lib res_typ, .lib cornerCAP.lib cap_typ, .lib cornerHBT.lib hbt_typ in the same section
Process corners mos_tt, mos_ff, mos_ss, mos_fs, mos_sf tt, ff, ss, fs, sf
Local mismatch (Monte Carlo) .lib cornerMOSlv.lib mos_tt_mismatch and mm_ok=1 on each instance .lib .../sky130.lib.spice tt_mm
Random seed .options seed=N same
Model folder $PDK_ROOT/ihp-sg13g2/libs.tech/ngspice/models $PDK_ROOT/sky130A/libs.tech/ngspice (binned), .../libs.tech/combined (continuous)
Found through .spiceinit in SPICE_USERINIT_DIR sets the search path and loads psp103.osdi full path in the .lib line

Two warnings from Chapter 3. First, the SKY130 skewed corners act opposite to their names: at fs the NMOS is slower (−13 %) and the PMOS faster (+31 %). Second, Xschem’s SKY130 corner symbol includes the continuous (combined) model set, while every other SKY130 number in the course uses the binned set; the two agree to 1 % at the widths where the original models were fitted.

Corner spread of the on-current at Lmin, ff and ss against tt (Figure 3.5): SG13G2 NMOS +21 / −20 %, PMOS +29 / −21 %; SKY130 NMOS +12 / −12 %, PMOS +29 / −29 %.

B.4 Operating-point values

Read with @path[name], where the path for an instance XM1 is n.xm1.nsg13_lv_nmos (SG13G2, a PSP device loaded through OSDI) or m.xm1.msky130_fd_pr__nfet_01v8 (SKY130). To keep them during a sweep, list them in a .save line. From Table 5.1.

Quantity SG13G2 (PSP) SKY130 (BSIM4)
Drain current ids id
\(g_m\), \(g_{ds}\), \(g_{mb}\) gm, gds, gmb gm, gds, gmbs
Threshold, saturation voltage vth, vdss vth, vdsat
Intrinsic gate capacitance cgg cgg
Intrinsic \(C_{gs}\), \(C_{gd}\) cgs, cgd (positive) cgs, cgd (negative)
Overlap capacitances cgsol, cgdol cgso, cgdo
Junction capacitances cjs, cjd capbs, capbd

The total gate capacitance is cgg plus both overlap terms in either PDK; leaving them out makes \(C_{gg}\) 15–30 % too small.

B.5 Device constants for hand design

Square-law fit (saturation, \(\lvert V_{DS}\rvert = V_{DD}/2\), W = 5 µm; use each pair of values together). From Table 4.2.

Device SG13G2 µCox (µA/V²) SG13G2 VTH (V) SKY130 µCox (µA/V²) SKY130 VTH (V)
NMOS, Lmin 192 0.42 172 0.61
NMOS, 0.5 µm 286 0.25 215 0.59
NMOS, 2 µm 315 0.20 233 0.54
PMOS, Lmin 74 0.39 46 0.66
PMOS, 0.5 µm 70 0.34 60 0.94
PMOS, 2 µm 73 0.33 61 1.00
Body effect γ, NMOS / PMOS (V½) 0.23 / 0.35   0.41 / 0.47  
Slope factor n, NMOS / PMOS (L = 0.5 µm) 1.24 / 1.25   1.44 / 1.33  

Moderate inversion, \(g_m/I_D\) = 12 V⁻¹, \(\lvert V_{DS}\rvert = V_{DD}/2\), per micrometre of width. From Table 5.3; the full lookup tables are in tools/data/, built by tools/gmid/techsweep.py (Chapter 6).

Device, L |VGS| (V) ID/W (µA/µm) gm/gds fT (GHz) Cgg/W (fF/µm)
SG13G2 NMOS 0.13 µm 0.536 12.9 17.6 15.9 1.55
SG13G2 NMOS 0.5 µm 0.390 6.16 26.4 2.98 3.95
SG13G2 NMOS 2 µm 0.344 1.74 40.3 0.24 14.0
SG13G2 PMOS 0.5 µm 0.492 1.67 96.7 0.75 4.23
SG13G2 PMOS 2 µm 0.478 0.44 257 0.05 15.5
SKY130 NMOS 0.15 µm 0.799 18.0 20.8 27.9 1.23
SKY130 NMOS 0.5 µm 0.759 5.77 119 3.53 3.12
SKY130 NMOS 2 µm 0.713 1.65 195 0.28 11.3
SKY130 PMOS 0.5 µm 1.087 1.34 121 0.97 2.64
SKY130 PMOS 2 µm 1.146 0.34 601 0.07 9.85

The SG13G2 NMOS has a far lower intrinsic gain than any other device in the table: cascode it, or make it long, where gain matters.

Noise at \(g_m/I_D\) = 15 V⁻¹ and L = 1 µm (\(K_f'\) evaluated at 1 kHz). From Table 13.1.

Quantity SG13G2 NMOS SG13G2 PMOS SKY130 NMOS SKY130 PMOS
Thermal noise factor \(\gamma\) 0.78 1.37 2.00 0.87
Flicker constant \(K_f'\) (µV²·µm²) 210 577 835 178
Flicker corner \(f_c\) 436 kHz 185 kHz 1.9 MHz 50 kHz

In SKY130 the PMOS is the quieter input device; in SG13G2 it is the NMOS.

Mismatch (Pelgrom constants, strong inversion). From Table 13.3.

Constant SG13G2 NMOS SG13G2 PMOS SKY130 NMOS SKY130 PMOS
\(A_{VT}\) (mV·µm) 5.7 3.0 5.6 8.4
\(A_\beta\) (%·µm) 0.88 0.69 0.98 0.56
Area for \(\sigma(\Delta V_{TH})\) = 1 mV 32 µm² 9.2 µm² 31 µm² 70 µm²

Passive devices. Sheet resistances and capacitance densities from Section 3.4, temperature coefficients from Table 14.2.

Device Value Temperature coefficient at 27 °C
SG13G2 rsil / rppd / rhigh 7.0 / 260 / 1360 Ω/□; ends 4.6 / 35 / 77 Ω·µm rppd +165 ppm/K, rhigh −2298 ppm/K
SKY130 res_generic_po / res_high_po / res_xhigh_po 48 / 320 / 1998 Ω/□; res_high_po 0.04 µm narrower than drawn, precision-type ends 140–160 Ω·µm on average res_high_po +506 ppm/K, res_xhigh_po −1474 ppm/K
SG13G2 cap_cmim 1.50 fF/µm² + 40 aF/µm of perimeter  
SKY130 cap_mim_m3_1 2.00 fF/µm²  
Substrate pnp SG13G2 pnpMPA: model βF = 1.1, any emitter size; SKY130 pnp_05v5: model βF = 16.6, two emitter sizes (Table 14.1)  

B.6 Layers and rules

Drawn layers (GDS layer/datatype). From Table 15.1.

Purpose SG13G2 SKY130
Active area, tap Activ 1/0 diff 65/20, tap 65/44
Poly GatPoly 5/0 poly 66/20
p+ implant pSD 14/0 psdm 94/20 (nsdm 93/44)
n-well NWell 31/0 nwell 64/20
Contact Cont 6/0 licon 66/44, li1 67/20, mcon 67/44
Metal1, Via1 Metal1 8/0, Via1 19/0 met1 68/20, via 68/44
Further metals Metal2–5: 10, 30, 50, 67; TopMetal1/2: 126, 134 met2–met5: 69, 70, 71, 72 (datatype 20)
Resistor and capacitor markers PolyRes 128/0, SalBlock 28/0, MIM 36/0 poly-resistor id 66/13, rpm 86/20, capm 89/44

Minimum rules (µm). From Tables 3.5 and 15.2.

Rule SG13G2 SKY130
Gate length / poly spacing 0.13 / 0.18 0.15 / 0.21
Poly end cap beyond active 0.18 0.13
Active width / spacing 0.15 / 0.21 0.15 / 0.27
Contact size / spacing 0.16 / 0.18 licon 0.17 / 0.17
Contact to gate 0.11 0.055
Metal1 width / spacing 0.16 / 0.18 0.14 / 0.14 (li1 0.17 / 0.17)
Metal2 width / spacing 0.20 / 0.21 0.14 / 0.14
n-well width / spacing 0.62 / 0.62 0.84 / 1.27

Wiring parasitics (Magic extraction rules, nominal). From Table 15.3.

Layer SG13G2 R□ (mΩ/□) SG13G2 Carea (aF/µm²) SKY130 R□ (mΩ/□) SKY130 Carea (aF/µm²)
Local interconnect — — 12 800 37.0
Metal1 110 35.0 125 25.8
Metal2 88 18.2 125 17.5
Top metal 18 (TopMetal1), 11 (TopMetal2) 5.6, 3.2 29 (met5) 6.3
One via cut 9 Ω   3.4–4.5 Ω  

B.7 Verification commands

From Chapter 16, for a block x in x.gds; tools/layout/verify.py runs all of them for the course OTA. The LVS reference x_lvs.spice must hold the PDK resistors, capacitors and dummies as drawn, and for SG13G2 be written in CDL form.

# DRC: every rule table except density, then the antenna rules
python3 $PDK_ROOT/ihp-sg13g2/libs.tech/klayout/tech/drc/run_drc.py \
    --path=x.gds --topcell=x --run_dir=drc --mp=4 --no_density
python3 $PDK_ROOT/ihp-sg13g2/libs.tech/klayout/tech/drc/run_drc.py \
    --path=x.gds --topcell=x --run_dir=antenna --antenna_only
# LVS against a CDL reference
python3 $PDK_ROOT/ihp-sg13g2/libs.tech/klayout/tech/lvs/run_lvs.py \
    --layout=x.gds --netlist=x_lvs.spice --topcell=x --run_dir=lvs \
    --combine_devices --disable_tap_extraction
# DRC: the KLayout deck (front and back end), then Magic's full rule set
klayout -b -r $PDK_ROOT/sky130A/libs.tech/klayout/drc/sky130A_mr.drc \
    -rd input=x.gds -rd top_cell=x -rd report=drc.lyrdb -rd feol=true -rd beol=true
#   magic: gds read x.gds; load x; drc style drc(full); drc check; drc catchup
# LVS: Magic extracts (extract all; ext2spice lvs; ext2spice -o x_ext.spice), Netgen compares
netgen -batch lvs "x_ext.spice x" "x_lvs.spice x" \
    $PDK_ROOT/sky130A/libs.tech/netgen/sky130A_setup.tcl lvs.out

Parasitic extraction, the same in both PDKs, with magic -dnull -noconsole -rcfile $PDK_ROOT/<pdk>/libs.tech/magic/<pdk>.magicrc pex.tcl:

gds read x.gds
load x
extract do local
extract all
ext2spice lvs
ext2spice cthresh 0
ext2spice format ngspice
ext2spice -o x_pex.spice

Back to top

SkillSurf · The Art of Analog IC Design, draft v0.1 (November 2026). Every source is listed on the References page.

© 2025–2026 SkillSurf. Text, figures and 3D models: CC BY 4.0; code: MIT. The SkillSurf name and logo are not covered.

This course was written with the help of AI tools and may contain mistakes. If you find one, please tell us through SkillSurf or email skillsurfedu@gmail.com, and we will correct it.

This site uses Just the Docs, a documentation theme for Jekyll.