8000 [ImportVerilog] Support for loop variables by fabianschuiki · Pull Request #7393 · llvm/circt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[ImportVerilog] Support for loop variables #7393

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

Merged
merged 1 commit into from
Jul 27, 2024

Conversation

fabianschuiki
Copy link
Contributor

Add support for variables declared inside the for loop initializer, such as for (int x = 0; ...). This is pretty straightforward, since Slang already creates corresponding variable declaration AST nodes in the surrounding scope. The only change needed is removing an error diagnostic.

Add support for variables declared inside the for loop initializer,
such as `for (int x = 0; ...)`. This is pretty straightforward, since
Slang already creates corresponding variable declaration AST nodes in
the surrounding scope. The only change needed is removing an error
diagnostic.
Copy link
Member
@maerhart maerhart left a comment

Choose a reason for hiding this comment

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

Cool that this doesn't require any additional work!

@fabianschuiki fabianschuiki merged commit 0b72b19 into main Jul 27, 2024
4 checks passed
@fabianschuiki fabianschuiki deleted the fschuiki/moore-for-vars branch July 27, 2024 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4842 Moore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0