background image

PN 0402246-01

  Page 14 of 17

Step 7C: Compile ISE Simulation Libraries for ModelSim

Most simulators require you to compile the HDL libraries before you can use them for design
simulations. The advantages of compiling HDL libraries are speed of execution and economy of
memory.

Xilinx provides 

compxlib

 

to compile the HDL libraries for all Xilinx-supported simulators. This utility

will compile the UNISIM, XilinxCoreLib and SIMPRIM libraries for all supported device architectures.

Compile Libraries

For ML300, you will need the unisim, simprim, smartmodels, and XilinxCoreLib for Virtex-II Pro
to run on ModelSim SE.
1.

 

Open a Command Prompt / DOS shell  (Windows) or appropriate Unix shell (Solaris) with its
environment set to run ISE, EDK, and ModelSim.  On Windows, your environment has already
been set up to run the tools.  On Solaris, source the necessary environment scripts to be able to
run these tools.

2.

 

Choose a directory to install the libraries.  As a default, install them under a new “mti_se”
subdirectory under the EDK install directory %XILINX_EDK% (Windows) or $XILINX_EDK
(Solaris).  This directory will be created automatically by 

compxlib

 if it does not exist.

3.

 

Run 

compxlib

.  If you chose our directory suggestion, your command is:

Windows:

compxlib -s mti_se -f virtex2p:u:s:c:m -l all -w -o %XILINX_EDK%\mti_se

Solaris:

compxlib -s mti_se -f virtex2p:u:s:c:m -l all -w -o $XILINX_EDK/mti_se

This command compiles the unisim, simprim, and XilinxCoreLib verilog / vhdl libraries on
ModelSim SE for the Virtex-II Pro family in a new “mti_se” sub-directory of your EDK install
directory. It also compiles the smartmodels. The compiled results are saved in the following
directories:

unisims_ver
simprims_ver
XilinxCoreLib_ver
unisim
simprim
XilinxCoreLib

4.

 

Make note of where you installed the libraries.  If you chose our directory suggestion, the
libraries are installed in %XILINX_EDK%\mti_se (Windows) or $XILINX_EDK/mti_se
(Solaris).

www.BDTIC.com/XILINX

Summary of Contents for Virtex-II Pro ML300

Page 1: ...E 6 2i CD PC Disk 2 of 2 Device Files Windows evaluation version EDK 6 2i CD Embedded Development Kit Embedded Alliance Partner CDs evaluation versions System Requirements The Virtex II Pro ML300 Eval...

Page 2: ...ervice Packs and ChipScope Pro Software 5 Step 4 Install ISE 6 Step 5 Install EDK 8 Step 6 Install ChipScope Pro Software 10 Step 7 Set Up Simulation Tools 11 Step 7A Set up SmartModels 11 Step 7B Set...

Page 3: ...nd looking for the field Physical Address For workstation enter the command hostid in a shell Enter your Host ID on the web form and then click the Next button After successfully registering the ML300...

Page 4: ...design experience Register 1 Go to http www xilinx com ml300 2 Click ML300 Install on the left side of the page 3 Follow the on screen instructions for registering for CoreConnect 4 When approved you...

Page 5: ...tion Download these files now Download Files 1 Go to http www xilinx com ml300 2 Click ML300 Install on the left side of the page 3 Follow the on screen instructions for downloading the following A ML...

Page 6: ...screen directions to complete installation Note After installing Disk 1 you will be prompted to insert Disk 2 into your CD Drive Set Environment After installation set the following environment varia...

Page 7: ...follows source ise_install_dir settings csh OR for Bourne shell users source ise_install_dir settings sh Replace ise_install_dir with directory where you have installed ISE Note The setup file modifi...

Page 8: ...Install CD 1 Insert the EDK Installation CD in your PC 2 The installer should automatically pop up Otherwise open Windows Explorer and double click on setup exe on the CD 3 Click INSTALL EDK 4 Follow...

Page 9: ...to run EDK It must be re sourced if you open a new shell Apply Service Pack 1 Unzip the service pack into your XILINX_EDK directory Replace all files when prompted The service pack was downloaded dur...

Page 10: ...ChipScope Pro X x ChipScope Pro Analyzer Where X x is the version of ChipScope Pro installed 2 Check that the release version matches the version you installed ChipScope Pro Analyzer Help About ChipSc...

Page 11: ...over gate level models while at the same time protect the proprietary designs created by semiconductor vendors SmartModels are included in the Xilinx ISE release The following steps describe how to se...

Page 12: ...the line 3 For Verilog designs enable SmartModels by searching for the variable Veriuser and change it to On Windows Veriuser MODEL_TECH libswiftpli dll On Solaris Veriuser MODEL_TECH libswiftpli sl...

Page 13: ...the following environment variables to the MTI ModelSim setup script setenv MODELSIM path_to_modelsim ini_script modelsim ini setenv PATH MTI_path bin PATH You are responsible for changing the parame...

Page 14: ...ripts to be able to run these tools 2 Choose a directory to install the libraries As a default install them under a new mti_se subdirectory under the EDK install directory XILINX_EDK Windows or XILINX...

Page 15: ...run the tools On Solaris source the necessary environment scripts to be able to run these tools 2 Change directories to where you have installed the libraries generated by compxlib If you ran compxlib...

Page 16: ...Evaluation Platform They are located in the ML300 Lounge Install 1 Unzip the reference design into a working directory The reference design was downloaded during Step 3 Download ML300 Reference Design...

Page 17: ...th ML300 PDF located on the ML300 Documentation page You should check the ML300 web pages and ML300 Lounge for the latest in documentation and designs Both will be updated periodically and can be reac...

Reviews: