Revision: February 19, 2007 215 E Main Suite D | Pullman, WA 99163
l
www.digilentinc.com
(509) 334 6306 Voice and Fax
Overview
Digilent’s Nexys circuit board is an integrated
circuit development platform based on a Xilinx
Spartan 3 FPGA. The Nexys board provides
large external memory arrays, a collection of
useful I/O devices, and numerous ports,
making it an ideal platform for experiments
with FPGA-based digital systems, including
embedded cores like Xilinx’s MicroBlaze.
The Nexys board is suitable for designs
ranging from simple logic circuits to complex
digital systems, without needing any other
components. All external signals are ESD and
short-circuit protected, ensuring a long
operating life in any environment.
The Nexys is fully compatible with all versions
of the Xilinx ISE tools, including the free
WebPack. Nexys features include:
• 200K-gate Xilinx XC3S200 FPGA with
500+MHz operation (400K and 1M gate
versions available)
Switching
Power Supplies
USB2
Port
4Mbyte
Flash
16Mbyte
Cellular RAM
• USB2 port for FPGA configuration and
high-speed data transfers (using the free
3V3 1V2 2V5 1V8
32
3232
Adept Suite Software)
• USB-powered (batteries and/or wall-plug
can also be used)
• 16MB of fast Micron PSDRAM and 4MB
of Intel StrataFlash Flash ROM
• Xilinx Platform Flash ROM that stores
FPGA configurations indefinitely
• High efficiency switching power supplies
(good for battery powered applications)
• 50MHz oscillator
• Connector for 1/8 VGA hi-res graphics
LCD panel or 16x2 character LCD display
JTAG
port
Platform
Flash
(config
ROM)
Xilinx Spartan3-200 FT256
-400 and -1000 FPGAs available
44 44
32
Clock
(100, 50,
or 25
MHz)
I/O devices
Figure 1: Nexys block diagram
JA
JB
JC
JD
43
High speed
100-pin
connector
• 60 FPGA I/O’s routed to expansion
connectors (one high-speed Hirose FX2 connector and four 6-pin headers)
• Ships in a convenient plastic carry case (together with USB cable)
®
Copyright Digilent, Inc. All rights reserved12 pages Doc: 502-107
Nexys Reference Manual
Digilent
www.digilentinc.com
Functional Description
The Nexys board provides an inexpensive, robust, and easy-to-use platform that anyone can use to
gain experience with FPGA devices and modern design methods. It is centered on the Spartan 3
FPGA, and it contains all needed support circuits so designs can get up and running quickly. The
large collection of on-board devices allow many designs to be completed without the need for any
other hardware, making the Nexys an ideal platform for experimenting with new designs or learning
about FPGAs and CAD tools. The 100-pin high-speed connector and four 6-pin expansion connectors
allow designs to grow beyond the Nexys board, either with user-designed boards or breadboards
and/or peripheral module (Pmod) boards offered by Digilent. (Pmods are inexpensive analog and
digital I/O modules that offer A/D conversion, D/A conversion, motor drive, sensor input, and a host of
other features). Signals on each 6-pin expansion connector are protected against damage from ESD
and short-circuit connections, ensuring a long operating life in any environment. The Nexys board
works seamlessly with all versions of the Xilinx ISE tools, including the free WebPack tools. The
Nexys recieves power from the USB interface and it ships with a USB cable, so designs can be
implemented immediately without the need for any additional hardware.
FPGA and Platform Flash Configuration
The FPGA on the Nexys board must be configured (or programmed) by the user before it can perform
any functions. Design software, like the free WebPack from Xilinx, can be used to define any number
of circuits that can be programmed into the FPGA. Once programmed, the FPGA will retain its
configuration only as long is power is applied. The FPGA can be programmed in two ways: directly
from a PC, and from an on-board Platform Flash ROM that is also user-programmable. A jumper on
the Nexys board determines which source (PC or ROM) the FPGA will use to load its configuration.
The FPGA can automatically load a configuration at power-on from the Platform Flash ROM by setting
the Mode Select Jumper JP3 to “FLASH”.
Note that a demonstration configuration is loaded into the Nexys board during manufacturing. If that
configuration has not been overwritten, it can be automatically loaded into the FPGA by setting the
Mode Select Jumper JP3 to “FLASH”, and cycling power or pressing the reset button.
JTAG ROM
Configure from on-board ROM
Configure from PC via JTAG
JTAG3
header
XCF02
Platform
Flash
JTAG
Slave
Serial
Spartan 3
FPGA
Mode Select
Jumper
PROG
DONE
DONE
LED
Vdd
PROG
(reset)
button
Mode Select
Mode Select
Jumper
Jumper
JTAG3
header
DONE
LED
RESET
button
Copyright Digilent, Inc. Page 2/10 Doc: 502-107
Nexys Reference Manual
Digilent
www.digilentinc.com
The FPGA and the Platform Flash ROM can be programmed from a PC using Digilent’s Adept
software or Xilinx’s iMPACT software (both are available for free download). Digilent’s Adept Software
works with the USB circuit, and Digilent’s JTAG3 parallel cable is compatible with iMPACT. When
using the USB circuit, a “cable bypass” jumper must be loaded on the JTAG header at J6 to connect
the TDI and TDO signals.
To program the Nexys board, connect the programming cable to the board and to a PC, and apply
power to the board. Start the programming software, and wait for the FPGA and the Platform Flash
ROM to be automatically identified. To program the FPGA, select the desired .bit file; to program the
Platform Flash, select the desired .mcs file. Right-click on the device to be programmed, and select
the “program” function. The configuration file will be sent to the FPGA or Platform Flash, and the
software will indicate whether programming was successful. For more information on device
programming, refer to the Adept or iMPACT reference manual.
Both the FPGA and Platform Flash ROM will always appear in the scan chain. After the Platform
Flash ROM has been loaded with a configuration file, the FPGA can automatically load that file at
power-on if programming mode control jumper is loaded in the ROM position.
A reset button is provided (labeled “reset”) that can erase the configuration in the FPGA, and start a
new programming cycle. An LED labeled “done” will illuminate whenever the FPGA has been
successfully configured.
Power Supply
The Nexys board can be powered from the USB port or
any DC supply that produces a voltage in the 5VDC9VDC range. The power jack on the Nexys board
requires a center-positive, 2.1mm power supply
connector as is commonly found on wall-plug power
supplies. Voltages higher than 10V may permanently
damage Nexys.
The “raw” voltage from the power jack is routed to the
four 6-pin expansion connectors, the 16-pin expansion
connector, and to a 3.3V voltage regulator. The 2.5V
and 1.2V supplies required by the FPGA are generated
from the 3.3V supply. Total board current is dependant
on FPGA configuration, clock frequency, and external
connections. In test circuits with roughly 20K gates routed, a 50MHz clock source, and all LEDs
illuminated, about 200mA of current is drawn from the 1.2V supply, 50mA from the 2.5V supply, and
100mA from the 3.3V supply. Required current will increase if larger circuits are configured in the
FPGA, and if peripheral boards are attached. The table below summarizes the power supply
parameters.
Vendor
Linear Technology Switcher Main power 3.3V (IC6) LTC1765 3A/100mA
Linear Technology Switcher (dual) FPGA Vaux 2.5V (IC7) LTC3417 1.4A/50mA
Linear Technology Switcher (dual) FPGA Vcore 1.2V (IC7) LTC3417 1.4A/200mA
Linear Technology Linear Vsram 1.8V (IC8) LTC1844 150mA/90mA
Linear Technology Linear Vusb 3.3V (IC4) LTC1844 150mA/60mA
Technology Use Supply PN Current (Max/typ)
Copyright Digilent, Inc. Page 3/10 Doc: 502-107
Nexys Reference Manual
Digilent
www.digilentinc.com
The Nexys board uses a six layer PCB, with the inner layers dedicated to VCC and GND planes. The
FPGA and the other ICs on the board all have a large complement of bypass capacitors placed as
close as possible to each VCC pin. The power supply routing and bypass capacitors result in a very
clean, low-noise power supply.
Oscillators
The Nexys board includes a primary, usersettable silicon oscillator that produces 25MHz,
50MHz, or 100MHz based on the position of the
clock select jumper at JP4. A socket for a second
oscillator is also provided at IC11 (the IC11
socket can accommodate any 3.3V CMOS
oscillator in a half-size DIP package).The primary
and secondary oscillators are connected to global
clock input pins at pin A8 and pin R9 respectively.
Both clock inputs can drive the clock synthesizer
DLL on the Spartan 3, allowing for a wide range
of internal frequencies, from 4 times the input
frequency to any integer divisor of the input
frequency.
Spartan-3E
FPGA
A8CLK_OUT
R9
Linear Tech.
LTC6905
Oscillator
Oscillator
Socket
CLK_OUT
Frequency
Select
Jumper
25MHz
50MHz
100MHz
User I/O
The Nexys board includes several Input and Output devices, and several data ports so that many
designs can be implemented without the need for any other components.
Copyright Digilent, Inc. Page 4/10 Doc: 502-107
Nexys Reference Manual
Digilent
www.digilentinc.com
Buttons
Slide
Switches
3.3V
BTN0
BTN1
BTN2
BTN3
3.3V
SW0
SW1
SW2
SW3
SW4
SW5
SW6
SW7
J13
K14
K13
K12
N15
J16
K16
K15
L15
M16
M15
N16
Spartan 3
FPGA
L14
L13
M14
L12
N14
M13
P14
R16
G14
G12
G13
F12
F13
E13
G15
H13
J14
E14
G16
H14
LD0
LD1
LD2
LD3
LD4
LD5
LD6
LD7
CA
CB
CC
CD
CE
CF
CG
DP
LEDs
3.3V
AN0
AN1
AN2
AN3
Inputs: Slide Switches and Pushbuttons
Four pushbuttons and eight slide switches are provided for circuit inputs. Pushbutton inputs are
normally low, and they are driven high only when the pushbutton is pressed. Slide switches generate
constant high or low inputs depending on their position. Pushbutton and slide switch inputs use a
series resistor for protection against short circuits (a short circuit would occur if an FPGA pin assigned
to a pushbutton or slide switch was inadvertently defined as an output).
Outputs: LEDs
Eight LEDs are provided for circuit outputs. LED anodes are driven from the FPGA via 390-ohm
resistors, so a logic ‘1’ output will illuminate them with 3-4ma of drive current. A ninth LED is provided
as a power-on LED, and a tenth LED indicates FPGA programming status.
Outputs: Seven-Segment Display
The Nexys board contains a four-digit common anode seven-segment LED display. Each of the four
digits is composed of seven segments arranged in a “figure 8” pattern, with an LED embedded in
each segment. Segment LEDs can be individually illuminated, so any one of 128 patterns can be
displayed on a digit by illuminating certain LED segments and leaving the others dark. Of these 128
possible patterns, the ten corresponding to the decimal digits are the most useful.
Copyright Digilent, Inc. Page 5/10 Doc: 502-107
Nexys Reference Manual
Digilent
www.digilentinc.com
The anodes of the seven LEDs forming
each digit are tied together into one
Common anode
“common anode” circuit node, but the LED
cathodes remain separate. The common
anode signals are available as four “digit
AN0AN1 AN2AN3
F
A
B
enable” input signals to the 4-digit display.
The cathodes of similar segments on all four
displays are connected into seven circuit
nodes labeled CA through CG (so, for
example, the four “D” cathodes from the
four digits are grouped together into a single
circuit node called “CD”). These seven
cathode signals are available as inputs to
CA CB CCCD CE CF CG DP
E
Four-digit Seven
Segment Display
Individual cathodes
G
D
C
DP
the 4-digit display. This signal connection
scheme creates a multiplexed display, where the
cathode signals are common to all digits but they
can only illuminate the segments of the digit whose
corresponding anode signal is asserted.
A scanning display controller circuit can be used to
show a four-digit number on this display. This
circuit drives the anode signals and corresponding
cathode patterns of each digit in a repeating,
continuous succession, at an update rate that is
faster than the human eye can respond. Each digit
is illuminated just one-quarter of the time, but
because the eye cannot perceive the darkening of
a digit before it is illuminated again, the digit appears continuously illuminated. If the update or
“refresh” rate is slowed to a given point (around 45 hertz), then most people will begin to see the
display flicker.
In order for each of the four digits to
appear bright and continuously
Refresh period = 1ms to 16ms
illuminated, all four digits should be driven
once every 1 to 16ms (for a refresh
frequency of 1KHz to 60Hz). For example,
in a 60Hz refresh scheme, the entire
display would be refreshed once every
16ms, and each digit would be illuminated
for ¼ of the refresh cycle, or 4ms. The
controller must assure that the correct
cathode pattern is present when the
corresponding anode signal is driven. To
Cathodes
AN1
AN2
AN3
AN4
Digit 0
Digit period = Refresh / 4
Digit 1Digit 2Digit 3
illustrate the process, if AN0 is asserted
while CB and CC are asserted, then a “1” will be displayed in digit position 1. Then, if AN1 is asserted
while CA, CB and CC are asserted, then a “7” will be displayed in digit position 2. If AN0 and CB, CC
are driven for 4ms, and then A1 and CA, CB, CC are driven for 4ms in an endless succession, the
display will show “17” in the first two digits. An example timing diagram for a four-digit controller is
provided.
Ports and External Connectors
Copyright Digilent, Inc. Page 6/10 Doc: 502-107
Nexys Reference Manual
USB Port
The Nexys contains an integral USB2
circuit based on a Cypress CY7C68013
USB controller. The USB port can be used
to program the on-board Xilinx devices, to
perform user-data transfers at up to
37Mbytes/sec, and to provide power to
the board. Programming is accomplished
with Digilent’s free Adept Suite Software.
The power source for the board is
determined by shorting the appropriate
pins at J4. Programming files are
generated with a number of software
packages (Digilent recommends the free
ISE WebPack from Xilinx). Once the
programming files are generated
programming the board is accomplished
via the Export function included in the
Adept Suite download.
The USB port on the Nexys board can
also accommodate data transfer with the
PC. The Adept Suite provides a software
interface to assist the user with this
function as well. The USB circuit on the
Nexys allows great flexibility when using
the board.
6-pin header connectors
The Nexys board provides four 6-pin
peripheral module connectors. Each
connector provides Vdd, GND, and four
unique FPGA signals. All four 6-pin
header circuits have short circuit
protection resistors and ESD protection
Diodes.
Several 6-pin module boards that can
attach to this connector are available
from Digilent, including speaker boards,
H-bridge boards, sensor boards, etc.
Please see www.digilentinc.com
more information.
16-pin header connectors
The Nexys board provides a 16-pin
header connector for use with several
for
Spartan 3
FPGA
GND
VDD
P16
P15
T7
R5
N15
J16
K16
K15
L15
M16
M15
N16
R6
R7
Digilent
www.digilentinc.com
1
2
16-pin
3
header
4
J8
5
6
7
8
9
10
11
12
13
14
15
16
Copyright Digilent, Inc. Page 7/10 Doc: 502-107
Nexys Reference Manual
Digilent
www.digilentinc.com
16-pin interface modules that are currently in design or production. The 16-pin interface is designed
to provide for the use of a VGA module, a character LCD module and a Graphic LCD Module. The
connector provides Vdd, GND, and fourteen unique FPGA signals. The 16 pin header has short
circuit protection resistors.
Several 6-pin module boards that can attach to this connector are available from Digilent, including
speaker boards, H-bridge boards, sensor boards, etc. Please see www.digilentinc.com
for more
information.
Memory
The Nexys contains an Intel
JS28F320J3, 32 Mbit
StartaFlash and a Micron
MT45W8MW16 128Mbit
Cellular RAM. These two
devices share the OE, WE
and all ADDRESS and DATA
control signals.