VLSI

N-well / twin-well CMOS fabrication process

By CourseTron Team ·  7 min read ·  Updated Oct 2026 💬 𝕏 in f
Table of Contents
    ? Print / Save as PDF

    In short: The n-well (and twin-well) process builds NMOS and PMOS transistors on the same die by diffusing oppositely-doped "tubs" into a common substrate, so each device sits in a body of the correct polarity and the reverse-biased well-to-substrate junction electrically isolates the two device families.

    Every CMOS inverter, standard cell and SRAM bitcell you ever simulate in Synopsys PrimeSim or lay out in Cadence Virtuoso rests on one foundational trick: putting an NMOS and a PMOS, which need opposite body types, onto a single piece of silicon. The n-well process is how that is done. Understanding it is not trivia — it explains latch-up rules, body-bias schemes, well-tap density checks in Siemens Calibre DRC, and why your P-cell-based layout needs guard rings.

    Why you need a well at all

    An NMOS transistor needs a p-type body so that its n+ source/drain form reverse-biased junctions with the substrate. A PMOS needs the mirror image: p+ source/drain sitting in an n-type body. A bare wafer is doped only one way — typically lightly-doped p-type (p⁻, around 1015 atoms/cm³). So one device type is "at home" in the substrate; the other must be given a locally-reversed region, the well.

    In an n-well process, NMOS devices sit directly in the p⁻ substrate, while PMOS devices live inside an n-well (phosphorus-doped, ~1016–1017/cm³) implanted into that substrate. A twin-well (or twin-tub) process goes further and implants both a dedicated p-well and n-well, giving the designer independent control of both channel dopings — essential once threshold voltages must be tuned tightly at 180 nm and below.

    Rule of thumb: the well is always more heavily doped than the substrate it sits in. That doping asymmetry is exactly what forms the isolating junction and sets the well's sheet resistance (often 1–3 kΩ/▢).

    Twin-well CMOS cross-section n+ n+ p+ p+ poly gate poly gate p-well (NMOS body) n-well (PMOS body) p⁻ substrate reverse-biased isolation junction CourseTron · coursetron.com
    Twin-well CMOS cross-section: NMOS in a p-well, PMOS in an n-well, separated by a reverse-biased well junction.

    The process flow, step by step

    A simplified n-well/twin-well flow, in the order a foundry actually runs it:

    • Starting wafer: a p⁻ (100) silicon wafer, often with a lightly-doped epitaxial layer to suppress latch-up.
    • Well mask & implant: pattern photoresist, implant phosphorus for the n-well (and, in twin-well, a separate boron implant for the p-well through a complementary mask).
    • Well drive-in: a high-temperature anneal (~1000–1150 °C) drives the dopants several microns deep and activates them, setting the final well profile.
    • Isolation: grow field oxide (LOCOS) or etch and fill shallow-trench isolation (STI) to separate adjacent devices.
    • Gate stack: grow thin gate oxide, deposit and pattern polysilicon gates.
    • Source/drain & well taps: self-aligned n+ implant (into p-well, for NMOS S/D and for the n-well tap) and p+ implant (into n-well, for PMOS S/D and the p-well/substrate tap).
    • Back end: silicide, contacts, and the metal/via interconnect stack.

    The well taps are not optional. Every p-well must be strapped to the lowest rail (VSS) through a p+ tap, and every n-well to VDD through an n+ tap. Omitting them lets the body float, inviting latch-up — which is why DRC decks enforce a maximum distance (e.g. 15–25 µm) from any transistor to a tap.

    Simplified n-well / twin-well process flow 1 · p⁻ wafer(+ epi layer) 2 · Well maskand implant 3 · Well drive-in1000–1150 °C 4 · IsolationLOCOS or STI 5 · Gate oxideand poly gate 6 · n+ / p+ S/Dand well taps 7 · Silicide, contactsand metal stack Orange steps form the wells; they come before isolation and gates. CourseTron · coursetron.com
    Simplified process flow: wells are implanted and driven in first, followed by isolation, gate, source/drain and taps, then the back end.

    How the well isolates the two device families

    The isolation mechanism is a pn junction held in reverse bias. In an n-well process, the n-well is tied to VDD and the surrounding p⁻ substrate to VSS. The n-well/substrate junction therefore sees VDD across it, reverse-biased, and conducts only a tiny leakage current. That depletion region is the electrical wall between the PMOS "world" and the NMOS "world."

    The animation below shows the depletion region widening as the reverse bias increases — the physical basis of the isolation.

    Reverse-biased n-well / substrate junction n-well (tied to VDD) p⁻ substrate (0 V) depletion region widens with reverse bias CourseTron · coursetron.com
    Animated: a reverse-biased n-well/substrate junction. The depletion band breathes with bias; a stray carrier shows the small leakage that remains.

    N-well vs twin-well vs triple-well

    ProcessWells implantedKey advantageTypical era/node
    Single n-welln-well only; NMOS in substrateFewest masks, cheapest2–0.5 µm legacy
    Twin-wellIndependent p-well & n-wellBoth VT tuned independently0.25 µm–28 nm
    Triple-wellDeep n-well under an isolated p-wellIsolates noisy/analog NMOS bodiesMixed-signal, RF

    Twin-well is the workhorse for standard-cell digital design: because the p-well doping is set by its own implant rather than inherited from the substrate, both NMOS and PMOS thresholds can be centered on their targets (e.g. ±0.45 V) independently. Triple-well adds a buried deep n-well so sensitive analog or SRAM NMOS can have a body isolated from substrate noise — invaluable in mixed-signal SoCs.

    Where this matters in your design flow

    Well structure shows up directly in layout and verification. In Cadence Virtuoso, the well and well-tap layers are drawn (often auto-generated by P-cells); in Siemens Calibre or Synopsys IC Validator, DRC rules check well spacing, overlap of diffusion inside well, and tap density, while LVS confirms every device body connects to the correct well net. Teams building their first standard-cell library quickly learn that forgetting a substrate tap passes LVS but fails silicon through latch-up. For hands-on process and layout training that ties these rules to real tape-outs, see the physical-design programs at ChipXpert VLSI training.

    Want to go from "I've heard of a well" to confidently reading a cross-section and passing DRC? Our CourseTron VLSI Fabrication & Layout course walks through every mask step with live Virtuoso and Calibre labs.

    Frequently asked questions

    Why not just build NMOS and PMOS on two separate wafers?

    CMOS logic needs both transistor types connected gate-to-gate and drain-to-drain in the same cell, micrometers apart. Separate wafers make that impossible; the well is what lets both live side by side on one die.

    Is the n-well process the same as the full CMOS fabrication process?

    No — well formation is one early module within the larger flow. The complete sequence also covers isolation, gate, source/drain, silicide and interconnect. See our companion article on the full CMOS fabrication process.

    What is latch-up and how do wells relate to it?

    Latch-up is a parasitic PNPN (thyristor) path formed by the PMOS, n-well, substrate and NMOS turning on and shorting VDD to VSS. Proper well taps, guard rings and epi substrates keep the parasitic bipolar gains low enough that it never triggers. Our latch-up prevention guide covers the layout rules.

    Why is a p⁻ substrate preferred as the starting material?

    A lightly-doped p-type (often with a heavily-doped p+ handle and p⁻ epi) gives low substrate resistance for latch-up immunity while still letting the n-well junction isolate cleanly. It is the industry-standard default for bulk CMOS.

    Advertisement