Forum Discussion
Questasim Altera libraries
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.7 Replies
- Altera_Forum
Honored Contributor
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.
- Altera_Forum
Honored Contributor
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?
- Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
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).
- Altera_Forum
Honored Contributor
I've done all you explained in post# 4 and everything seems ok for the compiling but the simulation tells me:
What can I do?** 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. - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
Finally everything is ok. That wasn't straightforward (for me) but I made it right.
Thanks for the help.