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:
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.
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:
When running on a Solaris-based system, change the path to: