error in break statement by using disable statement

Status
Not open for further replies.

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 ).
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…