Return to previous page Advance to next page

Setting Up User Variables


This section details how to set up and verify your Xilinx and third- party software environment variables. Use this information after completing your software installation.

Windows Environment Variables

The installer provides an option to have these variables set automatically to the appropriate values. The variables should be automatically set as follows:

XILINX=c:\xilinx
PATH=%XILINX%\bin\nt

Note c:\xilinx is the default installation path of the Xilinx tools.

To verify or change your Windows environment variables, see

http://www.xilinx.com/xlnx/xil_ans_display.jsp?getPagePath=11630.

UNIX Workstation Variables

The following setup can be accomplished by sourcing the settings.csh or settings.sh, as appropriate to your shell, from the Xilinx installation directory.

To set up each environment setting manually, follow these steps:

  1. XILINX
    Define the XILINX environment variable and set it to the name of the directory into which you installed the software. For example, if you installed the software in /xilinx, you would enter
  2. setenv XILINX /xilinx

  3. Path
    Add the $XILINX/bin/platform directory to your path.
  4. set path = ( $XILINX/bin/platform $path )

    • Solaris (sol) LD_LIBRARY_PATH
      This path finds library files and runs the core software tools. If already set, enter

setenv LD_LIBRARY_PATH $ (XILINX) /bin/platform: (LD_LIBRARY_PATH)

If not previously set, enter

setenv LD_LIBRARY_PATH $(XILINX)/bin/platform

Setting the Linux Environment Variables

You must set two environment variables to run the Xilinx tools. These may be placed as a script in the your_server_dir/xilinx directory or set manually in the shell that you are launching your session from. The following commands set the environment variables under different shells:

Bash Shell (Linux default) and K Shell
  1. export XILINX="c:\\Xilinx"
  2. export XIL_LINUX_WINE=1
C Shell
  1. setenv XILINX "c:\Xilinx"
  2. setenv XIL_LINUX_WINE 1

Additional information on setting environment variables for Linux is at the following Xilinx Web address:

http://www.xilinx.com/xlnx/xil_ans_display.jsp?getPagePath=12687

Troubleshooting with Xinfo

Xinfo (successor to Xray in 4.2i) provides assistance in troubleshooting your installation. The Xinfo tool analyzes your Xilinx software installation and hardware environment. Before contacting Technical Support, run xinfo to view your system information and then export the results as follows:

PC

  1. Select Start Programs Xilinx ISE 5 Accessories xinfo system checker.
  2. Select File Export to save your report as a text file.
  3. If your system does not correctly display the Xinfo GUI, you can run it from the command line and generate an output file by selecting Start Run cmd to open a command window, then execute xinfo [output_summary_file] to save the report to a text file.
  4. If necessary, you can also run xinfo from the root directory of ISE 5.2i Disc 1 of 2. (This option is not available on Solaris.)

Solaris

  1. Set your Xilinx environment variables.
  2. Run xinfo from the command line.
  3. If your system is not correctly displaying the GUI for Xinfo, you can run it from the command line and generate an output file by executing Xinfo [output_summary_file] to save the report to a text file.

Using Other Versions of ModelSim

You can integrate non-Xilinx editions of ModelSim with ISE as follows:

Within the Project Navigator, select Edit Preferences and then select the Partner tools tab. The Preferences dialog box appears:

Figure 3-4 Preferences Dialog Box

  1. Enter the full path name to the directory containing the desired executable for each of your tools, or browse to the location of the desired executable (that is, modelsim.exe for the Modeltech Simulator).
  2. Note To change the ModelSim path setting in the Preference dialog, you must be configured as a Power User or Administrator for Windows 2000 or Windows XP.

    Note ModelSim is not supported on Linux.


Return to previous page Advance to next page