modelsim installation process

Modelsim installation package:
link: https://pan.baidu.com/s/1A1CXNsLgDWTZbJ7B3QCDuw Extraction code: 65ty

1. Install modelsim

After installing according to the normal installation method, usually the default path is C:\modeltech64_10.5.

Then copy the downloaded MentorKG.exe and patch_dll.bat files to the C:\modeltech64_10.4\win64 directory. And run C:\modeltech64_10.4\win64\patch_dll.bat as an administrator to generate LICENSE.TXT and copy it to the C:\modeltech64_10.5 directory.
Insert picture description here

Note that the read-only attribute of this file should be removed, otherwise the LICENSE file may not be generated, so change it back after generation.

Insert picture description here
Add the new environment variable MGLS_LICENSE_FILE in the environment variable as shown in the above figure, and the path points to the generated LICENSE file.

In addition, you need to remove the read-only attribute of C:\modeltech64_10.4\modelsim.ini, find and modify the variable VoptFlow = 0, save it, close it and change it back to read-only.

2. Quartus environment configuration

In the menu bar of the Quartus II software, select Tools->Options->General->EDA Tool Options->ModelSim and set it to C:\modeltech64_10.4\win64 (that is, the installation path of modelsim).

Insert picture description here
After that, you can write testbench to simulate through modelsim.

Guess you like

Origin blog.csdn.net/daijingxin/article/details/108534552