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

Dynamic pin mappings support #337

Merged
merged 3 commits into from
Mar 2, 2018
Merged

Dynamic pin mappings support #337

merged 3 commits into from
Mar 2, 2018

Conversation

nelsobe
Copy link
Member

@nelsobe nelsobe commented Feb 10, 2018

Added support for dynamic pin mappings. Consists of:

  1. docs/DynamicPinMapping.txt - description of dynamic pin mappings, how they work, how to create new ones.

  2. PinMapping.java - class with code to read and write a dynamic pin mappings cache, search for pin mappings, and create new pin mappings by running Vivado through the VivadoConsole.

  3. CreateDynamicPinMappings.java - an example program of how to query for pin mappings and now to create new ones.

  4. Miscellaneous support files.

@trharoldsen
Copy link
Collaborator

Do I nee to check the type of cell that I need to mapping for is a configurable pin mapping cell or can I call it for any cell and if not a configurable pin mapping cell type, it will return just the default type?

@nelsobe
Copy link
Member Author

nelsobe commented Feb 11, 2018

@trharoldsen's question above gets to the heart of the issue - we currently do not have a way to conclusively determine which cells have dynamic pin mappings. This PR provides a mechanism to create them and use them, but does not yet provide guidance on how to determine which cells have them.

In #291 we list 9 cells which we know have them. The method for determining this was to determine which cell/bel combinations have unmapped cell pins for the default properties - this would suggest that there are combinations of properties that will cause those unmapped cell pins to become mapped. However, this is a weak test - there may be others as well.

The next step will be to dig deeper into this using this PR's code to help.

Also, a Tcl command has been identified whose name suggests that Tcl may help provide this. However, no documentation has been located yet for this command - the search will continue.

@nelsobe nelsobe merged commit 7a0dbea into master Mar 2, 2018
@DallonTG DallonTG deleted the pinmappings2 branch March 3, 2018 19:51
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.

2 participants