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

EDA Simulation Library Compilation Error

Altera_Forum
Honored Contributor II
2,797 Views

Hi all, 

 

I wanted to perform a simulation of my Quartus II project in Modelsim SE 10.1. Hence, I need to compile the libraries files in Quartus, using the EDA Simulation Library Compiler. However I got the following errors. Can someone help me out here? 

 

Error:# ** Error: (vlog-7) Failed to open design unit file "c:/altera/11.1/quartus/eda/sim_lib/mentor/altera_lnsim_for_vhdl.sv" in read mode. 

Info:#  

Info:# No such file or directory. (errno = ENOENT) 

Info:# 1 

Info: Library compilation terminated due to error in compilation( C:/modeltech_10.1/win32/vlog failed. ) 

Error: Compilation was NOT successful. 1 errors, 0 warnings 

 

Without the library compilation I cannot compile the .vho files in Modelsim 

Thank you for your help
0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
1,576 Views

have you checked if c:/altera/11.1/quartus/eda/sim_lib/mentor/ exists? are you using QII Web or Subscription? 

 

the directory is present on 11.1 Subscription on my machine 

 

if you're really in a pinch you, there are other scripts you can try: 

 

http://www.altera.com/support/examples/tcl/tcl-modelsim.html
0 Kudos
Altera_Forum
Honored Contributor II
1,576 Views

 

--- Quote Start ---  

have you checked if c:/altera/11.1/quartus/eda/sim_lib/mentor/ exists? are you using QII Web or Subscription? 

 

the directory is present on 11.1 Subscription on my machine 

 

if you're really in a pinch you, there are other scripts you can try: 

 

http://www.altera.com/support/examples/tcl/tcl-modelsim.html 

--- Quote End ---  

 

 

Im using the Quartus II web. and yes I just checked, the directory mentor/ doesnt exist in my machine. Does that implies that I cant use Quartus II web with Modelsim SE ?Instead I should go for Modelsim-Altera?
0 Kudos
Altera_Forum
Honored Contributor II
1,576 Views

You could just install Quartus II full-edition. That'll get you the libraries. It doesn't matter than you cannot run the software. In fact, I think you can run the software, but only for 30 days. 

 

Modelsim-ASE can be used in single-language mode. You could install it too, just as a test to see what libraries are needed to get things working. 

 

Unfortunately, the Modelsim compiled libraries are not compatible, so you can't just vmap the Modelsim-SE libraries to point to the Modelsim-ASE libraries. 

 

I have Modelsim-SE and ASE installed. 

 

Cheers, 

Dave
0 Kudos
Altera_Forum
Honored Contributor II
1,576 Views

 

--- Quote Start ---  

You could just install Quartus II full-edition. That'll get you the libraries. It doesn't matter than you cannot run the software. In fact, I think you can run the software, but only for 30 days. 

 

Modelsim-ASE can be used in single-language mode. You could install it too, just as a test to see what libraries are needed to get things working. 

 

Unfortunately, the Modelsim compiled libraries are not compatible, so you can't just vmap the Modelsim-SE libraries to point to the Modelsim-ASE libraries. 

 

I have Modelsim-SE and ASE installed. 

 

Cheers, 

Dave 

--- Quote End ---  

 

 

Thank you! I have Modelsim-ASE too. The compilation and simulation in Modelsim-ASE runs perfectly. I just have problems with ModelSim SE. I guess I just stick to Modelsim-ASE
0 Kudos
Altera_Forum
Honored Contributor II
1,576 Views

 

--- Quote Start ---  

Thank you! I have Modelsim-ASE too. The compilation and simulation in Modelsim-ASE runs perfectly. I just have problems with ModelSim SE. I guess I just stick to Modelsim-ASE 

--- Quote End ---  

If Modelsim-ASE works fine, then you should be able to get Modelsim-SE working too. The Modelsim-ASE compiled libraries are located in 

 

c:/software/altera/11.1sp1/modelsim_ase/altera/verilog and vhdl 

 

(or wherever you have install the altera tools to). 

 

You should be able to determine from Modelsim-ASE which libraries your simulation uses, and then compile those libraries for Modelsim-SE. Even if you have to get some of the source from the full-edition, its not that much work. Uninstall it once you have the files. 

 

Cheers, 

Dave
0 Kudos
Altera_Forum
Honored Contributor II
1,576 Views

 

--- Quote Start ---  

If Modelsim-ASE works fine, then you should be able to get Modelsim-SE working too. The Modelsim-ASE compiled libraries are located in 

 

c:/software/altera/11.1sp1/modelsim_ase/altera/verilog and vhdl 

 

(or wherever you have install the altera tools to). 

 

You should be able to determine from Modelsim-ASE which libraries your simulation uses, and then compile those libraries for Modelsim-SE. Even if you have to get some of the source from the full-edition, its not that much work. Uninstall it once you have the files. 

 

Cheers, 

Dave 

--- Quote End ---  

 

 

Thank you for the guide!
0 Kudos
Altera_Forum
Honored Contributor II
1,576 Views

i think this is worth reporting to Altera (being able to use full simulators with Web Edition)

0 Kudos
Altera_Forum
Honored Contributor II
1,576 Views

 

--- Quote Start ---  

if you're really in a pinch you, there are other scripts you can try: 

 

http://www.altera.com/support/examples/tcl/tcl-modelsim.html 

--- Quote End ---  

 

 

This script needs an update for the newer families (ie, Cyclone IV E/GX). 

But otherwise, it has worked fine for me in the past.
0 Kudos
Reply