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

Consts that inferWidth to 0-width generate SystemVerilog with 0-width #527

Open
mkorbel1 opened this issue Oct 14, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@mkorbel1
Copy link
Contributor

Describe the bug

For example, when shifting by an integer (e.g. << 0), it can generate code in SV like << 0'h0, which is not valid SystemVerilog.

To Reproduce

No response

Expected behavior

A couple of things:

Actual behavior

0'h0 illegal SV

Additional: Dart SDK info

No response

Additional: pubspec.yaml

No response

Additional: Context

Related issues:
#57
intel/rohd-cosim#9
#429
#111

@mkorbel1 mkorbel1 added the bug Something isn't working label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant