Jump to content

XC2S100-kit

From HW wiki
Revision as of 15:46, 19 December 2010 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.

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
export LD_PRELOAD=/home/xxx/src/xilinx/usb-driver/libusb-driver.so
ise