AR# 37696

|

13.1 Project Navigator - Associated Enviroment Variable not resolved when used to MAP Modelsim compiled libraries for Modelsim simulation

描述

If I use an environment variable to map the Modelsim compiled libraries, this causes an error in Project Navigator when I run a Modlesim simulation:

Sample Extract from Modelsim.ini file:

secureip = $XILINX_LIB_PATH\secureip
simprim = $XILINX_LIB_PATH\simprim
simprims_ver = $XILINX_LIB_PATH\simprims_ver
UNISIM = $XILINX_LIB_PATH\unisim
UNISIMS_VER = $XILINX_LIB_PATH\unisims_ver
XILINXCORELIB = $XILINX_LIB_PATH\xilinxcorelib
XILINXCORELIB_VER = $XILINX_LIB_PATH\xilinxcorelib_ver

Error Received:

Error extract:
Creating automatic do files...
  ----------------------------------------------------------------------------
  * udo file already exist (tb_testy_top_vhd.udo). It will not be re-generated.
  * creating main do file (tb_testy_top_vhd.fdo) for Behavioral Simulation...
     > executing '/home/mentor/modelsim/modelsim_6.6b/modeltech/linux_x86_64/vsim -version' to get the mti_se version...
     > mti_se version is 6.6b
  * determining pre-compiled simulation library path information...
   > using mapping file set by MODELSIM env (/home/mentor/modelsim/modelsim_6.6b/modeltech/modelsim.ini)...
    > extracting library mapping information from '/home/mentor/modelsim/modelsim_6.6b/modeltech/modelsim.ini'...
        > secureip (ERROR: Library path "$XILINX_LIB_PATH/secureip" does not exist)

ERROR: The library path specified in the 'modelsim.ini' file for mapping the 'secureip'
       library does not exist. Please fix the ini file or recompile the simulation libraries.

INFO: Simulation process aborted!

解决方案

To work around the issue in ISE Design Suite 12.x, the following options are available:

  • Use Modelsim standalone as Modelsim resolves the environment variable.
  • Copy the "modelsim.ini" file into the project run directory and replace the environment variable with the full path to the libraries.

In ISE Design Suite 13.1, Project Navigator maps the variables as follows:

  • On Linux, Project Navigator maps $VAR_name $VAR_name.foo and $VAR_name/lower_directory.
  • Project Navigator does not support ${whatever} on Linux.

In ISE Design Suite 13.2, Project Navigator will accept the $VAR_name syntax on Windows Operating Systems as well as Linux since Modelsim does not accept the %VAR_name% syntax.

AR# 37696
日期 10/03/2013
状态 Archive
Type 综合文章
Tools More Less
People Also Viewed