From 16fa054db3f64662f62c641a5e12b7aa13dc7d36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:04 +0200 Subject: [PATCH 01/25] Add CORNERS to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index efa579d686..0167c666a0 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -115,6 +115,7 @@ configuration file. | CORE_MARGIN| The margin between the core area and die area, specified in microns. Allowed values are either one value for all margins or a set of four values, one for each margin. The order of the four values are: `{bottom top left right}`. This variable is only used when `CORE_UTILIZATION` is set.| 1.0| | CORE_UTILIZATION| The core utilization percentage (0-100).| | | CORNER| PVT corner library selection. Only available for ASAP7 and GF180 PDKs.| | +| CORNERS| List of timing corner names for multi-corner analysis (e.g. "slow fast"). When set, liberty files are loaded per corner using [CORNER]_LIB_FILES environment variables and timing models are generated per corner.| | | CTS_ARGS| Override `clock_tree_synthesis` arguments.| | | CTS_BUF_DISTANCE| Distance (in microns) between buffers.| | | CTS_BUF_LIST| List of cells used to construct the clock tree. Overrides buffer inference.| | @@ -564,6 +565,7 @@ configuration file. ## All stages variables - [ASAP7_USE_VT](#ASAP7_USE_VT) +- [CORNERS](#CORNERS) - [KEEP_VARS](#KEEP_VARS) - [NUM_CORES](#NUM_CORES) - [OPENROAD_HIERARCHICAL](#OPENROAD_HIERARCHICAL) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index cf99a5fac5..89c5b31223 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -128,6 +128,13 @@ PROCESS: CORNER: description: > PVT corner library selection. Only available for ASAP7 and GF180 PDKs. +CORNERS: + description: > + List of timing corner names for multi-corner analysis (e.g. "slow fast"). + When set, liberty files are loaded per corner using [CORNER]_LIB_FILES + environment variables and timing models are generated per corner. + stages: + - All stages TECH_LEF: description: > A technology LEF file of the PDK that includes all relevant information From 74241eb1bb7797da916999f9c45aa163ebd59606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:05 +0200 Subject: [PATCH 02/25] Add ADDITIONAL_SITES to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 0167c666a0..13f3b807e0 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -100,6 +100,7 @@ configuration file. | ADDITIONAL_GDS| Hardened macro GDS files listed here.| | | ADDITIONAL_LEFS| Hardened macro LEF view files listed here. The LEF information of the macros is immutable and used throughout all stages. Stored in the .odb file.| | | ADDITIONAL_LIBS| Hardened macro library files listed here. The library information is immutable and used throughout all stages. Not stored in the .odb file.| | +| ADDITIONAL_SITES| Passed as -additional_sites to initialize_floorplan.| | | ASAP7_USE_VT| A space separated list of VT options to use with the ASAP7 standard cell library: RVT, LVT, SLVT.| RVT| | BALANCE_ROWS| Balance rows during placement.| 0| | BLOCKS| Blocks used as hard macros in a hierarchical flow. Do note that you have to specify block-specific inputs file in the directory mentioned by Makefile.| | @@ -360,6 +361,7 @@ configuration file. ## floorplan variables +- [ADDITIONAL_SITES](#ADDITIONAL_SITES) - [CELL_PAD_IN_SITES_GLOBAL_PLACEMENT](#CELL_PAD_IN_SITES_GLOBAL_PLACEMENT) - [CORE_AREA](#CORE_AREA) - [CORE_ASPECT_RATIO](#CORE_ASPECT_RATIO) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index 89c5b31223..99ad448c89 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -457,6 +457,11 @@ BALANCE_ROWS: stages: - place default: 0 +ADDITIONAL_SITES: + description: > + Passed as -additional_sites to initialize_floorplan. + stages: + - floorplan PLACE_SITE: description: | Placement site for core cells defined in the technology LEF file. From b8f4a0096ab5ffb9808ddf4a3a2a6e1bb37d1db3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:05 +0200 Subject: [PATCH 03/25] Add GPL_KEEP_OVERFLOW to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 13f3b807e0..0b6dfd1db4 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -152,6 +152,7 @@ configuration file. | GLOBAL_PLACEMENT_ARGS| Use additional tuning parameters during global placement other than default args defined in global_place.tcl.| | | GLOBAL_ROUTE_ARGS| Replaces default arguments for global route.| -congestion_iterations 30 -congestion_report_iter_step 5 -verbose| | GND_NETS_VOLTAGES| Used for IR Drop calculation.| | +| GPL_KEEP_OVERFLOW| Passed as -keep_resize_below_overflow to global_placement. Only used when GPL_TIMING_DRIVEN is enabled.| | | GPL_ROUTABILITY_DRIVEN| Specifies whether the placer should use routability driven placement.| 1| | GPL_TIMING_DRIVEN| Specifies whether the placer should use timing driven placement.| 1| | GUI_TIMING| Load timing information when opening GUI. For large designs, this can be quite time consuming. Useful to disable when investigating non-timing aspects like floorplan, placement, routing, etc.| 1| @@ -442,6 +443,7 @@ configuration file. - [EARLY_SIZING_CAP_RATIO](#EARLY_SIZING_CAP_RATIO) - [FLOORPLAN_DEF](#FLOORPLAN_DEF) - [GLOBAL_PLACEMENT_ARGS](#GLOBAL_PLACEMENT_ARGS) +- [GPL_KEEP_OVERFLOW](#GPL_KEEP_OVERFLOW) - [GPL_ROUTABILITY_DRIVEN](#GPL_ROUTABILITY_DRIVEN) - [GPL_TIMING_DRIVEN](#GPL_TIMING_DRIVEN) - [IO_PLACER_H](#IO_PLACER_H) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index 99ad448c89..a10555b4eb 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -627,6 +627,12 @@ GPL_ROUTABILITY_DRIVEN: stages: - place default: 1 +GPL_KEEP_OVERFLOW: + description: > + Passed as -keep_resize_below_overflow to global_placement. + Only used when GPL_TIMING_DRIVEN is enabled. + stages: + - place MIN_PLACE_STEP_COEF: description: > Sets the minimum phi coefficient (pcof_min / µ_k Lower Bound) for global From d8eb3577c7263579c94d0bdd5e1896bc8099a174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:05 +0200 Subject: [PATCH 04/25] Add SETUP_MOVE_SEQUENCE to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 4 ++++ flow/scripts/variables.yaml | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 0b6dfd1db4..3181f9e24d 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -260,6 +260,7 @@ configuration file. | SDC_FILE| The path to design constraint (SDC) file.| | | SDC_GUT| Load design and remove all internal logic before doing synthesis. This is useful when creating a mock .lef abstract that has a smaller area than the amount of logic would allow. bazel-orfs uses this to mock SRAMs, for instance.| | | SEAL_GDS| Seal macro to place around the design.| | +| SETUP_MOVE_SEQUENCE| Passed as -sequence to repair_timing. This should be a string of move keywords separated by commas.| | | SETUP_REPAIR_SEQUENCE| Specifies the sequence of moves to do in repair_timing -setup. This should be a string of move keywords separated by commas such as the default when not used: "unbuffer,sizedown,sizeup,swap,buffer,clone,split".| | | SETUP_SLACK_MARGIN| Specifies a time margin for the slack when fixing setup violations. This option allows you to overfix or underfix(negative value, terminate retiming before 0 or positive slack). See HOLD_SLACK_MARGIN for more details.| 0| | SET_RC_TCL| Metal & Via RC definition file path.| | @@ -416,6 +417,7 @@ configuration file. - [RTLMP_OUTLINE_WT](#RTLMP_OUTLINE_WT) - [RTLMP_RPT_DIR](#RTLMP_RPT_DIR) - [RTLMP_WIRELENGTH_WT](#RTLMP_WIRELENGTH_WT) +- [SETUP_MOVE_SEQUENCE](#SETUP_MOVE_SEQUENCE) - [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE) - [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN) - [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP) @@ -492,6 +494,7 @@ configuration file. - [POST_CTS_TCL](#POST_CTS_TCL) - [PRE_CTS_TCL](#PRE_CTS_TCL) - [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW) +- [SETUP_MOVE_SEQUENCE](#SETUP_MOVE_SEQUENCE) - [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE) - [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN) - [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP) @@ -517,6 +520,7 @@ configuration file. - [PRE_GLOBAL_ROUTE_TCL](#PRE_GLOBAL_ROUTE_TCL) - [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW) - [ROUTING_LAYER_ADJUSTMENT](#ROUTING_LAYER_ADJUSTMENT) +- [SETUP_MOVE_SEQUENCE](#SETUP_MOVE_SEQUENCE) - [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE) - [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN) - [SKIP_ANTENNA_REPAIR](#SKIP_ANTENNA_REPAIR) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index a10555b4eb..d378e631d1 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -741,6 +741,14 @@ SETUP_REPAIR_SEQUENCE: - cts - floorplan - grt +SETUP_MOVE_SEQUENCE: + description: > + Passed as -sequence to repair_timing. This should be a string of move + keywords separated by commas. + stages: + - cts + - floorplan + - grt SKIP_GATE_CLONING: description: > Do not use gate cloning transform to fix timing violations (default: use From e59589425641870dfc1f403f0ad233a4ced47325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:05 +0200 Subject: [PATCH 05/25] Add SKIP_BUFFER_REMOVAL to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 4 ++++ flow/scripts/variables.yaml | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 3181f9e24d..2e18a47b2c 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -267,6 +267,7 @@ configuration file. | SKIP_ANTENNA_REPAIR| Skips antenna repair entirely.| 0| | SKIP_ANTENNA_REPAIR_POST_DRT| Skips antenna repair post-detailed routing.| 0| | SKIP_ANTENNA_REPAIR_PRE_GRT| Skips antenna repair pre-global routing.| 0| +| SKIP_BUFFER_REMOVAL| Passed as -skip_buffer_removal to repair_timing. Do not remove buffers as a transform to fix timing violations (default: allow buffer removal).| | | SKIP_CRIT_VT_SWAP| Do not perform VT swap on critical cells to improve QoR (default: do critical VT swap). This is an additional VT swap on critical cells that remain near the end of setup fixing. If SKIP_VT_SWAP is set to 1, this also disables critical cell VT swap.| | | SKIP_CTS_REPAIR_TIMING| Skipping CTS repair, which can take a long time, can be useful in architectural exploration or when getting CI up and running.| 0| | SKIP_DETAILED_ROUTE| Skips detailed route.| 0| @@ -420,6 +421,7 @@ configuration file. - [SETUP_MOVE_SEQUENCE](#SETUP_MOVE_SEQUENCE) - [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE) - [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN) +- [SKIP_BUFFER_REMOVAL](#SKIP_BUFFER_REMOVAL) - [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP) - [SKIP_GATE_CLONING](#SKIP_GATE_CLONING) - [SKIP_LAST_GASP](#SKIP_LAST_GASP) @@ -497,6 +499,7 @@ configuration file. - [SETUP_MOVE_SEQUENCE](#SETUP_MOVE_SEQUENCE) - [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE) - [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN) +- [SKIP_BUFFER_REMOVAL](#SKIP_BUFFER_REMOVAL) - [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP) - [SKIP_CTS_REPAIR_TIMING](#SKIP_CTS_REPAIR_TIMING) - [SKIP_GATE_CLONING](#SKIP_GATE_CLONING) @@ -525,6 +528,7 @@ configuration file. - [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN) - [SKIP_ANTENNA_REPAIR](#SKIP_ANTENNA_REPAIR) - [SKIP_ANTENNA_REPAIR_PRE_GRT](#SKIP_ANTENNA_REPAIR_PRE_GRT) +- [SKIP_BUFFER_REMOVAL](#SKIP_BUFFER_REMOVAL) - [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP) - [SKIP_GATE_CLONING](#SKIP_GATE_CLONING) - [SKIP_INCREMENTAL_REPAIR](#SKIP_INCREMENTAL_REPAIR) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index d378e631d1..1af3f2f4f8 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -765,6 +765,14 @@ SKIP_LAST_GASP: - cts - floorplan - grt +SKIP_BUFFER_REMOVAL: + description: > + Passed as -skip_buffer_removal to repair_timing. Do not remove buffers + as a transform to fix timing violations (default: allow buffer removal). + stages: + - cts + - floorplan + - grt SKIP_PIN_SWAP: description: > Do not use pin swapping as a transform to fix timing violations (default: From 33a983a083cbb981d980300b83faa84141962264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:05 +0200 Subject: [PATCH 06/25] Add VIA_IN_PIN_MIN_LAYER to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 3 +++ flow/scripts/variables.yaml | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 2e18a47b2c..21e177e38d 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -315,6 +315,7 @@ configuration file. | VERILOG_FILES| The path to the design Verilog/SystemVerilog files providing a description of modules.| | | VERILOG_INCLUDE_DIRS| Specifies the include directories for the Verilog input files.| | | VERILOG_TOP_PARAMS| Apply toplevel params (if exist). Passed in as a list of key value pairs in tcl syntax; separated by spaces: PARAM1 VALUE1 PARAM2 VALUE2| | +| VIA_IN_PIN_MIN_LAYER| Passed as -via_in_pin_bottom_layer to pin_access and detailed_route.| | | WRITE_ODB_AND_SDC_EACH_STAGE| Save out .sdc and .odb file after each stage, useful to disable when using a single OpenROAD instance to run all stages of the flow.| 1| | YOSYS_FLAGS| Flags to pass to yosys.| -v 3| ## synth variables @@ -537,6 +538,7 @@ configuration file. - [SKIP_REPORT_METRICS](#SKIP_REPORT_METRICS) - [SKIP_VT_SWAP](#SKIP_VT_SWAP) - [TNS_END_PERCENT](#TNS_END_PERCENT) +- [VIA_IN_PIN_MIN_LAYER](#VIA_IN_PIN_MIN_LAYER) ## route variables @@ -556,6 +558,7 @@ configuration file. - [SKIP_ANTENNA_REPAIR_POST_DRT](#SKIP_ANTENNA_REPAIR_POST_DRT) - [SKIP_DETAILED_ROUTE](#SKIP_DETAILED_ROUTE) - [SKIP_REPORT_METRICS](#SKIP_REPORT_METRICS) +- [VIA_IN_PIN_MIN_LAYER](#VIA_IN_PIN_MIN_LAYER) ## final variables diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index 1af3f2f4f8..0075b5c2f8 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -828,6 +828,12 @@ MAX_ROUTING_LAYER: - grt - route - final +VIA_IN_PIN_MIN_LAYER: + description: > + Passed as -via_in_pin_bottom_layer to pin_access and detailed_route. + stages: + - grt + - route DETAILED_ROUTE_ARGS: description: | Add additional arguments for debugging purposes during detail route. From 0bb21d22a45583784c674cf0a40b9a21bfad3f34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:05 +0200 Subject: [PATCH 07/25] Add VIA_IN_PIN_MAX_LAYER to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 3 +++ flow/scripts/variables.yaml | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 21e177e38d..fc252fe9a9 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -315,6 +315,7 @@ configuration file. | VERILOG_FILES| The path to the design Verilog/SystemVerilog files providing a description of modules.| | | VERILOG_INCLUDE_DIRS| Specifies the include directories for the Verilog input files.| | | VERILOG_TOP_PARAMS| Apply toplevel params (if exist). Passed in as a list of key value pairs in tcl syntax; separated by spaces: PARAM1 VALUE1 PARAM2 VALUE2| | +| VIA_IN_PIN_MAX_LAYER| Passed as -via_in_pin_top_layer to pin_access and detailed_route.| | | VIA_IN_PIN_MIN_LAYER| Passed as -via_in_pin_bottom_layer to pin_access and detailed_route.| | | WRITE_ODB_AND_SDC_EACH_STAGE| Save out .sdc and .odb file after each stage, useful to disable when using a single OpenROAD instance to run all stages of the flow.| 1| | YOSYS_FLAGS| Flags to pass to yosys.| -v 3| @@ -538,6 +539,7 @@ configuration file. - [SKIP_REPORT_METRICS](#SKIP_REPORT_METRICS) - [SKIP_VT_SWAP](#SKIP_VT_SWAP) - [TNS_END_PERCENT](#TNS_END_PERCENT) +- [VIA_IN_PIN_MAX_LAYER](#VIA_IN_PIN_MAX_LAYER) - [VIA_IN_PIN_MIN_LAYER](#VIA_IN_PIN_MIN_LAYER) ## route variables @@ -558,6 +560,7 @@ configuration file. - [SKIP_ANTENNA_REPAIR_POST_DRT](#SKIP_ANTENNA_REPAIR_POST_DRT) - [SKIP_DETAILED_ROUTE](#SKIP_DETAILED_ROUTE) - [SKIP_REPORT_METRICS](#SKIP_REPORT_METRICS) +- [VIA_IN_PIN_MAX_LAYER](#VIA_IN_PIN_MAX_LAYER) - [VIA_IN_PIN_MIN_LAYER](#VIA_IN_PIN_MIN_LAYER) ## final variables diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index 0075b5c2f8..fea21558a2 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -834,6 +834,12 @@ VIA_IN_PIN_MIN_LAYER: stages: - grt - route +VIA_IN_PIN_MAX_LAYER: + description: > + Passed as -via_in_pin_top_layer to pin_access and detailed_route. + stages: + - grt + - route DETAILED_ROUTE_ARGS: description: | Add additional arguments for debugging purposes during detail route. From 9f0ba99849c2c32cafa22bb50be35e49d6488277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:05 +0200 Subject: [PATCH 08/25] Add DISABLE_VIA_GEN to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index fc252fe9a9..e216cf0b25 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -134,6 +134,7 @@ configuration file. | DFF_LIB_FILES| Technology mapping liberty files for flip-flops.| | | DFF_MAP_FILE| Optional mapping file supplied to Yosys to map D flip-flops| | | DIE_AREA| The die area specified as a list of lower-left and upper-right corners in microns (X1 Y1 X2 Y2).| | +| DISABLE_VIA_GEN| Passed as -disable_via_gen to detailed_route.| | | DONT_BUFFER_PORTS| Do not buffer input/output ports during floorplanning.| 0| | DONT_USE_CELLS| Dont use cells eases pin access in detailed routing.| | | DPO_MAX_DISPLACEMENT| Specifies how far an instance can be moved when optimizing.| 5 1| @@ -546,6 +547,7 @@ configuration file. - [DETAILED_ROUTE_ARGS](#DETAILED_ROUTE_ARGS) - [DETAILED_ROUTE_END_ITERATION](#DETAILED_ROUTE_END_ITERATION) +- [DISABLE_VIA_GEN](#DISABLE_VIA_GEN) - [FILL_CELLS](#FILL_CELLS) - [MATCH_CELL_FOOTPRINT](#MATCH_CELL_FOOTPRINT) - [MAX_REPAIR_ANTENNAS_ITER_DRT](#MAX_REPAIR_ANTENNAS_ITER_DRT) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index fea21558a2..09adfbc0ee 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -845,6 +845,11 @@ DETAILED_ROUTE_ARGS: Add additional arguments for debugging purposes during detail route. stages: - route +DISABLE_VIA_GEN: + description: > + Passed as -disable_via_gen to detailed_route. + stages: + - route MACRO_EXTENSION: description: | Sets the number of GCells added to the blockages boundaries from macros. From 46ed1b83898e45637e5b198b0444fa0a4701e14b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:05 +0200 Subject: [PATCH 09/25] Add OR_K to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index e216cf0b25..4500f56971 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -187,6 +187,7 @@ configuration file. | MIN_ROUTING_LAYER| The lowest metal layer name to be used in routing.| | | NUM_CORES| Passed to `openroad -threads $(NUM_CORES)`, defaults to numbers of cores in system as determined by system specific code in Makefile, `nproc` is tried first. OpenROAD does not limit itself to this number of cores across OpenROAD running instances, which can lead to overprovisioning in contexts such as bazel-orfs where there could be many routing, or place jobs running at the same time.| | | OPENROAD_HIERARCHICAL| Feature toggle to enable to run OpenROAD in hierarchical mode, otherwise considered flat. Will eventually be the default and this option will be retired.| 0| +| OR_K| Passed as -or_k to detailed routing.| | | PDN_TCL| File path which has a set of power grid policies used by pdn to be applied to the design, such as layers to use, stripe width and spacing to generate the actual metal straps.| | | PLACE_DENSITY| The desired average placement density of cells: 1.0 = dense, 0.0 = widely spread. The intended effort is also communicated by this parameter. Use a low value for faster builds and higher value for better quality of results. If a too low value is used, the placer will not be able to place all cells and a recommended minimum placement density can be found in the logs. A too high value can lead to excessive runtimes, even timeouts and subtle failures in the flow after placement, such as in CTS or global routing when timing repair fails. The default is platform specific.| | | PLACE_DENSITY_LB_ADDON| Check the lower boundary of the PLACE_DENSITY and add PLACE_DENSITY_LB_ADDON if it exists.| | @@ -553,6 +554,7 @@ configuration file. - [MAX_REPAIR_ANTENNAS_ITER_DRT](#MAX_REPAIR_ANTENNAS_ITER_DRT) - [MAX_ROUTING_LAYER](#MAX_ROUTING_LAYER) - [MIN_ROUTING_LAYER](#MIN_ROUTING_LAYER) +- [OR_K](#OR_K) - [POST_DETAIL_ROUTE_TCL](#POST_DETAIL_ROUTE_TCL) - [POST_FILLCELL_TCL](#POST_FILLCELL_TCL) - [PRE_DETAIL_ROUTE_TCL](#PRE_DETAIL_ROUTE_TCL) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index 09adfbc0ee..e90d590433 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -859,6 +859,11 @@ DETAILED_ROUTE_END_ITERATION: default: 64 stages: - route +OR_K: + description: > + Passed as -or_k to detailed routing. + stages: + - route RCX_RULES: description: | RC Extraction rules file path. From 49693cb51925421ec1befdc508086902abe6c359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:05 +0200 Subject: [PATCH 10/25] Add OR_SEED to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 4500f56971..d4cf76076d 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -188,6 +188,7 @@ configuration file. | NUM_CORES| Passed to `openroad -threads $(NUM_CORES)`, defaults to numbers of cores in system as determined by system specific code in Makefile, `nproc` is tried first. OpenROAD does not limit itself to this number of cores across OpenROAD running instances, which can lead to overprovisioning in contexts such as bazel-orfs where there could be many routing, or place jobs running at the same time.| | | OPENROAD_HIERARCHICAL| Feature toggle to enable to run OpenROAD in hierarchical mode, otherwise considered flat. Will eventually be the default and this option will be retired.| 0| | OR_K| Passed as -or_k to detailed routing.| | +| OR_SEED| Passed as -or_seed to detailed routing.| | | PDN_TCL| File path which has a set of power grid policies used by pdn to be applied to the design, such as layers to use, stripe width and spacing to generate the actual metal straps.| | | PLACE_DENSITY| The desired average placement density of cells: 1.0 = dense, 0.0 = widely spread. The intended effort is also communicated by this parameter. Use a low value for faster builds and higher value for better quality of results. If a too low value is used, the placer will not be able to place all cells and a recommended minimum placement density can be found in the logs. A too high value can lead to excessive runtimes, even timeouts and subtle failures in the flow after placement, such as in CTS or global routing when timing repair fails. The default is platform specific.| | | PLACE_DENSITY_LB_ADDON| Check the lower boundary of the PLACE_DENSITY and add PLACE_DENSITY_LB_ADDON if it exists.| | @@ -555,6 +556,7 @@ configuration file. - [MAX_ROUTING_LAYER](#MAX_ROUTING_LAYER) - [MIN_ROUTING_LAYER](#MIN_ROUTING_LAYER) - [OR_K](#OR_K) +- [OR_SEED](#OR_SEED) - [POST_DETAIL_ROUTE_TCL](#POST_DETAIL_ROUTE_TCL) - [POST_FILLCELL_TCL](#POST_FILLCELL_TCL) - [PRE_DETAIL_ROUTE_TCL](#PRE_DETAIL_ROUTE_TCL) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index e90d590433..d3b9cffe50 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -864,6 +864,11 @@ OR_K: Passed as -or_k to detailed routing. stages: - route +OR_SEED: + description: > + Passed as -or_seed to detailed routing. + stages: + - route RCX_RULES: description: | RC Extraction rules file path. From 8d2d09daf9b6fe7c07655b8bd0bb507c321bd7e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:05 +0200 Subject: [PATCH 11/25] Add DFF_LIB_FILE to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index d4cf76076d..faa860c0d0 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -131,6 +131,7 @@ configuration file. | DETAILED_ROUTE_ARGS| Add additional arguments for debugging purposes during detail route.| | | DETAILED_ROUTE_END_ITERATION| Maximum number of iterations.| 64| | DETAIL_PLACEMENT_ARGS| Specify arguments to the detailed_placement call during placement.| | +| DFF_LIB_FILE| Single Liberty file for flip-flop technology mapping (dfflibmap) during synthesis. Takes precedence over DFF_MAP_FILE when set.| | | DFF_LIB_FILES| Technology mapping liberty files for flip-flops.| | | DFF_MAP_FILE| Optional mapping file supplied to Yosys to map D flip-flops| | | DIE_AREA| The die area specified as a list of lower-left and upper-right corners in microns (X1 Y1 X2 Y2).| | @@ -330,6 +331,7 @@ configuration file. - [ABC_LOAD_IN_FF](#ABC_LOAD_IN_FF) - [ADDER_MAP_FILE](#ADDER_MAP_FILE) - [CLKGATE_MAP_FILE](#CLKGATE_MAP_FILE) +- [DFF_LIB_FILE](#DFF_LIB_FILE) - [DFF_MAP_FILE](#DFF_MAP_FILE) - [LATCH_MAP_FILE](#LATCH_MAP_FILE) - [MIN_BUF_CELL_AND_PORTS](#MIN_BUF_CELL_AND_PORTS) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index d3b9cffe50..f265f482af 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -971,6 +971,12 @@ CDL_FILES: DFF_LIB_FILES: description: | Technology mapping liberty files for flip-flops. +DFF_LIB_FILE: + description: > + Single Liberty file for flip-flop technology mapping (dfflibmap) during + synthesis. Takes precedence over DFF_MAP_FILE when set. + stages: + - synth SYNTH_KEEP_MODULES: description: | Mark modules to keep from getting removed in flattening. From 4d01dd2581532422d1dfd9c382a3a79b5c577dce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:05 +0200 Subject: [PATCH 12/25] Add SYNTH_KEPT_MODULES to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index faa860c0d0..5e39484d20 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -295,6 +295,7 @@ configuration file. | SYNTH_INSBUF| Insert input buffers on top-level input ports during synthesis. Useful to disable when doing parallel synthesis and concatenating netlists later as we're generating netlists of submodules.| 1| | SYNTH_KEEP_MOCKED_MEMORIES| When `SYNTH_MOCK_LARGE_MEMORIES=1`, setting this to 1, will keep mocked memories (not flattening them). This preserves some of the access logic complexity and avoids optimizations outside of the mocked memory.| 1| | SYNTH_KEEP_MODULES| Mark modules to keep from getting removed in flattening.| | +| SYNTH_KEPT_MODULES| Space-separated list of modules to keep as separate hierarchies during synthesis. Unlike the automatic size-based discovery (SYNTH_MINIMUM_KEEP_SIZE), the list of kept modules is known statically, which enables build systems to synthesize them in parallel.| | | SYNTH_MEMORY_MAX_BITS| Maximum number of bits for memory synthesis. Ideally, real RAM or realistic fakeram should be used for RAMs much larger than 1024 bits. To temporarily ignore the RAM concerns and investigate other aspects of the design, consider setting `SYNTH_MOCK_LARGE_MEMORIES=1`, or adjusting `SYNTH_MEMORY_MAX_BITS`.| 4096| | SYNTH_MINIMUM_KEEP_SIZE| For hierarchical synthesis, we keep modules of larger area than given by this variable and flatten smaller modules. The area unit used is the size of a basic nand2 gate from the platform's standard cell library. The default value is platform specific.| 0| | SYNTH_MOCK_LARGE_MEMORIES| Reduce Yosys inferred memories larger than SYNTH_MEMORY_MAX_BITS to 1 row. Yosys will generally infer memories from behavioral Verilog code, whether the memories are in standalone modules or instantiated within some larger module. fakeram and empty Verilog memories(blackboxes) of memories will not be inferred memories by Yosys and are therefore not affected by this variable. This is useful and convenient to separate the concern of instantiating and placing memories from investigating other issues with a design, though it comes at the expense of the increased accuracy that using realistic fakemem would provide. Memories with a single 1 row will of course have unrealistically good timing and area characteristics, but timing will still correctly terminate in a register. Large port memories, typically register files, will still have the retain a lot of the port logic that can be useful to investigate issues. This can be especially useful during development of designs where the behavioral model comes first and suitable memories are matched up when the design RTL is stable. A typical use case would be Chisel which will generate a behavioral model for a memories with the required clocks, ports, etc. in addition to a computer readable file with the specification of the memories that is used to [automatically](https://chipyard.readthedocs.io/en/stable/Tools/Barstools.html/) match up suitable memory macros later in the flow. During an architectural screening study, a large range of memory configurations can be investigated quickly with this option, without getting bogged down in the concern of how to realize the memories in silicon for emphemral RTL configurations that exist only long enough to run through the ORFS flow to create a table of some characteristics of a design configuration.| 0| @@ -350,6 +351,7 @@ configuration file. - [SYNTH_INSBUF](#SYNTH_INSBUF) - [SYNTH_KEEP_MOCKED_MEMORIES](#SYNTH_KEEP_MOCKED_MEMORIES) - [SYNTH_KEEP_MODULES](#SYNTH_KEEP_MODULES) +- [SYNTH_KEPT_MODULES](#SYNTH_KEPT_MODULES) - [SYNTH_MEMORY_MAX_BITS](#SYNTH_MEMORY_MAX_BITS) - [SYNTH_MINIMUM_KEEP_SIZE](#SYNTH_MINIMUM_KEEP_SIZE) - [SYNTH_MOCK_LARGE_MEMORIES](#SYNTH_MOCK_LARGE_MEMORIES) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index f265f482af..6f1731179a 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -982,6 +982,14 @@ SYNTH_KEEP_MODULES: Mark modules to keep from getting removed in flattening. stages: - synth +SYNTH_KEPT_MODULES: + description: > + Space-separated list of modules to keep as separate hierarchies during + synthesis. Unlike the automatic size-based discovery + (SYNTH_MINIMUM_KEEP_SIZE), the list of kept modules is known statically, + which enables build systems to synthesize them in parallel. + stages: + - synth SYNTH_ARGS: description: | Optional synthesis variables for yosys. From 641d80c7c650b19b4c398acee356279eef74c23d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:06 +0200 Subject: [PATCH 13/25] Add SYNTH_OPERATIONS_ARGS to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 5e39484d20..229137b11f 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -300,6 +300,7 @@ configuration file. | SYNTH_MINIMUM_KEEP_SIZE| For hierarchical synthesis, we keep modules of larger area than given by this variable and flatten smaller modules. The area unit used is the size of a basic nand2 gate from the platform's standard cell library. The default value is platform specific.| 0| | SYNTH_MOCK_LARGE_MEMORIES| Reduce Yosys inferred memories larger than SYNTH_MEMORY_MAX_BITS to 1 row. Yosys will generally infer memories from behavioral Verilog code, whether the memories are in standalone modules or instantiated within some larger module. fakeram and empty Verilog memories(blackboxes) of memories will not be inferred memories by Yosys and are therefore not affected by this variable. This is useful and convenient to separate the concern of instantiating and placing memories from investigating other issues with a design, though it comes at the expense of the increased accuracy that using realistic fakemem would provide. Memories with a single 1 row will of course have unrealistically good timing and area characteristics, but timing will still correctly terminate in a register. Large port memories, typically register files, will still have the retain a lot of the port logic that can be useful to investigate issues. This can be especially useful during development of designs where the behavioral model comes first and suitable memories are matched up when the design RTL is stable. A typical use case would be Chisel which will generate a behavioral model for a memories with the required clocks, ports, etc. in addition to a computer readable file with the specification of the memories that is used to [automatically](https://chipyard.readthedocs.io/en/stable/Tools/Barstools.html/) match up suitable memory macros later in the flow. During an architectural screening study, a large range of memory configurations can be investigated quickly with this option, without getting bogged down in the concern of how to realize the memories in silicon for emphemral RTL configurations that exist only long enough to run through the ORFS flow to create a table of some characteristics of a design configuration.| 0| | SYNTH_NETLIST_FILES| Skips synthesis and uses the supplied netlist files. If the netlist files contains duplicate modules, which can happen when using hierarchical synthesis on indvidual netlist files and combining here, subsequent modules are silently ignored and only the first module is used.| | +| SYNTH_OPERATIONS_ARGS| Extra arguments appended to the Yosys synth command operations list. When set, replaces the default Kogge-Stone adder extra-map.| | | SYNTH_OPT_HIER| Optimize constants across hierarchical boundaries.| | | SYNTH_REPEATABLE_BUILD| License to prune anything that makes builds less repeatable, typically used with Bazel to ensure that builds are bit-for-bit identical so that caching works optimally. Removes debug information that encodes paths, timestamps, etc.| 0| | SYNTH_RETIME_MODULES| *This is an experimental option and may cause adverse effects.* *No effort has been made to check if the retimed RTL is logically equivalent to the non-retimed RTL.* List of modules to apply automatic retiming to. These modules must not get dissolved and as such they should either be the top module or be included in SYNTH_KEEP_MODULES. The main use case is to quickly identify if performance can be improved by manually retiming the input RTL. Retiming will treat module ports like register endpoints/startpoints. The objective function of retiming isn't informed by SDC, even the clock period is ignored. As such, retiming will optimize for best delay at potentially high register number cost. Automatic retiming can produce suboptimal results as its timing model is crude and it doesn't find the optimal distribution of registers on long pipelines. See OR discussion #8080.| | @@ -356,6 +357,7 @@ configuration file. - [SYNTH_MINIMUM_KEEP_SIZE](#SYNTH_MINIMUM_KEEP_SIZE) - [SYNTH_MOCK_LARGE_MEMORIES](#SYNTH_MOCK_LARGE_MEMORIES) - [SYNTH_NETLIST_FILES](#SYNTH_NETLIST_FILES) +- [SYNTH_OPERATIONS_ARGS](#SYNTH_OPERATIONS_ARGS) - [SYNTH_OPT_HIER](#SYNTH_OPT_HIER) - [SYNTH_REPEATABLE_BUILD](#SYNTH_REPEATABLE_BUILD) - [SYNTH_RETIME_MODULES](#SYNTH_RETIME_MODULES) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index 6f1731179a..9c2e565fcc 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -995,6 +995,12 @@ SYNTH_ARGS: Optional synthesis variables for yosys. stages: - synth +SYNTH_OPERATIONS_ARGS: + description: > + Extra arguments appended to the Yosys synth command operations list. + When set, replaces the default Kogge-Stone adder extra-map. + stages: + - synth SYNTH_HIER_SEPARATOR: description: | Separator used for the synthesis flatten stage. From e0f5a56bdce8a104274286b1f296d702dddf5730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:06 +0200 Subject: [PATCH 14/25] Add CTS_BUF_CELL to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 229137b11f..4900ecc007 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -118,6 +118,7 @@ configuration file. | CORNER| PVT corner library selection. Only available for ASAP7 and GF180 PDKs.| | | CORNERS| List of timing corner names for multi-corner analysis (e.g. "slow fast"). When set, liberty files are loaded per corner using [CORNER]_LIB_FILES environment variables and timing models are generated per corner.| | | CTS_ARGS| Override `clock_tree_synthesis` arguments.| | +| CTS_BUF_CELL| Single cell name for clock tree buffer insertion.| | | CTS_BUF_DISTANCE| Distance (in microns) between buffers.| | | CTS_BUF_LIST| List of cells used to construct the clock tree. Overrides buffer inference.| | | CTS_CLUSTER_DIAMETER| Maximum diameter (in microns) of sink cluster.| | @@ -492,6 +493,7 @@ configuration file. - [CELL_PAD_IN_SITES_DETAIL_PLACEMENT](#CELL_PAD_IN_SITES_DETAIL_PLACEMENT) - [CTS_ARGS](#CTS_ARGS) +- [CTS_BUF_CELL](#CTS_BUF_CELL) - [CTS_BUF_DISTANCE](#CTS_BUF_DISTANCE) - [CTS_BUF_LIST](#CTS_BUF_LIST) - [CTS_CLUSTER_DIAMETER](#CTS_CLUSTER_DIAMETER) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index 9c2e565fcc..f524f34891 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -1080,6 +1080,11 @@ CTS_BUF_LIST: List of cells used to construct the clock tree. Overrides buffer inference. stages: - cts +CTS_BUF_CELL: + description: | + Single cell name for clock tree buffer insertion. + stages: + - cts CLUSTER_FLOPS: description: > Minimum number of flip-flops per sink cluster. From 9cfb0924a8a2f474da84f97e59a1cea0e489a585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:06 +0200 Subject: [PATCH 15/25] Add CLUSTER_FLOPS_ARGS to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 4900ecc007..e8877b1948 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -111,6 +111,7 @@ configuration file. | CELL_PAD_IN_SITES_GLOBAL_PLACEMENT| Cell padding on both sides in site widths to ease routability during global placement.| 0| | CLKGATE_MAP_FILE| Optional mapping file supplied to Yosys to map clock gating cells| | | CLUSTER_FLOPS| Minimum number of flip-flops per sink cluster.| 0| +| CLUSTER_FLOPS_ARGS| Additional arguments passed to the cluster_flops command. Only used when CLUSTER_FLOPS is set.| | | CORE_AREA| The core area specified as a list of lower-left and upper-right corners in microns (X1 Y1 X2 Y2).| | | CORE_ASPECT_RATIO| The core aspect ratio (height / width). This variable is only used when `CORE_UTILIZATION` is set.| 1.0| | CORE_MARGIN| The margin between the core area and die area, specified in microns. Allowed values are either one value for all margins or a set of four values, one for each margin. The order of the four values are: `{bottom top left right}`. This variable is only used when `CORE_UTILIZATION` is set.| 1.0| @@ -454,6 +455,7 @@ configuration file. - [CELL_PAD_IN_SITES_DETAIL_PLACEMENT](#CELL_PAD_IN_SITES_DETAIL_PLACEMENT) - [CELL_PAD_IN_SITES_GLOBAL_PLACEMENT](#CELL_PAD_IN_SITES_GLOBAL_PLACEMENT) - [CLUSTER_FLOPS](#CLUSTER_FLOPS) +- [CLUSTER_FLOPS_ARGS](#CLUSTER_FLOPS_ARGS) - [DETAIL_PLACEMENT_ARGS](#DETAIL_PLACEMENT_ARGS) - [DONT_BUFFER_PORTS](#DONT_BUFFER_PORTS) - [EARLY_SIZING_CAP_RATIO](#EARLY_SIZING_CAP_RATIO) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index f524f34891..6d8d93f54c 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -1091,6 +1091,12 @@ CLUSTER_FLOPS: stages: - place default: 0 +CLUSTER_FLOPS_ARGS: + description: > + Additional arguments passed to the cluster_flops command. + Only used when CLUSTER_FLOPS is set. + stages: + - place CTS_CLUSTER_DIAMETER: description: > Maximum diameter (in microns) of sink cluster. From 6d3056ff120d54f5fd83162de6e4776ebf5ef9f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:06 +0200 Subject: [PATCH 16/25] Add ENABLE_RESISTANCE_AWARE to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index e8877b1948..85b5c81570 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -143,6 +143,7 @@ configuration file. | DPO_MAX_DISPLACEMENT| Specifies how far an instance can be moved when optimizing.| 5 1| | EARLY_SIZING_CAP_RATIO| Ratio between the input pin capacitance and the output pin load during initial gate sizing.| | | ENABLE_DPO| Enable detail placement with improve_placement feature.| 1| +| ENABLE_RESISTANCE_AWARE| Passed as -resistance_aware to global_route.| | | FASTROUTE_TCL| Specifies a Tcl script with commands to run before FastRoute.| | | FILL_CELLS| Fill cells are used to fill empty sites. If not set or empty, fill cell insertion is skipped.| | | FILL_CONFIG| JSON rule file for metal fill during chip finishing.| | @@ -528,6 +529,7 @@ configuration file. - [CELL_PAD_IN_SITES_DETAIL_PLACEMENT](#CELL_PAD_IN_SITES_DETAIL_PLACEMENT) - [DETAILED_METRICS](#DETAILED_METRICS) +- [ENABLE_RESISTANCE_AWARE](#ENABLE_RESISTANCE_AWARE) - [GLOBAL_ROUTE_ARGS](#GLOBAL_ROUTE_ARGS) - [HOLD_SLACK_MARGIN](#HOLD_SLACK_MARGIN) - [MAX_REPAIR_ANTENNAS_ITER_GRT](#MAX_REPAIR_ANTENNAS_ITER_GRT) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index 6d8d93f54c..e1eee17546 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -1312,6 +1312,11 @@ GLOBAL_ROUTE_ARGS: stages: - grt default: -congestion_iterations 30 -congestion_report_iter_step 5 -verbose +ENABLE_RESISTANCE_AWARE: + description: > + Passed as -resistance_aware to global_route. + stages: + - grt MATCH_CELL_FOOTPRINT: description: > Enforce sizing operations to only swap cells that have the same layout From d3c36587a17df7ac9a93d143392889539ee1f9b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:06 +0200 Subject: [PATCH 17/25] Add LEC_AUX_VERILOG_FILES to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 85b5c81570..b644375957 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -170,6 +170,7 @@ configuration file. | KLAYOUT_TECH_FILE| A mapping from LEF/DEF to GDS using the KLayout tool.| | | LATCH_MAP_FILE| Optional mapping file supplied to Yosys to map latches| | | LAYER_PARASITICS_FILE| Path to per layer parasitics file. Defaults to $(PLATFORM_DIR)/setRC.tcl.| | +| LEC_AUX_VERILOG_FILES| Additional Verilog files (e.g. blackbox stubs) to include in LEC equivalence checks. Appended to the generated Verilog netlist before running the formal equivalence check.| | | LEC_CHECK| Perform a formal equivalence check between before and after netlists. If this fails, report an issue to OpenROAD.| 0| | LIB_FILES| A Liberty file of the standard cell library with PVT characterization, input and output characteristics, timing and power definitions for each cell.| | | MACRO_BLOCKAGE_HALO| Distance beyond the edges of a macro that will also be covered by the blockage generated for that macro. Note that the default macro blockage halo comes from the largest of the specified MACRO_PLACE_HALO x or y values. This variable overrides that calculation.| | @@ -506,6 +507,7 @@ configuration file. - [CTS_SNAPSHOTS](#CTS_SNAPSHOTS) - [DETAILED_METRICS](#DETAILED_METRICS) - [HOLD_SLACK_MARGIN](#HOLD_SLACK_MARGIN) +- [LEC_AUX_VERILOG_FILES](#LEC_AUX_VERILOG_FILES) - [LEC_CHECK](#LEC_CHECK) - [MATCH_CELL_FOOTPRINT](#MATCH_CELL_FOOTPRINT) - [MAX_REPAIR_TIMING_ITER](#MAX_REPAIR_TIMING_ITER) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index e1eee17546..64d458582a 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -1567,6 +1567,13 @@ LEC_CHECK: default: 0 stages: - cts +LEC_AUX_VERILOG_FILES: + description: > + Additional Verilog files (e.g. blackbox stubs) to include in LEC + equivalence checks. Appended to the generated Verilog netlist before + running the formal equivalence check. + stages: + - cts REMOVE_CELLS_FOR_LEC: description: > String patterns directly passed to write_verilog -remove_cells <> for From 2365a89293b7e95675a42e3b9c68d1025a1ce017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:06 +0200 Subject: [PATCH 18/25] Add CACHED_REPORTS to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index b644375957..606c716e83 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -105,6 +105,7 @@ configuration file. | BALANCE_ROWS| Balance rows during placement.| 0| | BLOCKS| Blocks used as hard macros in a hierarchical flow. Do note that you have to specify block-specific inputs file in the directory mentioned by Makefile.| | | BUFFER_PORTS_ARGS| Specify arguments to the buffer_ports call during placement. Only used if DONT_BUFFER_PORTS=0.| | +| CACHED_REPORTS| List of pre-existing report files to copy into the reports directory before synthesis. Used when reusing prior synthesis results with SYNTH_NETLIST_FILES.| | | CAP_MARGIN| Specifies a capacitance margin when fixing max capacitance violations. This option allows you to overfix.| | | CDL_FILES| Insert additional Circuit Description Language (`.cdl`) netlist files.| | | CELL_PAD_IN_SITES_DETAIL_PLACEMENT| Cell padding on both sides in site widths to ease routability in detail placement.| 0| @@ -336,6 +337,7 @@ configuration file. - [ABC_DRIVER_CELL](#ABC_DRIVER_CELL) - [ABC_LOAD_IN_FF](#ABC_LOAD_IN_FF) - [ADDER_MAP_FILE](#ADDER_MAP_FILE) +- [CACHED_REPORTS](#CACHED_REPORTS) - [CLKGATE_MAP_FILE](#CLKGATE_MAP_FILE) - [DFF_LIB_FILE](#DFF_LIB_FILE) - [DFF_MAP_FILE](#DFF_MAP_FILE) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index 64d458582a..b0295d7a1f 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -1586,3 +1586,10 @@ ASAP7_USE_VT: stages: - All stages default: RVT +CACHED_REPORTS: + description: > + List of pre-existing report files to copy into the reports directory + before synthesis. Used when reusing prior synthesis results with + SYNTH_NETLIST_FILES. + stages: + - synth From c35aff8345716491570b5cda27e0350fed45fcae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 13 Apr 2026 17:37:06 +0200 Subject: [PATCH 19/25] Add CDL_FILE to variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 ++ flow/scripts/variables.yaml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 606c716e83..16d533ad5f 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -107,6 +107,7 @@ configuration file. | BUFFER_PORTS_ARGS| Specify arguments to the buffer_ports call during placement. Only used if DONT_BUFFER_PORTS=0.| | | CACHED_REPORTS| List of pre-existing report files to copy into the reports directory before synthesis. Used when reusing prior synthesis results with SYNTH_NETLIST_FILES.| | | CAP_MARGIN| Specifies a capacitance margin when fixing max capacitance violations. This option allows you to overfix.| | +| CDL_FILE| CDL master netlist file used as the -masters argument to write_cdl for generating Circuit Description Language output.| | | CDL_FILES| Insert additional Circuit Description Language (`.cdl`) netlist files.| | | CELL_PAD_IN_SITES_DETAIL_PLACEMENT| Cell padding on both sides in site widths to ease routability in detail placement.| 0| | CELL_PAD_IN_SITES_GLOBAL_PLACEMENT| Cell padding on both sides in site widths to ease routability during global placement.| 0| @@ -588,6 +589,7 @@ configuration file. ## final variables - [ADDITIONAL_GDS](#ADDITIONAL_GDS) +- [CDL_FILE](#CDL_FILE) - [GDS_ALLOW_EMPTY](#GDS_ALLOW_EMPTY) - [GND_NETS_VOLTAGES](#GND_NETS_VOLTAGES) - [MAX_ROUTING_LAYER](#MAX_ROUTING_LAYER) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index b0295d7a1f..cb8a62cd9b 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -1593,3 +1593,9 @@ CACHED_REPORTS: SYNTH_NETLIST_FILES. stages: - synth +CDL_FILE: + description: > + CDL master netlist file used as the -masters argument to write_cdl + for generating Circuit Description Language output. + stages: + - final From 5ff048ed7c6a20632036fd509ff9b08162415b35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Tue, 14 Apr 2026 17:47:11 +0200 Subject: [PATCH 20/25] Remove SETUP_REPAIR_SEQUENCE from variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not connected to anything in the codebase. Only SETUP_MOVE_SEQUENCE is used (in util.tcl). Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- flow/scripts/variables.yaml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index cb8a62cd9b..3e8ac87174 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -732,15 +732,6 @@ SETUP_SLACK_MARGIN: - grt default: 0 tunable: 1 -SETUP_REPAIR_SEQUENCE: - description: | - Specifies the sequence of moves to do in repair_timing -setup. This should be a string - of move keywords separated by commas such as the default when not used: - "unbuffer,sizedown,sizeup,swap,buffer,clone,split". - stages: - - cts - - floorplan - - grt SETUP_MOVE_SEQUENCE: description: > Passed as -sequence to repair_timing. This should be a string of move From 259fc8587e328f136811f7973fc1bba29d53f423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Tue, 14 Apr 2026 17:47:24 +0200 Subject: [PATCH 21/25] Remove misnamed DFF_LIB_FILES from variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DFF_LIB_FILES (plural) was never used. The actual variable is DFF_LIB_FILE (singular), used in synth.tcl for dfflibmap. Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- flow/scripts/variables.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index 3e8ac87174..c60c444754 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -959,9 +959,6 @@ BLOCKS: CDL_FILES: description: | Insert additional Circuit Description Language (`.cdl`) netlist files. -DFF_LIB_FILES: - description: | - Technology mapping liberty files for flip-flops. DFF_LIB_FILE: description: > Single Liberty file for flip-flop technology mapping (dfflibmap) during From b3e8c5ba3384a1d0a1e05ff6d4ea4135ad9e0106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Tue, 14 Apr 2026 17:47:37 +0200 Subject: [PATCH 22/25] Remove wrong SYNTH_KEPT_MODULES from variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The actual variable used in synth.tcl is SYNTH_KEEP_MODULES, which is already documented. Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- flow/scripts/variables.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index c60c444754..cd4fe32f9e 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -970,14 +970,6 @@ SYNTH_KEEP_MODULES: Mark modules to keep from getting removed in flattening. stages: - synth -SYNTH_KEPT_MODULES: - description: > - Space-separated list of modules to keep as separate hierarchies during - synthesis. Unlike the automatic size-based discovery - (SYNTH_MINIMUM_KEEP_SIZE), the list of kept modules is known statically, - which enables build systems to synthesize them in parallel. - stages: - - synth SYNTH_ARGS: description: | Optional synthesis variables for yosys. From c9ecd6cf73f99bc5d86f64c2346797c29ba3db50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Tue, 14 Apr 2026 17:47:49 +0200 Subject: [PATCH 23/25] Remove CTS_BUF_CELL from variables.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not used anywhere in the codebase. CTS_BUF_LIST is the variable used in cts.tcl and is already documented. Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- flow/scripts/variables.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index cd4fe32f9e..edd38e46f5 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -1060,11 +1060,6 @@ CTS_BUF_LIST: List of cells used to construct the clock tree. Overrides buffer inference. stages: - cts -CTS_BUF_CELL: - description: | - Single cell name for clock tree buffer insertion. - stages: - - cts CLUSTER_FLOPS: description: > Minimum number of flip-flops per sink cluster. From 5a0b556486d1a05501ba2a5c764d9e68829462d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Tue, 14 Apr 2026 17:48:03 +0200 Subject: [PATCH 24/25] Clarify CORNERS uses uppercase for per-corner LIB_FILES MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit read_liberty.tcl uppercases the corner name via [string toupper], so "slow" maps to SLOW_LIB_FILES. Document this to remove ambiguity. Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- flow/scripts/variables.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index edd38e46f5..f0ade665f5 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -131,8 +131,9 @@ CORNER: CORNERS: description: > List of timing corner names for multi-corner analysis (e.g. "slow fast"). - When set, liberty files are loaded per corner using [CORNER]_LIB_FILES - environment variables and timing models are generated per corner. + When set, liberty files are loaded per corner using uppercase + _LIB_FILES environment variables (e.g. corner "slow" reads + SLOW_LIB_FILES) and timing models are generated per corner. stages: - All stages TECH_LEF: From 5707982cc80578138b5d2a1f948af4333a961606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Tue, 14 Apr 2026 17:50:52 +0200 Subject: [PATCH 25/25] variables: doc update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 16d533ad5f..6bf1d6b7d1 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -112,16 +112,15 @@ configuration file. | CELL_PAD_IN_SITES_DETAIL_PLACEMENT| Cell padding on both sides in site widths to ease routability in detail placement.| 0| | CELL_PAD_IN_SITES_GLOBAL_PLACEMENT| Cell padding on both sides in site widths to ease routability during global placement.| 0| | CLKGATE_MAP_FILE| Optional mapping file supplied to Yosys to map clock gating cells| | -| CLUSTER_FLOPS| Minimum number of flip-flops per sink cluster.| 0| +| CLUSTER_FLOPS| Enable clustering of flip-flops into multi-bit flip-flops, if the platform PDK includes multi-bit flip-flops| 0| | CLUSTER_FLOPS_ARGS| Additional arguments passed to the cluster_flops command. Only used when CLUSTER_FLOPS is set.| | | CORE_AREA| The core area specified as a list of lower-left and upper-right corners in microns (X1 Y1 X2 Y2).| | | CORE_ASPECT_RATIO| The core aspect ratio (height / width). This variable is only used when `CORE_UTILIZATION` is set.| 1.0| | CORE_MARGIN| The margin between the core area and die area, specified in microns. Allowed values are either one value for all margins or a set of four values, one for each margin. The order of the four values are: `{bottom top left right}`. This variable is only used when `CORE_UTILIZATION` is set.| 1.0| | CORE_UTILIZATION| The core utilization percentage (0-100).| | | CORNER| PVT corner library selection. Only available for ASAP7 and GF180 PDKs.| | -| CORNERS| List of timing corner names for multi-corner analysis (e.g. "slow fast"). When set, liberty files are loaded per corner using [CORNER]_LIB_FILES environment variables and timing models are generated per corner.| | +| CORNERS| List of timing corner names for multi-corner analysis (e.g. "slow fast"). When set, liberty files are loaded per corner using uppercase _LIB_FILES environment variables (e.g. corner "slow" reads SLOW_LIB_FILES) and timing models are generated per corner.| | | CTS_ARGS| Override `clock_tree_synthesis` arguments.| | -| CTS_BUF_CELL| Single cell name for clock tree buffer insertion.| | | CTS_BUF_DISTANCE| Distance (in microns) between buffers.| | | CTS_BUF_LIST| List of cells used to construct the clock tree. Overrides buffer inference.| | | CTS_CLUSTER_DIAMETER| Maximum diameter (in microns) of sink cluster.| | @@ -136,7 +135,6 @@ configuration file. | DETAILED_ROUTE_END_ITERATION| Maximum number of iterations.| 64| | DETAIL_PLACEMENT_ARGS| Specify arguments to the detailed_placement call during placement.| | | DFF_LIB_FILE| Single Liberty file for flip-flop technology mapping (dfflibmap) during synthesis. Takes precedence over DFF_MAP_FILE when set.| | -| DFF_LIB_FILES| Technology mapping liberty files for flip-flops.| | | DFF_MAP_FILE| Optional mapping file supplied to Yosys to map D flip-flops| | | DIE_AREA| The die area specified as a list of lower-left and upper-right corners in microns (X1 Y1 X2 Y2).| | | DISABLE_VIA_GEN| Passed as -disable_via_gen to detailed_route.| | @@ -271,7 +269,6 @@ configuration file. | SDC_GUT| Load design and remove all internal logic before doing synthesis. This is useful when creating a mock .lef abstract that has a smaller area than the amount of logic would allow. bazel-orfs uses this to mock SRAMs, for instance.| | | SEAL_GDS| Seal macro to place around the design.| | | SETUP_MOVE_SEQUENCE| Passed as -sequence to repair_timing. This should be a string of move keywords separated by commas.| | -| SETUP_REPAIR_SEQUENCE| Specifies the sequence of moves to do in repair_timing -setup. This should be a string of move keywords separated by commas such as the default when not used: "unbuffer,sizedown,sizeup,swap,buffer,clone,split".| | | SETUP_SLACK_MARGIN| Specifies a time margin for the slack when fixing setup violations. This option allows you to overfix or underfix(negative value, terminate retiming before 0 or positive slack). See HOLD_SLACK_MARGIN for more details.| 0| | SET_RC_TCL| Metal & Via RC definition file path.| | | SKIP_ANTENNA_REPAIR| Skips antenna repair entirely.| 0| @@ -301,7 +298,6 @@ configuration file. | SYNTH_INSBUF| Insert input buffers on top-level input ports during synthesis. Useful to disable when doing parallel synthesis and concatenating netlists later as we're generating netlists of submodules.| 1| | SYNTH_KEEP_MOCKED_MEMORIES| When `SYNTH_MOCK_LARGE_MEMORIES=1`, setting this to 1, will keep mocked memories (not flattening them). This preserves some of the access logic complexity and avoids optimizations outside of the mocked memory.| 1| | SYNTH_KEEP_MODULES| Mark modules to keep from getting removed in flattening.| | -| SYNTH_KEPT_MODULES| Space-separated list of modules to keep as separate hierarchies during synthesis. Unlike the automatic size-based discovery (SYNTH_MINIMUM_KEEP_SIZE), the list of kept modules is known statically, which enables build systems to synthesize them in parallel.| | | SYNTH_MEMORY_MAX_BITS| Maximum number of bits for memory synthesis. Ideally, real RAM or realistic fakeram should be used for RAMs much larger than 1024 bits. To temporarily ignore the RAM concerns and investigate other aspects of the design, consider setting `SYNTH_MOCK_LARGE_MEMORIES=1`, or adjusting `SYNTH_MEMORY_MAX_BITS`.| 4096| | SYNTH_MINIMUM_KEEP_SIZE| For hierarchical synthesis, we keep modules of larger area than given by this variable and flatten smaller modules. The area unit used is the size of a basic nand2 gate from the platform's standard cell library. The default value is platform specific.| 0| | SYNTH_MOCK_LARGE_MEMORIES| Reduce Yosys inferred memories larger than SYNTH_MEMORY_MAX_BITS to 1 row. Yosys will generally infer memories from behavioral Verilog code, whether the memories are in standalone modules or instantiated within some larger module. fakeram and empty Verilog memories(blackboxes) of memories will not be inferred memories by Yosys and are therefore not affected by this variable. This is useful and convenient to separate the concern of instantiating and placing memories from investigating other issues with a design, though it comes at the expense of the increased accuracy that using realistic fakemem would provide. Memories with a single 1 row will of course have unrealistically good timing and area characteristics, but timing will still correctly terminate in a register. Large port memories, typically register files, will still have the retain a lot of the port logic that can be useful to investigate issues. This can be especially useful during development of designs where the behavioral model comes first and suitable memories are matched up when the design RTL is stable. A typical use case would be Chisel which will generate a behavioral model for a memories with the required clocks, ports, etc. in addition to a computer readable file with the specification of the memories that is used to [automatically](https://chipyard.readthedocs.io/en/stable/Tools/Barstools.html/) match up suitable memory macros later in the flow. During an architectural screening study, a large range of memory configurations can be investigated quickly with this option, without getting bogged down in the concern of how to realize the memories in silicon for emphemral RTL configurations that exist only long enough to run through the ORFS flow to create a table of some characteristics of a design configuration.| 0| @@ -359,7 +355,6 @@ configuration file. - [SYNTH_INSBUF](#SYNTH_INSBUF) - [SYNTH_KEEP_MOCKED_MEMORIES](#SYNTH_KEEP_MOCKED_MEMORIES) - [SYNTH_KEEP_MODULES](#SYNTH_KEEP_MODULES) -- [SYNTH_KEPT_MODULES](#SYNTH_KEPT_MODULES) - [SYNTH_MEMORY_MAX_BITS](#SYNTH_MEMORY_MAX_BITS) - [SYNTH_MINIMUM_KEEP_SIZE](#SYNTH_MINIMUM_KEEP_SIZE) - [SYNTH_MOCK_LARGE_MEMORIES](#SYNTH_MOCK_LARGE_MEMORIES) @@ -437,7 +432,6 @@ configuration file. - [RTLMP_RPT_DIR](#RTLMP_RPT_DIR) - [RTLMP_WIRELENGTH_WT](#RTLMP_WIRELENGTH_WT) - [SETUP_MOVE_SEQUENCE](#SETUP_MOVE_SEQUENCE) -- [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE) - [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN) - [SKIP_BUFFER_REMOVAL](#SKIP_BUFFER_REMOVAL) - [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP) @@ -500,7 +494,6 @@ configuration file. - [CELL_PAD_IN_SITES_DETAIL_PLACEMENT](#CELL_PAD_IN_SITES_DETAIL_PLACEMENT) - [CTS_ARGS](#CTS_ARGS) -- [CTS_BUF_CELL](#CTS_BUF_CELL) - [CTS_BUF_DISTANCE](#CTS_BUF_DISTANCE) - [CTS_BUF_LIST](#CTS_BUF_LIST) - [CTS_CLUSTER_DIAMETER](#CTS_CLUSTER_DIAMETER) @@ -518,7 +511,6 @@ configuration file. - [PRE_CTS_TCL](#PRE_CTS_TCL) - [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW) - [SETUP_MOVE_SEQUENCE](#SETUP_MOVE_SEQUENCE) -- [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE) - [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN) - [SKIP_BUFFER_REMOVAL](#SKIP_BUFFER_REMOVAL) - [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP) @@ -546,7 +538,6 @@ configuration file. - [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW) - [ROUTING_LAYER_ADJUSTMENT](#ROUTING_LAYER_ADJUSTMENT) - [SETUP_MOVE_SEQUENCE](#SETUP_MOVE_SEQUENCE) -- [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE) - [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN) - [SKIP_ANTENNA_REPAIR](#SKIP_ANTENNA_REPAIR) - [SKIP_ANTENNA_REPAIR_PRE_GRT](#SKIP_ANTENNA_REPAIR_PRE_GRT) @@ -634,7 +625,6 @@ configuration file. - [CORNER](#CORNER) - [DESIGN_NAME](#DESIGN_NAME) - [DESIGN_NICKNAME](#DESIGN_NICKNAME) -- [DFF_LIB_FILES](#DFF_LIB_FILES) - [DONT_USE_CELLS](#DONT_USE_CELLS) - [DPO_MAX_DISPLACEMENT](#DPO_MAX_DISPLACEMENT) - [ENABLE_DPO](#ENABLE_DPO)