diff --git a/tests/simple/case_expr_extend.sv b/tests/simple/case_expr_extend.sv index 61bd14df1..d4ca2aa9b 100644 --- a/tests/simple/case_expr_extend.sv +++ b/tests/simple/case_expr_extend.sv @@ -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; diff --git a/tests/simple/case_expr_query.sv b/tests/simple/case_expr_query.sv index 63a0a8b7a..844dfb713 100644 --- a/tests/simple/case_expr_query.sv +++ b/tests/simple/case_expr_query.sv @@ -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: