Skip to content

Clean up confusing rr-node lookup convention for x/y location of CHANX nodes #3042

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

Merged
merged 12 commits into from
May 16, 2025

Conversation

soheilshahrouz
Copy link
Contributor

@soheilshahrouz soheilshahrouz commented May 14, 2025

RRSpatialLookup swaps the x and y coordinates of CHANX wires when putting them in the rr_node_lookup data structure, and find_node() function swaps them as well. This PR gets rid of these swaps.

Addresses #355 and #2978

@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code labels May 14, 2025
@soheilshahrouz soheilshahrouz changed the title [WIP] Clean up confusing rr-node lookup convention for x/y location of CHANX nodes Clean up confusing rr-node lookup convention for x/y location of CHANX nodes May 15, 2025
@soheilshahrouz soheilshahrouz requested a review from amin1377 May 15, 2025 15:53
@soheilshahrouz soheilshahrouz requested a review from vaughnbetz May 15, 2025 19:08
@soheilshahrouz
Copy link
Contributor Author

Radom failure due to a known issue #3029
Re-ran the test

Copy link
Contributor

@vaughnbetz vaughnbetz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @soheilshahrouz . A nice clean up -- the code looks good!

@vaughnbetz vaughnbetz merged commit 2517149 into master May 16, 2025
66 of 67 checks passed
@vaughnbetz vaughnbetz deleted the temp_fix_rr_node_lookup_xy branch May 16, 2025 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-cpp C/C++ code VPR VPR FPGA Placement & Routing Tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants