Skip to content

Commit c9701fa

Browse files
committed
variables: PRE_GLOBAL_ROUTE_TCL now has consistent naming
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 9e0d3b2 commit c9701fa

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

docs/user/FlowVariables.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ configuration file.
174174
| <a name="PLATFORM"></a>PLATFORM| Specifies process design kit or technology node to be used.| |
175175
| <a name="PLATFORM_TCL"></a>PLATFORM_TCL| Specifies a Tcl script with commands to run before loading design.| |
176176
| <a name="POST_CTS_TCL"></a>POST_CTS_TCL| Specifies a Tcl script with commands to run after CTS is completed.| |
177+
| <a name="PRE_GLOBAL_ROUTE_TCL"></a>PRE_GLOBAL_ROUTE_TCL| Specifies a Tcl script with commands to run before global route.| |
177178
| <a name="PROCESS"></a>PROCESS| Technology node or process in use.| |
178179
| <a name="PWR_NETS_VOLTAGES"></a>PWR_NETS_VOLTAGES| Used for IR Drop calculation.| |
179180
| <a name="RCX_RULES"></a>RCX_RULES| RC Extraction rules file path.| |
@@ -388,6 +389,7 @@ configuration file.
388389
- [HOLD_SLACK_MARGIN](#HOLD_SLACK_MARGIN)
389390
- [MAX_ROUTING_LAYER](#MAX_ROUTING_LAYER)
390391
- [MIN_ROUTING_LAYER](#MIN_ROUTING_LAYER)
392+
- [PRE_GLOBAL_ROUTE_TCL](#PRE_GLOBAL_ROUTE_TCL)
391393
- [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW)
392394
- [ROUTING_LAYER_ADJUSTMENT](#ROUTING_LAYER_ADJUSTMENT)
393395
- [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE)

flow/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ grt: $(RESULTS_DIR)/5_1_grt.odb
550550

551551
# STEP 1: Run global route
552552
#-------------------------------------------------------------------------------
553-
$(eval $(call do-step,5_1_grt,$(RESULTS_DIR)/4_cts.odb $(FASTROUTE_TCL) $(PRE_GLOBAL_ROUTE),global_route))
553+
$(eval $(call do-step,5_1_grt,$(RESULTS_DIR)/4_cts.odb $(FASTROUTE_TCL) $(PRE_GLOBAL_ROUTE_TCL),global_route))
554554

555555
# STEP 2: Run detailed route
556556
#-------------------------------------------------------------------------------

flow/scripts/global_route.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ load_design 4_cts.odb 4_cts.sdc
66
# This proc is here to allow us to use 'return' to return early from this
77
# file which is sourced
88
proc global_route_helper { } {
9-
source_env_var_if_exists PRE_GLOBAL_ROUTE
9+
source_env_var_if_exists PRE_GLOBAL_ROUTE_TCL
1010

1111
proc do_global_route { } {
1212
set all_args [concat [list \

flow/scripts/variables.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,11 @@ ABSTRACT_SOURCE:
824824
Which .odb file to use to create abstract
825825
stages:
826826
- generate_abstract
827+
PRE_GLOBAL_ROUTE_TCL:
828+
description: |
829+
Specifies a Tcl script with commands to run before global route.
830+
stages:
831+
- grt
827832
GLOBAL_ROUTE_ARGS:
828833
description: >
829834
Replaces default arguments for global route.

flow/util/makeIssue.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ISSUE_CP_PLATFORM_FILE_VARS="LIB_FILES \
3232
PDN_TCL \
3333
POST_PDN_TCL \
3434
POST_CTS_TCL \
35-
PRE_GLOBAL_ROUTE \
35+
PRE_GLOBAL_ROUTE_TCL \
3636
FASTROUTE_TCL \
3737
POST_DETAIL_ROUTE_TCL \
3838
RCX_RULES \

0 commit comments

Comments
 (0)