Altera_Forum
Honored Contributor
12 years agoInitialize ram block with different filename using generate loop.
I want to generate several instance of ram block and initialize it with different filename in Quartus II (Verilog 2001)
It seems that verilog does not support 2D parameter array, and part select on parameter is also not supportted. How to solve this problem? I find somebody has asked similar problem in VHDL, here http://www.alteraforum.com/forum/showthread.php?t=40003. And in Xilinx community Verilog also, http://forums.xilinx.com/t5/new-users-forum/intializing-different-block-ram-instances-created-from-a/td-p/222139 (http://forums.xilinx.com/t5/new-users-forum/intializing-different-block-ram-instances-created-from-a/td-p/222139)In the post above, the author using some commented code. I don't know whether it is applicapable in Quartus, and how to use like that?