Detailed Modelsim installation steps
table of Contents
This article mainly introduces the installation steps of Modelsim SE version.
One, modelsim brief description and download
1. Introduction and characteristics
Introduction
modelsim is an excellent HDL language simulation software developed by Mentor.
It can provide a friendly simulation environment and adopt a single-core simulator that supports mixed simulation of VHDL and Verilog. It adopts directly optimized compilation technology, Tcl/Tk technology and single-kernel simulation technology, the compilation and simulation speed is fast and the compiled code has nothing to do with the platform.
Features
- RTL and gate-level optimization, local compilation structure, fast compilation and simulation speed, cross-platform and cross-version simulation;
- Single-core VHDL and Verilog mixed simulation;
- Source code templates and assistants, project management;
- Integrates performance analysis, waveform comparison, code coverage, data flow ChaseX, Signal Spy, virtual object Virtual Object, Memory window, Assertion window, source window display signal value, signal condition breakpoint and many other debugging functions;
- C and Tcl/Tk interface, C debugging;
- Direct support for SystemC, mixed with HDL arbitrarily;
- Support the design function of SystemVerilog;
- The most comprehensive support for system-level description languages, SystemVerilog, SystemC, PSL;
- ASIC Sign off。
- Behavioral, RTL-level, and gate-level code can be performed separately or at the same time.
2. Modelsim version
ModelSim has several different versions: SE, PE, LE, and OEM. Among them, SE is the most advanced version, and those integrated in FPGA manufacturer design tools such as Actel, Atmel, Altera, Xilinx, and Lattice are all its OEM versions.
There is a big difference between the function and performance of the SE version and the OEM version. For example, for the simulation speed problem that everyone cares about, take the OEM version ModelSim XE provided by Xilinx as an example. For designs with less than 40,000 lines of code, ModelSim SE is better than ModelSim. XE is 10 times faster; for designs with more than 40,000 lines of code, ModelSim SE is nearly 40 times faster than ModelSim XE.
ModelSim SE supports PC, UNIX and LINUX hybrid platforms; provides comprehensive and high-performance verification functions; fully supports a wide range of industry standards; Mentor Graphics provides the industry's best technical support and services.
3. Modelsim download
Baidu network disk link:
https://pan.baidu.com/s/1vaMfrHw4IfamREKiVAsSGw .
Extraction code:82eh
Second, detailed installation steps
Unzip the downloaded file
Double-click to run the application, enter the installation guide interface
, click Next to
customize the installation path.
Select agree
Waiting for installation. A
prompt pops up, create a shortcut on the desktop.
Add a path.
Select No to
complete the installation.
Three, registration brief
Find the mgls64.dll file in the software installation directory.
Right-click the file, select properties, and cancel. 只读属性
Copy MentorKG.exe and patch_dll.bat together to the modelsim installation directory under win32 or win64.
Run patch_dll.bat, the license file will be generated, and the license file will be generated. Put it in any directory
注:运行patch_dll.bat生成license文件后会自动用记事本打开license.txt.生成的license.txt默认存放在C:\Users\user\AppData\Local\Temp
Set the environment variable name MGLS_LICENSE_FILE
, the
variable value is the path where the license is placed, and
that's it.
Four, summary and reference materials
1. Summary
This article mainly introduces the installation and registration steps of modelsim. The usage method will be introduced slowly in the following study.
2. Reference materials
[FPGA-Tools]: Modelsim SE-64 10.4 download, crack, installation process .
Modelsim10.5 installation tutorial .