Specifications
APPENDIX B: LICENSING TROUBLESHOOTING AND FAQS
LICENSE FILE TROUBLESHOOTING
ALTERA CORPORATION ALTERA SOFTWARE INSTALLATION AND LICENSING ■ 82
For Mentor Graphics applications, including the ModelSim-Altera Edition
software, the locations of license files and servers can be specified in five
places. If multiple values are set, only the first value found is used. The
following search order is used:
1. MGLS_LICENSE_FILE set in the environment
2. MGLS_LICENSE_FILE set in the registry
3. LM_LICENSE_FILE set in the environment
4. LM_LICENSE_FILE set in the registry
5. C:\flexlm\license.dat (FLEXlm default license file location)
If the Mentor Graphics license is installed on a PC, the
MGLS_LICENSE_FILE environment variable settings takes precedence over
LM_LICENSE_FILE environment variable settings. If both are specified,
you should use the LM_LICENSE_FILE environment variable to point to the
ModelSim license server and use the MGLS_LICENSE_FILE environment
variable to point only to the license server for other Mentor Graphics
applications. Also, if you use the MGLS_LICENSE_FILE environment
variable, the ModelSim license server and other Mentor Graphics
applications license servers should be on the same machine.
Specifying ModelSim-Altera Edition License Files
and Servers
If you license the ModelSim-Altera Edition software with a floating license
running on a Windows license server, you might receive an error message
that the server cannot start mgcld because there might be another copy of
mgcld running. To resolve this problem, create a directory called C:\flexlm
on the license server, and place the license file in this directory.
Specifying Licensed HDL
If you can open the ModelSim-Altera Edition software, but a licensing error
occurs when you try to load or compile a design, the error may occur
because the OEM software tool (versions 6.1g and earlier) can be licensed for
either VHDL or Verilog HDL, but not both. The Quartus II software issues
an error message when trying to compile a Verilog HDL design if the license
file is enabled for VHDL support only or vice versa.