Forum Discussion
Altera_Forum
Honored Contributor
13 years agoReading data from a ROM
I have created a ROM-1port via the MegaWizard which also has a .mif file and in my top level entity I have to instantiate that rom, but I don't know how to access the data from it. My .mif file...
Altera_Forum
Honored Contributor
13 years agoThat's the thing though, I need to use an external file like a .txt or .mif to initialize the memory and the intention is that the text file contains the version of the firmware and that file is controlled by another software, it's not going to be a fixed value, so I need a code that won't change, what will be changing always is the txt/mif file.
So I need a way to access those 2 adresses, I'm not sure if it's best to do it with a RAM or ROM, I tried both ways.