Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
programmable-logic:zybo-z7:demos:pmod-vga [2022/09/12 12:40] – changed forum.digilentinc.com to forum.digilent.com Jeffrey | programmable-logic:zybo-z7:demos:pmod-vga [2023/08/25 00:33] (current) – Move to direct file links for downloads Arthur Brown | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Zybo Z7 Pmod VGA Demo ====== | ||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | ===== Description ===== | ||
+ | |||
+ | |||
+ | This simple VGA Demo project demonstrates usage of a Pmod VGA connected to the Zybo's Pmod ports. The behavior is as follows: | ||
+ | |||
+ | * A bouncing box and black, white, and multiple colors of bars are displayed on a connected VGA monitor. | ||
+ | * The Pmod VGA is controlled by the Zybo through Pmod ports JC and JD. | ||
+ | * The screen resolution is configurable through HDL code. | ||
+ | |||
+ | ---- | ||
+ | ===== Inventory ===== | ||
+ | |||
+ | * Zybo Z7 with a MicroUSB Programming Cable | ||
+ | * Vivado installation compatible with the latest release of this demo (2022.1) | ||
+ | * //See [[programmable-logic: | ||
+ | * Pmod VGA | ||
+ | * VGA Monitor and cable | ||
+ | |||
+ | ---- | ||
+ | ===== 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 " | ||
+ | |||
+ | 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 | ||
+ | | Zybo Z7-10 | @#C0EEBD: 10/ | ||
+ | | Zybo Z7-20 | @#C0EEBD: 20/ | ||
+ | | Zybo Z7-10 | 10/ | ||
+ | | Zybo Z7-20 | 20/ | ||
+ | | Zybo Z7-10 | 10/ | ||
+ | | Zybo Z7-20 | 20/ | ||
+ | | Zybo Z7-10 | v2018.2-1 | ||
+ | | Zybo Z7-20 | v2018.2-1 | ||
+ | |||
+ | **Note for Advanced Users:** //GitHub sources for this demo can be found in the [[https:// | ||
+ | ---- | ||
+ | Instructions on the use of the latest release can be found in this dropdown: | ||
+ | |||
+ | --> Using the Latest Release #^ | ||
+ | |||
+ | <WRAP group> | ||
+ | |||
+ | {{page> | ||
+ | |||
+ | --> Set up the Zybo Z7 # | ||
+ | |||
+ | Plug the microUSB programming cable into the Zybo Z7's PROG/UART port. | ||
+ | Connect the Pmod VGA to the JC and JD Pmod ports. | ||
+ | Connect the VGA Monitor to the Pmod VGA through a VGA cable. | ||
+ | |||
+ | ---- | ||
+ | <-- | ||
+ | |||
+ | {{page> | ||
+ | |||
+ | At this point, the demo is now running on your board. Refer to the [[# | ||
+ | </ | ||
+ | |||
+ | <-- | ||
+ | |||
+ | ---- | ||
+ | ===== Functionality ===== | ||
+ | |||
+ | |||
+ | ==== 1. View Results ==== | ||
+ | |||
+ | >The VGA monitor will display a set of colored, black, and white bars, along with a moving box, as shown below. You may need to adjust the settings of your monitor to properly align the demo image. | ||
+ | > | ||
+ | > | ||
+ | |||
+ | ==== 2. Changing the Resolution ==== | ||
+ | |||
+ | >You may want to change the display resolution if your VGA monitor does not support 1080p, or you want to modify the demo for a specific application. | ||
+ | > | ||
+ | >To select a different display resolution, select the appropriate set of Sync Generation constants for your target resolution from the list starting at line 47 of **top.vhd**. Uncomment the ten corresponding constants, **FRAME_WIDTH** through **V_POL**, and comment the default versions of those same constants. The default resolution is 1920x1080 @ 60Hz. | ||
+ | > | ||
+ | >Next select **Project Manager** in the Flow Navigator. In the **Hierarchy** tab of the Sources box, expand **top** under Design Sources and double click on **clk_div_inst**. Change the clk_out1 Requested frequency - circled in red below - to the required pxl_clk frequency specified in the selected resolution' | ||
+ | > | ||
+ | > | ||
+ | |||
+ | ---- | ||
+ | ===== Additional Resources ===== | ||
+ | |||
+ | All materials related to the use of the Zybo Z7 can be found on its [[..: | ||
+ | |||
+ | All materials related to the use of the list other products here can be found on their resource centers, linked below: | ||
+ | |||
+ | * Pmod VGA [[pmod: | ||
+ | |||
+ | For a walkthrough of the process of creating a simple HDL project in Vivado, see [[programmable-logic: | ||
+ | |||
+ | For technical support, please visit the [[https:// | ||
+ | |||
+ | ---- |