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 agoHello Carili.
In the state machine when you place the address of ROM in the first state: when addr0 => addr_rom <= "00000"; ver(15 downto 8) <= data_out_rom; st <= addr1; you can't get the data in the same state you place the address. You must read it in the addr1.