Forum Discussion
Altera_Forum
Honored Contributor
15 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 ca...
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- Did you read the altmem_init users manual? Yes. If not using a mux. Basically, the function does a sequential load of the ram. You can do the same in your code, if you prefer. It's rather easy. --- Quote End --- Yes, I read the manual. It shows how to hookup the altmem_init to ram, but does not show how any of the user's data, address or write enable lines are connected. I have also performed a search of the Altera web site and the web and have not found any info on the best way to use the megafunction.