June 9, 2004 215 E Main Suite D | Pullman, WA 99163
d
www.digilentinc.com
(509) 334 6306 Voice and Fax
Overview
The Digilent D2XL development board (the D2XL)
featuring the Xilinx Spartan 2 XC2S30 FPGA
provides an inexpensive and expandable platform
on which to design and implement digital circuits of
all kinds. D2XL board features include:
• A Xilinx XC2S30 FPGA;
• Dual on-board 1.5A power regulators (2.5V
and 3.3V);
• A socketed 50MHz oscillator;
• An EPP-capable parallel port for JTAG-based
FPGA programming and user data transfers;
• An SPROM socket for automatic FPGA
configuration at power-on;
• A status LED and pushbutton for basic I/O;
• Two 100-mil spaced, right-angle DIP socket
40-pin expansion connectors.
The D2XL board has been designed specifically to work with the Xilinx ISE CAD tools, including the
free WebPack tools available from the Xilinx website. Like other Spartan 2 boards in the Digilab
family, the D2XL board has been partitioned so that only the hardware required by a particular project
need be purchased. Several existing peripheral boards that mate with the expansion connectors are
available (see www.digilentinc.com), and new expansion boards are added often. The low-cost,
standard expansion connectors allow new peripheral boards, including wire-wrap or manually
soldered boards, to be quickly designed and used. The D2 board ships with a power supply and
programming cable, so designs can be implemented immediately without the need for any additional
hardware.
Functional description
The D2XL board has been designed to offer a low-cost and minimal system for designers who need a
flexible platform to gain exposure to the Spartan 2 device, or for those who need to prototype FPGAbased designs rapidly. The D2XL board provides only the essential supporting devices for the Spartan
2, and routes all available FPGA signals to standard expansion connectors. Included on the board are
2.5VDC and 3.3VDC regulators, a JTAG configuration circuit that uses a standard parallel cable,
basic communication ports including an enhanced parallel port, a 50MHz oscillator, and a pushbutton
and LED for rudimentary I/O.
Power
jack
5-9VDC
Parallel Port
2.5VDC
regulator
3.3VDC
regulator
EPP or SPP
parallel port
JTAG
Port
Buffer
Port/prog
control
switch
50MHz
CLK
Push
button
Status
LED
SPROM
Xilinx Spartan2
XC2S30-TQ144
Expansion EExpansion F
Doc: 210-015 page 1 of 7
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
Digilent D2XL Reference Manual Digilent, Inc.
The D2XL board has been
designed to serve as a host for
various peripheral boards. The
expansion connectors on the
board mate with standard 40-pin,
100 mil spaced DIP headers
available from any catalog
distributor. Expansion connectors
provide the unregulated supply
voltage (VU), 3.3V, GND, and 37
FPGA signals to peripheral
boards, so system designers can
quickly develop applicationspecific peripheral boards.
Digilent also produces a
collection of expansion boards
with commonly used devices.
See the Digilent website
(www.digilentinc.com) for a listing
of currently available boards.
Table 1 shows all signals routed
on the D2XL board. These
signals and their circuits are
described in the following
sections.
Parallel port and FPGA
configuration circuit
The D2XL board uses a DB-25
parallel port connector to route JTAG programming signals from a host computer to the FPGA. This
same connector also routes the computer’s parallel port pins to the FPGA following the EPP port
definition contained in the IEEE 1284 standard. A three-state buffer, controlled by a switch,
determines whether the JTAG port or EPP port is enabled. With this circuit, the FPGA can be
configured using the JTAG protocol over the parallel cable. The same cable can then be used (after
the switch is repositioned) to move data between the board and the host computer using the highspeed EPP protocol. A separate JTAG header is also provided so that a dedicated programming
cable (like the Xilinx Parallel III cable) can be used.
The JTAG programming circuit follows the JTAG schematic available from Xilinx, so that the D2XL
board is fully compatible with all Xilinx programming tools. The EPP parallel port circuit follows the
guidelines in the IEEE 1284 specification, and data rates approaching 2Mbytes/second can be
achieved. JTAG and EPP connections are shown in the diagrams below.
Power Supplies
VU Unregulated power supply voltage – depends on
power supply used. Must be between 5VDC and
10VDC. Routed to regulators and expansion
connectors only.
VDD33 VCCO/VCC for all devices, routed on PCB plane.
1.5A can be drawn with less than 20mV ripple
(typical)
VDD25 FPGA VCCINT routed on PCB plane
GND System ground routed to all devices on PCB
ground plane
Programming and parallel port
PWE EPP mode write enable signal (in to FPGA)
PD0-
Bi-directional data signals
PD7
PINT Interrupt signal (out from FPGA)
PWT EPP mode wait signal (out from FPGA)
PDS EPP mode data strobe (in to FPGA)
PRS Reset signal (in to FPGA)
PAS EPP mode address strobe (in to FPGA)
On board devices
BTN1 User-controllable pushbutton input
LED1 User-controllable status LED
CLK1 CMOS oscillator connected to GCLK0
Expansion Connectors
E4-E40 E bus signals connecting the E connector to the
FPGA
F4-F14 F bus signals connecting the F connectors to the
FPGA
Table 1. D2XL board signal definitions
www.digilentinc.com page 2 of 7
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
Digilent D2XL Reference Manual Digilent, Inc.
Pin 13Pin 1
Pin 25
DB25 parallel port connector
Front view
Pin 25
Top view of hole pattern, with
cable attaching from this side
Pin 14
Pin 1
Pin EPP signal EPP Function
1 Write Enable (O) Low for read, High for write
2-9 Data bus (B) Bidirectional data lines
10 Interrupt (I) Interrupt/acknowledge input
11 Wait (I) Bus handshake; low to ack
12 Spare NOT CONNECTED
13 Spare NOT CONNECTED
14 Data Strobe (O) Low when data valid
15 Spare NOT CONNECTED
16 Reset (O) Low to reset
17 Address strobe (O) Low when address valid
18-25 GND System ground
Figure 1. Parallel port connectors and signals
The D2XL board directly supports JTAG and SPROM configuration. Hardware debugger configuration
is supported indirectly. To configure the board from a computer using the JTAG mode, set switch 1
(SW1) in the JTAG position, and attach a power supply and programming cable. The power supply
must be connected before the parallel cable, or the board may hang in a non-communicating state.
The board will be auto-detected by the Xilinx JTAG programming software, and all normal JTAG
operations will be available.
To configure the FPGA from an SPROM, load the programmed SPROM into the 8-pin ROM socket
(labeled IC6), place SW1 in the PORT position, add jumpers to all mode pins, and apply power.
To configure the board using the hardware debugger protocol, a slight board modification is required –
a jumper wire must be soldered to the non-VCC side of R44. Insert wire-wrap posts into the SPROM
socket, attach the hardware debugger signals to the appropriate posts, and attach the PROG signal to
the jumper wire attached to R44. The hardware debugger programming software will now
automatically recognize the board, and hardware debugger programming can proceed as normal.
Programming circuit detail is shown below. Note that all parallel port signals are routed to the test
header J12 for easy connection of test and measurement equipment.
www.digilentinc.com page 3 of 7
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
Data 1 (PD1)
Reset (PRST)
Data 2 (PD2)
Address Strobe (PAS)
Data 3 (PD3)
Data 4 (PD4)
Data 5 (PD5)
Data 6 (PD6)
Data 7 (PD7)
Interrupt (PINT)
Wait (PWT)
P141
P123
P140
P139
P126
P137
P130
P136
Xilinx
Spartan 2
P134
XC2S30
P133
TQ144
P132
P131
P129
P124P142
VDD SENSE
CABLE DET1
CABLE DET2
P68
P37
P39
P72
P34
P32
Pull-ups on INIT and
DONE not shown
INIT
CCLK
DATA IN
DONE
M0
M1
M2
Jumper
block
TDO
TCLK
P2
TDI
TMS
SPROM
8-DIP
Decouping
PORT
Vdd
three-state
buffer
Enable
Program enable
GND
switch (SW1)
JTAG
Figure 2. Parallel port and programming circuit schematic
Oscillator
The D2XL board provides a socketed half-size 8-pin DIP oscillator. The board ships with a 50MHz
oscillator, allowing for system clocks from virtually DC to 200MHz (using the Spartan 2 DLL circuit
and/or clock counter-dividers). Oscillators from 32KHz to 100MHz can easily be substituted, allowing
for a wide range of clock frequencies. The oscillator, which is connected to the FPGA GCK0 input (pin
91), is bypassed with a 0.1uF capacitor and it is located as physically close to the FPGA as possible.
www.digilentinc.com page 4 of 7
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
Digilent D2XL Reference Manual Digilent, Inc.
Power Supplies
The D2XL board uses two LM317 1.5A voltage regulators to produce 2.5VDC and 3.3VDC supplies.
The regulator inputs are driven from an external DC power supply connected to the on-board 2.1mm
center-positive power jack. The regulators have 10uF of input capacitance, 20uF of local output
capacitance, and 10uF of regulation bypass capacitance. This allows the regulators to produce stable,
low noise supplies using inexpensive power supplies, regardless of load (up to 1.5A). The regulator
bodies are soldered to the board for improved thermal dissipation. DC supplies in the range of 5VDC
to 10VDC may be used.
The D2XL board uses a four layer PCB, with the inner layers dedicated to VCC and GND planes.
Most of the VCC plane is at 3.3V, with an island under the FPGA at 2.5V. The FPGA and the other
ICs on the board all have 0.1uF bypass capacitors placed as close as possible to the VCC pins.
Total board current is dependant on FPGA configuration, clock frequency, and external connections.
In test circuits with roughly 50K gates routed, a 50MHz clock source, and a single expansion board
attached (the DIO2 board), approximately 200mA +/- 30% of supply current is drawn from the 2.5V
supply, and approximately 150mA +/- 50% is drawn from the 3.3V supply. These currents are strongly
dependent on FPGA and peripheral board configurations.
All FPGA VCCO pins are connected to the 3.3V supply. If other VCCO voltages are required, please
contact Digilent for information regarding various options (Digilent can be contacted through
www.digilentinc.com).
Pushbutton and LED
A single pushbutton and LED are provided on the board allowing basic status and control functions to
be implemented without a peripheral board. As examples, the LED can be illuminated from a signal in
the FPGA to verify that configuration has been successful, and the pushbutton can be used to provide
a basic reset function independent of other inputs. The circuits are shown below.
Vdd
P15
4.7K
4.7K
Xilinx
Spartan 2
TQ144
80 Ohm
P38
Push
button
Figure 5. Pushbutton and LED detail
www.digilentinc.com page 5 of 7
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
Digilent D2XL Reference Manual Digilent, Inc.
Expansion connectors
Pin 39
Pin 40
Pin 3: 3.3V
Pin 4
Pin 1: GND
Pin 2: VU
Pin 39
Pin 40
F connectorE connector
The two expansion connectors labeled E and F on the D2XL
board use 100 mil spaced DIP headers. Both connectors
have GND routed to pin 1, VU routed to pin 2, and 3.3V
routed to pin 3. Pins 4-40 for both connectors route directly to
individual FPGA pins. The connectors are separated by 400
mils, so any D2-family peripheral board can be placed used
with the D2XL board.
The TQ144 package used on the D2XL board has 77 signal
pins available to the user (the remaining I/O signals are
routed to the parallel connector and other on board devices).
Of these, 37 are routed to the E connector, 37 to the F
connector, and 3 are left unconnected. Data rates of up to
100MHz are attainable across the E and F connectors.
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
Digilent D2XL Reference Manual Digilent, Inc.
N
N
N
N
N
t
Spartan 2 FPGA
The block diagram of the D2XL board shows all
connections between the FPGA and the devices on
the board. All FPGA pin connections are shown in the
following table.
The Spartan device can be configured using the
Xilinx JTAG tools and a parallel cable connecting the
D2XL board and the host computer. Note that a
separate JTAG header that connects directly to the
JTAG pins is also provided.
For further information on the Spartan FPGA, please
see the Xilinx data sheets available at the Xilinx
website (www.xilinx.com).