-
Notifications
You must be signed in to change notification settings - Fork 21
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
✨ Added conversion functions for layouts of different coordinate types #125
✨ Added conversion functions for layouts of different coordinate types #125
Conversation
…ate type (fiction to siqad and vs.).
…ate type (fiction to siqad and vs.).
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #125 +/- ##
==========================================
+ Coverage 93.87% 93.91% +0.04%
==========================================
Files 75 75
Lines 6955 7002 +47
==========================================
+ Hits 6529 6576 +47
Misses 426 426
Continue to review full report at Codecov.
|
clang-tidy review says "All clean, LGTM! 👍" |
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.
Thanks for the addition! Could you please address the following points:
- Move both functions to
/utils/layout_utils.hpp
- Add respective
static_assert
s - Copy additional info stored in
cell_level_layout
to the newly created layout: inputs, outputs, cell modes, cell names, layout name - Add missing newlines at the end of each file
What happens to layouts based on SiQAD coordinates with negative values if they are to be converted to |
I mean, the function |
No, it won't. It has no method to "fail". It would produce coordinates that convert negative numbers into their respective unsigned representation, i.e., 2^{31} - 1 - c, where c is the SiQAD coordinate value. |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
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
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
Many thanks for the updates. I've performed some restructuring and added failing tests. The original layout's aspect ratio is not yet copied to the converted layouts. |
clang-tidy review says "All clean, LGTM! 👍" |
3 similar comments
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
No description provided.