This is an old revision of the document!


Nexys Video GPIO Demo

Under Construction


Description

The Basic User Demo project demonstrates a simple uses of the Nexys Video's GPIOs, UART serial port, and OLED display. The behavior is as follows:

  • The 8 User LEDs are tied to the 8 User Switches.
  • An introduction message is sent across the UART when the device is finished being configured.
  • BTNC resets the LED and UART modules.
  • A message is sent over UART whenever BTNU, BTNL, BTND, or BTNR is pressed.
  • The onboard OLED display shows the alphabet followed by the message “This is Digilent's Nexys Video”.
  • The onboard OLED display is turned off by pressing the CPU_RESET button.

Inventory


Download and Usage Instructions

First and foremost, releases - consisting of a set of files for download - are only compatible with a specific version of the Xilinx tools, as specified in the name of the release (referred to as a release tag). In addition, releases are only compatible with the specified variant of the board. For example, a release tagged “20/DMA/2020.1” for the Zybo Z7 is only to be used with the -20 variant of the board and Vivado 2020.1.

The latest release version for this demo is highlighted in green.

Note: Releases for FPGA demos from before 2020.1 used a different git structure, and used a different release tag naming scheme.

Board Variant Release Tag Release Downloads Setup Instructions
Nexys Video GPIO/2020.1-1 Release ZIP Downloads See Using the Latest Release, below
Nexys Video v2018.2-1 Release ZIP downloads v2018.2-1 Github README
Nexys Video v2016.4-1 Release ZIP downloads Using Digilent Github Demo Projects (Legacy)

Note for Advanced Users: All demos for the Nexys Video are provided through the Nexys Video repository on Github. Further documentation on the structure of this repository can be found on this wiki's Digilent FPGA Demo Git Repositories (Redirect) page.


Instructions on the use of the latest release can be found in this dropdown:

Using the Latest Release
This page has been moved, the new location is Using a Digilent FPGA Github Demo's Releases (2020.1).
Set up the Nexys Video
Plug the 12V Power Supply into the Nexys Video.

Plug the MicroUSBs into the UART and PROG ports.


This page has been moved, the new location is Using a Digilent FPGA Github Demo's Releases (2020.1).

At this point, the demo is now running on your board. Refer to the Description and Functionality sections of this document for more information on what it does.


Functionality

1. Using the Switches with LEDs

For this section, all the switches are tied to their corresponding led. Every time a switch is toggled, the led directly above it will toggle with it.

2. UART Communication Using the Buttons

On startup, the Nexys Video will transmit “Nexys Video GPIO/UART DEMO!”. Whenever one of BTNU, BTNL, BTND, or BTNR is pressed, the Nexys Video transmits “Button press detected!”.

3. OLED Display

On startup the onboard OLED will display the full alphabet and numbers 0-9. Then after about a second, the OLED will turn off for another second. After this, the OLED will display the message “This is Digilent's Nexys Video”.

Important

Before turning off or reprogramming your board, shut down the OLED display by pressing the CPU_RESET button.

Additional Resources

All materials related to the use of the Nexys Video can be found on its Resource Center.

For a walkthrough of the process of creating a simple HDL project in Vivado, see Getting Started with Vivado for Hardware-Only Designs (Redirect). Information on important parts of the GUI, and indirect discussion of the steps required to modify, rebuild, and run this demo in hardware can also be found here.

For technical support, please visit the FPGA section of the Digilent Forum.

{{tag>project nexys-video}}