We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 24887

LogiCORE Endpoint Block Plus for PCI Express v1.2 - Xilinx libraries are not pointed to correctly in xilinx_lib_mti.f


Issue 1 When I run the example simulation using "simulate_mti.do," I see warnings in the ModelSim console saying the Xilinx libraries cannot be found. How can I fix this?

Issue 2 The SmartModels path in "xilinx_lib_mti.f" assumes that I am using a Linux-based operating system. When using a Windows or Solaris machine, how do I change this path to correctly point to the Xilinx SmartModels?


Solution 1 The location of the Xilinx libraries (SimPrim, UniSim, SmartModel) has changed from ISE 8.2i to 9.1i. The file "xilinx_lib_mti.f" pointed to these libraries but was not updated in the new release of the core. Therefore, ModelSim does not locate the libraries correctly and produces the following warnings:

"# ** Warning: (vlog-2103) Directory "C:/Xilinx91i/virtex5/verilog/src/simprims" for -y option not found."

"# ** Warning: (vlog-2103) Directory "C:\Xilinx91i/virtex5/verilog/src/unisims" for -y option not found."

"# ** Warning: (vlog-2103) Directory "C:\Xilinx91i/virtex5/smartmodel/nt/wrappers/mtiverilog" for -y option not found."

The "xilinx_lib_mti.f" file must be edited to correctly point to the libraries. To resolve this issue, edit the file as shown below:

-y $XILINX/verilog/src/simprims

-y $XILINX/verilog/src/unisims

-y $XILINX/smartmodel/nt/wrappers/mtiverilog


Solution 2

The default path assumes the customer is on a Linux-based system (shown below). Therefore, this path is incorrect when using a Windows or Solaris-based operating system.

-y $XILINX/virtex5/smartmodel/lin/wrappers/mtiverilog

When running simulations on operating systems other than Linux, this path must be changed to point to the correct directory containing the Xilinx SmartModels.

When running on a Windows-based system, change the path to:

-y $XILINX/smartmodel/nt/wrappers/mtiverilog

When running on a Solaris-based system, change the path to:

-y $XILINX/smartmodel/sol/wrappers/mtiverilog

AR# 24887
Date Created 09/04/2007
Last Updated 12/15/2012
Status Active
Type General Article