4.2.5 · HinglishVLSI Design

Place and route (P&R)

1,857 words8 min readRead in English

4.2.5 · Hardware › VLSI Design


WHAT is P&R?

WHY it matters: Modern chips mein, wires — gates nahi — delay, power, aur area par dominate karte hain. Ek logically-correct netlist tab tak useless hai jab tak use legally (koi overlap nahi, koi design-rule violations nahi) aur well (timing/power meet kare) place aur route na kiya jaaye. Yahan "logic" "physics" banta hai.


The inputs and outputs


STEP 1 — Placement (the WHY of good placement)

Goal: total wirelength minimize karo jabki cells legal rakhein (non-overlapping, on-grid, timing/density meet karte hue).

Why wirelength is the key objective

Wire delay length ke saath badhta hai, aur wire capacitance length, isliye: Shorter wires less less delay aur less dynamic power. Isliye wirelength minimize karna sab kuch optimize karne ka ek proxy hai.

HOW we estimate wirelength: Half-Perimeter Wirelength (HPWL)

Figure — Place and route (P&R)

Placement is done in phases

  1. Global placement — coarse positions jo HPWL minimize kare (thoda overlap allow karta hai; analytic/quadratic optimization se solve hota hai).
  2. Legalization — cells ko rows/sites par snap karo, minimal movement ke saath overlaps hatao.
  3. Detailed placement — remaining wirelength squeeze karne ke liye small local swaps.

STEP 2 — Routing

Goal: har net ko metal layers + vias use karke physically connect karo, design rules (min spacing/width) ka paalan karte hue, no shorts/opens ke saath.

Why layered routing (Manhattan style)

Routing phases

  1. Global routing — chip ko GCells ke ek grid mein divide karta hai; decide karta hai ki har net kaunse coarse regions se guzregi, congestion (demand vs. track capacity) balance karte hue.
  2. Detailed routing — har region ke andar exact tracks, wires, aur vias assign karta hai, design-rule violations (DRC) fix karta hai.

Timing closure (why P&R iterates)

Placement wire length affect karta hai → wire delay → clock constraint meet hogi ya nahi: Agar routing ke baad koi path bahut slow hai, to tool us path ko re-place / re-route / buffer karta hai. P&R ek iterative optimization loop hai, ek baar mein khatam nahi hota.


Common mistakes


Active recall

Recall Feynman: explain to a 12-year-old

Tumhare paas toy robots ka ek box hai aur tumhe unhe string se wire karna hai. Pehle tum table par har robot ke liye ek jagah choose karte ho taaki jo dost zyada baat karte hain wo paas baithein (ye placement hai — chhoti strings = jaldi baat karna). Phir tum actually unke beech strings run karte ho bina strings ko cross aur tangle hone diye, chhote bridges use karte hue jab do strings ek doosre ke upar se guznaa padein (ye routing hai — bridges vias hain). Agar tum robots ko bura bithao, to koi bhi clever string-running us mess ko fix nahi kar sakti — isliye unhe achhi tarah bithana aadhi ladai hai.

Flashcards

P&R ke do core steps kya hain?
Placement (cells ko x,y locations assign karna) aur Routing (nets connect karne wali physical wires/vias draw karna).
P&R ka input aur output kya hai?
Input: gate-level netlist + library + floorplan + constraints; Output: GDSII geometric layout.
HPWL define karo.
Half-Perimeter Wire Length , net ke pin bounding box ki width+height, wirelength estimate karne ke liye use hoti hai.
HPWL "half" perimeter kyun hai, full nahi?
Ek rectilinear tree har dimension ko ek baar span karta hai; full perimeter double-count karta hai, isliye half-perimeter sahi estimate hai. 2-pin net ke liye ye Manhattan distance ke equal hota hai.
Placement ke dauran wirelength minimize kyun karo?
Wire capacitance ∝ length, isliye chhoti wires delay aur dynamic power () kam karti hain, aur routability improve hoti hai.
Teen placement phases kya hain?
Global placement, legalization, detailed placement.
Do routing phases kya hain?
Global routing (nets ko coarse GCell regions assign karna) phir detailed routing (exact tracks, wires, vias, DRC-clean).
Routing congestion define karo.
Congestion = demand/tracks (D/T); >1 matlab overflow — saare nets fit nahi hote, detours force hote hain.
Routing mein layer directions alternate kyun karte hain?
Same-layer crossings (shorts) rokne ke liye; ek layer par horizontal, aglay par vertical, vias se connected.
Guaranteed shortest maze route kaunsa algorithm deta hai?
Lee's algorithm (BFS wavefront labeling + backtrace).
Placement routability kyun determine karta hai?
Placement pin positions fix karta hai; agar related cells door/clustered hain, to congestion badhti hai aur routing fail ho sakti hai chahe router kaisa bhi ho.
Kaunsi timing inequality ek path ko satisfy karni chahiye?
.

Connections

  • Logic Synthesis — wo netlist produce karta hai jo P&R consume karta hai.
  • Floorplanning — placement se pehle chip outline/macros define karta hai.
  • Static Timing Analysis (STA) — check karta hai ki placed+routed paths meet karti hain ya nahi.
  • Clock Tree Synthesis (CTS) — placement aur routing ke beech insert hota hai.
  • Design Rule Checking (DRC) — routed geometry validate karta hai.
  • Interconnect delay / RC model — kyun wirelength delay se map hoti hai.
  • Standard Cell Library — physical + timing data jo P&R drive karta hai.

Concept Map

input

input

input

input

step 1

step 2

assigns x,y

objective

estimated by

reduces

produces

Gate-level netlist

Standard-cell library

Floorplan

Constraints SDC

Place and Route

Placement

Routing

Minimize wirelength

HPWL estimate

Delay and dynamic power

GDSII layout