You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3cdb184
Browse filesBrowse the repository at this point in the historyBrowse files
This tutorial covers how to correlate platform RC values and generate updated RC values for setRC.tcl.
6
+
7
+
## What’s unit RC?
8
+
Unit resistance (resistance per unit length) or unit capacitance (capacitance per unit length) is used to estimate wire delays during place and route flow when fully extracted parasitics are not available. For example, the global router can use unit RC to estimate delays for wires.
9
+
10
+
Unit RC values can be defined in technology LEF, but many modern PDKs do not specify them. In some cases, the values that are specified are not accurate.
11
+
12
+
Inaccurate unit RC values can lead to inconsistent timing results between global route and detailed route.
13
+
14
+
## Flow usage
15
+
Unit RC values per layer can be defined in OpenROAD-flow-scripts/flow/platforms/<PDKname>/setRC.tcl. For example, OpenROAD-flow-scripts/flow/platforms/asap7/setRC.tcl contains
Unit RC values can be extracted by completing P&R flow for relevant designs in ORFS up to detailed route and parasitic extraction. For example, to generate RC values for design ‘ibex’ in PDK asap7, do the following:
28
+
29
+
```
30
+
% cd OpenROAD-flow-scripts/flow
31
+
% make DESIGN_CONFIG=./designs/asap7/ibex/config.mk
32
+
% make DESIGN_CONFIG=./designs/asap7/ibex/config.mk write_segment_rc
33
+
```
34
+
35
+
This will generate a segment RC CSV file under results directory. For
36
+
example, ./results/asap7/ibex/base/6_segment_rc.csv.
37
+
38
+
```
39
+
% make DESIGN_CONFIG=./designs/asap7/ibex/config.mk correlate_rc
40
+
```
41
+
42
+
This will print a setRC.tcl file content for one design like the following:
Segment RC CSV files from multiple designs can be combined to produce one large segment RC CSV file. This combined CSV file can be used to produce average setRC.tcl that are relevant for two designs by using correlateRC.py utility. For example, to combine RC data from designs ‘ibex’ and ‘jpeg’ together and generate one setRC.tcl, do the following:
60
+
61
+
```
62
+
% make DESIGN_CONFIG=./designs/asap7/ibex/config.mk
63
+
% make DESIGN_CONFIG=./designs/asap7/ibex/config.mk write_segment_rc
64
+
% make DESIGN_CONFIG=./designs/asap7/jpeg/config.mk
65
+
% make DESIGN_CONFIG=./designs/asap7/jpeg/config.mk write_segment_rc
Copy file name to clipboardExpand all lines: docs/user/FlowVariables.md
-7Lines changed: 0 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,7 +189,6 @@ configuration file.
189
189
| <aname="MAX_PLACE_STEP_COEF"></a>MAX_PLACE_STEP_COEF| Sets the maximum phi coefficient (pcof_max / µ_k Upper Bound) for global placement optimization. This parameter controls the step size upper bound in the RePlAce Nesterov optimization algorithm. Higher values allow more aggressive optimization but may risk divergence. Valid range: 1.00-1.20| 1.05|
190
190
| <aname="MAX_REPAIR_ANTENNAS_ITER_DRT"></a>MAX_REPAIR_ANTENNAS_ITER_DRT| Defines the maximum number of iterations post-detailed routing repair antennas will run.| 5|
191
191
| <aname="MAX_REPAIR_ANTENNAS_ITER_GRT"></a>MAX_REPAIR_ANTENNAS_ITER_GRT| Defines the maximum number of iterations post global routing repair antennas will run.| 5|
192
-
| <aname="MAX_REPAIR_TIMING_ITER"></a>MAX_REPAIR_TIMING_ITER| Maximum number of iterations for repair setup and repair hold.||
193
192
| <aname="MAX_ROUTING_LAYER"></a>MAX_ROUTING_LAYER| The highest metal layer name to be used in routing.||
194
193
| <aname="MIN_BUF_CELL_AND_PORTS"></a>MIN_BUF_CELL_AND_PORTS| Used to insert a buffer cell to pass through wires. Used in synthesis.||
195
194
| <aname="MIN_CLK_ROUTING_LAYER"></a>MIN_CLK_ROUTING_LAYER| The lowest metal layer name to be used for clock-net routing in global routing. Used in flow/platforms/*/fastroute.tcl as the lower bound of `set_routing_layers -clock`. Typically higher than MIN_ROUTING_LAYER so clock nets prefer the upper, lower-RC layers. No `stages:` list because floorplan.tcl also `source`s the platform fastroute.tcl.||
@@ -289,7 +288,6 @@ configuration file.
289
288
| <aname="SKIP_REPAIR_TIE_FANOUT"></a>SKIP_REPAIR_TIE_FANOUT| Skip repair_tie_fanout at floorplan step.| 0|
290
289
| <aname="SKIP_REPORT_METRICS"></a>SKIP_REPORT_METRICS| If set to 1, then metrics, report_metrics does nothing. Useful to speed up builds.| 0|
291
290
| <aname="SKIP_VT_SWAP"></a>SKIP_VT_SWAP| Do not perform VT swap to improve QoR (default: do VT swap).||
292
-
| <aname="SLANG_PLUGIN_PATH"></a>SLANG_PLUGIN_PATH| Path to the slang plugin for Yosys. This can be a full path to a custom-built plugin (e.g. for Bazel builds) or just the plugin name.| slang|
293
291
| <aname="SLEW_MARGIN"></a>SLEW_MARGIN| Specifies a slew margin when fixing max slew violations. This option allows you to overfix.||
294
292
| <aname="SWAP_ARITH_OPERATORS"></a>SWAP_ARITH_OPERATORS| Improve timing QoR by swapping ALU and MULT arithmetic operators.||
295
293
| <aname="SYNTH_ARGS"></a>SYNTH_ARGS| Optional synthesis variables for yosys.||
0 commit comments