4.2.4VLSI Design

Standard cell libraries

2,196 words10 min readdifficulty · medium3 backlinks

What is a standard cell?

The multiple "views" of one cell

A single cell like NAND2_X2 is shipped as several coordinated views:

View What it contains Used by
Liberty (.lib) timing, power, capacitance synthesis, STA
LEF abstract footprint: pins, blockages, size place & route
GDSII full mask-level layout (transistors, metal) fabrication
Verilog functional model (assign Y = ~(A&B)) simulation
SPICE netlist transistor-level characterization

Why a FIXED cell height? (The core trick)

Height is measured in tracks — the number of horizontal routing tracks that fit. A "9-track" library is taller (faster, more area) than a "7-track" one (denser, lower power).

Figure — Standard cell libraries

Characterization: where the numbers come from

PVT corners


Drive strength and VtV_t flavours (the 80/20 knobs)


Worked examples


Common mistakes (steel-manned)


Active recall

Recall Quick self-test (hide answers)
  • Why must all cells share a fixed height? → so rows tile & power rails abut, enabling automated P&R.
  • Two things drive strength X4 vs X1 changes? → lower RonR_{on} (faster) but higher input cap & leakage.
  • What two variables index an NLDM delay table? → input slew and output load capacitance.
  • Derive tpdt_{pd} constant. → 0.5=1et/RCt=RCln20.69RC0.5=1-e^{-t/RC}\Rightarrow t=RC\ln2\approx0.69RC.
  • Which view does the router use? → LEF. The fab? → GDSII.
Recall Feynman: explain to a 12-year-old

Making a chip is like building with LEGO. Instead of carving every tiny piece yourself, LEGO gives you a box of standard bricks that all click together because they're the same height. A standard cell library is that LEGO box: little logic bricks (AND, NOT, memory bits) that all have the same height, so a robot can snap them into neat rows and the "electricity wires" automatically line up. Some bricks are the "strong, fast" kind (bigger, use more power) and some are "slow, energy-saving." Engineers keep a cheat sheet for each brick saying how fast it is and how much power it uses, so a computer can pick the best mix.


Connections

  • Static Timing Analysis — consumes the .lib NLDM delay tables.
  • Logic Synthesis — maps RTL onto library cells, choosing drive strength & VtV_t.
  • Place and Route — uses LEF footprints to tile cells into rows.
  • CMOS Inverter — the tpd=0.69RonCLt_{pd}=0.69R_{on}C_L model originates here.
  • Power Dissipation in CMOS — leakage vs speed trade-off behind VtV_t flavours.
  • Technology Nodes — a library is tied to one node (7 nm, 28 nm...).
What is a standard cell?
A pre-designed, pre-characterized logic/storage element with fixed height, fixed-position power rails, and known timing/power/area models.
Why do standard cells have a fixed height?
So they tile into rows and their VDD/VSS rails abut, enabling automated row-based place-and-route.
Name four views shipped for one cell.
Liberty (.lib) timing/power, LEF footprint, GDSII layout, Verilog/SPICE functional model.
Which view does the router use vs the fab?
Router uses LEF (abstract); fab uses GDSII (full mask layout).
Derive the 0.69 factor in cell delay.
From Vout=VDD(1-e^{-t/RC}), set to 50%: 0.5=1-e^{-t/RC} ⇒ t=RC·ln2 ≈ 0.69RC.
What two variables index an NLDM delay table?
Input transition (slew) and output load capacitance.
What does drive strength X4 vs X1 change?
~4× wider transistors ⇒ ~1/4 Ron (faster) but ~4× input capacitance and higher leakage/area.
LVT vs HVT trade-off?
Low-Vt = fast but leaky (critical paths); High-Vt = slow but low-leakage (everywhere else).
What is a PVT corner?
A Process/Voltage/Temperature combination at which cells are characterized (e.g. slow-slow, high-T, low-V worst case).
Why is a delay table used instead of one formula?
Transistor behaviour is nonlinear; sampling SPICE on a slew×load grid and interpolating is more accurate.
What defines a "track" library (7T vs 9T)?
The cell height in routing tracks; more tracks = taller = faster but larger area.

Concept Map

catalogue of

has

enables

abut

shipped as

timing power

footprint pins

mask layout

used by

used by

used by

produces

comes in flavours

measured in

Standard Cell Library

Standard Cell

Fixed Height

Row-based Placement

Shared VDD VSS Rails

Multiple Views

Liberty .lib

LEF Abstract

GDSII

Synthesis and STA

Place and Route

Fabrication

Characterization via SPICE

Drive Strengths and Vt

Routing Tracks

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Socho tumhe ek pura chip banana hai jisme billions of transistors hain. Har transistor haath se design karna impossible hai. Isliye engineers ek ready-made "menu" use karte hain jise standard cell library kehte hain — isme pre-designed, pre-tested logic gates hote hain (INV, NAND, DFF wagairah). In sab cells ki height fixed hoti hai, sirf width alag hoti hai. Ye fixed height ka jugaad hi asli magic hai: jab cells ek row me side-by-side rakhe jaate hain, toh unke power rails (VDD upar, VSS neeche) automatically abut ho jaate hain — power ki wiring apne aap ho jaati hai. Isi wajah se automated place-and-route possible hota hai.

Har cell ke saath alag-alag "views" aati hain kyunki har tool ko alag detail chahiye: Liberty (.lib) me timing aur power tables, LEF me sirf pin locations aur size (router isko use karta hai), GDSII me full mask layout (fab isse chip banata hai). Delay ek constant number nahi hota — wo input slew aur output load ke upar depend karta hai, aur ek table (NLDM) me store hota hai jise tool interpolate karta hai. Basic formula yaad rakho: tpd0.69RonCLt_{pd}\approx 0.69\,R_{on}C_L, jo simple RC charging se aata hai.

Do bade knobs hain jinse tuning hoti hai: drive strength (X1, X2, X4...) — zyada wide transistor matlab kam RonR_{on}, matlab fast, par input capacitance aur leakage zyada. Aur Vt flavour — Low-Vt fast par leaky (critical path pe), High-Vt slow par power bachaata (baaki jagah). Ye sab PVT corners (slow/fast silicon, voltage, temperature) pe characterize hota hai taaki worst-case bhi safe rahe. Exam aur real design dono me yahi 80/20 concept baar-baar aata hai — samajh lo toh VLSI ka aadha timing aur power ka game clear ho jaata hai.

Test yourself — VLSI Design

Connections