fix iverilog compatibility for new case expr tests
This commit is contained in:
committed by
Zachary Snow
parent
207af4196b
commit
e0e4dfb55e
@@ -1,7 +1,7 @@
|
||||
module top(
|
||||
output logic [5:0] out
|
||||
);
|
||||
always_comb begin
|
||||
initial begin
|
||||
out = '0;
|
||||
case (1'b1 << 1)
|
||||
2'b10: out = '1;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module top(
|
||||
output logic [5:0] out
|
||||
);
|
||||
always_comb begin
|
||||
initial begin
|
||||
out = '0;
|
||||
case ($bits (out)) 6:
|
||||
case ($size (out)) 6:
|
||||
|
||||
Reference in New Issue
Block a user