ChipFACTORYFoundations
Apply now
Foundations/STAGE 12
Foundations Track/STAGE 12
45 min Verification
SECTION 12

How do we know the physical chip is actually going to work?

The Moment of Doubt

“We have routed millions of transistors and generated a complete physical layout. But a layout that looks beautiful is not necessarily a layout that will work. How do we prove it before spending millions of dollars on fabrication?”

In Section 11, you completed the physical design pipeline: floorplanning the die, legalizing standard cell rows, synthesizing an H-Tree clock network, and routing multi-layer metal tracks in OpenROAD.

Now you face the most rigorous phase in semiconductor engineering: Physical Verification & Signoff. You must mathematically prove that signals arrive on time under harsh voltage/temperature variations, that polygons obey foundry photolithography design rules, and that the drawn metal matches the post-synthesis gate netlist with 100% graph isomorphism!

The Three Pillars of Physical Signoff:
STA (TIMING)+DRC (GEOMETRY)+LVS (CONNECTIVITY)→SIGNOFF
12.1•Sequential Sampling Windows & Setup/Hold Physics

How do we know the signals will arrive on time?

In synchronous digital design, flip-flops sample data on the active clock edge. But physical semiconductor transistors require finite time to charge capacitive gate nodes, and copper wires have distributed parasitic resistance ($R$) and capacitance ($C$) that slow down propagating electromagnetic waves.

Every receiving flip-flop imposes two strict temporal sampling boundaries:

Setup Time (T_setup) • Max Delay

Data must arrive and settle stably before the rising clock edge occurs. If data arrives too late, the master latch feedback loop fails to resolve, causing incorrect data capture or catastrophic metastability.

Limit: T_clkQ + T_logic + T_net ≤ T_clk + T_skew - T_setup - T_unc
Hold Time (T_hold) • Min Delay

Data must remain unchanged for a specified window after the clock edge. If a newly launched signal races across an ultra-fast zero-logic path, it will overwrite the previous cycle's data before it has been securely latched!

Limit: T_clkQ + T_logic + T_net ≥ T_hold + T_skew + T_unc

12.1 Interactive Setup & Hold Timing Engine

Slide 3–5 • Sequential Sampling Constraints
Preset Scenarios:
TIMING CLOSED • BOTH SETUP & HOLD MARGINS PASS
Setup Slack: +0.55 ns
Hold Slack: +0.35 ns

All timing paths arrive with adequate setup window clearance before the clock edge and remain stable past the hold window requirement.

Synchronous Sampling Timing Diagram (Nanoseconds)
Setup Window (0.35ns)Hold Window (0.25ns)
0 ns1 ns2 ns3 ns4 ns5 nsTsetupTholdActive Clock EdgeCLK (Src)D2 (Setup)Arrival (2.10ns)D2 (Hold)Fast Edge (0.60ns)
Clock Period (Tclk):3.00 ns
Freq: 333 MHzReq: 2.65 ns
Max Path Delay (Tdata):2.10 ns
Logic + Wire DelaySetup Slack: 0.55ns
Min Fast-Path (Thold_arr):0.60 ns
Hold Requirement: 0.25nsHold Margin: 0.35ns
The Fundamental Asymmetry of Setup vs. Hold:

• Setup violations are frequency-dependent. If your datapath is too slow (T_data > T_clk - T_setup), you can always reduce the clock frequency to make it pass.

• Hold violations are frequency-independent. If new data arrives in < 0.25 ns, it corrupts the receiving register regardless of whether the clock period is 2.0 ns or 100 ns! Fix: Physical insertion of delay buffers into fast paths.

The 4 Fundamental STA Timing Path Groups

Every digital design is partitioned by Static Timing Analysis tools (such as Synopsys PrimeTime or OpenSTA) into four mutually exclusive path groups:

1. Reg-to-Reg

Launch FF clk → Q → Combinational Logic → Capture FF D pin. The core internal timing path checked across clock periods.

2. In-to-Reg

Input Port → Board Delay (set_input_delay) → Internal Logic → Capture FF. Constrained relative to external chip clock.

3. Reg-to-Out

Launch FF clk → Q → Output Logic → Pad → Output Delay (set_output_delay) constrained for external board receivers.

4. In-to-Out

Pure combinational bypass feedthrough from Input Pad directly to Output Pad with zero internal register stages.

12.2•Static Timing Analysis • Equations, Constraints & OpenSTA

How do we verify billions of paths with mathematical certainty?

Dynamic simulation requires generating billions of test vectors and only exercises the specific scenarios simulated. In contrast, Static Timing Analysis (STA) is vector-independent: it represents the entire netlist as a directed acyclic graph (DAG), calculates minimum and maximum propagation delays along every single path, and compares arrival times against required clock arrival times.

The Golden STA Slack Equations:
Setup Timing Analysis:

Arrival = T_clk_launch + T_clkQ + T_logic + T_net
Required = T_clk + T_clk_capture - T_setup - T_uncertainty
Setup Slack = Required - Arrival

Slack ≥ 0 is MET; Slack < 0 is VIOLATED.
Hold Timing Analysis:

Arrival = T_clk_launch + T_clkQ + T_logic + T_net
Required = T_clk_capture + T_hold + T_uncertainty
Hold Slack = Arrival - Required

Notice: Clock Period (T_clk) does NOT appear in Hold!
TRY IT

Interactive Engineering Lab: Live STA Slack Calculator

Experiment with clock periods, logic delays, and clock tree skews. Watch how positive clock skew (+skew) creates a timing trade-off: helping setup slack while directly stealing margin from hold slack!

Interactive Engineering Tool

Static Timing Analysis (STA) Slack Calculator & Report Generator

Presets:
STEP 1: PREDICT BEFORE TESTING

If the clock signal arrives at the Capture register 0.4 ns LATER than at the Launch register (positive skew = +0.4 ns), what happens to Setup Slack and Hold Slack?

1. Clock & Uncertainty100 MHz
Clock Period (T_clk):10.0 ns
Clock Uncertainty / Jitter (T_unc):0.20 ns
2. Data Path Delay ComponentsTotal: 7.50 ns
Launch Register Clk-to-Q (T_clk-q):0.80 ns
Combinational Logic Gates (T_logic):5.50 ns
Wire Interconnect Delay (T_net):1.20 ns
3. Clock Tree Skew & Library MarginsSkew: +0.2 ns
Launch Clock Latency:1.00 ns
Capture Clock Latency:1.20 ns
T_setup:0.50 ns
T_hold:0.30 ns
Setup Timing (Max Delay)SLACK MET
Data Arrival Time:8.500 ns
Data Required Time:10.500 ns
Setup Slack:+2.000 ns
Hold Timing (Min Delay)SLACK MET
Data Arrival Time:8.500 ns
Data Required Time:1.700 ns
Hold Slack:+6.800 ns
STA Formula Reference:
• Arrival = T_launch + T_clkQ + T_logic + T_net
• Setup Req = T_clk + T_capture - T_setup - T_unc
• Hold Req = T_capture + T_hold + T_unc

12.2 Static Timing Analysis (STA) & PVT Corner Verification

Slide 3 & 6 • Mathematical Timing Closure
Select Operating PVT (Process, Voltage, Temperature) Corner:V: 0.90 V (Low) | T: 125°C (Hot) | Silicon: SS (Slow-Slow)
Critical Path Graph: Launch Reg → MUX2 → Adder → Wire M3 → Capture RegTarget Clock: 500 MHz (Tclk = 2.00 ns)
STARTPOINTacc_reg[0]
Clk-to-Q: 363ps
MUX STEERINGMUX2_X1
Delay: 507ps
COMBINATIONALADDER_X1
Delay: 1015ps
ROUTED INTERCONNECTMetal 3 Wire
RC: 585ps
ENDPOINTacc_reg[0]/D
Tsetup: 200ps
Data Arrival Time (Tarrival):2470 ps (2.47 ns)
Required Time (Trequired):1760 ps (1.76 ns)
Worst Setup Slack (WNS):-710 ps (VIOLATION)
Physical Intervention & Timing Closure Actions:Slide 6 • Optimization Fixes
Adjust Clock Target:500 MHz
Tclk: 2.00 ns
SDC Constraints • Industry Standard Guide

Synopsys Design Constraints (SDC): Guiding the Timer

An STA engine does not know what your circuit is supposed to do unless you specify design constraints using SDC format. Here are the core commands used across OpenSTA, Synopsys PrimeTime, and Cadence Tempus:

SDC CommandEngineering PurposeExample Syntax
create_clockDefines primary master clock oscillator period and waveform.create_clock -period 10.0 [get_ports clk]
create_generated_clockConstrains divided or multiplied clocks derived from flip-flop registers.create_generated_clock -divide_by 2 [get_pins div_reg/Q]
set_input_delaySpecifies off-chip PCB board latency before data reaches chip I/O port.set_input_delay -clock clk -max 2.5 [get_ports din]
set_output_delaySpecifies external board setup requirements after data leaves chip port.set_output_delay -clock clk -max 3.0 [get_ports dout]
set_clock_uncertaintyModels PLL jitter, clock network variations, and power supply noise margin.set_clock_uncertainty -setup 0.25 [get_clocks clk]
set_false_pathInstructs STA engine to ignore asynchronous reset or cross-domain paths.set_false_path -from [get_ports rst_n]
set_multicycle_pathRelaxes setup checks to N clock cycles for multicycle arithmetic units.set_multicycle_path 2 -setup -to [get_cells alu_reg]

Multi-Corner Multi-Mode (MCMM) • PVT & On-Chip Variation (OCV)

A chip fabricated on silicon must operate in a freezer in Norway (-40°C) and in a smartphone under blazing direct sunlight (+125°C). STA tools run Multi-Corner Multi-Mode (MCMM) analyses across three physical variables:

P: Process Variations

Silicon lot-to-lot doping variations: Fast-Fast (FF), Typical-Typical (TT), Slow-Slow (SS).

V: Voltage Fluctuations

Nominal supply voltage drop due to IR drop across the power distribution mesh (±10%).

T: Operating Temperature

Thermal dissipation ranges from -40°C (fastest gate mobility) to +125°C (slowest).

In modern sub-16nm FinFET nodes, engineers also apply AOCV (Advanced OCV) and POCV (Parametric OCV) timing derates that statistically model local variation based on cell depth and wire bounding-box distance, preventing over-pessimistic timing margins.

Technical Interview Mastery • Physical Design & STA

Core Timing Verification Checkpoints

INDEPENDENT CHECKPOINT

INDEPENDENT CHECKPOINT

INDEPENDENT CHECKPOINT

12.3•Photolithography & Design Rule Checking

What if the layout breaks a manufacturing rule?

We cannot manufacture arbitrary geometric polygons on silicon. Transistors and wires are printed using deep ultraviolet (DUV) light masks and chemical etching.

Due to optical diffraction and chemical-mechanical polishing (CMP) limits, the semiconductor foundry mandates thousands of strict geometric rules (Slide 9 & 10):

  • Minimum Width: Traces drawn too narrow suffer from wire necking, breaks, or electromigration.
  • Minimum Spacing: Parallel wires drawn too close bridge together during lithography, creating catastrophic short circuits.
  • Metal Density & CMP: Sparse metal areas cause oxide dishing and wafer surface erosion during polishing.
  • Plasma Antenna Effect: Long metal lines collect static charge during plasma etching, destroying fragile MOSFET gate oxide unless discharge diodes are inserted.

12.3 Design Rule Checking (DRC) & Manufacturing Legality

Slide 9 & 10 • Foundry Geometric Constraints
DRC FAILED: 5 DESIGN RULE VIOLATIONS DETECTED

The photolithography mask generator will reject this layout. Geometry violates wafer fabrication tolerances.

Interactive Silicon Geometry (Sub-Micron Scale)Metal 1 & Metal 2 Layer
SILICON DIE SUBSTRATE (10µm × 10µm Window)Metal 1 Trace AMetal 1 Trace B (110nm)Spacing: 100nm (SHORT RISK!)Notch Check (M1.N.1)Acute Notch <90°Long Routing Antenna (ANT.1)Gate OxideArea Ratio: 320:1 (OXIDE RUPTURE RISK)
Foundry DRC Rules Deck:
Rule Insight: M1.S.1≥ 140 nm

Photolithography diffraction bridges adjacent copper traces, creating fatal short circuits.

Metal 1 Spacing:100 nm
Rule limit: ≥ 140nmShorting
Metal 1 Width:110 nm
Rule limit: ≥ 140nmElectromigration
Plasma Antenna Ratio:320 : 1
Rule limit: ≤ 250:1Insert Diode
12.4•Layout Versus Schematic (LVS)

The layout looks correct. But did we build the right circuit?

A layout can have zero timing violations (STA clean) and zero geometric defects (DRC clean), but still be completely non-functional if the router connected the wrong pins (Slide 11 & 12)!

Layout Versus Schematic (LVS) software mathematically reconstructs transistors and electrical nets directly from GDSII physical polygons (Parasitic Extraction) and performs graph isomorphism against the golden post-synthesis netlist.

LVS catches four fatal error classes:

  1. Short Circuits: Distinct logical nets (e.g. VDD and VSS) merged in layout.
  2. Open Wires: Broken continuous traces or missing vias leaving pins floating.
  3. Device Parameter Mismatches: Transistor width ($W$) or length ($L$) differing from library specs.
  4. Pin Connection Failures: Mislabeled or missing primary I/O boundary ports.

12.4 Layout Versus Schematic (LVS) Netlist Extraction & Verification

Slide 11 & 12 • Topology & Connectivity Equivalence
LVS Scenarios:
LVS PASSED: GOLDEN SCHEMATIC AND LAYOUT NETLISTS ARE ISOMORPHIC

Extracted physical layout netlist graph is 100% isomorphic to golden synthesized gate netlist.

01 // Golden Reference SchematicPost-Synthesis Netlist
Logic Cell Instances:24
Electrical Signal Nets:38
Primary I/O Ports:12
// Sample Netlist Topology
MUX2_X1 U_MUX (.A(in_a), .B(acc[0]), .S(sel), .Y(n_mux));
ADDER_X1 U_ADD (.A(n_mux), .B(in_b), .SUM(acc_reg[3]));
INV_X2 U_CLK_BUF (.A(clk_in), .Y(gated_clk)); // W=2.4µm
DFF_X1 U_REG (.D(acc_reg[3]), .CLK(clk), .VDD(VDD), .VSS(VSS));
02 // Extracted GDSII Physical LayoutParasitic Extracted Netlist
Extracted Transistors/Cells:24
Extracted Polygons/Nets:38
Extracted I/O Pins:12
// Extracted Polygon Netlist
X_U_MUX /n_mux in_a /acc[0] /sel MUX2_X1
X_U_ADD /acc_reg[3] in_b /n_mux ADDER_X1
X_U_CLK_BUF /gated_clk cl_in INV_X2 (W=2.4µm)
X_U_REG /acc_reg[3] /clk VDD VSS DFF_X1
12.5•The ECO Loop & Golden Tapeout Signoff

What happens when a check fails?

Physical design is not a single button press. When a verification check fails, engineers do not start from scratch. They execute an Engineering Change Order (ECO) (Slide 14).

The ECO loop follows four closed steps:

01 // DETECTFlag timing/DRC/LVS
02 // ANALYZERoot cause isolation
03 // MODIFYSurgical ECO layout fix
04 // RE-VERIFYAudit clean closure

Only when all four checks pass (Functional Simulation, STA Timing Closure, DRC Cleanliness, and LVS Equivalence) is the design certified for Golden Tapeout Signoff (Slide 13)!

12.5 ECO Iterative Loop & Golden Tapeout Signoff Gate

Slide 13 & 14 • Final Tapeout Approval
01 // The Engineering Change Order (ECO) Iteration CycleSlide 14 • Closed-Loop Debugging
02 // Golden Tapeout Signoff Checklist MatrixSlide 13 • Non-Negotiable Signoff Checks
1. Functional Verification (RTL / Gate)PASS (100% Tests)

Verilator & Icarus Verilog testbenches confirm zero behavioral regressions across all test vectors.

2. Static Timing Signoff (STA)PASS (WNS ≥ 0ps)

Zero negative setup slack and zero hold race violations across SS, TT, and FF operating PVT corners.

3. Design Rule Signoff (DRC)PASS (0 Violations)

Zero width, spacing, density, notch, or antenna rule violations across all photolithographic layers.

4. Layout Versus Schematic (LVS)PASS (100% Match)

Netlist extraction confirms complete 1-to-1 electrical graph isomorphism with zero shorts or opens.

GOLDEN SIGNOFF STATUS: READY FOR TAPEOUT

All 4 golden signoff milestones are clean. You may officially lock the GDSII database and submit to the foundry.

New Ability Unlocked (Stage 12)

You can now calculate setup and hold slack across all 4 timing path categories, read OpenSTA reports line-by-line, write SDC constraints, and audit DRC/LVS physical signoff.

The Inevitable Next Question

“Your GDSII layout is certified clean and zero-slack. But how does pure digital geometry in a file transform into physical silicon wafers, billions of microscopic copper wires, and a packaged microchip inside a real PCB?”

Advance to Stage 13: Foundry Fabrication & Packaging
Proceed to Stage 13