Skip to content
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

high fanout routing to heap code -- only count CHANX and CHANY nodes to determine if enough has been added. #2612

Closed
vaughnbetz opened this issue Jun 13, 2024 · 5 comments
Assignees

Comments

@vaughnbetz
Copy link
Contributor

The high fanout net routing code currently counts both the total nodes_added and chan_nodes_added in different tests to see if we need to add more of the partial routing. This looks wrong: we should always be using chan_nodes_added for all tests and the nodes_added variable should be deleted.

I think this code is messing up the parallel router with net decomposition and flat routing (although that has not been confirmed yet). In any case, this change would simplify the code slightly and make it more logical.

Expected Behaviour

Make this change, test QoR is OK.
@duck2 should then check flat routing with net decomposition again.

Context

It has potentially caused @duck2 mental anguish :).

@vaughnbetz
Copy link
Contributor Author

Tagging @mirjanastojilovic as she may be interested in this one.

@mirjanastojilovic
Copy link

Thanks, Vaughn!

@mirjanastojilovic
Copy link

I think it makes sense to use chan_nodes_added in the tests (line 1057) and delete nodes_added variable.

It appears (line 1033) that only the flat router checks if the node is a wire before incrementing chan_nodes_added. Unless I am missing something, I would expect this check to be performed irrespective of whether the router is flat or not. What do you think?

@vaughnbetz
Copy link
Contributor Author

Agreed.

@amin1377
Copy link
Contributor

PR #2624 addressed this issue, and it is merged.

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

No branches or pull requests

3 participants