Forum Discussion
Altera_Forum
Honored Contributor
14 years agoStoring data in array
Hi, I wrote a simple code for multiplication and wanted to store the result in an array. The code does not show any error during compilation, but the output is zeros. Could some one tell me wh...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- In a HDL (hardware definition language), iteration schemes have a different meaning than in procedural programming languages. They don't define sequential processing of the included statements but are a method to define parallel processing. Even if the iteration construct would be accepted by the Veriolog compiler (when using constant loop parameters), the resource requirement would go beyond any meaningful FPGA size. --- Quote End --- By FVM in another thread. Yeah, it will just unwrap the loop.. so the loop needs to be finite, have a low size and to be constant. It is unrolled BEFORE synthesis