-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
[Question] How to use case statement with don't care? #641
Comments
Veryl has not yet supported these statement. @dalance |
By the way, case expression seems to be converted into logic using ternary operator |
The reason using ternary operator is that it can be used at arbitrary expression context like below: // pass
localparam A = X == 1 ? 0 : 1;
// fail
localparam A = case (X)
1: 0;
default: 1;
endcase |
I think it would be nice if the semantics of case expression and statement are not different. |
SystemVerilog does not have |
Hi.
Is the case statement with don't care like
casez
orcasex
supported?I want to use it to implement a decoder.
The text was updated successfully, but these errors were encountered: