Adds external library for netlists to compensate for black boxed cells #1294
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Often when IPs are included in a design, the corresponding EDIF representation is encrypted in a
.ednfile along side the EDIF. This can present a challenge when attempting to place and/or route that design in RapidWright as it doesn't know what is inside the black boxed cells. This allows for a substitute netlist with just the bare bones representation to be supplied externally to enable a place and or route solution to be achieved.The easiest way to invoke is to call:
after a Design (DCP/EDIF) has been loaded. This will automatically populate any black boxes with their corresponding substitute cells from the external library. These cells will return to the black box state when
EDIFNetlist.collapseMacroUnisims()is called (a default when writing out a DCP). This is to ensure that when the DCP is written out, that Vivado can fully re-assemble the design from the encrypted and non-encrypted parts. The substitute netlists cannot be part of the output.Questions to answer:
setExternalLibrary(). Do we want to change this?EDIFNetlist.setExternalLibrary(EDIFLibrary external)