Revision: July 11, 2011 215 E Main Suite D | Pullman, WA 99163
Overview
The Nexys2 circuit board is a complete,
ready-to-use circuit development platform
based on a Xilinx Spartan 3E FPGA. Its onboard high-speed USB2 port, 16Mbytes of
RAM and ROM, and several I/O devices and
ports make it an ideal platform for digital
systems of all kinds, including embedded
processor systems based on Xilinx’s
MicroBlaze. The USB2 port provides board
power and a programming interface, so the
Nexys2 board can be used with a notebook
computer to create a truly portable design
station.
The Nexys2 brings leading technologies to a
platform that anyone can use to gain digital
design experience. It can host countless
FPGA-based digital systems, and designs
can easily grow beyond the board using any
or all of the five expansion connectors. Four
12-pin Peripheral Module (Pmod) connectors
can accommodate up to eight low-cost
Pmods to add features like motor control, A/D
and D/A conversion, audio circuits, and a host
of sensor and actuator interfaces. All useraccessible signals on the Nexys2 board are
ESD and short-circuit protected, ensuring a
long operating life in any environment.
The Nexys2 board is fully compatible with all
versions of the Xilinx ISE tools, including the
free WebPack. Now anyone can build real
digital systems for less than the price of a
textbook.
Power Supplies
The Nexys2 board input power input bus can be driven from a USB cable, from a 5VDC-15VDC,
center positive, 2.1mm wall-plug supply, or from a battery pack. A shorting block loaded on the
“power select” jumper selects the power source. The USB circuitry is always powered from the USB
cable – if no USB cable is attached, the USB circuitry is left unpowered.
www. d i g i l e n t i n c . c om
(509) 334 6306 Voice and Fax
• 500K-gate Xilinx Spartan 3E FPGA
• USB2-based FPGA configuration and high-speed data
transfers (using the free Adept Suite Software)
• USB-powered (batteries and/or wall-plug can also be used)
• 16MB of Micron PSDRAM &16MB of Intel StrataFlash ROM
• Xilinx Platform Flash for nonvolatile FPGA configurations
• Efficient switch-mode power supplies (good for battery
powered applications)
• 50MHz oscillator plus socket for second oscillator
• 60 FPGA I/O’s routed to expansion connectors (one high-
speed Hirose FX2 connector and four 6-pin headers)
The input power bus drives a 3.3V voltage regulator
that supplies all required board current. Some devices
require 2.5V, 1.8V, and 1.2V supplies in addition to the
main 3.3V supply, and these additional supplies are
created by regulators that take their input from the
main 3.3V supply. The primary supplies are generated
by highly efficient switching regulators from Linear
Technology. These regulators not only use USB power
efficiently, they also allow the Nexys2 to run from
battery packs for extended periods.
Total board current depends on the 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 above summarizes the power supply parameters.
The Nexys2 board can also receive power from (or
deliver power to) a peripheral board connected to a
Pmod connector or to the large 100-pin expansion
connector. Jumpers near the Pmod connectors and
large expansion connector (JP1 – JP5) can connect the
Nexys2’s input power bus to the connector’s power pins.
The Pmod jumpers can be used to route either the input
power bus or regulated 3.3V to the Pmod power pins,
while the expansion connector jumper can only make or
break a connection with the input power bus.
USB power is supplied to the USB circuitry directly, but
to the rest of the board through an electronic switch (Q1
in the Nexys2 schematic). The on-board USB controller
turns on switch Q1 only after informing the host PC that
Digilent
www.digilentinc.com
Table 1: Nexys2 Power Supplies
Supply Device
3.3V main IC6: LTC1765 3A/100mA
2.5V FPGA IC7: LTC3417 1.4A/50mA
1.2V FPGA IC7: LTC3417 1.4A/200mA
1.8V SRAM IC8: LTC1844 150mA/90mA
3.3V USB IC5: LTC1844 150mA/60mA
Figure 3: Nexys2 power supply jumpers
Amps (max/typ)
Copyright Digilent, Inc. Page 2/17 Doc: 502-134
Nexys2 Reference Manual
JTAG
Mode
Cypress
Digilent
www.digilentinc.com
more than 100mA will be drawn through the USB cable (as required by the USB specification). A USB
host can supply only 500mA of current at 5VDC. When using USB power, care must be taken to
ensure the Nexys2 board and any attached peripheral boards do not draw more than 500mA, or
damage to the host may result. The Nexys2 board typically consumes about 300mA of USB current,
leaving about 200mA for peripheral boards. If peripheral boards require more current than the USB
cable can supply, an external power supply should be used.
The Nexys2 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, stable, and low-noise power supply.
FPGA and Platform Flash Configuration
The FPGA on the Nexys2 board must be configured (or programmed) by the user before it can
perform any functions. During configuration, a “bit” file is transferred into memory cells within the
FPGA to define the logical functions and circuit interconnects. The free ISE/WebPack CAD software
from Xilinx can be used to create bit files from VHDL, Verilog, or schematic-based source files.
The FPGA can be programmed in two ways:
directly from a PC using the on-board USB port,
EZ-USB
header
Jumper
and from an on-board Platform Flash ROM (the
Flash ROM is also user-programmable via the
USB port). A jumper on the Nexys2 board
determines which source (PC or ROM) the
FPGA will use to load its configuration. The
FPGA will automatically load a configuration
from the Platform Flash ROM at power-on if the
configuration Mode jumper is set to “Master
serial”. If the Mode jumper is set to “JTAG”, the
FPGA will await programming from the PC (via
the USB cable).
USB miniB
connector
XCF02
Platform
Flash
JTAG
Spartan 3E
FPGA
JTAG
port
Slave
serial
port
PROG
DONE
Vdd
FPGA
Reset
Button
(BTNR)
Done
LED
Digilent’s freely available PC-based Adept
software can be used to configure the FPGA
Figure 4: Nexys2 programming circuits
and Platform Flash with any suitable file stored
on the computer. Adept uses the USB cable to
transfer a selected bit file from the PC to the FPGA or Platform Flash ROM. After the FPGA is
configured, it will remain so until it is reset by a power-cycle event or by the FPGA reset button
(BTNR) being pressed. The Platform Flash ROM will retain a bit file until it is reprogrammed,
regardless of power-cycle events.
To program the Nexys2 board using Adept, attach the USB cable to the board (if USB power will not
be used, attach a suitable power supply to the power jack or battery connector on the board, and set
the power switch to “wall” or “bat”). Start the Adept software, and wait for the FPGA and the Platform
Flash ROM to be recognized. Use the browse function to associate the desired .bit file with the FPGA,
and/or the desired .mcs file with the Platform Flash ROM. 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. The configuration
Copyright Digilent, Inc. Page 3/17 Doc: 502-134
Nexys2 Reference Manual
Digilent
www.digilentinc.com
“done” LED will illuminate after the FPGA has been
successfully configured. For further information on
using Adept, please see the Adept documentation
available at the Digilent website.
The Nexys2 board can also be programmed using
Xilinx’s iMPACT software by connecting a suitable
programming cable to the JTAG header. Digilent’s
JTAG3 cable or any other Xilinx cable may be
used.
A demonstration configuration is loaded into the
Platform Flash on the Nexys2 board during
manufacturing. That configuration, also available
on the Digilent webpage, can be used to check all
of the devices and circuits on the Nexys2 board.
Clocks
Figure 5: Nexys2 board programming circuits
The Nexys2 board includes a 50MHz oscillator and a socket for a
second oscillator. Clock signals from the oscillators connect to
global clock input pins on the FPGA so they can drive the clock
synthesizer blocks available in FPGA. The clock synthesizers
(called DLLs, or delay locked loops) provide clock management
capabilities that include doubling or quadrupling the input
frequency, dividing the input frequency by any integer multiple,
and defining precise phase and delay relationships between
various clock signals.
User I/O
Figure 6: Nexys2 clocks
The Nexys2 board includes several input devices, output devices, and data ports, allowing many
designs to be implemented without the need for any other components.
Figure 7: Nexys2 board I/O devices
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
Copyright Digilent, Inc. Page 4/17 Doc: 502-134
Nexys2 Reference Manual
Digilent
www.digilentinc.com
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).
Figure 8: Nexys2 I/O devices and circuits
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. Note that LEDs 4-7 have
different pin assignments due to pinout differences between the -500 and the -1200 die.
Outputs: Seven-Segment Display
The Nexys2 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/17 Doc: 502-134
Nexys2 Reference Manual
Digilent
www.digilentinc.com
The anodes of the seven LEDs forming each digit are tied together into one “common anode” circuit
node, but the LED cathodes remain separate. The common anode signals are available as four “digit
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 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.
An un-illuminated seven-segment display, and nine
illumination patterns corresponding to decimal digits
Figure 9: Nexys2 seven-segment displays
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 detect. 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 around 45 hertz, most people will begin to see the display flicker.
In order for each of the four digits to appear bright and continuously 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 drive the cathodes with the correct
pattern when the corresponding
anode signal is driven. To illustrate
Refresh period = 1ms to 16ms
the process, if AN0 is asserted while
CB and CC are asserted, then a “1”
will be displayed in digit position 1.
AN1
Digit period = Refresh / 4
Then, if AN1 is asserted while CA, CB
and CC are asserted, then a “7” will
be displayed in digit position 2. If AN0
AN2
AN3
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
AN4
Cathodes
Digit 0
Digit 1Digit 2Digit 3
Figure 10: Seven-segment display timing diagram
a four-digit controller is provided.
Copyright Digilent, Inc. Page 6/17 Doc: 502-134
Loading...
+ 11 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.