Add Xilinx emulation library to Modelsim [go]
Description
- Modelsim must be installed in a directory without spaces, that is, do not install in the "program Files" directory. As the author is installed in the D:\softwares\Modelsim directory.
- Ise software is also best installed in directories without spaces.
1. Find the Start menu, program->xilinx ise Design Suite, ise-Accessories, Simulation Library compilation Wizard.
2. Select the Modelsim version, and specify the installation path for the Modelsim.
3, choose both VHDL and Verilog.
4, choose which series of chips to support, see that they need to increase or decrease.
5, the default selection of the whole can.
6, specify the post-compilation inventory placement, where the author in the Modelsim installation directory to create a new Xilinx_lib folder, and designated here. (Be careful not to point to a path with spaces)
7, run Lauch Compile Process, that is, to start compiling library files, it takes a few 10 minutes. After compiling, you should have the following folders in the Xilinx_lib directory:
8, right-click on the Modelsim directory to open the Modelsim.ini file, first its "read-only" attribute removed. Then open it with Notepad. Under [Library], add the following code, which is the path to the previously compiled Xilinx library.
Unimacro = D:/softwares/modelsim/xilinx_lib/unimacro
Unimacro_ver = D:/softwares/modelsim/xilinx_lib/unimacro_ver
UniSIM = D:/softwares/modelsim/xilinx_lib/unisim
Unisims_ver = D:/softwares/modelsim/xilinx_lib/unisims_ver
SECUREIP = D:\softwares\modelsim\xilinx_lib/secureip
Xilinxcorelib = D:/softwares/modelsim/xilinx_lib/xilinxcorelib
Xilinxcorelib_ver = D:/softwares/modelsim/xilinx_lib/xilinxcorelib_ver
Simprim = D:/softwares/modelsim/xilinx_lib/simprim
Simprims_ver = D:/softwares/modelsim/xilinx_lib/simprims_ver
9. Open Modelsim again, that is, you can see that the Xilinx library has been shown by default in the library list. When you emulate Xilinx's IP cores later, you don't have to add libraries every time.
Adding Xilinx emulation libraries to Modelsim