Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
learn:programmable-logic:tutorials:arty-pmod-vga-demo:start [2017/05/25 21:15] – [Downloads] Arthur Brown | learn:programmable-logic:tutorials:arty-pmod-vga-demo:start [2023/05/22 18:27] (current) – Arthur Brown | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | + | ====== Arty A7 Pmod VGA Demo (Redirect) | |
- | ====== Arty Pmod VGA Demo ====== | + | ~~NOSEMANTIC~~ |
- | + | ~~REDIRECT>/ | |
- | {{:learn:programmable-logic:tutorials:arty-pmod-vga-demo: | + | {{tag>redirect}} |
- | + | ||
- | ===== Overview ===== | + | |
- | ==== Features Used ==== | + | |
- | + | ||
- | | ^ Not Used ^ Used ^ | + | |
- | ^ 4 User Switches | + | |
- | ^ 4 User LEDs | X | | | + | |
- | ^ 4 User RGB LEDSs | + | |
- | ^ 4 User Push Buttons | + | |
- | ^ 4 Pmod Connectors | + | |
- | ^ XADC Analog Input | X | | | + | |
- | ^ USB-UART Bridge | + | |
- | ^ Serial Flash for Application Data | X | | | + | |
- | + | ||
- | + | ||
- | ==== Description ==== | + | |
- | + | ||
- | This simple VGA Demo project demonstrates usage of a Pmod VGA connected to the Arty'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 Arty through Pmod ports JB and JC. | + | |
- | * The screen resolution is configurable through HDL code. | + | |
- | + | ||
- | ----- | + | |
- | ===== Prerequisites ===== | + | |
- | + | ||
- | ===Hardware=== | + | |
- | * **Arty FPGA board** | + | |
- | * **Pmod VGA** | + | |
- | * **Micro-USB cable** | + | |
- | * **VGA monitor and cable** | + | |
- | + | ||
- | ===Software=== | + | |
- | * **Vivado Design Suite 2016.X** | + | |
- | * //Newer versions can be used, but the procedure may vary slightly// | + | |
- | + | ||
- | + | ||
- | ----- | + | |
- | + | ||
- | ===== Downloads ===== | + | |
- | + | ||
- | Arty Pmod VGA Project Repository -- [[https:// | + | |
- | + | ||
- | ------ | + | |
- | + | ||
- | ===== Download and Launch the Arty Pmod VGA Demo ===== | + | |
- | + | ||
- | >1) Follow the [[: | + | |
- | + | ||
- | >2) Once you have generated your bit file, make sure that you have your Pmod VGA plugged into your Arty's Pmod ports JB and JC. Use a VGA cable to connect the Pmod VGA to your monitor' | + | |
- | + | ||
- | ===== Using the Arty Pmod VGA Demo ===== | + | |
- | + | ||
- | ==== 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' | + | |
- | > | + | |
- | > | + | |
- | + | ||
- | {{tag>learn programmable-logic project arty pmodvga}} | + |