Skip to content

drt: fix off-grid violations on first iterations#2033

Merged
eder-matheus merged 3 commits into
The-OpenROAD-Project:masterfrom
eder-matheus:secure-TR_drt_off_grid
Jul 6, 2022
Merged

drt: fix off-grid violations on first iterations#2033
eder-matheus merged 3 commits into
The-OpenROAD-Project:masterfrom
eder-matheus:secure-TR_drt_off_grid

Conversation

@eder-matheus
Copy link
Copy Markdown
Member

Signed-off-by: Eder Monteiro eder.matheus.monteiro@gmail.com

Signed-off-by: Eder Monteiro <eder.matheus.monteiro@gmail.com>
@maliberty maliberty self-requested a review July 6, 2022 18:01
Comment thread src/drt/src/dr/FlexDR_init.cpp Outdated
xLoc = *(xLocs.begin());
} else {
xLoc = (xl(pinRect) + xh(pinRect)) / 2;
frCoord manuGrid = getTech()->getManufacturingGrid();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There look to be two similar blocks in the frcBTerm section below.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If you are going to have four copies of this it might be time to factor it into a helper function.

Signed-off-by: Eder Monteiro <eder.matheus.monteiro@gmail.com>
Signed-off-by: Eder Monteiro <eder.matheus.monteiro@gmail.com>
@eder-matheus eder-matheus requested a review from maliberty July 6, 2022 18:58
@eder-matheus eder-matheus merged commit f0b8c3f into The-OpenROAD-Project:master Jul 6, 2022
@eder-matheus eder-matheus deleted the secure-TR_drt_off_grid branch July 6, 2022 19:54
openroad-robot pushed a commit to The-OpenROAD-Project-staging/OpenROAD that referenced this pull request Apr 16, 2024
…t-private/master

get all the latest commits from the master branch
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