
Define static timing analysis and see exactly how it differs from dynamic (simulation-based) timing verification. You'll learn what feeds the STA engine -- the gate-level netlist, Liberty (.lib) timing libraries, SDC constraints, and SPEF/SDF parasitics -- and what it outputs. You'll also learn where STA's guarantees stop: it verifies signal arrival timing, not functional correctness, and on its own it can't catch reset sequencing, X-propagation, false paths, or clock-domain-crossing bugs.
See exactly what counts as a valid startpoint and endpoint in an STA timing path -- primary ports, a flip-flop's clock (CK) and data (D) pins, and user-defined nodes from set_input_delay/set_output_delay -- and why the register itself, not its Q pin, is never the real startpoint. You'll walk through the four atomic path typologies every design reduces to: register-to-register, input-to-register, register-to-output, and input-to-output, each with its own constraining command (create_clock, set_input_delay, set_output_delay, set_max_delay). You'll also see how a designer manually segments a path by applying a constraint to an internal pin, turning it into both an endpoint and a new startpoint.
Work through the setup and hold inequalities that decide whether a flip-flop can safely capture data, and see the physical Tsetup/Thold window around the active clock edge that makes them necessary. You'll derive both inequalities in terms of Tlaunch, Tck2q, Tpd, Tcapture, Tcycle, Tsetup and Thold, and see why setup violations are frequency-dependent (fixable by slowing the clock) while hold violations are a same-edge race that no frequency change can fix. The lesson closes on what actually happens inside a flip-flop when that window is violated: the cross-coupled inverters stall at a metastable mid-Vdd voltage before resolving unpredictably to 0 or 1.
Break down arrival time (Tlaunch + Tck2q + Tpd) and required time (Tcapture, Tcycle, Tsetup/Thold) into their physical and architectural components, and derive the exact setup and hold slack formulas an STA tool reports. You'll see why the two formulas subtract in opposite directions -- required minus arrival for setup, arrival minus required for hold -- so that positive slack always means met and negative slack always means a violation, regardless of which check produced it.
See why a Liberty (.lib) file is only deterministic at the exact process/voltage/temperature (PVT) corner it was characterized for, and why real sign-off means sweeping several of them: WCS (slow process, low voltage, 125C) for setup, BCF (fast process, high voltage, -40C) for hold, and ML for power. You'll cover why nanometer nodes need a fourth corner, WCL, to catch temperature inversion -- delay getting worse in the cold on low-Vt cells, the opposite of the classic rule. And you'll see how tools handle PVT points nobody characterized: linear derating with k-factors (k-p, k-v, k-t) scaling a base delay to the target condition.
See exactly what a Liberty timing arc contains and why cell delay collapses to just two variables: input slew and total output capacitance. You'll read a real NLDM 2D lookup table (cell_rise/fall_transition, indexed by input_net_transition and total_output_net_capacitance) and see how the tool bi-linear-interpolates between characterized points for a real circuit's slew/load pair. Then you'll see why NLDM's pure-capacitance assumption breaks on resistive nanometer interconnect, and how the newer Composite Current Source (CCS) model fixes it with a 3D current-vs-time table and a two-phase receiver capacitance that accounts for the Miller effect.
See why transition time (slew) can't be measured at a signal's true start and end -- because the waveform is asymptotic -- and how Liberty files instead define it against fixed Vdd threshold crossings, historically 10-90%, now 30-70% on modern nanometer/FinFET nodes to isolate the linear core of the edge. You'll work through the slew_derate_from_library mechanism that lets a 30-70%-characterized library stay compatible with tools still expecting a 10-90% number, and see why propagation delay, unlike slew, is always measured at a single fixed point: the 50% Vdd crossing, no matter what threshold convention the slew side uses.
Move from an ideal wire to a real distributed RC interconnect, and see how pre-layout tools estimate its delay before physical routing exists: Wireload Models (WLM) mapping fanout to an estimated net length, folded into a T-model or Pi-model RC network, and solved with the Elmore delay formula (delay = sum of Ci times the upstream resistance to that node). You'll work a real Elmore calculation by hand for best-case, balanced, and worst-case tree topologies, then see what changes once routing is complete: SPEF-format extracted parasitics and higher-order methods (AWE, Arnoldi) replacing the Elmore approximation for silicon-accurate post-layout delay.
See exactly why a cell's NLDM table and a wire's RC delay can't be computed independently once interconnect resistance is significant, and how the STA tool bridges the two with effective capacitance (Ceff) -- a single equivalent lumped capacitor, bounded between the near-end pin capacitance and the total net capacitance, computed iteratively until its 50%-crossing delay matches the real RC network. You'll trace how the tool splits each node's delay into an NLDM-plus-Ceff cell calculation and a Thevenin-plus-RC wire calculation, chained node by node from the launch flop to the capture flop, and see why STA runs this twice -- once with worst-case RC for setup, once with best-case RC for hold.
Write your first real SDC constraint: create_clock, piece by piece -- -name, -period, -waveform, and the get_ports target -- and see why a single missing or wrong master clock leaves thousands of register-to-register paths silently untimed. You'll build an asymmetric-duty-cycle clock with a custom -waveform edge list, a multi-pulse clock with more than two edges, and a correctly protected multiplexed clock using -add so a second create_clock doesn't silently erase the first. You'll also define a virtual clock -- one with no get_ports target at all -- to serve as a stable off-chip timing reference for later set_input_delay constraints.
Learn why constraining a clock divider or PLL output with a plain create_clock silently destroys its shared source latency, and how create_generated_clock -source/-divide_by/-multiply_by fixes it by inheriting the master clock's origin instead of inventing a new one. You'll build real generated clocks for a toggle-flip-flop divider, a PLL multiplier, and a custom waveform using -edges and -edge_shift, then handle the two traps that produce silent, unreported timing holes: a derived clock behind a mux (fixed with -master_clock and -add) and a purely combinational clock path (fixed with -combinational).
Move past the pre-layout fiction of a perfect, instantaneous clock and model what a real one does: set_clock_transition for the edge's actual slew before clock-tree synthesis (CTS) exists, and set_clock_latency -source/-network for the delay from origin to sink -- then see how set_propagated_clock throws both estimates out in favor of the tool's own extracted clock-tree delays. You'll separate skew (spatial, from real clock-tree imbalance) from jitter (temporal, from PLL instability), and see exactly why set_clock_uncertainty is subtracted from required time for setup but added for hold -- and why hold checks, evaluated on a single clock edge, are immune to jitter but fully exposed to skew.
See why a single clock period can't describe timing between two synchronous clocks running at different frequencies, and how the STA engine expands both periods to their least common multiple to find the worst-case launch/capture edge alignment across that whole window. Then see why two clocks with no common source can never be reconciled mathematically -- metastability across them is guaranteed, not a corner case -- and how set_clock_groups (-asynchronous / -logically_exclusive / -physically_exclusive) tells the tool to stop reporting those unsolvable violations, with each option producing a different crosstalk/signal-integrity outcome. You'll also see the trap where an asynchronous relationship between two master clocks does NOT automatically extend to their generated clocks.
Learn what set_input_delay actually models: not a physical delay added to the pin, but the clock period already consumed by logic outside your block, anchored to a real or virtual launch clock with -clock. You'll work through -max (setting your internal setup budget) and -min (setting your internal hold margin) with real nanosecond numbers, see why a negative -max value is mathematically valid (favorable external clock skew, not an error), and use -add_delay to constrain a port driven by more than one clock domain without silently overwriting the first constraint.
Learn why set_output_delay defines a time budget the outside world needs, not the moment your signal physically arrives -- and why a negative -min value (like -min -3.0 for a 3ns external hold requirement) is correct, not a typo. You'll combine set_input_delay and set_output_delay to implicitly bound a feedthrough path's internal combinational budget, see when to reach for a direct set_max_delay override instead, and close the environment model with set_load and set_driving_cell -- because an unconstrained pin looks infinitely fast to the tool and can trigger runaway buffer-chain optimization during synthesis.
Learn what a set_false_path exception actually claims -- not that a wire doesn't exist, but that no data transition can ever sensitize it -- and see the exact anatomy of -from/-through/-to, including why the order of multiple -through switches (and curly-brace lists vs. repeated flags) changes which physical path gets matched or silently misses it. You'll work through the three archetypes that produce real false paths (incompatible mux select logic, one-hot state-machine-gated muxes, and functional-vs-test clock muxing), the modern set_clock_groups -asynchronous shortcut for whole clock domains, and the one trap that can cause real silicon failure: never declaring a dynamically-sensitized (glitch-prone) path false just because static analysis calls it unreachable.
See what a multicycle path (set_multicycle_path -setup N) actually buys you -- more than one clock cycle for a data path that's architecturally designed to need it -- and the dangerous side effect nobody warns you about: shifting the setup edge automatically drags the hold check forward by the same N cycles, creating a massive artificial hold violation that floods your layout with unnecessary buffers. You'll derive and apply the fix, set_multicycle_path (N-1) -hold, and compare three side-by-side scenarios -- no exception, setup-only (broken), and setup-plus-hold (correct) -- to see exactly why multicycle constraints almost always have to be written in pairs.
Extend multicycle paths to clock domain crossings where launch and capture run at different frequencies, and learn the anchor rule everyone gets backwards: -end anchors to the capture clock (the correct default for slow-to-fast crossings), while -start anchors to the launch clock (mandatory for fast-to-slow crossings) -- get it wrong and STA silently applies the opposite clock's period. You'll work both crossing directions with real nanosecond waveforms, confirm the N-minus-1 hold rule still applies regardless of anchor, and see the "pseudo MCP" trick that bounds an otherwise-untimed asynchronous crossing to stop place-and-route from routing it across the whole die.
See why asserting an asynchronous reset is always timing-safe but releasing it is not -- de-assertion landing near an active clock edge produces exactly the same metastability failure as a setup or hold violation. You'll learn recovery time (the setup-equivalent minimum time reset must be inactive before the clock edge, checked as max-delay/late-path) and removal time (the hold-equivalent minimum time it must stay active after the edge, checked as min-delay/early-path, and just as frequency-independent as a real hold failure), then constrain a reset network correctly with a directional set_false_path -fall so only the synchronous de-assertion edge gets timed.
See exactly how gating a clock for power savings can glitch it: an AND/OR gate sitting in the clock tree is combinationally transparent, so an enable signal switching too close to a clock edge leaks through as a spurious or truncated pulse. You'll derive the set_clock_gating_check setup/hold windows for both active-high (AND) and active-low (OR) gating cells, see why clock multiplexers need it declared explicitly, and learn why a lock-up latch inside a real ICG cell shifts the enable launch by half a cycle -- which also explains why half-cycle (mixed-edge) paths lose 50% of their setup budget but gain slack on hold.
See why the exact same scan flip-flop needs two completely different timing regimes: shift mode, a zero-logic register-to-register connection where clock skew alone can cause a hold violation, and capture mode, which must run at true functional speed (not the slow test clock) to catch dynamic delay defects that a stuck-at test misses entirely. You'll compare launch-on-shift vs. launch-on-capture at-speed transition strategies, see how set_case_analysis on scan_enable cleanly separates shift-mode from functional-mode STA runs, and learn why a lock-up latch at scan domain crossings buys back the hold margin that shift mode doesn't otherwise have.
See exactly how deep sub-micron wire geometry makes coupling capacitance (Cc) dominate over grounded capacitance (Cg), turning nearby nets into aggressors and victims that inject real charge into each other. You'll distinguish a crosstalk glitch (a voltage spike on a steady victim net, judged by AC noise analysis rather than the overly conservative DC peak check) from crosstalk delta delay (a timing shift when both nets switch at once) -- and see why negative crosstalk (same-direction switching) causes hold violations while positive crosstalk (opposite-direction switching, 2x the charge) causes setup violations. The lesson closes on real fixes: NDR spacing, shielding, upsizing, and buffer insertion, plus why STA only applies the penalty when aggressor and victim switching windows actually overlap.
See why a single flat PVT corner can't model a real die -- CMP dishing, lithography proximity, etch microloading, and IR drop all create intra-die variation a wafer-level corner never sees -- and how on-chip variation (OCV) fixes this with a deliberately asymmetric pessimism: late-derated launch clock and data path against an early-derated capture clock for setup, fully inverted for hold. You'll apply set_timing_derate -early/-late with real multipliers to compute setup and hold slack by hand, see how it's a distinct, complementary mechanism from set_clock_uncertainty, and learn why flat OCV becomes unsustainable on deep paths -- motivating AOCV (derate that scales with logic depth and physical distance) and POCV (per-cell statistical variance).
Learn how to claw back timing margin that OCV pessimism cost you, two different ways. First, clock reconvergence pessimism removal (CRPR): see why applying opposite late/early derates to a shared clock-tree trunk creates a physically impossible paradox, and how the tool credits back the common path pessimism (CPP) it calculates at the point of divergence. Second, time borrowing: see how a level-sensitive latch's transparent window lets a slow combinational path "borrow" time past the clock edge, at the direct expense of the following cycle's budget -- bounded by the Maximum Borrowable Time (pulse width minus setup time minus clock latency delta).
See why one clean STA run at one operating condition proves almost nothing, and how real sign-off multiplies operating modes (mission_fast, sleep, test/scan...) by physical corners (PVT_WCS, PVT_BCF, RC-worst, C-best...) into dozens of independent timing "scenes" that must ALL show positive slack. You'll learn which parasitic corner threatens which violation (C-best and RC-best risk hold, RC-worst and C-worst risk setup), see the infinite fix-one-break-another loop that sequential single-corner closure creates, and understand how multi-mode multi-corner (MMMC) analysis -- paired with a separate place-and-route optimizer -- solves it by loading every scenario concurrently instead of one at a time.
See why treating gate and wire delay as one fixed number stops working below 10nm, and how statistical STA (SSTA) instead models delay as a probability distribution (mean mu, standard deviation sigma) using Liberty Variation Format (LVF) libraries. You'll see why uncorrelated intra-die variation statistically cancels via root-sum-square addition while correlated inter-die variation still sums linearly, why slack becomes a distribution tied to a manufacturing yield confidence level (e.g. 3-sigma, 99.865%) instead of a binary pass/fail, and how legacy OCV, AOCV, POCV, and true SSTA trade off accuracy against runtime and library cost.
See why Graph-Based Analysis (GBA) -- the fast, linear-time default that keeps only the single worst-case slew/arrival at every converging pin -- is exactly what place-and-route optimization loops rely on, and why that same pessimism makes it disagree with signoff. You'll see how Path-Based Analysis (PBA) recovers real margin by retracing one specific path's actual propagated slew, at exponential cost that limits it to failing endpoints in signoff, and close on why classic STA's flat-voltage assumption breaks down below 7nm -- requiring voltage-aware STA and Voltage Slack Analysis to account for dynamic IR drop the .lib file never modeled.
Compare four ways of checking timing side by side -- RTL simulation, zero-delay gate-level simulation, SDF-annotated gate-level simulation, and STA -- across abstraction level, speed, timing awareness, and what bugs each one actually catches. You'll see exactly why RTL sim is temporally blind (every transition is an idealized zero-nanosecond jump), why STA is exhaustive on setup/hold but functionally blind, and where each open-source simulator fits: Verilator's cycle-accurate speed can't do SDF back-annotation at all, while Icarus Verilog's event-driven engine can, which is why it's the one used for the timing labs ahead.
Take a real OpenSTA-reported clock-to-Q delay (0.278ns rise) and prove it's real by exporting it with write_sdf and feeding that exact SDF file into an Icarus Verilog gate-level simulation with $sdf_annotate -- then hit a genuine silent bug: Icarus quietly drops OpenSTA's min::max SDF syntax with an empty typical value, so the annotation loads with zero warnings and zero effect. You'll find and fix it with a one-line sed reformat (turning `::` into `:value:`), confirm the delay now visibly shows up in simulation, and see exactly why the same file makes Verilator error out immediately -- it's a cycle-accurate engine that was never built to back-annotate physical delay at all.
Install real OpenSTA (the official 1.36GB Docker image, pulled once, identical for every student) and build the one-line wrapper you'll reuse for the rest of the module instead of typing the full Docker command every time. You'll run your first report_checks on a real placed-and-routed design, read a genuine 0.75ns setup margin off the terminal, and hit -- deliberately -- the one gotcha that breaks this specific image: never pass -w for the working directory, since its entrypoint depends on a relative path that only works when you mount to /work and use absolute paths for everything inside the container.
Build the four-command load contract every OpenSTA session depends on -- read_liberty, read_verilog, link_design, read_sdc -- and learn to read the Tcl "1" that echoes after each one versus a real warning. You'll deliberately break the order (link before loading the netlist, or skipping read_liberty entirely) to see OpenSTA's most dangerous failure mode: skipping the Liberty file doesn't error, it silently black-boxes every cell in the design, so a clean-looking run analyzes nothing -- which is exactly why you count your "warning 198" lines instead of just checking for the absence of an error.
Turn the four load commands into a reusable load.tcl, then learn the one command you run before trusting any other report: check_setup. You'll break a real SDC on purpose -- stripping it down to a bare create_clock with none of the input/output delay constraints -- and watch report_wns proudly report 0.00 violations on a design that's actually missing 35 input-delay and 18 output-delay constraints, because an unconstrained path is never analyzed, not passed. You'll then read a full report_checks -format full_clock_expanded line by line, naming every term: arrival, required, CRPR, and the final setup slack.
See why hold checks read backward from setup -- arrival time has to clear required time from above, and the shortest paths are the danger, not the longest. You'll apply a real set_multicycle_path -setup constraint, verify it landed on the right path with report_checks using both -from and -to together, then watch that same setup-only constraint silently drag the hold check onto the wrong clock edge and manufacture a violation that never existed in the silicon. You'll fix it with the N-1 rule -- set_multicycle_path -hold at one less than the setup value, on the identical -from/-to pair -- and confirm the fix on the actual reported numbers, not by trusting the command.
Work through a real debug loop -- observe, locate, diagnose, fix, confirm -- on a design that's actually violating, after loading real interconnect parasitics with read_spef and tightening the clock. You'll read the INCR column of report_checks to find the single worst-cost driver on the critical path, not just the total delay, and use replace_cell to swap it for a stronger cell. You'll also see a first fix backfire (bigger cells add capacitance that slows their own driver) and a second fix succeed but expose a new critical path elsewhere -- proof that timing optimization is structural, not a single-line trick. Finally, you'll export a live ECO to disk with write_verilog and confirm the replaced cell is really there.
Generate the same power report three different ways and learn which number you're actually allowed to sign off on. You'll run report_power with no activity input at all (a library default, not a measurement), then again with an explicit set_power_activity -global -activity guess, and finally with real switching activity annotated from a VCD file via read_vcd -scope plus report_activity_annotation. You'll also hit a real trap: loading a hierarchical SAIF file with the wrong scope silently annotates zero pins while OpenSTA reports no error at all -- and see why checking report_activity_annotation after every activity load is the one habit that catches it.
Take two identical-looking flip-flop paths in a small scan chain and watch one of them fail while the other survives the exact same clock margin. Under an ideal clock both report_checks paths -- flip-flop-to-flip-flop and flip-flop-through-an-AND-gate -- meet comfortably; add one set_clock_uncertainty -hold line and the zero-logic shift path goes hold-violated while the path with real combinational delay stays met, because zero logic means zero margin to spend. You'll fix it with one real delay cell from the same library (not an invented workaround), and confirm on report_checks that the hold fix costs nothing on the setup side.
Static Timing Analysis (STA) is the gate that decides whether a chip actually works at speed — and most RTL and ASIC engineers never get formal training in it. This course closes that gap with a complete path from first principles to a real, hands-on signoff flow.
You will start with the fundamentals: what STA actually verifies, how it differs from dynamic simulation, startpoints and endpoints, timing paths, and the two concepts every other topic in this course builds on — setup time and hold time, arrival time, required time, and slack.
From there you move into how real signoff tools model delay: liberty libraries and PVT corners, NLDM versus CCS delay models, slew and derating, RC interconnect delay, and effective capacitance. You will learn to read and write SDC constraints from scratch: master and generated clocks, clock uncertainty, jitter and latency, multiple clock domains and clock groups, input and output delay, and the full set of timing exceptions — false paths, multicycle paths, and asynchronous recovery/removal checks.
The advanced modules cover the topics that separate a working engineer from a signoff expert: clock gating checks, half-cycle paths, signal integrity and crosstalk, on-chip variation and derating, common path pessimism removal, multi-scenario (MMMC) signoff, statistical STA, and the practical difference between GBA and PBA analysis engines, including voltage-aware timing.
A dedicated module compares STA against every other form of timing verification — RTL simulation, zero-delay gate-level simulation, and SDF-annotated gate-level simulation — so you understand exactly what each method catches and misses, and why STA exists at all.
The course closes with a full hands-on lab using OpenSTA, the open-source signoff-grade timing engine, on a real Sky130 design: environment setup, loading the design and parasitics, running the analysis, advanced reporting, practical debugging with a real ECO loop, power and tape-out signoff checks, and scan chain timing in practice.
By the end, you will be able to read and build professional STA reports, write and debug real SDC constraints, understand every major signoff-level topic, and run a real static timing analysis flow from an OpenSTA prompt — not just recognize the terms.