jis
Junior Member level 3
- Joined
- Dec 17, 2011
- Messages
- 27
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,501
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.