Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

EDA Simulation Library Compilation Error

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

8 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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