-
Notifications
You must be signed in to change notification settings - Fork 25
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
✨ Parameter to move inputs/outputs to top/bottom border after hexagonalization
#692
base: main
Are you sure you want to change the base?
✨ Parameter to move inputs/outputs to top/bottom border after hexagonalization
#692
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #692 +/- ##
==========================================
- Coverage 98.20% 98.19% -0.01%
==========================================
Files 255 255
Lines 42229 42519 +290
Branches 1949 1989 +40
==========================================
+ Hits 41471 41753 +282
- Misses 758 766 +8
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
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
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: GitHub Actions <[email protected]>
Signed-off-by: GitHub Actions <[email protected]>
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.
Pull Request Overview
This pull request introduces a parameter to move inputs to the top border after hexagonalization and adds new tests to verify the behavior with parameters and statistics.
- Adds new tests under hexagonalization to check behavior when placing inputs in the top row
- Exports new functions (hexagonalization_params, hexagonalization_stats, and hexagonalization_route_inputs_error) in the module's init.py
Reviewed Changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
bindings/mnt/pyfiction/test/algorithms/physical_design/test_hexagonalization.py | New tests to verify hexagonalization with parameters and statistics |
bindings/mnt/pyfiction/init.py | Updated exports to include new hexagonalization functionality |
bindings/mnt/pyfiction/test/algorithms/physical_design/test_hexagonalization.py
Outdated
Show resolved
Hide resolved
…xagonalization.py Co-authored-by: Copilot <[email protected]> Signed-off-by: simon1hofmann <[email protected]>
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
Co-authored-by: Marcel Walter <[email protected]> Signed-off-by: simon1hofmann <[email protected]>
@marcelwa @samuelshng For example to hexagonalize a layout and route inputs to the top row and outputs to the bottom row (allowing crossings) you can simply use: |
Many thanks for implementing this so quickly 🙏 from a user's perspective, I would have expected this functionality to be available via flags instead of parameters. In the current setup, a user might enter What do you think? Is there an argument to be had against it? |
Yes makes sense, I will update the cli accordingly. I will still leave the implementation in the C++/Python code as is to still offer the possibility of only having planar routings for either PIs or POs. |
…xagonalization' into route_pis_to_top_border_after_hexagonalization
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
@simon1hofmann many thanks for the great addition! 🙏 I've got some minor feedback and implemented a few small inconsistency fixes myself. Additionally, there seems to be inconsistent behavior with the |
Co-authored-by: Marcel Walter <[email protected]> Signed-off-by: simon1hofmann <[email protected]>
Signed-off-by: GitHub Actions <[email protected]>
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/physical_design/hexagonalization.hpp
Outdated
Show resolved
Hide resolved
hexagonalization
hexagonalization
Description
Parameters to move inputs to top border or outputs to the bottom border after
hexagonalization
Checklist: