14_OpenROAD_STA.md

Static Timing Analysis with OpenROAD — Reading Timing Like a Professional


Purpose of This Chapter

This chapter exists for one reason:

To make STA reports readable, actionable, and non-mystical.

Many users can run OpenSTA.
Very few can read its output correctly.

After this chapter, STA stops being noise.


What STA Actually Proves

Static Timing Analysis answers this question:

Is every signal guaranteed to arrive on time, under worst conditions?

STA does not simulate behavior.
STA assumes all possible paths exist.

This makes STA:


STA vs Simulation

Aspect Simulation STA
Stimulus Required Not needed
Coverage Limited Exhaustive
Speed Slow Fast
Optimism High None

Simulation shows what happened.
STA proves what can never fail.


OpenROAD STA Toolchain

OpenLane uses:

Inputs:

If any input is wrong, STA lies.


Required Files for STA

A valid STA run requires:

Missing one = meaningless result.


Understanding Slack (The Core Metric)

Slack = required time − arrival time

Slack Meaning
Positive Safe
Zero Barely legal
Negative Failure

Slack is the only number that matters.


Setup vs Hold (Do Not Confuse Them)

Setup

Hold

They are unrelated problems.

Fixing setup can break hold.


Worst Negative Slack (WNS)

WNS answers:

How bad is the single worst path?

Never ignore WNS.


Total Negative Slack (TNS)

TNS answers:

How many problems exist overall?

Both matter.


Path Reports: How to Read Them

A timing path consists of:

  1. launch clock
  2. clock-to-Q
  3. combinational logic
  4. interconnect delay
  5. setup requirement

Read paths top to bottom, not backward.


Common Beginner Mistake

Looking only at:

Slack: +0.12ns

Without checking:

Positive slack does not guarantee correctness.


Clock Definition Is Everything

STA quality depends on clock modeling:

Bad clocks = fake success.


False Paths and Multicycle Paths

Used incorrectly, they:

Rule:

Only declare false paths you can physically justify.

Never use them to silence STA.


Correlating STA and SDF GLS

Correct flow:

  1. STA identifies worst paths
  2. SDF GLS confirms behavior
  3. Both agree

If they disagree:

Never trust only one.


Why Designers Fear STA

Because STA:

This is exactly why it must be trusted.


Professional Mindset

Do not ask:

“How do I make STA pass?”

Ask:

“What is STA trying to tell me?”

The answer is usually correct.


When STA Is Finished

STA is finished when:

Not earlier.


Why This Chapter Matters

Most OpenLane failures blamed on tools are:

This chapter prevents that.


Next Chapter

After timing mastery: