AR# 60154

|

2014.1 Install - XILINX_VIVADO and LD_LIBRARY_PATH environment variables are not set in settings64.bat/sh files

描述

The settings script files (settings32.bat, settins64.bat, settins32.sh and settings64.sh) are used to set up the required environment for running Vivado IDE and related Xilinx and 3rd party software interfaces.

In Vivado 2014.1, the XILINX_VIVADO and LD_LIBRARY_PATH environment variable settings were inadvertently left out of the settings scripts.

The Vivado ISE does not need to have these variables set in order to run. 

However, these variables will need to be set in order for 3rd party software interfaces (particularly simulation tools) to run correctly.

When running the xelab, xsc, xsim, xvhdl, or xvlog commands in batch files or scripts, it may be necessary to define the XILINX_VIVADO environment variable to point to the installation hierarchy of the Vivado Design Suite.

解决方案

The XILINX_VIVADO and LD_LIBRARY_PATH environment variable settings have been added back into the Vivado 2014.2 settings scripts.

To set the XILINX_VIVADO variable in Vivado 2014.1, you can add one of the following to your script or batch file:

Windows
set XILINX_VIVADO=<vivado_install_dir>/Vivado/2014.1
or
set XILINX_VIVADO=%RDI_APPROOT%

Linux
setenv XILINX_VIVADO <vivado_install_dir>/Vivado/2014.1
or
set XILINX_VIVADO %RDI_APPROOT%

Note: %RDI_APPROOT% is the location where the Vivado version is installed.  Example: C:\Xilinx\Vivado\2014.1

The LD_LIBRARY_PATH should be set on Linux machines as follows
setenv LD_LIBRARY_PATH $XILINX_VIVADO/ids_lite/ISE/lib/lin64:$LD_LIBRARY_PATH
or
LD_LIBRARY_PATH %XILINX_VIVADO%/ids_lite/ISE/lib/lin64:$LD_LIBRARY_PATH

In previous releases, the settings script files call .settings32/64.bat/sh scripts to do the actual setting of the XILINX_VIVADO and LD_LIBRARY_PATH variables.

Examples of these scripts from a previous release are attached to this answer record.
 
For general information on setting environment variables see: (Xilinx Answer 11630)

链接问答记录

相关答复记录

AR# 60154
日期 06/26/2014
状态 Active
Type 已知问题
Tools
People Also Viewed