-
Notifications
You must be signed in to change notification settings - Fork 408
More fixes to sync_netlists_to_routing_flat #2867
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
Crash in flat routing so some bug still. |
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.
Looks mostly good -- some commenting requested.
No idea how it's passing with the current version of sync_netlists_to_routing_flat, but For now I'm just adding a warning for that case to make the CI work, but it should be handled at some point. |
fa9715f
to
06d02f4
Compare
I looked into the circuit Fahri pointed out, and the reason it fails to route is that the CIN pin on a CLB (loc: 11,6) is connected to a constant net, where the source of the constant net generator is located in a different column (loc:1,5). Since CIN is not connected to the general routing resources, the flat router fails to route it. The two-stage router also fails when routing of constant nets is enabled. |
Adding @AmirhosseinPoolad as a reviewer for the code I modified in the packer. |
…rilog-to-routing into fix-flat-bitgen
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.
Thank you for the changes @amin1377! I just had a bunch of nitpicks.
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.
Thanks! Some commenting enhancements suggested.
Thanks @vaughnbetz and @AmirhosseinPoolad for reviewing the code. I've addressed your comments. I also ran the nightly tests a few days ago to ensure they are passing ([Link]). Aside from some AP tests (which are also failing on the master branch, [Link]), all other tests passed. @AlexandreSinger FYI. |
@amin1377 Thanks for pointing this out! I got the notification this morning. I have a fix that I am testing now. Will raise a PR today fixing the AP failure. |
…rilog-to-routing into fix-flat-bitgen
@AmirhosseinPoolad All tests are passing, and the merge conflicts have been resolved. Feel free to merge the PR if you have no further comments. |
This PR contains a number of fixes to enable OpenFPGA bitstream generation using flat router results:
annotate_rr_node_nets
, don't fail right away if two cluster nets point to the same RR nodes, instead check if they are mapped to the same atom net. (This lets OpenFPGA have net -> rr node annotations without having to split the flat route trees if an atom net produced two or more cluster nets)