Altera_Forum
Honored Contributor
20 years agoProblems compiling VHDL
Hello,
I'm using the NIOS II Development Kit on a Stratix II board equipped with an EP2S60 FPGA. I need to implement VHDL blocks for image processing. My block needs to read pixels written in memory (about max. 512*512 pixels). I wrote a for-loop in Quartus II 5.0, in a VHDL file, but it doesn't compile. One error occured which is : "Loop must terminate before or at 10 000 iterations". But 512*512 pixels = 262 144 iterations ! I also tried to create a for-loop from 0 to 9999 and it works. So I thought I could duplicate this for-loop, but it doesn't compile too. Has anyone had the same problem, or does anyone know how to make a 262144 iterations for-loop ? For the moment, the only solution I got is to make a 128 pixels memory acces in one iteration, but I want to know if a VHDL for-loop is limited to 10 000 iterations. Finally, I also tried to work with While-loops or Illimited-loops (with an exit condition), but the problem still remains : 10 000 iterations maximum. If you know what to do, feel free to answer. If my problem is not clear exposed, feel free to ask questions. Thanks for your reading, Lord_Readbeard