diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md
index 869364d0bc..4d44b0b25b 100644
--- a/docs/user/FlowVariables.md
+++ b/docs/user/FlowVariables.md
@@ -284,6 +284,7 @@ configuration file.
| 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|
+| SKIP_FLOORPLAN_REPAIR_TIMING| Skipping floorplan repair which sometimes does too much optimization too early.| 0|
| SKIP_GATE_CLONING| Do not use gate cloning transform to fix timing violations (default: use gate cloning).| |
| SKIP_INCREMENTAL_REPAIR| Skip incremental repair in global route.| 0|
| SKIP_LAST_GASP| Do not use last gasp optimization to fix timing violations (default: use gate last gasp).| |
@@ -455,6 +456,7 @@ configuration file.
- [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN)
- [SKIP_BUFFER_REMOVAL](#SKIP_BUFFER_REMOVAL)
- [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP)
+- [SKIP_FLOORPLAN_REPAIR_TIMING](#SKIP_FLOORPLAN_REPAIR_TIMING)
- [SKIP_GATE_CLONING](#SKIP_GATE_CLONING)
- [SKIP_LAST_GASP](#SKIP_LAST_GASP)
- [SKIP_PIN_SWAP](#SKIP_PIN_SWAP)
diff --git a/flow/scripts/floorplan.tcl b/flow/scripts/floorplan.tcl
index bf503963cf..67b5b16564 100644
--- a/flow/scripts/floorplan.tcl
+++ b/flow/scripts/floorplan.tcl
@@ -151,8 +151,10 @@ if { [env_var_equals SWAP_ARITH_OPERATORS 1] } {
log_cmd replace_arith_modules
}
-# Skip clone & split
-repair_timing_helper -setup -skip_last_gasp -sequence "unbuffer,sizeup,swap,vt_swap"
+if { !$::env(SKIP_FLOORPLAN_REPAIR_TIMING) } {
+ # Skip clone & split
+ repair_timing_helper -setup -skip_last_gasp -sequence "unbuffer,sizeup,swap,vt_swap"
+}
puts "Default units for flow"
report_units
diff --git a/flow/scripts/variables.json b/flow/scripts/variables.json
index a9874d4477..cb678fa68e 100644
--- a/flow/scripts/variables.json
+++ b/flow/scripts/variables.json
@@ -1208,6 +1208,13 @@
"final"
]
},
+ "SKIP_FLOORPLAN_REPAIR_TIMING": {
+ "default": 0,
+ "description": "Skipping floorplan repair which sometimes does too much optimization too early.\n",
+ "stages": [
+ "floorplan"
+ ]
+ },
"SKIP_GATE_CLONING": {
"description": "Do not use gate cloning transform to fix timing violations (default: use gate cloning).\n",
"stages": [
diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml
index 86526477c9..62a5bcf355 100644
--- a/flow/scripts/variables.yaml
+++ b/flow/scripts/variables.yaml
@@ -886,6 +886,13 @@ SKIP_CTS_REPAIR_TIMING:
stages:
- cts
default: 0
+SKIP_FLOORPLAN_REPAIR_TIMING:
+ description: >
+ Skipping floorplan repair which sometimes does too much optimization
+ too early.
+ stages:
+ - floorplan
+ default: 0
ENABLE_PLACE_REPAIR_TIMING:
description: >
Run repair_timing during the placement resize stage using placement