XC2S100-kit: Difference between revisions
Appearance
No edit summary |
|||
| Line 36: | Line 36: | ||
#!/bin/bash | #!/bin/bash | ||
. /opt/Xilinx/10.1/ISE/settings32.sh | . /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 | export LD_PRELOAD=/home/xxx/src/xilinx/usb-driver/libusb-driver.so | ||
ise | ise | ||
Revision as of 14:23, 29 December 2010
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.
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