[GPL] Add randomized initial placement perturbation in GPL#10642
Draft
calewis wants to merge 1 commit into
Draft
[GPL] Add randomized initial placement perturbation in GPL#10642calewis wants to merge 1 commit into
calewis wants to merge 1 commit into
Conversation
Contributor
|
Note The number of changes in this pull request is too large for Gemini Code Assist to generate a review. |
fbc9177 to
0eddb5e
Compare
maliberty
reviewed
Jun 16, 2026
Comment on lines
+1963
to
+1964
| // microns. We guarantee at least 1 site/row step of shift if perturbation is | ||
| // enabled. |
Member
There was a problem hiding this comment.
Why is that guarantee needed? Global placement doesn't legal the result.
Collaborator
Author
There was a problem hiding this comment.
It's not needed, you want to simplify to something else?
Collaborator
Author
There was a problem hiding this comment.
We could use https://www.boost.org/doc/libs/latest/libs/math/doc/html/math_toolkit/dist_ref/dists/normal_dist.html with a <good value> radius if you'd prefer.
4bad4a2 to
1eba57f
Compare
Signed-off-by: Drew Lewis <cannada@google.com> TAG=agy CONV=0fed8794-10c3-4c6f-bdf2-3dedf6c02c30
1eba57f to
3e05f7b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implemented a randomized initial placement perturbation feature in the OpenROAD Global Placer (GPL). This feature shifts standard cells by discrete increments of site widths (X direction) and row heights (Y direction), bounded to a maximum of 0.5 microns in both directions.
This replacement of the legacy
srand(42)andrand()non-grid-aligned cell perturbation is controlled by a seed configured via the new-random_seedflag (default is1)Impact
-random_seedoption to theglobal_placementTcl command to customize the random seed (default is1)..okand.defokfiles) to align with the new default seed1layout expectations.Verification
./etc/Build.sh).