fix iverilog compatibility for new case expr tests

This commit is contained in:
Zachary Snow
2022-01-03 12:11:41 -07:00
committed by Zachary Snow
parent 207af4196b
commit e0e4dfb55e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 -1
View File
@@ -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: