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# 25157

9.1i ISE - "XILINX: Undefined variable" when trying to source the settings.sh/settings.csh file from a Programming Tools installation

Description

Keywords: message, error, order, bash, shell, script, Install

When sourcing the settings file that was created by the Xilinx Installer in my Programming Tools only installation, the following is returned:

XILINX: Undefined variable

Solution

The settings files are created with the incorrect order. You'll have to edit the file and move the XILINX environment variable checking section to the top.

In settings.sh, the text between the following lines should be moved to the top:
if [ -n "$XILINX" ]
...
export XILINX

In settings.csh, the text between the following lines should be moved to the top:
if ($?XILINX) then
...
endif
AR# 25157
Date Created 09/04/2007
Last Updated 05/01/2009
Status Archive
Type General Article