Forum Discussion
Altera_Forum
Honored Contributor
15 years agoInitialization of multidimensional arrays
Hello, I am developing video processing cores to Cyclone III devices by using Quartus II 10.1sp1. I am writing the program codes in Verilog HDL. Now I need for a 2 dimensional array fill...
Altera_Forum
Honored Contributor
15 years agoHi,
you can try to use a "initial" block to initialize the array. I'm not 100% sure about what Quartus supports in them. I've used "initial" blocks with "for" loops to initialize look up tables for fixed point dividers and it worked fine. I think you can also use the file reading functions.