4.2.8VLSI Design

Design rule checking (DRC)

1,936 words9 min readdifficulty · medium2 backlinks

WHAT is DRC?

The layout is just polygons on layers (metal1, poly, diffusion, via, …). DRC asks purely spatial questions:

  • Is this wire wide enough? (minimum width)
  • Are these two wires far enough apart? (minimum spacing)
  • Does this via sit fully inside the metal that surrounds it? (enclosure / overlap)
  • Do these two layers overlap by enough to be electrically valid? (minimum overlap)
  • Do things that must touch actually touch? (minimum extension)

WHY do design rules exist?

The historical scaling parameter is the ==minimum feature size λ\lambda==. In classic λ\lambda-based (scalable) design rules, every rule is expressed as a multiple of λ\lambda so a whole design can be ported to a new process just by rescaling λ\lambda. Note: this scalable approach is largely a teaching/legacy convention — modern advanced CMOS nodes (e.g. "7 nm") do not use a single λ\lambda; there the node name is a marketing/generation label and the foundry ships a large table of explicit, absolute (nanometre) micro-rules instead.


HOW are the core rules defined (from first principles)?

Let's derive the four canonical rule types from the single idea: "masks can misalign and light/etch blurs edges by some tolerance."

Let mask misalignment tolerance be tt, and litho/etch edge blur be bb (each printed edge moves by up to bb from its drawn position).

1. Minimum width wminw_{min}. A drawn line of width ww shrinks by up to bb on each edge during etch, so the printed width is w2b\approx w - 2b. To guarantee the line survives with some safe width wsw_s: wws+2b    wminw \ge w_s + 2b \;\equiv\; w_{min}

2. Minimum spacing smins_{min}. Two lines separated by ss each grow by bb toward each other during over-exposure, closing the gap to s2bs - 2b. To guarantee they never merge: s2b+(safety)    smins \ge 2b + \text{(safety)} \;\equiv\; s_{min}

3. Minimum enclosure / overlap emine_{min}. A via (contact) must stay inside its metal even in the worst case, where two effects stack: (a) the two masks shift relative to each other by up to tt, and (b) blur can grow the via edge outward by bb while shrinking the metal edge inward by bb. The metal must therefore extend past the drawn via by at least the sum of these worst-case movements on each side: et+2b    emine \ge t + 2b \;\equiv\; e_{min}

4. Minimum extension. Where poly crosses diffusion to form a transistor gate, poly must extend past the diffusion edge so that neither misalignment tt nor blur bb ever leaves an unfinished gate (which would short source to drain): extensiont+b    extmin\text{extension} \ge t + b \;\equiv\; \text{ext}_{min}

5. Minimum area AminA_{min} (a "printability" rule). Very small shapes fail to resolve at all under diffraction, independent of width/spacing. A shape of area AA must exceed the smallest reliably-printable patch AminA_{min}: AAminA \ge A_{min}

Figure — Design rule checking (DRC)

Worked Examples


Common Mistakes


Recall Feynman: explain to a 12-year-old

You built a Lego castle on graph paper and want a factory to stamp it into plastic. The factory says: "our machine can't make a wall thinner than 2 squares, and if two walls are less than 1 square apart they'll melt into one blob." DRC is you going over your drawing with a ruler, checking every wall is thick enough and every gap is wide enough, before you send it. If you skip this, the factory happily prints a broken, melted castle.


Active Recall

What does DRC verify?
That a layout's geometry obeys the foundry's design rules (widths, spacings, enclosures, extensions, areas) — geometry only, not logic.
DRC vs LVS?
DRC checks geometric design rules; LVS checks that the layout matches the schematic netlist (logic/connectivity). Both are required.
Why does a minimum spacing rule exist?
Litho/etch blur makes edges grow; too-close shapes merge into a short. Spacing guarantees a safe gap.
Why does a via enclosure rule exist?
Masks can misalign by tolerance t AND blur can move edges by b; metal must surround the via by ≥ t+2b so the contact never opens.
Enclosure per side for a centered via?
(metal_size − via_size)/2.
What is λ in design rules?
A legacy scaling parameter; classic scalable rules are multiples of λ so designs port across nodes. Modern advanced nodes (e.g. "7 nm") do NOT use a single λ.
What is a "sliver" violation?
A shape that passes width/spacing but is below minimum area — fails to print due to the diffraction limit.
Can a logically-correct circuit fail DRC?
Yes — DRC is purely geometric; correct logic can still have illegal spacings/enclosures.

Connections

  • VLSI Design
  • Layout versus Schematic (LVS)
  • Photolithography
  • Lambda-based design rules
  • Physical Verification
  • Mask misalignment and process tolerance
  • Electromigration

Concept Map

imposes

verifies

must obey

geometry only, not

includes

includes

includes

includes

prevents

prevents shorts

legacy scaled by

modern uses

Fab physical limits

Design Rule Checking

Layout polygons on layers

Design rules geometry

LVS logic check

Min width

Min spacing

Min enclosure

Min area

Lambda scaling

Modern nm micro-rules

Dies on silicon

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, DRC ka matlab hai Design Rule Checking. Jab tum ek chip ka layout banate ho, toh wo bas kuch polygons hote hain alag-alag layers (metal, poly, diffusion, via) pe. Ab fab (factory) ki apni physical limits hoti hain — light blur karti hai, masks thoda shift ho jaate hain, etching edges ko kha jaati hai. Isliye foundry kuch rules deti hai: minimum width, minimum spacing, minimum enclosure, minimum extension, minimum area. DRC ek automated tool hai jo tumhare poore layout ko scan karke check karta hai ki koi rule toota toh nahi.

Sabse important baat: DRC sirf geometry dekhta hai, logic nahi. Matlab tumhara circuit bilkul sahi kaam kar raha ho simulation mein, phir bhi DRC fail ho sakta hai agar do wires bahut paas hain ya via ke upar metal poori tarah cover nahi kar raha. Logic wala check alag hota hai — usko LVS kehte hain. Tape-out (chip banwane) se pehle dono pass hone zaroori hain.

Har rule ke peeche ek physical reason hai. Enclosure ka rule dekho — via ke upar metal ko sirf misalignment tt ke liye nahi, balki blur bb ke liye bhi extra jagah chahiye, isliye et+2be \ge t + 2b. Ek aur cheez: λ\lambda (lambda) ek purani teaching-convention hai jahan saare rules λ\lambda ke multiples mein hote hain, lekin modern "7 nm" jaise nodes mein aisa single λ\lambda nahi hota — wahan foundry ek badi table deti hai exact nanometre rules ki. Mnemonic yaad rakho — WSEEA (Width, Spacing, Enclosure, Extension, Area).

Test yourself — VLSI Design

Connections