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

Rsz update longe wire buffer insertion #4801

Conversation

arthurjolo
Copy link
Contributor

Fixes #4006

This PR changes the position of buffers inserted to fix long wires.

The new position is set to be the the middle of the wire, previously it was set to be on the max wire length allowed causing some buffers to be inserted near the drivers.

Copy link
Contributor

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

Signed-off-by: arthur <arthurjolo@gmail.com>
Signed-off-by: arthur <arthurjolo@gmail.com>
Signed-off-by: arthur <arthurjolo@gmail.com>
Copy link
Contributor

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

Copy link
Contributor

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

Signed-off-by: arthur <arthurjolo@gmail.com>
Copy link
Contributor

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

Signed-off-by: arthur <arthurjolo@gmail.com>
Copy link
Contributor

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

Signed-off-by: arthur <arthurjolo@gmail.com>
@arthurjolo arthurjolo requested a review from maliberty May 20, 2024 17:26
Signed-off-by: arthur <arthurjolo@gmail.com>
Copy link
Contributor

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

Signed-off-by: arthur <arthurjolo@gmail.com>
Copy link
Contributor

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

@maliberty maliberty merged commit 6231dc8 into The-OpenROAD-Project:master May 20, 2024
11 checks passed
@@ -851,7 +851,8 @@ void RepairDesign::repairNetWire(
level,
units_->distanceUnit()->asString(dbuToMeters(wire_length), 1),
units_->distanceUnit()->asString(dbuToMeters(max_length_), 1));
split_length = min(split_length, max(max_length_ - wire_length_ref, 0));
split_length = min(max_length_, length / 2);
Copy link
Contributor

Choose a reason for hiding this comment

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

This reintroduces what was fixed in 3b97c56

Copy link
Member

Choose a reason for hiding this comment

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

@arthurjolo please comment

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 believe this was overwritten during a merge. But I think it is easy to fix: split_length = min(length / 2, max(max_length_ - wire_length_ref, 0));
This should account for both changes, @povik do you agree?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, that looks good to me! (I was lazy to type that out myself...)

Copy link
Member

Choose a reason for hiding this comment

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

@arthurjolo please make a PR for your fix.

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.

Improve the buffering of simple wires
3 participants