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

Placer support for fixed placement of cells #10

Open
DallonTG opened this issue Mar 17, 2018 · 2 comments
Open

Placer support for fixed placement of cells #10

DallonTG opened this issue Mar 17, 2018 · 2 comments

Comments

@DallonTG
Copy link
Member

There's no way right now to tell the placer that certain cells (i.e. top level IO) are fixed. Obviously, this means top level ports can end up getting placed where you don't actually want them for a real design.

There is a fixedPlacement variable in the PlacementGroup class so it looks like this feature has been considered. Completing this feature would be very helpful for my research (and I don't think I know the code well enough to make the best implementation of it).

@DallonTG DallonTG changed the title Placer support for fixed cells Placer support for fixed placement of cells Mar 17, 2018
@trharoldsen
Copy link
Collaborator

trharoldsen commented Mar 19, 2018 via email

@DallonTG
Copy link
Member Author

DallonTG commented Mar 19, 2018

Okay,

I've made an RS2 branch that parses the constraints.xdc file upon RSCP import. It is a work in progress still (no PR yet) and only handles constraints of these forms:
set_property PACKAGE_PIN M19 [get_ports sw[1]]
set_property -dict {PACKAGE_PIN M20 IOSTANDARD LVCMOS33} [get_ports {sw[0]}]

After the design has been imported, you can call design.getPortConstraintMap() to get a map from constrained port cells to sites.

Will an input like this work for you? If something else is easier, let me know. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants