Skip to content

Commit 5d53427

Browse files
committed
add ENABLE_PLACE_REPAIR_TIMING var to enable post-gpl repair_timing
Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
1 parent bd2a6b6 commit 5d53427

4 files changed

Lines changed: 24 additions & 1 deletion

File tree

‎docs/user/FlowVariables.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ configuration file.
143143
| <a name="DPO_MAX_DISPLACEMENT"></a>DPO_MAX_DISPLACEMENT| Specifies how far an instance can be moved when optimizing.| 5 1|
144144
| <a name="EARLY_SIZING_CAP_RATIO"></a>EARLY_SIZING_CAP_RATIO| Ratio between the input pin capacitance and the output pin load during initial gate sizing.| |
145145
| <a name="ENABLE_DPO"></a>ENABLE_DPO| Enable detail placement with improve_placement feature.| 1|
146+
| <a name="ENABLE_PLACE_REPAIR_TIMING"></a>ENABLE_PLACE_REPAIR_TIMING| Run repair_timing during the placement resize stage using placement parasitics. Disabled by default; pre-CTS setup/hold repair is skipped unless this is set to 1.| 0|
146147
| <a name="ENABLE_RESISTANCE_AWARE"></a>ENABLE_RESISTANCE_AWARE| Passed as -resistance_aware to global_route.| |
147148
| <a name="FASTROUTE_TCL"></a>FASTROUTE_TCL| Specifies a Tcl script with commands to run before FastRoute.| |
148149
| <a name="FILL_CELLS"></a>FILL_CELLS| Fill cells are used to fill empty sites. If not set or empty, fill cell insertion is skipped.| |
@@ -465,6 +466,7 @@ configuration file.
465466
- [DETAIL_PLACEMENT_ARGS](#DETAIL_PLACEMENT_ARGS)
466467
- [DONT_BUFFER_PORTS](#DONT_BUFFER_PORTS)
467468
- [EARLY_SIZING_CAP_RATIO](#EARLY_SIZING_CAP_RATIO)
469+
- [ENABLE_PLACE_REPAIR_TIMING](#ENABLE_PLACE_REPAIR_TIMING)
468470
- [FLOORPLAN_DEF](#FLOORPLAN_DEF)
469471
- [GLOBAL_PLACEMENT_ARGS](#GLOBAL_PLACEMENT_ARGS)
470472
- [GPL_KEEP_OVERFLOW](#GPL_KEEP_OVERFLOW)

‎flow/scripts/resize.tcl‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@ if { [env_var_exists_and_non_empty SWAP_ARITH_OPERATORS] } {
2424

2525
repair_design_helper
2626

27-
# hold violations are not repaired until after CTS
27+
if { $::env(ENABLE_PLACE_REPAIR_TIMING) } {
28+
# Repair timing using placement parasitics.
29+
puts "Repair setup and hold violations..."
30+
log_cmd estimate_parasitics -placement
31+
32+
repair_timing_helper
33+
}
2834

2935
# post report
3036

‎flow/scripts/variables.json‎

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎flow/scripts/variables.yaml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,14 @@ SKIP_CTS_REPAIR_TIMING:
816816
stages:
817817
- cts
818818
default: 0
819+
ENABLE_PLACE_REPAIR_TIMING:
820+
description: >
821+
Run repair_timing during the placement resize stage using placement
822+
parasitics. Disabled by default; pre-CTS setup/hold repair is skipped
823+
unless this is set to 1.
824+
stages:
825+
- place
826+
default: 0
819827
SKIP_REPAIR_TIE_FANOUT:
820828
description: >
821829
Skip repair_tie_fanout at floorplan step.

0 commit comments

Comments
 (0)