Skip to content

gpl: skip incremental no unlocked instances are identified#9650

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

gpl: skip incremental no unlocked instances are identified#9650
eder-matheus merged 4 commits intoThe-OpenROAD-Project:masterfrom
gudeh:gpl-skip-incremental-no-unlocked

Conversation

@gudeh
Copy link
Contributor

@gudeh gudeh commented Mar 5, 2026

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.

Copy link
Contributor

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

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.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

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
Member

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

@gudeh
Copy link
Contributor Author

gudeh commented Mar 5, 2026

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.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

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

@eder-matheus eder-matheus merged commit 138e573 into The-OpenROAD-Project:master Mar 6, 2026
14 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.

3 participants