From 61d53c43eb8e7117a750107cd1dcf19dcec65830 Mon Sep 17 00:00:00 2001 From: Jeff Ng Date: Fri, 15 Nov 2024 00:56:03 +0000 Subject: [PATCH] shifted GLOBAL_ROUTE_ARGS definition to allow override Signed-off-by: Jeff Ng --- BUILD.bazel | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index 39296bf..3b948cc 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -353,7 +353,7 @@ SWEEP = { "base": { "description": "Base settings, provides macro placement from hierarchical synthesis", "variables": { - "GLOBAL_ROUTE_ARGS": "-congestion_iterations 30 -congestion_report_iter_step 5 -verbose", + #"GLOBAL_ROUTE_ARGS": "-congestion_iterations 30 -congestion_report_iter_step 5 -verbose", }, }, "naja": { @@ -391,6 +391,9 @@ SWEEP = { } BOOMTILE_VARIABLES = SKIP_REPORT_METRICS | FAST_BUILD_SETTINGS | { + # global route is futile for now, so do a few iterations to + # get a global route artifact with .odb and .rpt file + "GLOBAL_ROUTE_ARGS": "-congestion_iterations 5 -congestion_report_iter_step 5 -verbose", "PDN_TCL": "$(PLATFORM_DIR)/openRoad/pdn/BLOCKS_grid_strategy.tcl", "IO_CONSTRAINTS": "$(location :io-boomtile)", "PLACE_DENSITY": "0.24", @@ -454,11 +457,6 @@ boomtile_all_rams = boom_regfile_rams.keys() + all_srams.keys() # for a specific stage, e.g. SETUP_SLACK_MARGIN could be useful to # have a different value for floorplan, cts and grt. stage_arguments = { - "grt": { - # global route is futile for now, so do a few iterations to - # get a global route artifact with .odb and .rpt file - "GLOBAL_ROUTE_ARGS": "-congestion_iterations 5 -congestion_report_iter_step 5 -verbose", - }, }, # Starlark does not have sets, nor can we define functions in BUILD files # Use a dict to get a set of keys