Conversation
|
clang-tidy review says "All clean, LGTM! 👍" |
Signed-off-by: GitHub Actions <[email protected]>
simulation/sidb folder|
@marcelwa maybe you can rename the branch to |
I'd rather not do that because that would automatically close this PR. Additionally, you'd have to manually update your local branch settings to fix the upstream. Let's keep the name. Since this branch is now 134 commits behind |
I reckoned doing all the file migrations again would take longer than a simple merge with main. So I'm continuing on this PR. |
There was a problem hiding this comment.
I don't have a good place for this folder yet 🤔 It doesn't seem to belong here, though. Its containing functions can judge certain quality metrics (costs) of networks and layouts. These are definitely not utils either.
There was a problem hiding this comment.
Any suggestion is welcome
There was a problem hiding this comment.
physical_design/properties? I do think properties is a good folder name. And I guess that the properties are from the results of applying a physical design algorithm. Do you prefer physical_design/stat instead?
include/fiction/physical_design/holistic/utils/aspect_ratio_iterator.hpp
Show resolved
Hide resolved
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. 💤 Files selected but had no reviewable changes (3)
You can disable this status message by setting the WalkthroughProject-wide path refactors update include directives to new directories (core layouts, utils/general, technology/sidb). One configure_file input path is changed. Root CMake formatting is adjusted. Python binding docstrings are corrected. Several third-party submodules are advanced to new commits. No functional or API changes are introduced. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (20)
CMakeLists.txt(1 hunks)bindings/mnt/pyfiction/include/pyfiction/pybind11_mkdoc_docstrings.hpp(1 hunks)include/CMakeLists.txt(1 hunks)include/fiction/core/layouts/cartesian_layout.hpp(1 hunks)include/fiction/core/layouts/cell_level_layout.hpp(1 hunks)include/fiction/core/layouts/clocked_layout.hpp(1 hunks)include/fiction/core/layouts/clocking_scheme.hpp(1 hunks)include/fiction/core/layouts/coordinates.hpp(1 hunks)include/fiction/core/layouts/gate_level_layout.hpp(1 hunks)include/fiction/core/layouts/hexagonal_layout.hpp(1 hunks)include/fiction/core/layouts/shifted_cartesian_layout.hpp(1 hunks)include/fiction/technology/cell_ports.hpp(1 hunks)include/fiction/technology/sidb/sidb_nm_distance.hpp(1 hunks)include/fiction/traits.hpp(1 hunks)include/fiction/types.hpp(1 hunks)libs/Catch2(1 hunks)libs/json(1 hunks)libs/parallel-hashmap(1 hunks)libs/pybind11(1 hunks)libs/tinyxml2(1 hunks)
🧰 Additional context used
🧬 Code graph analysis (4)
include/fiction/traits.hpp (4)
include/fiction/technology/charge_distribution_surface.hpp (2)
params(503-514)c(2164-2185)include/fiction/utils/layout_utils.hpp (1)
convert_layout_to_siqad_coordinates(305-386)include/fiction/algorithms/simulation/sidb/quickexact.hpp (1)
ON(25-578)include/fiction/io/read_sqd_layout.hpp (1)
defect(361-417)
include/fiction/types.hpp (2)
include/fiction/technology/cell_technologies.hpp (1)
EMPTY(10-384)include/fiction/technology/charge_distribution_surface.hpp (1)
params(503-514)
include/fiction/core/layouts/coordinates.hpp (1)
include/fiction/utils/math_utils.hpp (2)
nodiscard(18-198)nodiscard(44-55)
include/fiction/technology/sidb/sidb_nm_distance.hpp (1)
include/fiction/technology/sidb_on_the_fly_gate_library.hpp (3)
sidb_on_the_fly_gate_library(146-1520)nodiscard(811-838)nodiscard(810-838)
🔇 Additional comments (15)
libs/tinyxml2 (1)
1-1: Submodule bump ackThe tinyxml2 submodule pointer update is noted; no concerns from my side.
CMakeLists.txt (1)
21-21: LGTM!The indentation adjustment improves formatting consistency without any functional impact.
include/fiction/core/layouts/hexagonal_layout.hpp (1)
8-9: Include path updates look correct.The updated paths align with the broader reorganization moving headers into
core/layouts/andutils/general/subdirectories. No functional changes introduced.include/fiction/technology/sidb/sidb_nm_distance.hpp (1)
8-8: Include path update aligns with SiDB reorganization.The updated path correctly places
sidb_nm_position.hppunder thetechnology/sidb/subdirectory, consistent with the PR's goal of restructuring the SiDB-related headers.include/fiction/technology/cell_ports.hpp (1)
8-8: LGTM!The include path update correctly reflects the reorganization of utility headers under
fiction/utils/general/.include/CMakeLists.txt (1)
18-18: LGTM!The
configure_fileinput path correctly reflects the relocation ofversion_info.hpp.inunderfiction/utils/general/.include/fiction/types.hpp (1)
8-22: LGTM!The include path updates correctly reflect the reorganization of core layout headers under
fiction/core/layouts/, network headers underfiction/core/networks/, and SiDB-specific headers underfiction/technology/sidb/. No functional or API changes are introduced.include/fiction/traits.hpp (1)
8-15: LGTM!The include path updates correctly reflect the reorganization of coordinate and layout headers under
fiction/core/layouts/and SiDB-specific headers underfiction/technology/sidb/. No functional changes are introduced.bindings/mnt/pyfiction/include/pyfiction/pybind11_mkdoc_docstrings.hpp (1)
23234-23236: Docstring path update looks correct.The injected
coresegment matches the new header location underfiction/core/layouts. 👍include/fiction/core/layouts/clocking_scheme.hpp (1)
8-8: LGTM!The include path update to
fiction/core/layouts/coordinates.hppis consistent with the broader header reorganization moving layout-related headers undercore/layouts.include/fiction/core/layouts/shifted_cartesian_layout.hpp (1)
8-9: LGTM!Both include path updates are consistent with the header reorganization, moving layout-related headers to
fiction/core/layouts/.include/fiction/core/layouts/cell_level_layout.hpp (1)
8-8: LGTM!The include path update to
fiction/core/layouts/clocking_scheme.hppaligns with the broader reorganization moving clocking scheme headers undercore/layouts.include/fiction/core/layouts/clocked_layout.hpp (1)
8-8: LGTM!The include path update to
fiction/core/layouts/clocking_scheme.hppis consistent with the project-wide header reorganization.include/fiction/core/layouts/cartesian_layout.hpp (1)
8-9: LGTM!Both include path updates are consistent with the header reorganization:
coordinates.hppmoved tofiction/core/layouts/range.hppmoved tofiction/utils/general/include/fiction/core/layouts/gate_level_layout.hpp (1)
8-12: LGTM!All four include path updates are consistent with the header reorganization:
clocking_scheme.hppmoved tofiction/core/layouts/range.hppmoved tofiction/utils/general/mockturtle_utils.hppmoved tofiction/utils/network/design_rule_violations.hppmoved tofiction/verification/
|
Hi @marcelwa , I've implemented your suggestions. In particular, I've noticed now that |
|
One thing that still feels awkward to me is the placement of |
Description
This PR aims to restructure the
simulation/sidbfolder to something nicer. Currently in draft status---thoughts about, or direct changes to the proposal are welcome though.Checklist:
Summary by CodeRabbit