Is it possible to break from always block in Verilog? I have a large block and it will be more readable with breaks, comparing to multiple nested if/else statements.
So I want something like this:
always_ff @(posedge clk) begin
...
if (x) begin
...
break;
end
...
end
I've found one solution, but it looks like a hack:
always_ff @(posedge clk) begin
repeat(1) begin
...
if (x) begin
...
break;
end
...
end
end