Open iv2nl0b9v opened 5 months ago
Repro:
module while_loop_inside_initial(); initial begin integer a = 3; while (a > 1) begin a = a - 1; end end endmodule : while_loop_inside_initial
Error: ERROR: While loops are only allowed in constant functions!
ERROR: While loops are only allowed in constant functions!
While loop is not supported inside non-synthesizeable inside block.
inside
Repro:
Error:
ERROR: While loops are only allowed in constant functions!
While loop is not supported inside non-synthesizeable
inside
block.