jis
Junior Member level 3

as it is not possible to produce synthesizable delay using "wait for " statement i wrote the following code. But it shows some error , I did'nt understand what the error was. i wrote the following code within the process statement.
process(clk)
variable count:integer;
begin
.
.
.
.
.
.
L1:loop
count:=count+1;
exit when count=1000000;
end loop L1;
For producing the delay I wrote the code snippet , which also produced the same error.
for i in range 0 to 1000000 loop
null;
end loop;
Pls help me in figuring out what the error is.
process(clk)
variable count:integer;
begin
.
.
.
.
.
.
L1:loop
count:=count+1;
exit when count=1000000;
end loop L1;
For producing the delay I wrote the code snippet , which also produced the same error.
for i in range 0 to 1000000 loop
null;
end loop;
Pls help me in figuring out what the error is.