-
Notifications
You must be signed in to change notification settings - Fork 401
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
[APPack] Added read_flat_place Option and Verifier #2861
[APPack] Added read_flat_place Option and Verifier #2861
Conversation
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.
Some suggested updates to commenting, and ideally we'd support 3D layer too.
Should there be a test made that reading in a file works at this point?
Added the read_flat_place option to VPR's CLI. This allows the user to pass a flat placement file into the packer. Added code to parse this file into a FlatPlacementInfo object which only verifies that the atom given in the file exists in the atom netlist. Added code in the packer to read in the flat placement and verify that the flat placement is valid for use in the packer.
As per Vaughn's suggestions, added layer to the flat placement file specification to make it easier to upgrade to 3D FPGAs in the future. Fixed some small documentation issues.
19b2581
to
d3967a6
Compare
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 good. I suggest trying a bunch of broken files right now (2 things on a line, 8 things on a line, some atoms missing, some atoms duplicated, some atom names that don't exist, -ve x, -ve y, etc.). Doesn't have to be automated but worth trying right now.
Possibly you can add max val checks on x,y,layer and subtile when the device is not auto-sized, and could wrap them in a get_max_coord or some such function that keeps the code simple (returns +max_int or something if the device size isn't known yet).
Added the read_flat_place option to VPR's CLI. This allows the user to pass a flat placement file into the packer.
Added code to parse this file into a FlatPlacementInfo object which only verifies that the atom given in the file exists in the atom netlist.
Added code in the packer to read in the flat placement and verify that the flat placement is valid for use in the packer.