4.9. Static Timing Analysis
Hammer supports post-synthesis and post-P&R static timing analysis. It provides a simple API to provide a set of design inputs (e.g. Verilog netlists, delay files, parasitics files) to perform static timing analysis (STA) for design signoff.
This action requires a tool plugin to implement
4.9.1. STA Setup Keys
Module of the STA tool, e.g.
4.9.2. STA Input Keys
A list of file paths to the Verilog gate-level netlist to be passed to the STA tool. The paths may be relative to the directory in which
Name of the top level module of the design to be timed.
Post-synthesis generated SDC. Auto-populated after syn-to-timing.
List of paths to all spef (parasitic extraction) files for the design. This list may include a spef file per MMMC corner. Paths may be relative to the directory in which hammer-vlsi is called.
Path to Standard Delay Format file. Auto-populated after syn-to-timing and par-to-timing.
Maximum number of timing paths to report from the STA tool. Large limits may hurt tool runtime.
4.9.3. STA Inputs
syn-to-timing action after running synthesis will automatically generate the Hammer IR required to pipe the synthesis outputs to the Hammer STA tool, and should be included in the Hammer call, as demonstrated in the “Post-Synthesis STA” command below. The same goes for post-place-and-route STA.
4.9.4. STA Outputs
The STA tool produces reports in
OBJ_DIR/timing-rundir/. Outputs from advanced STA flows such as engineering change order (ECO) patches are not yet supported.
4.9.5. STA Commands
Synthesis to STA
hammer-vlsi -e env.yml -p config.yml -p OBJ_DIR/syn-rundir/syn-output.json -o OBJ_DIR/syn-to-timing_input.json --obj_dir OBJ_DIR syn-to-timing
hammer-vlsi -e env.yml -p config.yml -p OBJ_DIR/syn-to-timing_input.json --obj_dir OBJ_DIR timing
P&R to STA
hammer-vlsi -e env.yml -p config.yml -p OBJ_DIR/par-rundir/par-output.json -o OBJ_DIR/par-to-timing_input.json --obj_dir OBJ_DIR par-to-timing
hammer-vlsi -e env.yml -p config.yml -p OBJ_DIR/par-to-timing_input.json --obj_dir OBJ_DIR timing