Skip to content

flow: remove unused MAX_REPAIR_TIMING_ITER variable - #4352

Merged
eder-matheus merged 1 commit into
The-OpenROAD-Project:masterfrom
oharboe:remove-unused-max-repair-timing-iter
Jul 16, 2026
Merged

eder-matheus merged 1 commit into
The-OpenROAD-Project:masterfrom
oharboe:remove-unused-max-repair-timing-iter

Conversation

@oharboe

@oharboe oharboe commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

MAX_REPAIR_TIMING_ITER is declared in flow/scripts/variables.yaml but read
by no flow script. git grep finds it only in variables.yaml, its generated
variables.json twin, and the generated docs/user/FlowVariables.md.

History: it was added in da116e8 and used on the floorplan_to_place target,
but that sole consumer was removed in 547e8c8 ("simplify
floorplan_to_place.tcl"), orphaning the declaration.

A hard repair_timing iteration cap is also the wrong lever going forward — the
adaptive plateau-stop / -effort direction (The-OpenROAD-Project/OpenROAD#10900)
supersedes it. So this removes the dead variable rather than leaving a knob that
does nothing.

variables.json and FlowVariables.md were regenerated with the checked-in
flow/scripts/yaml_to_json.py and flow/scripts/generate-variables-docs.py
(the yaml-test CI job's git diff --exit-code checks pass).

MAX_REPAIR_TIMING_ITER is declared in variables.yaml but read by no flow
script. It was added in da116e8 and used on the floorplan_to_place target,
but that only consumer was dropped in 547e8c8 ("simplify
floorplan_to_place.tcl"), leaving the declaration orphaned — `git grep`
finds it only in variables.yaml, its generated variables.json twin, and the
generated FlowVariables.md.

A hard repair_timing iteration cap is also the wrong lever going forward: the
adaptive plateau-stop / -effort direction (The-OpenROAD-Project/OpenROAD#10900)
supersedes it. Remove the dead variable rather than leave a knob that does
nothing.

variables.json and docs/user/FlowVariables.md regenerated with the checked-in
flow/scripts/yaml_to_json.py and flow/scripts/generate-variables-docs.py.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the MAX_REPAIR_TIMING_ITER variable and its associated documentation from docs/user/FlowVariables.md, flow/scripts/variables.json, and flow/scripts/variables.yaml. There are no review comments, so I have no feedback to provide.

@oharboe
oharboe requested a review from eder-matheus July 14, 2026 10:07
@oharboe

oharboe commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

@eder-matheus I think this is a failure on pr-merge, not pr-head as such.

@oharboe

oharboe commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator Author

@eder-matheus pr-merge green, ready for review. Never mind pr-head.

@oharboe

oharboe commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator Author

@eder-matheus Ping? pr-merge is green...

@eder-matheus
eder-matheus merged commit 8c1d221 into The-OpenROAD-Project:master Jul 16, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants