Forum Discussion
Altera_Forum
Honored Contributor
14 years agowhat is the size of r_by_2? if its not a constant, how do you know that both vector sizes are the same?
You could just stick it in a for loop and do it bit by bit.
for i in 0 to r_by_2-1 loop
q(i) <= q(i+r_by_2);
q(i+r_by_2) <= q(i);
end loop;