Forum Discussion
Altera_Forum
Honored Contributor
13 years agoIf you created the memory block with the megawizard or are instantiating a megafunction in your code, then you can supply a parameter with the name of a .hex or .mif file describing the memory contents.
If you instantiate it from HDL code, you can directly give the contents using an array. Have a look at the Altera recommended HDL style document.