Open GoogleCodeExporter opened 8 years ago
These errors are because you haven't compiled Xilinx's simulation library. You
need Xilinx libraries to simulate the PCIe core and other Xilinx related files.
* Step 1.
To compile Xilinx simulation library, you need to use the library compilation
wizard. If you are using Windows, you can find the GUI of the compilation
wizard from Start->Xilinx....->Library compilation wizard
If you are using Linux, you have to locate the executable of the wizard. For
example, for ISE 14.4 Linux version, it is located at
<Xilinx>/14.4/ISE_DS/ISE/bin/lin/compxlibgui
The wizard will guide you to compile the Xilinx libraries. You need to note
down the pathes to which your libraries are compiled.
* Step 2.
After compilation, you have to manually edit ModelSim configuration file so
that ModelSim knows where to locate these compiled libraries.
In your ModelSim installation directory, you can find a modelsim.ini file. Open
that file and add pathes to Xilinx compiled libraries.
[Library]
.........
.........
; Xilinx libraries -- Verilog
unisims_ver = c:/.../unisims_ver
xilinxcorelib_ver = c:/.../xilinxcorelib_ver
simprims_ver = c:/.../simprims_ver
unimacro_ver = c:/.../unimacro_ver
; Xilinx libraries -- VHDL
unisim = c:/.../unisim
xilinxcorelib = /xilinxcorelib
simprim = c:/.../simprim
unimacro = c:/.../unimacro
secureip = c:/.../secureip
* Step 3.
To verify whether you have successfully complied the libraries, start ModelSim
and click "Library" tab from the GUI. You should be able to see these libraries
(i.e. name, path ... ) and you can expand to see what components are inside
these libraries.
Original comment by george.g...@gmail.com
on 31 May 2014 at 5:43
Why can't everyone explain how to do something like George.g did?
Thank you so much.
Followed your instructions and everything worked out. Sure enough when I
clicked on the Modelsim Library tab they were all there!
I am using Modelsim_PE to simulate the Xilinx Ethernet MAC. Xilinx's own
simulator has no support for it. Once I compiled the libraries I found that I
had to edit the Modelsim.ini in the Xilinx project directory. Putting the new
paths in Modelsim.ini in the Modeltech directory did not work. There was a
Modelsim.ini also in the Xilinx project directory:
../simulation/functional/modelsim.ini. How that got there I don't know.
Your instructions worked very well.
Original comment by sand11...@gmail.com
on 16 Mar 2015 at 4:15
Original issue reported on code.google.com by
george.g...@gmail.com
on 31 May 2014 at 5:23