Feb 6, 2013 #1 S singla.vishal8 Newbie level 6 Joined Feb 6, 2013 Messages 13 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,381 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 ).
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 ).