-
Notifications
You must be signed in to change notification settings - Fork 566
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
odb: In dbITerm::getGeometries, return layer + rect #6049
Conversation
Could this return a set of dbShape instead? https://github.com/The-OpenROAD-Project/OpenROAD/blob/master/src/odb/include/odb/dbShape.h |
Looking your suggestion I noticed dbITermShapeItr which might be what is wanted here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
@smunaut this has compilation and clang-tidy errors? Do you plan to fix this up? |
The compilation errors ... they're just warning turned to errors but |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
Ok, I think I fixed it actually. For some reason it says |
You need to merge master to resolve the c++20 compiler issue. |
Currently only the rect is returned but that's not very useful. So instead we return pairs of layer + rect. The appropriate SWIG mapping is also added so the result is usable both in Python and in TCL. Signed-off-by: Sylvain Munaut <[email protected]>
clang-tidy review says "All clean, LGTM! 👍" |
Rebased to master, all checks passed. |
Currently only the rect is returned but that's not very useful. So instead we return pairs of layer + rect.
The appropriate SWIG mapping is also added so the result is usable both in Python and in TCL.
Note that someone should definitely have a close look at the SWIG mapping because I have very little experience with those.
I did test that it seems to work as expected in both TCL and Python though.