Skip to content

Fixed Route Drawing Function #3151

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 3 commits into from
Jun 19, 2025
Merged

Fixed Route Drawing Function #3151

merged 3 commits into from
Jun 19, 2025

Conversation

SamuelHo10
Copy link
Contributor

When selecting the clustered nets option in the GUI to visualize routing, certain lines and connections were not being drawn. The code was looping through each net depth first and traversing through each node once. However, when the tree branches, the connection between the branched node and the main tree was skipped in the original code. I fixed this by checking when a new branch is being drawn, and adding the parent node to the vector.

Old New
image image

@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code labels Jun 18, 2025
Copy link
Contributor

@soheilshahrouz soheilshahrouz left a comment

Choose a reason for hiding this comment

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

Thanks for this PR!

C++ formatting fails. You can run make format to make the code consistent with coding style rules.

Copy link
Contributor

@soheilshahrouz soheilshahrouz left a comment

Choose a reason for hiding this comment

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

Thanks for adding the comment!

@SamuelHo10 SamuelHo10 merged commit e62e8ff into master Jun 19, 2025
33 checks passed
@SamuelHo10 SamuelHo10 deleted the draw_net_fix branch June 19, 2025 17:54
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