Skip to main content

Updated 3 min readSynopsys

Synopsys StarRC parasitic extraction

How Synopsys StarRC works: the star_cmd file, nxtgrd and mapping files, SPEF output for PrimeTime, RC corner matrices and Calibre CCI flows for custom layout.

By the SkyCadEda engineering teamHow these notes are written

  • Synopsys
  • StarRC
  • Parasitic Extraction
  • ASIC Signoff

ShareLinkedInX

On this page

Synopsys StarRC is the parasitic extraction tool in Synopsys signoff flows. It reads a routed layout, applies the foundry's capacitance and resistance models (nxtgrd files), and writes the parasitics as SPEF for PrimeTime or as DSPF/SPICE netlists for transistor-level simulation. A run is controlled by a single command file, usually called star_cmd, and launched with StarXtract star_cmd.

Inputs

  • The routed design: an ICC2 or Fusion Compiler NDM library, or LEF plus DEF. (Older ICC flows used Milkyway; NDM replaced it.)
  • One .nxtgrd file per RC corner, from the foundry. It is generated from the ITF metal-stack description with grdgenxo; you normally use the foundry's copy rather than generating your own.
  • A mapping file that ties the design's layer names to the layer names in the nxtgrd.
  • For custom and analog layout, the LVS run's connectivity and device cross-reference (see below).

A minimal star_cmd for a digital block

BLOCK:                 top
LEF_FILE:              /pdk/lef/tech.lef
LEF_FILE:              /pdk/lef/stdcell.lef
TOP_DEF_FILE:          out/top.def.gz
TCAD_GRD_FILE:         /pdk/starrc/cworst.nxtgrd
MAPPING_FILE:          /pdk/starrc/starrc.map
OPERATING_TEMPERATURE: 125
EXTRACTION:            RC
COUPLE_TO_GROUND:      NO
NETLIST_FORMAT:        SPEF
NETLIST_FILE:          spef/top.cworst_125c.spef
NUM_CORES:             8

This example is for the cworst corner at 125 °C, writing SPEF for PrimeTime. COUPLE_TO_GROUND: NO keeps coupling capacitances as net-to-net elements so PrimeTime SI can compute crosstalk; grounding them would hide the aggressors. Paths and corner names here are examples: the mapping file and the list of nxtgrd corners come from the foundry PDK.

RC corners and the signoff matrix

Each STA scenario needs a SPEF that matches its RC corner and temperature: for example cworst and rcworst at 125 °C for setup, cbest and rcbest at -40 °C for hold. StarRC can extract several corners in one run (simultaneous multi-corner extraction, configured with a corners file), which is faster than separate runs because the geometry processing is shared. Either way, name each SPEF by corner and temperature and record the nxtgrd revision with it. Feeding PrimeTime a SPEF from the wrong corner, or from a previous route, produces plausible slack numbers that are simply wrong. See MCMM timing analysis for how corners and modes combine.

Custom and analog flows

For transistor-level layout from Virtuoso or Custom Compiler, extraction has to know which layout devices correspond to which schematic devices, so the extracted netlist uses schematic names and can be simulated in the original testbench. StarRC gets this from the LVS run: from IC Validator, or from Calibre through the Calibre Connectivity Interface (CCI), with XREF: set and the Calibre query output named in CALIBRE_QUERY_FILE:. The output is then a DSPF or SPICE netlist with parasitics, which goes to HSPICE or another PrimeSim simulator. A clean LVS is a prerequisite: extraction on a layout with shorts or opens gives a netlist that does not match the schematic.

Checks worth automating

  • Before the run: the DEF or NDM is from the same route as the netlist going to PrimeTime, and the nxtgrd and mapping file match the PDK revision.
  • After the run: every expected SPEF exists for every corner, the log has no errors or unmapped-layer warnings, and the net count matches the design.
  • In PrimeTime: report_annotated_parasitics shows no unannotated nets after read_parasitics.
  • For shrinks: if the layout is drawn at a different scale from the target process, check the MAGNIFICATION_FACTOR: setting the foundry specifies.

Downstream, the same SPEFs feed PrimePower for power analysis, and signal-net parasitics are reused in signal EM checks (power-grid IR drop is normally extracted by the EM/IR tool itself; see power integrity and EM/IR). We set up extraction and signoff run infrastructure as part of CAD infrastructure services.

Frequently asked questions

What is Synopsys StarRC used for?

StarRC extracts the resistance and capacitance of routed interconnect (and, in custom flows, device-level parasitics) from a layout and writes them as SPEF, DSPF or a SPICE netlist. Timing (PrimeTime), power (PrimePower), EM/IR and post-layout SPICE simulation all read its output.

What is an nxtgrd file?

The foundry-qualified capacitance and resistance model for one process corner, generated from the ITF (Interconnect Technology Format) description of the metal stack with the grdgenxo utility. Foundries usually ship one nxtgrd per RC corner (typical, cworst, cbest, rcworst, rcbest).

Where does StarRC sit in the ASIC flow?

After routing and before signoff STA. StarRC reads the routed design (from the ICC2 or Fusion Compiler NDM library, or LEF/DEF), extracts one SPEF per RC corner and temperature, and PrimeTime reads those SPEFs for each scenario.

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.