Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17254 Discussions

simulation of megafunction with modelsim

Altera_Forum
Honored Contributor II
1,155 Views

Hi All, 

 

I am using a altsyncram memory (megafunction wizard) in my project . I used .mif file to initialize the memory. Now I am trying to simulate it with Modelsim Altera 6.1g but I get an error " invalid file name during simulation. 

 

Can anybody tell me the steps that I need to follow to simulate a a megafunction in Modelsim? 

 

Regards, 

Asmita
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
445 Views

ModelSim supports only *.hex initialization files. They can be used with Quartus as well. If *.hex files don't work with ModelSim, you most likely didn't place them in the expected directory.

0 Kudos
Altera_Forum
Honored Contributor II
445 Views

ModelSim probably only reads .hex directly, but the altera_mf library does include a mif reading function which ModelSim understands

0 Kudos
Reply