Note: The demo contained in this repository has been moved and this repository is no longer being actively maintained. Check out the Zybo Z7 Pmod VGA demo page on Digilent Reference for more information.
This project is a Vivado demo using the Zybo Z7-10's, Pmod Ports and the Pmod VGA written in VHDL. The Pmod VGA is controlled by the Zybo Z7-10 through Pmod ports JB and JC. When programmed onto the board, a bouncing box and many test pattern bars are displayed on a connected VGA monitor. The screen resolution is configurable through HDL code.
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 1920×1080 @ 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 to the required pxl_clk frequency specified in the selected resolution's Sync Generation comment block. Select Ok, then Generate in the Generate Output Products dialog that pops up. To reprogram your board with the new hardware, return to Step 2.
- Zybo Z7-10:To purchase a Zybo Z7-10, see the Digilent Store
- Pmod VGA To purchase a Pmod VGA, see the Digilent Store
- Vivado 2018.2 Installation:To set up Vivado, see the Installing Vivado and Digilent Board Files Tutorial.
- MicroUSB Cable
- VGA Monitor
- VGA Cable
- Download and extract the most recent release ZIP archive from this repository's Releases Page.
- Open the project in Vivado 2018.2 by double clicking on the included XPR file found at "<archive extracted location>/vivado_proj/Zybo-Z7-10-Pmod-VGA.xpr".
- In the Flow Navigator panel on the left side of the Vivado window, click Open Hardware Manager.
- Plug the Zybo Z7-10 into the computer using a MicroUSB cable.
- In the green bar at the top of the Vivado window, click Open target. Select Auto connect from the drop down menu.
- In the green bar at the top of the Vivado window, click Program device.
- In the Program Device Wizard, enter "<archive extracted location>vivado_proj/Zybo-Z7-10-Pmod-VGA.runs/impl_1/top.bit" into the "Bitstream file" field. Then click Program.
- The demo will now be programmed onto the Zybo Z7-10. See the Description section of this README to learn how to interact with this demo.
This demo can be used as a basis for other projects, either by adding sources included in the demo's release to those projects, or by modifying the sources in the release project.
Check out the Zybo Z7-10's Resource Center to find more documentation, demos, and tutorials.
For technical support or questions, please post on the Digilent Forum.
For more information on how this project is version controlled, refer to the Digilent Vivado Scripts Repository