UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 60154

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

Description

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.

Solution

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)

Linked Answer Records

Associated Answer Records

AR# 60154
Date Created 04/07/2014
Last Updated 06/26/2014
Status Active
Type Known Issues
Tools
  • Vivado Design Suite - 2014.1