I'm trying to simulate an example design of an IP Core, but the version of ModelSim I have installed (Altera Edition/Linux) does not link to the Xilinx library. How can I permanently or temporarily add the Xilinx library to ModelSim?
EDIT:
A few more details. I'm trying to simulate an example design for the Ethernet1000Base-X IPCore. The documentation is here: http://www.xilinx.com/support/documentation/ip_documentation/gig_eth_pcs_pma/v11_3/gig_eth_pcs_pma_ug155.pdf
One page 18, it describes how to simulate the design using either IES, ModelSim, or VCS. I get the following error in ModelSim after running this command: vsim -do simulate_mti.do
# ** Error: (vsim-3033) ../../../Ethernet1000BaseX.v(9359): Instantiation of 'LUT6' failed. The design unit was not found.
# Region: /demo_tb/dut/core_wrapper/gig_eth_pcs_pma_core
# Searched libraries:
# ** Error: (vsim-19) Failed to access library 'unisims_ver' at "unisims_ver".
# No such file or directory. (errno = ENOENT)
# /home/saddam/Desktop/Ethernet1000BaseX.3/ipcore_dir/Ethernet1000BaseX/simulation/functional/work
# ** Error: (vsim-19) Failed to access library 'unisims_ver' at "unisims_ver".
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-3033) ../../../Ethernet1000BaseX.v(9365): Instantiation of 'MUXF7' failed. The design unit was not found.
# Region: /demo_tb/dut/core_wrapper/gig_eth_pcs_pma_core
# Searched libraries:
# ** Error: (vsim-19) Failed to access library 'unisims_ver' at "unisims_ver".
# No such file or directory. (errno = ENOENT)
# /home/saddam/Desktop/Ethernet1000BaseX.3/ipcore_dir/Ethernet1000BaseX/simulation/functional/work
# ** Error: (vsim-19) Failed to access library 'unisims_ver' at "unisims_ver".
# No such file or directory. (errno = ENOENT)
** Error: (vsim-19) Failed to access library 'unisims_ver' at "unisims_ver".
# No such file or directory. (errno = ENOENT)
EDIT 2
Software:
Modelsim Altera Starter Edition 10.0d
Xilinx ISE 14.1 WebPack
Best Answer
compxlib
and following wizard.C:\Xilinx\10.1\ISE\vhdl\mti_se\unisim
for meAfter that you can have fun with UNISIM :)