This is an old revision of the document!


Cmod A7 GPIO Demo

Under Construction


Description

This VHDL project demonstrates the basic use of most of the Cmod-A7's general purpose I/O.

  • The two user LEDs are tied to the two push buttons
  • The RGB LED is set to smoothly change colors
  • The UART bridge outputs a beginning message and a status message whenever a button is pressed

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.

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

Note for Advanced Users: All demos for the Cmod A7 are provided through the Cmod-A7 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 Cmod A7
Plug the Cmod A7 into the computer using the microUSB cable.
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. LEDs and Buttons

When a button is pressed, the corresponding LED will light up.

The RGB LED smoothly transitions between colors.

2. UART Messages

Connect a terminal program with the settings 9600 baud rate, 8 bits, one stop bit, and no parity bit. On reset, the board will display “CMOD A7 GPIO/UART DEMO!”

Whenever a button is pressed, the message “Button press detected!” is sent over UART.


Additional Resources

All materials related to the use of the Cmod A7 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.