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

[DON'T MERGE] odb: add command to check if design is routed #5879

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

eder-matheus
Copy link
Collaborator

No description provided.

Signed-off-by: Eder Monteiro <[email protected]>
Copy link
Contributor

github-actions bot commented Oct 4, 2024

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

1 similar comment
Copy link
Contributor

github-actions bot commented Oct 4, 2024

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

Copy link
Contributor

github-actions bot commented Oct 4, 2024

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

Copy link
Collaborator

@gadfort gadfort left a comment

Choose a reason for hiding this comment

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

Shouldn't this have a set of CI tests?

src/odb/src/db/odb.tcl Outdated Show resolved Hide resolved
Signed-off-by: Eder Monteiro <[email protected]>
@eder-matheus eder-matheus marked this pull request as draft October 4, 2024 23:39
@eder-matheus
Copy link
Collaborator Author

Shouldn't this have a set of CI tests?

Yes, I'm working on it. I'm also testing it in the CI to check if I'm missing some check.

Copy link
Contributor

github-actions bot commented Oct 4, 2024

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

@eder-matheus eder-matheus changed the title odb: add command to check if design is routed [DON'T MERGE] odb: add command to check if design is routed Oct 5, 2024
Comment on lines +4104 to +4105
if (pin_count > 1 && net->getSWires().empty() && net->getWire() == nullptr
&& !net->isConnectedByAbutment()) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

if the SWires is not empty, you should probably verify that they actually have routing in them.
Same for getWire (ensure it actually contains something).

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