Jump to content

XC2S100-kit

From HW wiki
Revision as of 17:49, 16 January 2011 by Sojka (talk | contribs)

This page describes "Spartan II Demo Board" DS-KIT-2S100

ISE Design Suite

Spartan-II families are NOT supported by ISE 11 and higher. I use ISE 10.1 SP3.

ISE 10.1 is only supported on 32-bit Linux systems, but if the check for 64-bit system is removed from setup script (bash), it works even on 64-bit system. On Debian, you need to install ia32-libs package.

To run PACE (Floorplan Area/IO/Logic - Post Synthesis), I needed libXm.so.3 which was not available in ia32-libs. I downloaded ftp://ftp.cz.debian.org/debian/pool/non-free/o/openmotif/libmotif3_2.2.3-4_i386.deb and put the libraries from there to /usr/lib32.

If you run PACE and nothing happens, check your terminal. If you see "Wind/U X-toolkit Error: wuDisplay: Can't open display", then you need to set the DISPLAY variable to :0 (see also the script below):

export DISPLAY=:0

Useful link: http://en.gentoo-wiki.com/wiki/Xilinx_ISE_WebPACK_(10_and_Earlier)

JTAG Cable

Model: IJC-2

Open-Source driver

http://www.rmdir.de/~michael/xilinx/

git clone git://git.zerfleddert.de/usb-driver

To compile 32-bit version on 64-bit system (Debian Squeeze), I had to change the Makefile according to the following patch:

diff --git a/Makefile b/Makefile
index baff08d..f22653c 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ HEADER=usb-driver.h xpcu.h parport.h jtagkey.h config.h jtagmo
 
 ifeq ($(LIBVER),32)
 CFLAGS += -m32
+LIBS=-ldl /lib32/libusb-0.1.so.4 -lpthread
 endif
 
 FTDI := $(shell libftdi-config --libs 2>/dev/null)

Use LD_PRELOAD variable before starting ISE. I use the following script to start ISE:

#!/bin/bash
. /opt/Xilinx/10.1/ISE/settings32.sh

# This is needed for pace (Floorplan Area/IO/Logic - Post Synthesis) to work
export DISPLAY=:0

export LD_PRELOAD=/home/xxx/src/xilinx/usb-driver/libusb-driver.so
ise

User I/O connectors