Skip to content

Conversation

@ollef
Copy link
Contributor

@ollef ollef commented Sep 23, 2025

Since SBY doesn't support all System Verilog constructs, it's useful to be able to control how lowering is done. We may e.g. pass disallowLocalVariables when using SBY as a runner.

Ideally, this would be more automated (i.e. automatically pick a set of lowering options that is known to work for the specific runner), but that would be a bigger change since the different runners would then require different lowering. We also don't currently have all the lowering options we would need for this.

Since SBY doesn't support all System Verilog constructs, it's useful to
be able to control how lowering is done. We may e.g. pass
`disallowLocalVariables` when using SBY as a runner.

Ideally, this would be more automated (i.e. automatically pick a set of
lowering options that is known to work for the specific runner), but
that would be a bigger change since the different runners would then
require different lowering. We also don't currently have all the
lowering options we would need for this.
Copy link
Contributor

@fabianschuiki fabianschuiki left a comment

Choose a reason for hiding this comment

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

Very nice, thanks for adding this! Do you want me to land this for you, or do you have commit access yourself?

@ollef
Copy link
Contributor Author

ollef commented Sep 24, 2025

Thanks for the review. I don't have commit access, so it would be great if you landed my PRs for me. :)

@fabianschuiki fabianschuiki merged commit b622fb2 into llvm:main Sep 24, 2025
7 checks passed
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