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

[HW Parameters] Expand ParamVerbatimAttr to allow subexpr attribute substitution #1881

Open
lattner opened this issue Sep 26, 2021 · 0 comments
Labels
enhancement New feature or request HW Involving the `hw` dialect

Comments

@lattner
Copy link
Collaborator

lattner commented Sep 26, 2021

ParamVerbatimAttr should someday support the same complement of features as sv.verbatim.expr, but in the parameter domain. In particular, it should take an optional list of attributes and substitute them into {{0}} positions. These should be attributes, allowing the use of #hw.param.decl.ref (and other derived expressions) so you can use a macro with arguments in a parameter list.

This is not high priority to me personally, just capturing this as a "nice to have" enhancement in case someone is interested in picking it up.

@lattner lattner added enhancement New feature or request HW Involving the `hw` dialect labels Sep 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request HW Involving the `hw` dialect
Projects
None yet
Development

No branches or pull requests

1 participant