Updated 5 min readStatic Timing Analysis
Synopsys PrimeTime STA: uses and commands
What Synopsys PrimeTime is used for in signoff STA, with pt_shell scripts for SPEF and SDC loading, check_timing, DMSA multi-corner runs and timing ECOs.
By the SkyCadEda engineering teamHow these notes are written
On this page
Synopsys PrimeTime is the static timing analysis (STA) tool most ASIC teams use for timing signoff. It takes the routed gate-level netlist, Liberty libraries, extracted parasitics and SDC constraints, and reports whether every path meets setup, hold and the other timing checks in every mode and corner. When paths fail, it can also write the fixes back to the place-and-route tool as an ECO.
Where PrimeTime sits in the flow
Synthesis (Design Compiler or Fusion Compiler) and place and route (IC Compiler II or Fusion Compiler) have their own timers. They are fast and good enough to drive optimisation, but signoff is done in a separate STA run with full SPEF parasitics from StarRC, SI (crosstalk) analysis and the foundry's variation models. That run is PrimeTime. Its results are the timing numbers that go into the tape-out review, so the implementation tool's timer is usually correlated against it.
The PrimeTime product family includes PrimeTime SI (crosstalk delay and noise) and PrimePower for power analysis, which runs in the same pt_shell.
Inputs
| Input | Typical file | Notes |
|---|---|---|
| Netlist | top.v.gz | Post-route gate-level Verilog |
| Libraries | *.db | Liberty compiled to .db, one set per PVT corner; LVF tables for POCV |
| Parasitics | top.cworst.spef.gz | From StarRC, one per RC corner and temperature |
| Constraints | func.sdc, scan.sdc | One SDC per mode |
| Power intent | top.upf | Multi-voltage designs only |
Most wrong slack numbers come from mismatched inputs rather than the timer: a SPEF from an older route, a library set from the wrong voltage, or an SDC that does not match the netlist's port names. A wrapper that checks timestamps, netlist and SPEF design names and the library list before launching saves more time than any report parser.
A single-scenario pt_shell script
Run it with pt_shell -f run_pt.tcl | tee pt.log.
# run_pt.tcl : one mode, one corner
set search_path ". ./libs"
set link_path "* stdcell_ss0p72v125c.db sram_ss0p72v125c.db"
read_verilog top.v.gz
current_design top
link_design
read_parasitics -format SPEF top.cworst_125c.spef.gz
read_sdc func.sdc
set_app_var si_enable_analysis true ;# crosstalk delta delay
update_timing -full
# Constraint sanity before believing any slack number
check_timing -verbose > rpt/check_timing.rpt
report_analysis_coverage > rpt/coverage.rpt
report_exceptions -ignored > rpt/ignored_exceptions.rpt
# Results
report_global_timing > rpt/global.rpt
report_constraint -all_violators > rpt/violators.rpt
report_timing -delay_type max -max_paths 50 -nworst 1 > rpt/setup.rpt
report_timing -delay_type min -max_paths 50 -nworst 1 > rpt/hold.rpt
save_session session_func_ss_cworstRead check_timing first. Unconstrained endpoints, missing clocks on registers, generated clocks that do not propagate, and ignored exceptions (a set_false_path whose -from object no longer exists after synthesis renamed it) all make the slack reports look better than they are. report_analysis_coverage shows how many timing checks were actually tested versus untested. More on constraint review in timing exceptions for signoff and SDC constraint-driven design.
Variation: AOCV, POCV and LVF
Flat OCV derates (set_timing_derate) are too pessimistic at FinFET nodes. Foundries now ship Liberty Variation Format (LVF) sigma tables in the libraries, and PrimeTime uses them for parametric OCV (POCV), enabled with set_app_var timing_pocvm_enable_analysis true. Older flows used AOCV depth-based tables (timing_aocvm_enable_analysis, tables loaded with read_ocvm). Whichever method the foundry signoff spec requires, record it in the run metadata: comparing a POCV run with a flat-derate run is a common way to "find" slack that is not there. Background in on-chip variation in STA.
Multi-corner runs with DMSA
A signoff matrix is every mode (functional, scan shift, scan capture, low-power) crossed with every corner (library PVT plus RC corner). Twenty to a hundred scenarios is normal, and a large SoC can reach hundreds of scenarios with millions of endpoints, which is why the runs and reports have to be automated. Distributed multi-scenario analysis runs them in parallel worker processes under one master, merges the reports and fixes ECOs across all scenarios at once.
The master script sets a working directory for the workers, tells PrimeTime how many worker processes to start and how to submit them to the farm (for example through LSF), creates one scenario per mode and corner from a common setup script plus mode- and corner-specific scripts, starts the workers, and then runs the reports. Check the DMSA chapter of the PrimeTime user guide for your release for the exact commands and options.
Keep the scenario list in a file under version control, not in the script, so the signoff review can see exactly which modes and corners were run. A report parser should fail when a scenario is missing its reports, rather than summarising the scenarios that happened to finish. See MCMM timing analysis for how to choose the corner set.
Timing ECOs
Once the DMSA session is loaded, PrimeTime can fix violations itself and write the changes in a format the implementation tool can source. The usual order is design rule (transition, capacitance) fixes first, then setup, then hold: setup fixing relies mostly on cell sizing and Vt swaps, and hold fixing, mostly buffer insertion on paths with setup margin, goes last so later sizing does not undo it.
In practice that is one command per fix type (design rule, setup, hold), each restricted to the cells and methods you allow (sizing only for setup, sizing plus buffer insertion from an approved buffer list for hold), followed by writing the change list in the place-and-route tool's format.
Source the change file in ICC2, run ECO placement and routing, re-extract with StarRC, and rerun PrimeTime. Each loop should be compared against the previous one by scenario: worst negative slack (WNS), total negative slack (TNS) and violating endpoint count for setup and hold, plus max-transition and max-capacitance counts. If hold fixes make setup worse in another corner, the scenario set is incomplete.
Common problems
- SPEF and netlist from different route revisions. PrimeTime reports unannotated nets; check
report_annotated_parasiticsbefore trusting the numbers. - Broad wildcards in
set_false_pathorset_clock_groupsthat hide real paths. - Generated clocks missing after a netlist change, leaving downstream registers unclocked.
- Comparing runs without checking that libraries, derates, SPEF corner and SDC are the same.
- A report script that summarises only the scenarios that completed and silently skips the failed ones.
SkyCadEda builds practical EDA automation around timing signoff, CAD infrastructure and ASIC platform support. If you need help structuring PrimeTime signoff runs or the Tcl and Python around them, see our ASIC platform support page.
Frequently asked questions
What is Synopsys PrimeTime used for?
PrimeTime is Synopsys’ signoff static timing analysis tool. It reads a gate-level netlist, Liberty libraries, extracted parasitics (SPEF) and SDC constraints, then checks setup, hold, recovery/removal, clock gating, transition, capacitance and signal-integrity effects across every mode and corner before tape-out. It also generates timing and DRC ECOs for the place-and-route tool.
What files does a PrimeTime run need?
A gate-level Verilog netlist, Liberty .db timing libraries for the corner, a parasitic file (usually SPEF from StarRC) for the matching RC corner, and the SDC constraints for the mode. Optional inputs include POCV/AOCV side files, UPF for multi-voltage designs, and a saved session to reload.
PrimeTime vs Tempus: which is used for signoff?
Both are foundry-certified signoff STA tools. PrimeTime (pt_shell) is the more common signoff choice in Synopsys implementation flows (ICC2, Fusion Compiler); Cadence Tempus is the natural pairing with Innovus. Both read the same Verilog, Liberty, SPEF and SDC, so the choice is usually set by the implementation tool, licensing and what the foundry and customer accept for signoff.
What is DMSA in PrimeTime?
Distributed multi-scenario analysis. One master pt_shell process launches worker processes, each analysing one or more scenarios (a mode plus a corner), and merges reports and ECO fixing across all of them so a fix in one corner does not break another.
Related reading
- noteMulti-corner multi-mode timing analysis
- noteOn-chip variation in STA
- noteSynopsys StarRC extraction
- noteCadence Tempus timing signoff
More engineering notes
Working through a problem like this?
Tell us about your flow: the tools, the PDK, what is failing and when it needs to be clean.