Skip to content

gpl: skip incremental no unlocked instances are identified - #9650

Merged
eder-matheus merged 4 commits into
The-OpenROAD-Project:masterfrom
gudeh:gpl-skip-incremental-no-unlocked
Mar 6, 2026
Merged

eder-matheus merged 4 commits into
The-OpenROAD-Project:masterfrom
gudeh:gpl-skip-incremental-no-unlocked

Conversation

@gudeh

@gudeh gudeh commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

GPL incremental is currently being run at the end of stage 3-4 (resize.tcl). If it identifies no unplaced instances and the overflow is above 10% it will restart the whole placement, undoing all TD and RD work from stage 3-3 (global_place.tcl). This happens at least with sky130hd/aes.

To avoid this I opted to just skip GPL incremental when no unplaced instances are identified.

@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 changes the behavior of incremental placement when no unlocked instances are available to be placed. Previously, it would unlock all instances and trigger a full Nesterov placement, which could undo previous work. The new behavior is to simply skip the incremental placement step in this scenario. This change is logical and avoids unintended full placement runs. My review includes a suggestion to make the corresponding log message more precise to aid future debugging. This comment aligns with the provided rules.

Comment thread src/gpl/src/replace.cpp Resolved
@github-actions

github-actions Bot commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Signed-off-by: Augusto Berndt <augusto.berndt@precisioninno.com>
@gudeh
gudeh requested a review from maliberty March 5, 2026 20:05
@maliberty

Copy link
Copy Markdown
Member

Does this have an QOR impact (ie secure-CI needed)?

@gudeh

gudeh commented Mar 5, 2026

Copy link
Copy Markdown
Contributor Author

yes, a few designs may fall into this situation. There is an open PR for the metrics: The-OpenROAD-Project/OpenROAD-flow-scripts#3958

I also put it in the queue.

@gudeh gudeh mentioned this pull request Mar 6, 2026
@github-actions

github-actions Bot commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@eder-matheus
eder-matheus merged commit 138e573 into The-OpenROAD-Project:master Mar 6, 2026
11 checks passed
@gudeh
gudeh deleted the gpl-skip-incremental-no-unlocked branch March 11, 2026 15:02
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.

3 participants