Altera_Forum
Honored Contributor
15 years agoMake RAM from ROM
Hi, I used the MegaWizard Plug-In Manager to create a 1-Port ROM and used a .mif file for the memory content. What I am trying to do next is create RAM. Each time the device is powered-up, the RAM needs to be created from the ROM already loaded onto the device.
I assume I could create another .mif file, and use the MegaWizard to create a 2-Port RAM to be used for simulation? (Also not too sure on when to use 1 vs 2 vs 3 ports...) But how would I go about creating a module that only runs once, right when the device powers up, to recreate the RAM each time in case some inputs are different? I am pretty new at this, so any help would be greatly appreciated. Thanks!