Skip to content

Commit 5f98ed4

Browse files
committed
Added EARLY_SIZING_CAP_RATIO setting in resize.tcl
Signed-off-by: Jeff Ng <[email protected]>
1 parent 298d78b commit 5f98ed4

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

docs/user/FlowVariables.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ configuration file.
128128
| <a name="DONT_USE_CELLS"></a>DONT_USE_CELLS| Dont use cells eases pin access in detailed routing.| |
129129
| <a name="DONT_USE_LIBS"></a>DONT_USE_LIBS| Set liberty files as `dont_use`.| |
130130
| <a name="DPO_MAX_DISPLACEMENT"></a>DPO_MAX_DISPLACEMENT| Specifies how far an instance can be moved when optimizing.| 5 1|
131+
| <a name="EARLY_SIZING_CAP_RATIO"></a>EARLY_SIZING_CAP_RATIO| Ratio between the input pin capacitance and the output pin load during initial gate sizing.| |
131132
| <a name="ENABLE_DPO"></a>ENABLE_DPO| Enable detail placement with improve_placement feature.| 1|
132133
| <a name="EQUIVALENCE_CHECK"></a>EQUIVALENCE_CHECK| Enable running equivalence checks to verify logical correctness of repair_timing.| 0|
133134
| <a name="FASTROUTE_TCL"></a>FASTROUTE_TCL| Specifies a Tcl script with commands to run before FastRoute.| |
@@ -234,6 +235,7 @@ configuration file.
234235
| <a name="TECH_LEF"></a>TECH_LEF| A technology LEF file of the PDK that includes all relevant information regarding metal layers, vias, and spacing requirements.| |
235236
| <a name="TIEHI_CELL_AND_PORT"></a>TIEHI_CELL_AND_PORT| Tie high cells used in Yosys synthesis to replace a logical 1 in the Netlist.| |
236237
| <a name="TIELO_CELL_AND_PORT"></a>TIELO_CELL_AND_PORT| Tie low cells used in Yosys synthesis to replace a logical 0 in the Netlist.| |
238+
| <a name="TIE_SEPARATION"></a>TIE_SEPARATION| Distance separating tie high/low instances from the load.| |
237239
| <a name="TNS_END_PERCENT"></a>TNS_END_PERCENT| Default TNS_END_PERCENT value for post CTS timing repair. Try fixing all violating endpoints by default (reduce to 5% for runtime). Specifies how many percent of violating paths to fix [0-100]. Worst path will always be fixed.| 100|
238240
| <a name="USE_FILL"></a>USE_FILL| Whether to perform metal density filling.| 0|
239241
| <a name="VERILOG_DEFINES"></a>VERILOG_DEFINES| Preprocessor defines passed to the language frontend. Example: `-D HPDCACHE_ASSERT_OFF`| |
@@ -327,6 +329,7 @@ configuration file.
327329

328330
- [CELL_PAD_IN_SITES_DETAIL_PLACEMENT](#CELL_PAD_IN_SITES_DETAIL_PLACEMENT)
329331
- [CELL_PAD_IN_SITES_GLOBAL_PLACEMENT](#CELL_PAD_IN_SITES_GLOBAL_PLACEMENT)
332+
- [EARLY_SIZING_CAP_RATIO](#EARLY_SIZING_CAP_RATIO)
330333
- [FLOORPLAN_DEF](#FLOORPLAN_DEF)
331334
- [GPL_ROUTABILITY_DRIVEN](#GPL_ROUTABILITY_DRIVEN)
332335
- [GPL_TIMING_DRIVEN](#GPL_TIMING_DRIVEN)
@@ -343,6 +346,7 @@ configuration file.
343346
- [SKIP_REPORT_METRICS](#SKIP_REPORT_METRICS)
344347
- [TIEHI_CELL_AND_PORT](#TIEHI_CELL_AND_PORT)
345348
- [TIELO_CELL_AND_PORT](#TIELO_CELL_AND_PORT)
349+
- [TIE_SEPARATION](#TIE_SEPARATION)
346350

347351
## cts variables
348352

flow/scripts/resize.tcl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ set pin_count_before [sta::network_leaf_pin_count]
1010

1111
set_dont_use $::env(DONT_USE_CELLS)
1212

13+
if { [env_var_exists_and_non_empty EARLY_SIZING_CAP_RATIO] } {
14+
log_cmd set_opt_config -set_early_sizing_cap_ratio $env(EARLY_SIZING_CAP_RATIO)
15+
}
16+
1317
repair_design_helper
1418

1519
if { [env_var_exists_and_non_empty TIE_SEPARATION] } {

flow/scripts/variables.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,16 @@ TIELO_CELL_AND_PORT:
222222
stages:
223223
- synth
224224
- place
225+
TIE_SEPARATION:
226+
description: |
227+
Distance separating tie high/low instances from the load.
228+
stages:
229+
- place
230+
EARLY_SIZING_CAP_RATIO:
231+
description: |
232+
Ratio between the input pin capacitance and the output pin load during initial gate sizing.
233+
stages:
234+
- place
225235
MIN_BUF_CELL_AND_PORTS:
226236
description: |
227237
Used to insert a buffer cell to pass through wires. Used in synthesis.

0 commit comments

Comments
 (0)