Forum Discussion

YYama23's avatar
YYama23
Icon for New Contributor rankNew Contributor
7 years ago

Licensing error in simulation. How can I fix it?

I'm trying to run a functional simulation on Quartus Prime Lite, but I get this error:

Unable to checkout a license.  Vsim is closing.
** Fatal: Invalid license environment. Application closing.
Unable to checkout a license. Make sure your license file environment variables are  set correctly and then run 'lmutil lmdiag' to diagnose the problem.
Modelsim - Intel FPGA Edition uses the following environment variables to check the licenses (listed in the order of preference)
1. MGLS_LICENSE_FILE
2. LM_LICENSE_FILE.

I just want to use Quartus to run some simulations.

6 Replies

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    When you install Quartus, you have the option of installing the Starter edition or the regular edition. If you accidentally installed the regular edition, you would get this license issue. If you have the modelsim_ase directory as mentioned, then you installed the correct version and should check the environment variables.

  • AnandRaj_S_Intel's avatar
    AnandRaj_S_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    Do you have license for Modelsim - Intel FPGA Edition ?

    If no, use ModelSim-Altera Starter Edition.

    If yes check your license validity & environment variable.

    Let me know if you need any further assistance.

    Regards

    Anand

  • YYama23's avatar
    YYama23
    Icon for New Contributor rankNew Contributor

    I don't think so. I installed the Quartus Prime Lite v18. I assumed I wouldn't need any licenses because it's a free version. I just ran the instalation by clicking the QuartusLiteSetup-18.1.0.625-windows.exe.

    How do I use ModelSim-Altera Starter Edition? This option doesn't appear in Assignments > Settings > EDA tool settings > simulation.

  • Dutch1994's avatar
    Dutch1994
    Icon for New Contributor rankNew Contributor
    Hello, I had exactly the same error when trying to simulate the asynchronous counter in this video: https://www.youtube.com/watch?v=kRXWk2llxVk (minute 11:57)
    Seeing several comments about it, it occurred to me to go to this path C:\intelFPGA_lite\17.0
    There, I found 2 files: modelsim_ase and modelsim_ae
    What I did was delete the "modelsim_ae", then I closed the vwf simulation, I recompiled my schematic, I opened the VWF University Program, I put the entries with their values ​​and I managed to simulate it well (the time diagram appeared).
    Let's see if that works for you...
  • cirobr's avatar
    cirobr
    Icon for New Contributor rankNew Contributor

    Cheers,

    Have installed Quartus Prime 23.1std.1 Lite edition, so far working properly. Have also installed ModelSIM 18.1, no license option chosen at installation process. Upon attempting to run a simulation, an error message tied to licensing shows up, as in the attached image.

    The PATH configuration on my Win 11 PC is as follows:

    PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Docker\Docker\resources\bin;C:\Users\cirob\AppData\Local\Microsoft\WindowsApps;C:\Users\cirob\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\cirob\AppData\Local\Programs\MiKTeX\miktex\bin\x64\;C:\intelFPGA_lite\23.1std\questa_fse\win64;C:\intelFPGA\18.1\modelsim_ase\win32aloem

    Any help is greatly appreciated.

    Thanks.