Forum Discussion
Altera_Forum
Honored Contributor
14 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=2...
Altera_Forum
Honored Contributor
14 years agoThe quick and dirty way would be to create a third array and use it to index array.
byte i, temp;
for (i=20; i>=0; i--)
begin
temp = i;
Array = array];
end
where index_array[] is an array of constants assigned outside your clocked process.