Skip to content

check_rr_graph: fix bug when checking multi-connections between nodes #1579

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 1 commit into from
Nov 2, 2020

Conversation

acomodi
Copy link
Collaborator

@acomodi acomodi commented Oct 29, 2020

Signed-off-by: Alessandro Comodi [email protected]

Description

There seems to be a bug in check_rr_graph related to the check on the multiple connections between RR nodes.

While dealing with f4pga/f4pga-arch-defs#1711 to fix the RR graph due to the presence of only one node for all the possible sides of a pin, I encountered the VPR error below:

Message: in check_rr_graph: node 279 (CHANX) connects to node 149 (IPIN) 2 times - multi-connections only expected for CHAN->CHAN.

Given that the comment prior to the check say that this pair of nodes can have multiple connections, I spotted a possible bug in the if statement.

Types of changes

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

@acomodi acomodi force-pushed the fix-check-rr-graph-bug branch from 9a77245 to 59dace8 Compare October 29, 2020 16:38
@acomodi acomodi force-pushed the fix-check-rr-graph-bug branch from 59dace8 to 20dd02f Compare October 29, 2020 16:43
@acomodi acomodi force-pushed the fix-check-rr-graph-bug branch from 20dd02f to 9825c7f Compare October 29, 2020 19:15
@acomodi acomodi requested a review from vaughnbetz October 30, 2020 13:52
Copy link
Contributor

@tangxifan tangxifan left a comment

Choose a reason for hiding this comment

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

Look clean to me.

@acomodi
Copy link
Collaborator Author

acomodi commented Nov 2, 2020

All CIs went green and I have updated the comment. Merging.

@acomodi acomodi merged commit de62b15 into verilog-to-routing:master Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants