Examples; Simulation Environment Setup Example (Modelsim Se 6.1D On Linux); Sim_Pll_Perdiv2 Calculation Example - Xilinx Virtex-5 RocketIO GTP User Manual

Table of Contents

Advertisement

Chapter 3: Simulation

Examples

Simulation Environment Setup Example (ModelSim SE 6.1d on Linux)

This section provides an example how to set up a simulation environment for SmartModel
support. This is a prerequisite for simulating designs containing GTP_DUAL tile(s).
This example uses ModelSim SE 6.1d, the HDL simulator from Mentor Graphics, with
RedHat Enterprise Linux 3.0 as the operating system and version 8.1i of the Xilinx ISE
Development System. The Synthesis and Simulation Guide provides guidelines and
examples for a different HDL simulator or Xilinx ISE development system
Use setenv to set the following environment variables:
The initialization file (Modelsim.ini) contains the following settings:
The location of SmartModel in the ISE directory tree is:
The selected options for the COMPXLIB tool are:
These options use the compxlib tool to compile all libraries for all languages for the
ModelSim SE 6.1d HDL simulator. The default output directory is
$XILINX/language/target_simulator. The compiled libraries are specified to be
written to $XILINX/vhdl/mti_se and $XILINX/verilog/mti_se.

SIM_PLL_PERDIV2 Calculation Example

This section provides examples of how to calculate the correct value for the simulation-
only attribute SIM_PLL_PERDIV2.
1. If there is a contradiction between this example and the documentation of your simulator, the simulator
46
• XILINX
Location of the installed Xilinx ISE system (for example,
/opt/Xilinx/ise_8_1_i)
• MODEL_TECH
Location of the installed ModelSim simulator (for example,
/edatools/mentor/modelsim/6.1d/)
• LMC_HOME
$XILINX/smartmodel/lin/installed_lin
• LMC_CONFIG
$LMC_HOME/data/linux.lmc
• LD_LIBRARY_PATH $LMC_HOME/lib/linux.lib:$LD_LIBRARY_PATH
libsm = $MODEL_TECH/libsm.sl
libswift = $LMC_HOME/lib/linux.lib/libswift.so
Resolution = 1ps ;(one picosecond simulator resolution)
$XILINX/virtex5/smartmodel/lin/image
compxlib -s mti_se -l all –arch all -smartmodel_setup
documentation has precedence. If a newer version of the Xilinx ISE development system is used, check the
Xilinx website for additional information.
www.xilinx.com
Virtex-5 RocketIO GTP Transceiver User Guide
UG196 (v1.3) May 25, 2007
R
(1)
.

Advertisement

Table of Contents
loading

Table of Contents