Skip to content

Commit 3c45038

Browse files
authored
Merge pull request #4794 from The-OpenROAD-Project-staging/add-useful-skew-flag-cts
Add useful-skew flag to CTS script
2 parents b50af17 + f94e8b8 commit 3c45038

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎docs/user/FlowVariables.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ configuration file.
130130
| <a name="CTS_CLUSTER_DIAMETER"></a>CTS_CLUSTER_DIAMETER| Maximum diameter (in microns) of sink cluster.| |
131131
| <a name="CTS_CLUSTER_SIZE"></a>CTS_CLUSTER_SIZE| Maximum number of sinks per cluster.| |
132132
| <a name="CTS_LIB_NAME"></a>CTS_LIB_NAME| Name of the Liberty library to use in selecting the clock buffers.| |
133+
| <a name="CTS_USEFUL_SKEW"></a>CTS_USEFUL_SKEW| Enable useful skew during the CTS balancing phase.| 0|
133134
| <a name="DESIGN_NAME"></a>DESIGN_NAME| The name of the top-level module of the design.| |
134135
| <a name="DESIGN_NICKNAME"></a>DESIGN_NICKNAME| DESIGN_NICKNAME just changes the directory name that ORFS outputs to be DESIGN_NICKNAME instead of DESIGN_NAME in case DESIGN_NAME is unwieldy or conflicts with a different design.| |
135136
| <a name="DETAILED_METRICS"></a>DETAILED_METRICS| If set, then calls report_metrics prior to repair operations in the CTS and global route stages| 0|
@@ -546,6 +547,7 @@ configuration file.
546547
- [CTS_CLUSTER_DIAMETER](#CTS_CLUSTER_DIAMETER)
547548
- [CTS_CLUSTER_SIZE](#CTS_CLUSTER_SIZE)
548549
- [CTS_LIB_NAME](#CTS_LIB_NAME)
550+
- [CTS_USEFUL_SKEW](#CTS_USEFUL_SKEW)
549551
- [DETAILED_METRICS](#DETAILED_METRICS)
550552
- [DETAIL_PLACEMENT_ARGS](#DETAIL_PLACEMENT_ARGS)
551553
- [FLOW_INPUT_VARIANT](#FLOW_INPUT_VARIANT)

‎flow/scripts/cts.tcl‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ append_env_var cts_args CTS_CLUSTER_SIZE -sink_clustering_size 1
1919
append_env_var cts_args CTS_CLUSTER_DIAMETER -sink_clustering_max_diameter 1
2020
append_env_var cts_args CTS_BUF_LIST -buf_list 1
2121
append_env_var cts_args CTS_LIB_NAME -library 1
22+
append_env_var cts_args CTS_USEFUL_SKEW -useful_skew 0
2223

2324
if { [env_var_exists_and_non_empty CTS_ARGS] } {
2425
set cts_args $::env(CTS_ARGS)

‎flow/scripts/variables.yaml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,6 +1286,12 @@ CTS_LIB_NAME:
12861286
Name of the Liberty library to use in selecting the clock buffers.
12871287
stages:
12881288
- cts
1289+
CTS_USEFUL_SKEW:
1290+
description: |
1291+
Enable useful skew during the CTS balancing phase.
1292+
stages:
1293+
- cts
1294+
default: 0
12891295
POST_CTS_TCL:
12901296
description: |
12911297
Specifies a Tcl script with commands to run after CTS is completed.

0 commit comments

Comments
 (0)