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

[EDIF] EDIFNetlist.collapseMacroUnisims() to not clobber cell #675

Merged
merged 5 commits into from
May 23, 2023

Conversation

eddieh-xlnx
Copy link
Collaborator

.. plus optimize expandMacroUnisims().

Currently, the following scenario is not considered:

  • Design has OBUFDS cell instantiations
  • Only some of those OBUFDS cells are expanded into OBUFDS_DUAL_BUF
  • Collapsing causes the OBUFDS_DUAL_BUF cell to be renamed to OBUFDS, without awareness that OBUFDS already exists.
  • Now there are two OBUFDS cells being instantiated in the netlist, but only one in the library.

@eddieh-xlnx eddieh-xlnx requested a review from clavin-xlnx May 19, 2023 23:36
Copy link
Member

@clavin-xlnx clavin-xlnx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recall you found an issue regarding the attribute being on a port/net would have to be artificially migrated to the instance for the exception to be triggered. Will that case need consideration here?

@eddieh-xlnx eddieh-xlnx force-pushed the edif_collapse_macro branch from e4ee420 to b17c067 Compare May 23, 2023 16:12
@eddieh-xlnx
Copy link
Collaborator Author

I recall you found an issue regarding the attribute being on a port/net would have to be artificially migrated to the instance for the exception to be triggered. Will that case need consideration here?

I think you mean #646, along with its derivative PRs? If so, I think this PR is orthogonal: #646 and the like deal with IOStandard properties on the EDIFCellInst (or top-level EDIFNet it is connected to). This PR deals with the EDIFCell definition.

@eddieh-xlnx eddieh-xlnx merged commit 993f4ad into master May 23, 2023
@eddieh-xlnx eddieh-xlnx deleted the edif_collapse_macro branch May 23, 2023 16:31
@clavin-xlnx
Copy link
Member

I think you mean #646, along with its derivative PRs? If so, I think this PR is orthogonal: #646 and the like deal with IOStandard properties on the EDIFCellInst (or top-level EDIFNet it is connected to). This PR deals with the EDIFCell definition.

Good, thanks for clarifying.

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