-
Notifications
You must be signed in to change notification settings - Fork 727
mpl: blockages as fixed macros #8438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
maliberty
merged 30 commits into
The-OpenROAD-Project:master
from
The-OpenROAD-Project-staging:mpl-new-blockages
Oct 16, 2025
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
b50a9e0
mpl: model blockages as macro clusters constrained by fences
AcKoucher 49961c0
mpl: blockages as fixed soft macros
joaomai 9ddbaaa
mpl: revert fence weight
joaomai b215fe7
mpl: generate only valid tilings for interconnected arrays
joaomai afe7aa4
mpl: compute min depth based on smallest valid tiling
joaomai 719e326
clang-format
joaomai 507c379
clang-format
joaomai d082005
mpl: use is_blockage_ flag
joaomai 40c1818
mpl: remove auto and use isBlockage
joaomai 84caee9
mpl: remove blockages from soft macro map
joaomai 89e81a2
Merge branch 'master' into mpl-new-blockages
joaomai d0f97f6
clang-format
joaomai 13b56b3
Merge branch 'master' into mpl-new-blockages
joaomai da1006e
mpl: update tests
joaomai 116aca0
Merge branch 'master' into mpl-new-blockages
joaomai 22cf64b
mpl: add boost/polygon to bazel deps
joaomai dd38f2b
buildifier
joaomai 051f2cd
Merge branch 'master' into mpl-new-blockages
joaomai b173d4c
mpl: remove outdated comment
joaomai cd0dc9e
mpl: floor and comment in PA depth limit
joaomai 6650dda
Merge branch 'master' into mpl-new-blockages
joaomai 82b488b
mpl: remove comment
joaomai d754e9e
Merge branch 'master' into mpl-new-blockages
joaomai 58bd700
clang-format
joaomai 2cb77c5
Merge branch 'master' into mpl-new-blockages
joaomai bb6c011
Merge branch 'master' into mpl-new-blockages
joaomai af4219e
Merge branch 'master' into mpl-new-blockages
joaomai 2b24960
Merge branch 'master' into mpl-new-blockages
joaomai b953cc8
Merge branch 'master' into mpl-new-blockages
joaomai 94d3e38
Merge branch 'master' into mpl-new-blockages
joaomai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -402,7 +402,7 @@ class SoftMacro | |
| { | ||
| public: | ||
| SoftMacro(Cluster* cluster); | ||
| SoftMacro(float width, float height, const std::string& name); | ||
| SoftMacro(const Rect& blockage, const std::string& name); | ||
| SoftMacro(const std::pair<float, float>& location, | ||
| const std::string& name, | ||
| float width, | ||
|
|
@@ -452,6 +452,7 @@ class SoftMacro | |
| void setLocationF(float x, float y); | ||
| void setShapeF(float width, float height); | ||
| int getNumMacro() const; | ||
| bool isBlockage() const; | ||
| // Align Flag support | ||
| void setAlignFlag(bool flag); | ||
| bool getAlignFlag() const; | ||
|
|
@@ -482,6 +483,7 @@ class SoftMacro | |
| // Interfaces with hard macro | ||
| Cluster* cluster_ = nullptr; | ||
| bool fixed_ = false; // if the macro is fixed | ||
| bool is_blockage_ = false; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is useful for debugging. See other comments. |
||
|
|
||
| // Alignment support | ||
| // if the cluster has been aligned related to other macro_cluster or | ||
|
|
||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.