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

restore dpl: remove use of disallow_one_site_gaps #6718

Merged
merged 16 commits into from
Feb 20, 2025

Conversation

eder-matheus
Copy link
Contributor

No description provided.

@eder-matheus eder-matheus requested review from maliberty and gadfort and removed request for maliberty February 14, 2025 19:40
@@ -305,8 +304,7 @@ void Grid::visitCellBoundaryPixels(
}
}
if (!have_obstructions) {
const auto grid_rect
= padded ? gridCoveringPadded(&cell) : gridCovering(&cell);
const auto grid_rect = gridCovering(&cell);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maliberty @gadfort Here's the change to remove the padding from 1-site gap check.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it make sense to add a test for this behavior?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll try to reproduce it with a public PDK.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would imagine, a DEF with 2 inverters spaced 3 sites apart with a padding of 1 would be sufficient and check_placement (just need to remove all the x1 cells from the platforms)

Copy link
Contributor

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

@eder-matheus
Copy link
Contributor Author

@gadfort This fix was not enough for all designs. I'll go back to it in the weekend.

@maliberty maliberty marked this pull request as draft February 18, 2025 01:40
@maliberty
Copy link
Member

@gadfort This fix was not enough for all designs. I'll go back to it in the weekend.

switched to draft until you have this ready to go

@eder-matheus
Copy link
Contributor Author

@maliberty I've updated DPO by adding a new struct to represent the blockages. With this struct, we can choose between the original and the padded position of a blockage. It worked in the design I was testing, and I started a secure-ci now.

@eder-matheus eder-matheus marked this pull request as ready for review February 19, 2025 20:37
@eder-matheus
Copy link
Contributor Author

@maliberty I believe this is finally ready to merge. The last issue I had in the secure-ci is finally fixed with the latest commits.

@maliberty maliberty merged commit 8966d80 into The-OpenROAD-Project:master Feb 20, 2025
11 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