Module 7: Timing Closure & Static Timing Analysis · 7.1 STA Fundamentals, Revisited

Path-Based vs. Graph-Based Timing Analysis

Static timing analysis engines evaluate millions of timing paths across modern integrated circuits. To balance runtime and accuracy, tools use two distinct analysis algorithms: Graph-Based Analysis (GBA) and Path-Based Analysis (PBA). This article examines both methods.

Graph-Based Analysis Mechanics

Static timing analysis tools represent netlists as directed acyclic graphs. Pins and ports form graph nodes, while cell arcs and routed nets form graph edges. The engine propagates timing forward from clock sources.

At each multi-input cell pin, GBA merges incoming signals into worst-case boundary conditions:

  1. It records the latest arrival time among all incoming data transitions.
  2. It records the slowest transition time (slew) among all incoming data transitions.

GBA propagates only these worst-case metrics downstream. It does not track which specific input path produced which metric. This abstraction makes execution speed scale linearly with graph edge count rather than exponentially with total path combinations.

However, GBA introduces algorithmic pessimism. The slowest incoming transition and the latest arrival time often originate from different physical input paths. As shown in Figure 1, GBA evaluates downstream gates assuming that the slowest slew and latest arrival occur simultaneously.

Graph-based analysis merging worst arrival and worst slew at a node
Figure 1: At u5/Y, GBA keeps the late arrival from path P and the slow slew from path Q, then times u6 with both

Path-Based Analysis Recalculation

Path-Based Analysis (PBA) eliminates this pessimism by re-evaluating specific individual paths. When analyzing a path under PBA, the engine calculates exact stage delays using only the transition times generated by that specific sequence of gates.

PBA is computationally expensive and cannot evaluate entire chip databases. Production signoff flows use a two-step methodology:

  1. Execute GBA across the full chip to identify potential timing violations.
  2. Re-evaluate the top failing paths using PBA to filter out algorithmic pessimism.

OpenSTA operates primarily in graph-based mode. For small designs like the UART, GBA provides fast, conservative timing verification without excessive runtime overhead.

Distinguishing GBA Pessimism from False Paths

Engineers must not confuse GBA pessimism with non-functional timing paths. PBA removes slew-merging pessimism, but it cannot identify whether a path is logically functional. If a path is structurally present in the netlist, both GBA and PBA analyze it.

Consider a test scan path enabled only during manufacturing testing. If the test enable signal is inactive during normal operation, the timing path cannot toggle in functional mode. Designers must apply constraint commands, such as set_case_analysis or set_false_path, to disable non-functional paths.

Practice Exercise

A design contains multiplexers on register data inputs that select between functional logic and scan-shift test signals. During normal functional operation, scan_enable is tied low. GBA reports a setup timing violation through the scan-shift path. How should the designer resolve this violation?

Solution

Do not rely on PBA to resolve the violation. PBA will re-time the path accurately, but it will still report a failure because the physical connection exists.

Apply a case analysis constraint in the SDC file:

set_case_analysis 0 [get_ports scan_enable]

This constraint instructs the STA engine to hold scan_enable at logic zero during functional analysis, eliminating the scan-shift path from the timing graph.

Theoretical foundations of post-routing timing analysis are complete. Section 7.2 examines parasitic extraction and the Standard Parasitic Exchange Format (SPEF).

← Why Post-Route Timing Differs From Every Earlier Estimate What RC Extraction Actually Produces →