ranga4a2
Newbie level 2
hi everybody,
code:
reg [0:250]primset[0:200];
input p;
integer i;
for(i=1;i<p-1;i=i+1)
begin
primset;=i;
end
while i am writing this for loop in xilinx. i am getting this error "For loop stop condition should depend on loop variable or be static".
can any one help me in solving this error.
code:
reg [0:250]primset[0:200];
input p;
integer i;
for(i=1;i<p-1;i=i+1)
begin
primset;=i;
end
while i am writing this for loop in xilinx. i am getting this error "For loop stop condition should depend on loop variable or be static".
can any one help me in solving this error.