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

Questasim Altera libraries

Altera_Forum
Honored Contributor II
3,592 Views

Hi, 

I want to compile a project with Questasim -64 10.2c and this project (downloaded from opencores.org) contains some Altera components so I need Questasim libraries. I could use modelsim-AE instead but I have to use Questa. I tried some tutorials but there's always something going wrong. 

Could someone give me a simple and effective method? 

Thanks.
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
2,366 Views

the easiest method would be to copy all the libraries from modelsim AE, map them into questa then recompile them, using the refresh option from the context menu.

0 Kudos
Altera_Forum
Honored Contributor II
2,366 Views

Could you explain it step-by-step and with the files needed in this procedure because I'm not an expert and that isn't clear for me even if it seems easy for you?

0 Kudos
Altera_Forum
Honored Contributor II
2,366 Views

Look in the libraries tab in Modelsim AE. Look at the path of the libraries you need 

Find the files in the correct folder 

Copy them to some other directory (you dont have to do this, but if you dont copy them, then you'll have to recompile them the next time you use modelsimAE) 

In Questa, either use vmap to the path: 

 

eg: 

vmap altera_mf /<mypath>/altera_mf/ 

 

or do it via the gui - right click - add library - fill in the boxes. 

 

right click on the added library and click refresh
0 Kudos
Altera_Forum
Honored Contributor II
2,366 Views

You should also be able to generate the libraries from quartus specifically for the correct questa version. (but I dont know how to do this).

0 Kudos
Altera_Forum
Honored Contributor II
2,366 Views

I've done all you explained in post# 4 and everything seems ok for the compiling but the simulation tells me: 

** Error: C:/Users/rm231795/Documents/avs_aes/trunk/rtl/VHDL/sboxM4k.vhd(186): (vopt-1127) Entity altera_mf.altsyncram was not selected for default binding because it is out of date relative to dependency ieee.std_logic_1164. 

What can I do?
0 Kudos
Altera_Forum
Honored Contributor II
2,366 Views

Read the quartus help on how to generate simulation libraries: 

http://quartushelp.altera.com/13.1/mergedprojects/eda/eda_topics/quartus2/eda_ref_presynth_lib.htm
0 Kudos
Altera_Forum
Honored Contributor II
2,366 Views

Finally everything is ok. That wasn't straightforward (for me) but I made it right. 

Thanks for the help.
0 Kudos
Reply