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

DRT: Support LEF58_WIDTHTABLE ORTHOGONAL constraint #6204

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

openroad-robot
Copy link
Contributor

No description provided.

Copy link
Contributor

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

Copy link
Contributor

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

@maliberty
Copy link
Member

The code looks fine but please add some test(s) to gcTest

Comment on lines +1685 to +1692
const frCoord horz_spc
= layer->getDirection() == odb::dbTechLayerDir::HORIZONTAL
? wrongway_width
: width;
const frCoord vert_spc
= layer->getDirection() == odb::dbTechLayerDir::HORIZONTAL
? width
: wrongway_width;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
const frCoord horz_spc
= layer->getDirection() == odb::dbTechLayerDir::HORIZONTAL
? wrongway_width
: width;
const frCoord vert_spc
= layer->getDirection() == odb::dbTechLayerDir::HORIZONTAL
? width
: wrongway_width;
const bool isH = layer->getDirection() == odb::dbTechLayerDir::HORIZONTAL;
const frCoord horz_spc = isH ? wrongway_width : width;
const frCoord vert_spc = isH ? width : wrongway_width;

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.

4 participants