Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/user/FlowVariables.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ configuration file.
| <a name="VERILOG_TOP_PARAMS"></a>VERILOG_TOP_PARAMS| Apply toplevel params (if exist). Passed in as a list of key value pairs in tcl syntax; separated by spaces: PARAM1 VALUE1 PARAM2 VALUE2| |
| <a name="VIA_IN_PIN_MAX_LAYER"></a>VIA_IN_PIN_MAX_LAYER| Passed as -via_in_pin_top_layer to pin_access and detailed_route.| |
| <a name="VIA_IN_PIN_MIN_LAYER"></a>VIA_IN_PIN_MIN_LAYER| Passed as -via_in_pin_bottom_layer to pin_access and detailed_route.| |
| <a name="WIRE_LOAD_MODEL"></a>WIRE_LOAD_MODEL| Name of a Liberty wire_load group applied with set_wire_load_model whenever open.tcl reads timing. OpenSTA applies a wire-load model only to nets without parasitics, so it gives wire delay to timing read before placement and leaves placed and routed timing unaffected. An unknown name is an error. Empty, the default, applies none. A platform whose libraries define no wire_load group can supply one in a Liberty file listed in ADDITIONAL_LIBS.| |
| <a name="WRITE_ODB_AND_SDC_EACH_STAGE"></a>WRITE_ODB_AND_SDC_EACH_STAGE| Save out .sdc and .odb file after each stage, useful to disable when using a single OpenROAD instance to run all stages of the flow.| 1|
| <a name="YOSYS_FLAGS"></a>YOSYS_FLAGS| Flags to pass to yosys.| -v 3|
## synth variables
Expand Down Expand Up @@ -679,4 +680,5 @@ configuration file.
- [TAP_CELL_NAME](#TAP_CELL_NAME)
- [TECH_LEF](#TECH_LEF)
- [USE_FILL](#USE_FILL)
- [WIRE_LOAD_MODEL](#WIRE_LOAD_MODEL)

4 changes: 4 additions & 0 deletions flow/scripts/open.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ proc read_timing { input_file } {
} else {
log_cmd source $::env(PLATFORM_DIR)/setRC.tcl
}
if { [env_var_exists_and_non_empty WIRE_LOAD_MODEL] } {
# OpenSTA applies a wire-load model only to nets without parasitics.
log_cmd set_wire_load_model -name $::env(WIRE_LOAD_MODEL)
}
if { $design_stage >= 4 } {
# CTS has run, so propagate clocks
set_propagated_clock [all_clocks]
Expand Down
4 changes: 4 additions & 0 deletions flow/scripts/variables.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions flow/scripts/variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,16 @@ LAYER_PARASITICS_FILE:
description: |
Path to per layer parasitics file. Defaults to $(PLATFORM_DIR)/setRC.tcl.
type: string
WIRE_LOAD_MODEL:
description: |
Name of a Liberty wire_load group applied with set_wire_load_model
whenever open.tcl reads timing. OpenSTA applies a wire-load model only
to nets without parasitics, so it gives wire delay to timing read
before placement and leaves placed and routed timing unaffected. An
unknown name is an error. Empty, the default, applies none. A platform
whose libraries define no wire_load group can supply one in a Liberty
file listed in ADDITIONAL_LIBS.
type: string
TAPCELL_TCL:
description: |
Path to Endcap and Welltie cells file.
Expand Down
Loading