singla.vishal8
Newbie level 6

generate
begin : block1
for (h=0; h<24 ; h= h+1)
begin
assign a2 = a1 >> 1;
if (a2[0] == 1'b1)
disable block1;
end
end
endgenerate
It shows following Error:
Line 187: ERROR, Syntax error near ( disable ).
begin : block1
for (h=0; h<24 ; h= h+1)
begin
assign a2 = a1 >> 1;
if (a2[0] == 1'b1)
disable block1;
end
end
endgenerate
It shows following Error:
Line 187: ERROR, Syntax error near ( disable ).