Altera_Forum
Honored Contributor
14 years agousing altmem_init
I have a case where I am using a dual port ram that under certain conditions needs to be initialized to all '0's. I'm looking at the altmem_init function, but can not determine how to apply it. I can't find any examples of how to use it. If it is connected to the datain and add lines, do I have to created a mux to use the ram normally? Does it require a dual port ram with one side dedicated to the init function? Any help would be appreciated. gweather