Xilinx_ISE_11.4_Setup - david-macmahon/wiki_convert_test GitHub Wiki

Setting up Xilinx 11.4 on Red Hat/Centos/Scientific Linux

Tested on February 12, 2010:

  • Centos 5, 64 Bit
  • Matlab 2009b

This is a guide based on my experience setting up the Xilinx 11.4 tools with the CASPER mlib_devel_10_1 on a Red Hat Linux system(I actually did this on Centos 5, 64-bit which is based on Red Hat EL 5. Scientific Linux is also based on Red Hat EL).

Download Xilinx ISE 11.1, 11.3 and 11.4

I installed them all in steps but 11.3 might not be necessary. Note: Don't use the xilinxUpdate tool for these steps if you are installing the 64 bit version, Xilinx has noted on their website that the 64 bit version does not support Web Update.

Install Matlab

I used 2009b 64 bit, but 2009a and 2008b are supported. On my fresh install of Centos the Matlab gui install, I got an error about xhost not being able to load :0 or something like that with X11. The fix was to allow all users to connect to the X server.

  • xhost + (all users) xhost +local:[username] (just one user)

I also encountered an error about libXp with the installer, "error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory", this was fixed by doing a yum install.

  • yum install libXp

Install Xilinx ISE

Starting with Xilinx 11.1 (Xilinx_11.1_ISE_DS_SFD.tar) run xsetup and follow the gui install. There was a strange warning about there being zero disk space where I wanted to install the ISE. This turns out to be a bug with the installer and how Centos(maybe the others) maps it's drives. I just hit ok and continued the install, everything worked fine.

Be sure to add your Xilinx license to the license manager at the end of the install or with xlcm

  • $XILINX/common/bin/lin64/xlcm

You might not be able to update without a license installed. I then ran the same xsetup on Xilinx ISE 11.3 (Xilinx_11.3_ISE_DS_lin64.tar) and then 11.4 (Xilinx_11.4_ISE_DS_lin64.tar) . Remember, the WebUpdate doesn't work correctly(I tried and failed)

In the 11.4 update there is an alert about CORE Generator not working for certain core, the fix is available through Xilinx (AR #33993), though this might not be necessary.

Check out CASPER tools

Installing Subversion/SVN on Centos is done through yum.

  • yum install subversion

Checkout mlib_devel_10_1

or if you want the entire CASPER svn

Setup Startup Scripts

From the CASPER wiki get the startsg.sh, startup.m, and sysgen_startup.m scripts from the Linux XPS page

They need a little modification for the specific system(sysgen_startup.m doesn't need to be modified), but should be self explanatory.

Clean Up

When I first ran bee_xps on a design I got an error message "Unsupported Xilinx System Generator version: 11.4,2254" which is caused by bee_xps.m failing with 11.4. After line 68 I added the lines

    case {'11.4.2254'}
        set(handles.xgs_version,'String','11.4');

Compiling a Design

The start script for matlab is startsg.sh which should load Matlab with the Xilinx and CASPER libraries.

  • ./startsg

I started with a simple test design of the XGS core, System Generator and a Software register. When I ran bee_xps I got the same error as Glenn Jones got in this email (http://www.mail-archive.com/[email protected]/msg01070.html), I followed his fix and then ran bee_xps again, everything worked.

I also successfully test compiled the ROACH Wideband Spectrometer on the tutorial page, http://casper.berkeley.edu/wiki/Tutorials

This is the limit of my testing, please add to this any bugs/fixes you find.

⚠️ **GitHub.com Fallback** ⚠️