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

A mechanism to prevent merging of certain module definitions #345

Closed
mkorbel1 opened this issue Apr 20, 2023 · 0 comments · Fixed by #440
Closed

A mechanism to prevent merging of certain module definitions #345

mkorbel1 opened this issue Apr 20, 2023 · 0 comments · Fixed by #440
Assignees
Labels
enhancement New feature or request

Comments

@mkorbel1
Copy link
Contributor

Motivation

Sometimes it is desirable to create a variety of modules with specific definition names, even if some of those definitions have exactly the same contents. Currently, if you use reserveDefinitionName ROHD will flag an error if it's unable to keep them unique. It would be nice to have a way to instead just duplicate the module definition.

Desired solution

Some sort of flag (perhaps reusing reserveDefinitionName?) that tells the synthesizer not to de-duplicate that module definition in output code.

Alternatives considered

Current workarounds involve adding some sort of thing to make the code unique such as:

  • a uniquely named interface port
  • a uniquely named module instance

Additional details

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant