From 2aa33ea8d493e439f6ba5e173a09745916ce96c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 29 Apr 2024 14:39:33 +0200 Subject: [PATCH] boomtile: DRY, add add_option_all_stages() function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- BUILD.bazel | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index efcc381..2d18d64 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,4 +1,4 @@ -load("@bazel-orfs//:openroad.bzl", "build_openroad") +load("@bazel-orfs//:openroad.bzl", "build_openroad", "add_options_all_stages") filegroup( name = "util", @@ -846,26 +846,20 @@ build_openroad( macros=boom_tile_rams + boom_regfile_rams + boom_tile_small_srams + digital_top_srams, sdc_constraints = ":constraints-boomtile.sdc", io_constraints=":io-boomtile", - stage_args={ - 'synth': ['SYNTH_HIERARCHICAL=1', - 'DUMMY=1'], + stage_args=add_options_all_stages({ + 'synth': ['SYNTH_HIERARCHICAL=1'], 'floorplan': [ - 'SKIP_REPORT_METRICS=1', 'CORE_UTILIZATION=20', - 'MACRO_PLACE_HALO=20 20' - # Too slow for now... - ,'RTLMP_FLOW=True' + 'MACRO_PLACE_HALO=20 20', + 'RTLMP_FLOW=True' ], 'cts': ['TNS_END_PERCENT=0', - 'SKIP_REPORT_METRICS=1', 'SKIP_CTS_REPAIR_TIMING=1'], 'place': ['PLACE_DENSITY=0.27', 'PLACE_PINS_ARGS=-annealing', - 'SKIP_REPORT_METRICS=1', 'GPL_ROUTABILITY_DRIVEN=0'], 'grt': ['SKIP_INCREMENTAL_REPAIR=1', - 'SKIP_REPORT_METRICS=1', 'SKIP_ANTENNA_REPAIR=1'], - 'route': ['SKIP_REPORT_METRICS=1'] - } + 'route': [] + }, ['SKIP_REPORT_METRICS=1']) )