C
cltsaig
Guest
Hi all,
Can anyone check whether my VHDL code for variable step for-loop is
correct or not??? Many thanks!!!
------- C code example --------
int ip1;
for (ip1=1; ip1<=10; ip1+=2) {
....
}
------- VHDL code example -------
varible ip1 : integer;
for ip1 in 1 to 10 loop
ip1:=ip1+2;
....
end loop;
Stanley
Can anyone check whether my VHDL code for variable step for-loop is
correct or not??? Many thanks!!!
------- C code example --------
int ip1;
for (ip1=1; ip1<=10; ip1+=2) {
....
}
------- VHDL code example -------
varible ip1 : integer;
for ip1 in 1 to 10 loop
ip1:=ip1+2;
....
end loop;
Stanley