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

altera_mf Modelsim simulation problems

Altera_Forum
Honored Contributor II
1,242 Views

I migrated a design from Quartus 6.1 to Quartus 9.1 and am having problems simulating in Modelsim (version 6.1d). 

 

I compiled the altera libraries, including altera_mf, on a Linux server using source for Quartus 9.1. Several Megawizard-generated memory files that use the altsyncram primitive, had simulation problems. One component that loads a .mif file caused Modelsim to lock up while simulating. Hit break and discovered that simulation was stuck on a read loop while trying to read .mif file in procedure read_my_memory() in altera_mf.vhd. Commented out the rom in my firmware, then discovered that the .hex files loaded in other memory files could not be found (init_file path in the altsyncram primitive generic list uses relative addressing, e.g. init_file => "./onchip_memory_0.hex").  

 

I then replaced the altera_mf compiled library with one compiled using same version of Modelsim only using Quartus 6.1 source code on my hard drive. The simulator was then able to read the .mif file OK (after uncommenting the rom) & locate the .hex files.  

 

Problem is the Quartus 6.1 altera_mf doesn't define altera_std_synchronizer, which is used in some of the other files generated by SOPC Builder (e.g. uart_0.vhd) but the 9.1 code does. So using the 6.1 library allows me to read the memory init files & initialize them properly, but leads to missing logic. Would like to find a solution that resolves both. 

 

Any suggestions/help would be appreciated,  

GMM 

 

No replies as of June 22. Bummer GMM
0 Kudos
0 Replies
Reply