PN 0402246-01
Page 15 of 17
Step 7D: Compile EDK Simulation Library for ModelSim
Xilinx provides a tool to compile behavioral model libraries of the EDK IP for ModelSim. The
compedklib
program will compile the libraries into a specified location. For encrypted IP, Xilinx
provides precompiled libraries and will be placed by
compedklib
in the same location.
Compile Library
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.
Change directories to where you have installed the libraries generated by
compxlib
. If you ran
compxlib
with the suggested directory, you will change to either %XILINX_EDK%\mti_se or
$XILINX_EDK/mti_se.
3.
Run
compedklib
. If you choose our directory name suggestion of “edklib”, your command is:
compedklib -X . -o edklib
This command will compile the EDK simulation libraries into:
./edklib
Note:
ModelSim will overwrite the
modelsim.ini
file when mapping the compiled libraries.
4.
Make note of the EDK simulation directory path. If you chose our suggestions, the library is at
%XILINX_EDK%\mti_se\edklib (Windows) or $XILINX_EDK/mti_se/edklib (Solaris)
directory.
www.BDTIC.com/XILINX