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 agoYou have changed the constraint range - in the origional code you posted :
variable p_count:integer range 0 to 8*8*i_width; --i_width is a constant Which should give you 0 to 512.