-
Notifications
You must be signed in to change notification settings - Fork 415
NoC Placement Code Improvement #2315
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
Conversation
… complexity (item 2 in issue 2262)
…m 3 in issue 2262)
… by using range-based loop for affected_traffic_flow data structure (item 4 in issue 2262)
…ssary function arguments
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.
Changes look good; just suggest changing a reference to a const reference in one spot (always do this for references you only read from, and always use const & instead of pass by value for big read-only data structures).
vpr/src/noc/noc_traffic_flows.h
Outdated
* ClusterBlockId extracted from netlist. | ||
* | ||
*/ | ||
void set_router_cluster_in_netlist(std::vector<ClusterBlockId>& routers_cluster_id_in_netlist); |
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.
Should use a const & instead of an &
@vaughnbetz Ready to merge. |
Description
This pull request is made based on issue 2262, and applied some code improvements for NoC placer functions and data structures.
@vaughnbetz
Related Issue
issue 2262
Types of changes
Checklist: