Forum Discussion
Altera_Forum
Honored Contributor
15 years agoLoop index overflow problem
Hi there, I've wrote a little VHDL program in Quartus II. I'd like to separate one big std_logic_vector into small fix-length std_logic_vectors and the compile told me that the index is out...
Altera_Forum
Honored Contributor
15 years agoA pretty long thread for a trivial overflow problem I think...
By the way, this was my original suggestion. Almost obvious in my opinion. "calculate the p_count value at the entry of each iteration"for i in 0 to 63 loop
p_count := (8*8-i)*i_width-1;
...
end loop;