300 Henley Court Pullman, WA 99163 509.334.6306 www.digilentinc.com Nexys Video™ FPGA Board Reference Manual Revised June 17, 2015 This manual applies to the Nexys Video rev. A Table of Contents Table of Contents .................................................................................................................. 1 Overview............................................................................................................................... 3 Regulatory Warning.......................
Nexys Video™ FPGA Board Reference Manual 8 9 USB HID Host ............................................................................................................... 15 8.1 HID Controller................................................................................................................. 15 8.2 Keyboard ........................................................................................................................ 16 8.3 Mouse..................................................
Nexys Video™ FPGA Board Reference Manual Overview The Nexys Video board is a complete, ready-to-use digital circuit development platform based on the latest Artix-7™ Field Programmable Gate Array (FPGA) from Xilinx®. With its large, high-capacity FPGA (Xilinx part number XC7A200T-1SBG484C), generous external memories, high-speed digital video ports, and 24-bit audio codec, the Nexys Video is perfectly suited for audio and video processing applications.
Nexys Video™ FPGA Board Reference Manual Callout Component Description Callout Component Description 1 Power jack 14 MicroSD card slot (underneath) 2 Power Switch 15 Five pushbuttons 3 Power indicator LED 16 Miscellaneous XADC pins 4 Pmod Header(s) 17 Programming mode jumper 5 External fan control solder points 18 FMC header 6 FPGA programming done LED 19 FPGA configuration reset button 7 USB host connector 20 CPU reset button (for soft cores) 8 External configuration jumpe
Nexys Video™ FPGA Board Reference Manual Regulatory Warning Warning: This is a class A product. In a domestic environment this product may cause radio interference, in which case the user may be required to take adequate measures. 1 Power Supplies The Nexys Video board can receive power from an external power supply through the center-positive barrel jack (J21) or the two-pin battery header (J22). The external supply voltage must be 12 V ±5 %. The Nexys Video cannot be powered from the USB bus.
Nexys Video™ FPGA Board Reference Manual 12P0V pin of the FMC connector, the battery voltage must be 12VDC ±5 % in FMC applications, the same as the wall supply specification. In any case, 15V is an absolute maximum. Voltage regulator circuits from Analog Devices® create the different voltages required by the FPGA and on-board peripherals from the main power input. Some regulators use the outputs of another regulator as input, depending on design considerations.
Nexys Video™ FPGA Board Reference Manual SET_VADJ(1:0) 00 (default) 01 10 11 VADJ 1.2 V 1.8 V 2.5 V 3.3 V Table 2. VADJ programmable voltages. 2 FPGA Configuration After power-on, the Artix-7 FPGA must be configured (or programmed) before it can perform any functions. You can configure the FPGA in one of four ways: 1. 2. 3. 4. A PC can use the Digilent USB-JTAG circuitry (port J12, labeled "PROG") to program the FPGA any time the power is on.
Nexys Video™ FPGA Board Reference Manual before programming, and then allowing the FPGA to decompress the bitstream itself during configuration. Depending on design complexity, compression ratios of 10x can be achieved. Bitstream compression can be enabled within the Xilinx tools (ISE or Vivado) to occur during generation. For instructions on how to do this, consult the Xilinx documentation for the toolset being used. This option is available for all programming modes.
Nexys Video™ FPGA Board Reference Manual to work, the bitstream needs to be generated with the x4 bus width option (Vivado device property) and the nonvolatile quad configuration bit in the flash needs to be enabled. The Nexys Video is shipped with this bit enabled. Indirect programming of the flash can also be done using the iMPACT tool included with ISE. The correct part to be set in the tools is s25fl256xxxxxx0 from the manufacturer Spansion®.
Nexys Video™ FPGA Board Reference Manual For proper operation of the memory, a memory controller and physical layer (PHY) interface needs to be included in the FPGA design. The Xilinx 7 series memory interface solutions core generated by the memory interface generator (MIG) Wizard hides away the complexities of a DDR3 interface. Depending on the tool used (ISE, EDK, or Vivado), the MIG Wizard can generate a native FIFO-style or an AXI4 interface to connect to user logic.
Nexys Video™ FPGA Board Reference Manual SPI Flash Artix-7 CS# SDI/DQ0 SDO/DQ1 WP#/DQ2 HLD#/DQ3 SCK SPI Flash T19 P22 R22 P21 R21 L12/CCLK Figure 3. Nexys Video SPI Flash pin-out. 4 Ethernet PHY The Nexys Video board includes a Realtek RTL8211E-VL PHY paired with an RJ-45 Ethernet jack with integrated magnetics to implement a 10/100/1000 Ethernet port for network connection. The PHY interfaces with the FPGA via RGMII for data and MDIO for management. Bank 13 powered at 2.
Nexys Video™ FPGA Board Reference Manual with Xilinx part number EF-DI-TEMAC-PROJ or EF-DI-TEMAC-SITE. A free evaluation of this core is available; however, the design will stop working after running for approximately 8 hours. On an Ethernet network, each node needs a unique MAC address. To this end, a Microchip 24AA025E48 EEPROM 2 is provided on the Nexys Video. On one hand, it is a read-writeable EEPROM that can be accessed via I C.
Nexys Video™ FPGA Board Reference Manual driven by the 100 MHz input clock. For a full description of these rules and of the capabilities of the Artix-7 clocking resources, refer to the "7-Series FPGAs Clocking Resources User Guide" (ug472) available from Xilinx. Xilinx offers the Clocking Wizard IP core to help users generate the different clocks required for a specific design.
Nexys Video™ FPGA Board Reference Manual JTAG Micro-USB (J12) D0/SCK D1/MOSI D2/MISO D3/SS D4 D5 D6 D7 RXF# TXE# RD# WR# SIWU# OE# CLKOUT JTAG U20 P14 P15 U17 R17 P16 R18 N14 N17 Y19 P19 R19 P17 V17 Y18 FT2232H Artix-7 Figure 6. USB-FPGA interfaces provided by the USB PROG port. 7.1 Parallel Transfer Interface (DPTI) DPTI is an 8-bit wide parallel FIFO-style data interface that offers higher bandwidth than DSPI.
Nexys Video™ FPGA Board Reference Manual 7.2 Serial Peripheral Interface (DSPI) An industry-standard SPI interface can also be used for transferring data. It uses only four signals for serial fullduplex communication. The USB controller acts as a SPI master, with the FPGA taking the slave role. The USB controller initiates a transaction after API function calls are made and transfers data in both directions simultaneously.
Nexys Video™ FPGA Board Reference Manual first), odd parity, and stop bit, but the data packets are organized differently, and the keyboard interface allows bidirectional data transfers (so the host device can illuminate state LEDs on the keyboard). Bus timings are shown in Fig. 8. Edge 0 Tck Tck Edge 10 CLOCK ‘0’ start bit Thld ‘1’ stop bit DATA Tsu Symbol Parameter Min 30us TCK Clock time Data-to-clock setup time 5us TSU THLD Clock-to-data hold time 5us Max 50us 25us 25us Figure 8.
Nexys Video™ FPGA Board Reference Manual Figure 9. Keyboard scan codes. A host device can also send data to the keyboard. Table 7 shows a list of some common commands a host might send. Command Action ED Set Num Lock, Caps Lock, and Scroll Lock LEDs. Keyboard returns FA after receiving ED, then host sends a byte to set LED status: bit 0 sets Scroll Lock, bit 1 sets Num Lock, and bit 2 sets Caps lock. Bits 3 to 7 are ignored. EE Echo (test).
Nexys Video™ FPGA Board Reference Manual The mouse assumes a relative coordinate system wherein moving the mouse to the right generates a positive number in the X field, and moving to the left generates a negative number. Likewise, moving the mouse up generates a positive number in the Y field, and moving down represents a negative number (the XS and YS bits in the status byte are the sign bits – a '1' indicates a negative number).
Nexys Video™ FPGA Board Reference Manual VADJ Buttons M17 BTNR M18 BTNU P18 BTND N17 BTNC LD0 H17 K15 J13 N14 R18 V17 U17 U16 P17 BTNL LD1 LD2 LD3 LD4 LD5 LD6 LD7 LEDs VADJ Slide Switches SW0 J15 SW1 L16 SW2 M13 SW3 R15 SW4 R17 SW5 T18 SW6 U18 SW7 R13 1.5V C12 BTN6 CPU Reset Artix-7 Figure 11. General purpose I/O connections.
Nexys Video™ FPGA Board Reference Manual The Nexys Video features four Pmod connectors of different "styles" with subtle differences between them. Table 9 summarizes these differences. Pmod connector Power Analog/Digital JXADC VADJ Dual JA 3.3 V Digital-only JB, JC 3.3 V Digital-only Series protection Routing Differential; Pairs: 1-7,2-8,3-8,4-10 Single-ended Differential; Pairs: 1-2,3-4,7-8,9-10 100 ohm 200 ohm 0 ohm Recommended usage Analog inputs; LVDS_25 input/output (VADJ=2.
Nexys Video™ FPGA Board Reference Manual Furthermore, each pair has a partially loaded anti-alias filter (100 ohm, 1 nF) laid out on the PCB. The filter does not have capacitors C5, C8, C9, and C10. In designs where such filters are desired, the capacitors can be manually loaded by the user. NOTE: The coupled routing and the anti-alias filters might limit the data speeds when used for digital signals.
Nexys Video™ FPGA Board Reference Manual All of the SD pins on the FPGA are wired to support full SD speeds in native interface mode, as shown in Fig. 13. The SPI interface is also available, if needed. Once control over the SD bus is passed from the microcontroller to the FPGA, the SD_RESET signal needs to be actively driven low by the FPGA to power the microSD card slot. For information on implementing an SD card controller, refer to the SD card specification available at www.sdcard.org. 3.
Nexys Video™ FPGA Board Reference Manual 5V0 Powered from 5V rail N/A TXEN Powers auxiliary signals N/A Transmitter enable output R3 Table 11. HDMI pin description and assignment. 13.1 TMDS signals HDMI/DVI is a high-speed digital video stream interface using transition-minimized differential signaling (TMDS). To make proper use of either of the HDMI ports, a standard-compliant transmitter or receiver needs to be implemented in the FPGA.
Nexys Video™ FPGA Board Reference Manual The auxiliary channel is a bidirectional channel for link management and device control. It is AC-coupled, just like the main link lanes, but uses a different encoding and the lower data rate of 1Mbps. Upon hot-plug detection, a Source will attempt to configure the link through link training. Handshaking link parameters happens via the auxiliary channel. Nexys Video includes a Mini DisplayPort (mDP) connector wired in the Source role.
Nexys Video™ FPGA Board Reference Manual 15 OLED A Univision Technology Inc. UG-2832HSWEG04 is loaded on the Nexys Video. It is a white monochrome, 128 x 32, 0.91" organic LED display matrix bundled with a Solomon Systech SSD1306 display controller. The display data interface towards the FPGA is a 4-wire serial peripheral interface (SPI). The 4 wires in controller-terminology are CS#, D/C#, SDIN, and SCLK, but CS# is hard-wired to ground.
Nexys Video™ FPGA Board Reference Manual Symbol tcycle tAS tAH tCSS tCSH tDSW tDHW tCLKL tCLKH tR tF Parameter Clock Cycle Time Address Setup Time Address Hold Time Chip Select Setup Time Chip Select Hold Time Write Data Setup Time Write Data Hold Time Clock Low Time Clock High Time Rise Time Fall Time Min 100 15 15 20 10 15 15 20 20 - Typ. - Max 40 40 Unit ns ns ns ns ns ns ns ns ns ns ns Table 13. Timing diagram symbols and parameters. Start-up sequence: 1. 2. 3. 4. 5. 6.
Nexys Video™ FPGA Board Reference Manual 2 interface which supports several different formats, the default being I S. This interface is clocked by the FPGA through BCLK by default, but the codec can be configured to provide the clock itself. 2 Configuring the audio codec can be done over I C. It responds to slave address 0b0111011, followed by a 16-bit register address and one or more data bytes. These registers control every functional aspect of the codec.
Nexys Video™ FPGA Board Reference Manual Signal Name FPGA Pin Pin Function ADC_SDATA T4 Serialized audio resulting from the analog-to-digital conversion (record). DAC_SDATA W6 Serialized audio is converted to analog by the codec (playback). BCLK T5 Serial data port clock. LRCLK U5 Serial data port frame clock. MCLK U6 Master clock. SDA V5 I C configuration interface. SCL W5 I C configuration interface. 2 2 Table 13. Audio signal description.