Altera_Forum
Honored Contributor
13 years agoSynthesis Problem
Hi everyone,
I have the following code worked fine:byte i, temp;
for (i=20; i>=0; i--)
begin
temp = i;
Array = array;
end when I change it to: byte i, temp;
for (i=20; i>=0; i--)
begin
temp = i;
Array = arraytemp];
end only few elements of the beginning of Array got correct values, the rest always got 0. Can anyone help me work that out?