Altera_Forum
Honored Contributor
16 years agoHow to Initialize Multiple Instanses of on chip mem in SoPC
Hi,
I have a custom SoPC component that instantiates an on-chip memory. I need to use multiple instances of this component in my SoPC system, each with its own memory initialization file. In my custom component (I use VHDL), I have instantiated the memory using the MeagFunction PlugIn Wizard. It allows me to set a memory initialization file, but the file will be the same for all instances. I could modify the MegaFunction wrapper VHDL file to export the init_file parameter as a generic and then export it again from my component so that it becomes a parameter in my SoPC component. Is there a better way? Thanks! Niki