Skip to content
No description, website, or topics provided.
C Tcl C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
digilent-vivado-scripts @ 89eeabb update scripts submodule Aug 26, 2019
proj 2018.2 Update Sep 4, 2018
repo Update vivado-library submodule Aug 26, 2019
sdk 2018.2 Update Sep 4, 2018
src rename axi_gpio_0 to axi_gpio_video Aug 27, 2019
.gitignore 2018.2 Update Sep 4, 2018
.gitmodules 2018.2 Update Sep 4, 2018
README.md Update README.md Aug 27, 2019
project_info.tcl update scripts submodule Aug 26, 2019

README.md

Zybo Z7-20-HDMI Demo

Description

This project demonstrates how to use the USB-UART Bridge, HDMI Sink and HDMI Source with the ZYNQ processor. Vivado is used to build the demo's hardware platform, and Xilinx SDK is used to program the bitstream onto the board and to build and deploy a C application. Video data streams in through the HDMI in port and out through the HDMI out port. A UART interface is available to configure what is output through HDMI. The configuring options are shown in the table below.

The demo uses the usb-uart bridge to configure the HDMI Display , the Zybo Z7-20 must be connected to a computer over MicroUSB, which must be running a serial terminal. For more information on how to set up and use a serial terminal, such as Tera Term or PuTTY, refer to this tutorial.

Option Function
1 Change the resolution of the HDMI output to the monitor.
2 Changes the frame buffer to display on the HDMI monitor.
3/4 Store one of two test patterns in the chosen video frame buffer.
5 Start/Stop streaming video data from HDMI to the chosen video frame buffer.
6 Change the video frame buffer that HDMI data is streamed into.
7 Invert and store the current video frame into the next video frame buffer and display it.
8 Scale the current video frame to the display resolution, store it into the next video frame buffer, and then display it.

Requirements

Demo Setup

  1. Download the most recent release ZIP archive ("Zybo-Z7-20-HDMI-2018.2-*.zip") from the repo's releases page.
  2. Extract the downloaded ZIP.
  3. Open the XPR project file, found at <archive extracted location>/vivado_proj/Zybo-Z7-20-HDMI.xpr, included in the extracted release archive in Vivado 2018.2.
  4. In the toolbar at the top of the Vivado window, select File -> Export -> Export Hardware. Select <Local to Project> as the Exported Location and make sure that the Include bitstream box is checked, then click OK.
  5. In the toolbar at the top of the Vivado window, select File -> Launch SDK. Select <Local to Project> as both the workspace location and exported location, then click OK.
  6. With Vivado SDK opened, wait for the hardware platform exported by Vivado to be imported.
  7. In the toolbar at the top of the SDK window, select File -> New -> Application Project.
  8. Fill out the fields in the first page of the New Application Project Wizard as in the table below. Most of the listed values will be the wizard's defaults, but are included in the table for completeness.
Setting Value
Project Name Zybo-Z7-20-HDMI
Use default location Checked box
OS Platform standalone
Target Hardware: Hardware Platform design_1_wrapper_hw_platform_0
Target Hardware: Processor ps7_cortexa9_0
Target Software: Language C
Target Software: Board Support Package Create New (Zybo-Z7-20-HDMI_bsp)
  1. Click Next.
  2. From the list of template applications, select "Empty Application", then click Finish.
  3. In the Project Explorer pane to the left of the SDK window, expand the new application project (named "Zybo-Z7-20-HDMI").
  4. Right click on the "src" subdirectory of the application project and select Import.
  5. In the "Select an import wizard" pane of the window that pops up, expand General and select File System. Then click Next.
  6. Fill out the fields of the "File system" screen as in the table below. Most of the listed values will be the defaults, but are included in the table for completeness.
Setting Value
From directory <archive extracted location>/sdk_appsrc
Files to import pane: sdk_appsrc Checked box
Into folder Zybo-Z7-20-HDMI/src
Options: Overwrite existing resources without warning Checked box
Options: Create top-level folder Unchecked box
  1. Click Finish.
  1. Plug in the HDMI IN/OUT cables as well as the HDMI capable Monitor/TV.
  2. Open a serial terminal application (such as TeraTerm and connect it to the Zybo Z7-20's serial port, using a baud rate of 115200.
  3. In the toolbar at the top of the SDK window, select Xilinx -> Program FPGA. Leave all fields as their defaults and click "Program".
  4. In the Project Explorer pane, right click on the "Zybo-Z7-20-HDMI" application project and select "Run As -> Launch on Hardware (System Debugger)".
  5. The application will now be running on the Zybo Z7-20. It can be interacted with as described in the first section of this README.

Next Steps

This demo can be used as a basis for other projects by modifying the hardware platform in the Vivado project's block design or by modifying the SDK application project.

Check out the Zybo Z7-20's Resource Center to find more documentation, demos, and tutorials.

For technical support or questions, please post on the Digilent Forum.

Additional Notes

For more information on how this project is version controlled, refer to the digilent-vivado-scripts repo.

You can’t perform that action at this time.