Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

RAM 1 port

using megawizard function i created 1 port RAM ,in Simulation waveform editor, i m able to write data for each clock cycle,now is it possible to store these values in a MIF/HEX file.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Do you mean that you want to store the result of your simulation in a file? In that case you should be able to do it in VHDL with the textio library.

    If you rather want to initialize your memory with a MIF/HEX file that you provide, you can do it from the megawizard.