mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-09 19:21:26 +00:00
verilog: test cases that look like SVA labels #862
This commit is contained in:
parent
c30fd46ea3
commit
62120bda06
1 changed files with 10 additions and 0 deletions
10
tests/verilog/sva-in-case-expr.ys
Normal file
10
tests/verilog/sva-in-case-expr.ys
Normal file
|
@ -0,0 +1,10 @@
|
|||
read_verilog -sv <<EOT
|
||||
module test(input wire A);
|
||||
localparam TEST = 1;
|
||||
always_comb begin
|
||||
case (A)
|
||||
TEST: assert(1);
|
||||
endcase
|
||||
end
|
||||
endmodule
|
||||
EOT
|
Loading…
Add table
Add a link
Reference in a new issue