Forum Discussion
Hi Julia, I have no idea how to generate .dat file nor i found information about format.
Quartus copy your .hex file to simulation directory and seems it is ok from modelsim.
If your file is .mif format, open with quartus "open file" then "save as" .hex, change on qsys.
When you launch modelsim, memory file is fetched from simulation directory.
Googling around the closest solution i found was this:
https://stackoverflow.com/questions/23193206/inferred-ram-doesnt-initialize-in-modelsim-altera-edition
Please tell me back if this helped.
Regards
Roberto
Hi Roberto,
Thank for the reply.
Unfortunately it did not help. I use Aldec Riviera PRO and not Modelsim.
I created a hex file with the correct name and placed it together with the UFM IP, but the tool still complains that it cannot open the file.
The function seems to work in hardware, so I think I will just have to do without it in simulation.
Regards, Julia