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 agoint i,j;
j=0; for(i=0;i<=63;i++){ printf("%d,%d,%d\n",i, j,j+7); j+=8; } the last line of the output is 63,504,511