In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to use modelsim co-simulation in vivado2018. The content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
1. Install ModelSim SE 10.4 and crack
(1)。 Install the software, note: the installation directory to avoid Chinese or space, the installation process has been click Yes.
(2)。 Put MentorKG.exe, mgls.dll and patch74_dll.bat
Copy it to win32 or win64 in the modelsim installation directory, for example, [D:\ Software\ Modelsim_10.5\ win64].
(3)。 Go to the win64 folder under the installation directory to find the two mgls.dll mgls64.dll files and remove the read-only attribute.
(4)。 Run patch74_dll.bat, generate license, and put it in any directory, for example, [D:\ Software\ Modelsim_10.5\].
(5)。 Create a new user environment variable [MGLS_LICENSE_FILE]. The value of the variable is the directory placed by license, for example: [d:\ Software\ Modelsim_10.5\ LICENSE.TXT]. In win10, right-click the computer, select properties, select advanced system settings, and select environment variables.
Joint Simulation of 2.vivado and modelsim
First, the device library compiles. First, create a new folder called vivado2018_lib in the modelsim installation path (the path and file name can be changed), as shown in the following figure.
Then select the vivado menu "Tools"-- > "Compile Simulation Libraries …" Command, as shown in the following figure.
Set the compilation parameters of the device library in the pop-up dialog box, select the simulation tool "Simulator" as ModelSim, language "Language", library "Library" and device family "Family" all set All by default (of course, you can also set it according to your own needs), and then set the path of the compiler library in the "Compiled library location" column, here select the newly created vivado2018_lib folder, and set the path of the modelsim execution file in the "Simulator executable path" column. Note that the arrow part is unchecked, as shown in the following figure.
This step uses the TCL command as follows:
Compile_simlib-directory-simulator
-simulator_exec_path
For example: a) the simulation library is compiled to D:/xilinx_sim_lib
B) Simulation tools using Modelsim
C) ModelSim is installed in C:/modeltech74_10.2/win64
Then the complete tcl command is:
Compile_simlib-directory E:/modeltech74_10.4/vivado2018_lib-simulator modelsim-simulator_exec_path E:/modeltech74_10.4/win64
After setting the parameters, click the "Compile" button to start the compilation of the library. The following figure shows that the component library is in the process of being compiled. After the compilation of the device library, the compilation report is given, and 0 warnings and 0 errors are seen from the report, as shown in the figure.
Open the vivado2018_lib folder under the modelsim installation path, and you can see that the component library has been generated, as shown in the figure.
Generate the file shown above, and set modelsim to the user's global variable, so you don't need to compile the library here next time. As shown in the following figure, set the variable name to MODELSIM and the variable value to the path of modelsim.ini.
Second, set the installation path of modelsim (the third-party simulation tool) in vivado. Select "Tools"-> "Setting …" from the vivado menu. Select the "Tool setting"-- > "3rd Party Simulators" tab, and enter or select the installation path for the modelsim tool in the "ModelSim" column, as shown in the following figure.
Third, after associating the modelsim software and the compiled device library in vivado, you can call the modelsim software in vivado to simulate the design. However, some settings need to be made when simulating each new engineering design. Select the vivado menu "Flow"-- > "Simulation Settings …" Command or click on the process wizard to select "Simulation Settings …" Command, as shown in the figure.
In the pop-up dialog box, set the simulation tool to modelsim, the simulation language to verilog or VHDL or hybrid, and specify the path to the component library when the simulation tool included in vivado is used in the design, as shown in figure 10. Other parameters of the simulation will not be introduced here.
After setting the simulation parameters, if the design file and simulation file are ready, then you can start to simulate the function of the design. Select the menu "Flow"-> "Run Simulation"-> Run Behavioral Simulation select the appropriate simulation type or click "Run Simulation" in the process wizard-> select the appropriate simulation type to simulate, as shown in the figure.
On how to use modelsim co-simulation in vivado2018 to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.