Skip to content
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

mpl: fix orientation improvement and add tests #6815

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

AcKoucher
Copy link
Contributor

@AcKoucher AcKoucher commented Mar 4, 2025

Another bug found when implementing the second version of the IO constraints.

During orientation improvement, when computing WL, while iterating the bterms of a macro iterm's net, if the bterm is unconstrained, we should compute the HPWL using the closest available boundary to that macro iterm. We're currently searching for the closest boundary using the location of the bterm, which doesn't make sense.

I.e., the first argument of HierRTLMP::getClosestBoundary should an odb::Point representing the location of the macro iterm.

Obs: orientation_improvement.lef is the same as macro_only.lef but with more reasonable iterm positions in the macros (it's very easier to see the result of the tests).

Signed-off-by: Arthur Koucher <arthurkoucher@precisioninno.com>
@AcKoucher
Copy link
Contributor Author

Running Secure-CI

@AcKoucher AcKoucher requested a review from maliberty March 4, 2025 23:21
Copy link
Contributor

github-actions bot commented Mar 4, 2025

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

@AcKoucher
Copy link
Contributor Author

Secure-CI is fine.

@maliberty maliberty merged commit be01bb8 into The-OpenROAD-Project:master Mar 5, 2025
11 checks passed
@AcKoucher AcKoucher deleted the mpl-orient-fix branch March 5, 2025 15:56
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