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

Constants in generated SystemVerilog are unsized #89

Closed
mkorbel1 opened this issue Mar 24, 2022 · 0 comments · Fixed by #94
Closed

Constants in generated SystemVerilog are unsized #89

mkorbel1 opened this issue Mar 24, 2022 · 0 comments · Fixed by #94
Assignees
Labels
bug Something isn't working

Comments

@mkorbel1
Copy link
Contributor

Describe the bug

Generated SystemVerilog from ROHD will be unsized like 0 or 15 instead of with an explicit size like 2'b0 and 16'd15. This can cause anything from a lint failure to a swizzling width mismatch/misalignment.

To Reproduce

Generate SystemVerilog with constant value assignments using Const.

Expected behavior

All constants are sized.

Actual behavior

No constants are sized.

@mkorbel1 mkorbel1 added the bug Something isn't working label Mar 24, 2022
@mkorbel1 mkorbel1 self-assigned this Mar 24, 2022
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

Successfully merging a pull request may close this issue.

1 participant