-
Notifications
You must be signed in to change notification settings - Fork 421
Add tileable RR Graph #3134
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
base: master
Are you sure you want to change the base?
Add tileable RR Graph #3134
Conversation
…rilog-to-routing into add_tileable_rr_graph
Thanks @vaughnbetz, @soheilshahrouz, and @AlexandreSinger for your reviews. I’ve addressed your comments, and I believe the PR is now ready for the next round of review if you’d like. |
…meters since it relies on that value
…rilog-to-routing into add_tileable_rr_graph
is_flat, | ||
Warnings, | ||
router_opts.route_verbosity); | ||
if (e_graph_type::UNIDIR_TILEABLE != graph_type) { |
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.
now that we have two separate rr graph generators, I think we should this function to another file and keep the source code of these two generators as separate as we can
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.
You mean moving create_rr_graph
to another?
vpr/src/route/rr_graph_generation/tileable_rr_graph/rr_graph_builder_utils.cpp
Outdated
Show resolved
Hide resolved
vpr/src/route/rr_graph_generation/tileable_rr_graph/rr_graph_builder_utils.cpp
Outdated
Show resolved
Hide resolved
vpr/src/route/rr_graph_generation/tileable_rr_graph/rr_graph_builder_utils.cpp
Outdated
Show resolved
Hide resolved
vpr/src/route/rr_graph_generation/tileable_rr_graph/rr_graph_builder_utils.cpp
Outdated
Show resolved
Hide resolved
vpr/src/route/rr_graph_generation/tileable_rr_graph/rr_graph_builder_utils.cpp
Outdated
Show resolved
Hide resolved
…rilog-to-routing into add_tileable_rr_graph
Thanks @soheilshahrouz. I’ve addressed your comments; please let me know if you have any further suggestions. |
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.
These comments apply to most files under tileable_rr_graph/ directory:
- integer and bool arguements are passed by const reference. They should be passed by value.
- Documentation comments appear at function definition. They should use doxygen style and be moved to the declartion.
- Block comments are used for implementation-related comments.
- Some range-based loops use const references to iterate over integers (ids). They should iterate by value.
/* X_AXIS: Data that describes an x-directed wire segment (CHANX) * | ||
* Y_AXIS: Data that describes an y-directed wire segment (CHANY) * | ||
* BOTH_AXIS: Data that can be applied to both x-directed and y-directed wire segment */ | ||
enum class e_parallel_axis { |
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.
This enum is used even when VIB is not used. I think it should be move to a different file
vpr/src/route/rr_graph_generation/tileable_rr_graph/tileable_rr_graph_utils.h
Show resolved
Hide resolved
vpr/src/route/rr_graph_generation/tileable_rr_graph/tileable_rr_graph_node_builder.h
Outdated
Show resolved
Hide resolved
vpr/src/route/rr_graph_generation/tileable_rr_graph/tileable_rr_graph_node_builder.cpp
Outdated
Show resolved
Hide resolved
vpr/src/route/rr_graph_generation/tileable_rr_graph/tileable_rr_graph_node_builder.cpp
Outdated
Show resolved
Hide resolved
vpr/src/route/rr_graph_generation/tileable_rr_graph/tileable_rr_graph_node_builder.cpp
Outdated
Show resolved
Hide resolved
vpr/src/route/rr_graph_generation/tileable_rr_graph/tileable_rr_graph_node_builder.cpp
Outdated
Show resolved
Hide resolved
…rilog-to-routing into add_tileable_rr_graph
Merging OpenFPGA branch into master branch. PR #2135 explains features of OpenFPGA.