Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
learn:programmable-logic:tutorials:arty-z7-hdmi-demo:start [2017/02/10 09:22] – created Monica Ignat | learn:programmable-logic:tutorials:arty-z7-hdmi-demo:start [2017/07/20 20:35] (current) – [Downloads] Arthur Brown | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | {{:zybo:uart.jpg?500|}} | + | {{:learn:programmable-logic: |
===== Overview ===== | ===== Overview ===== | ||
- | ==== Features Used ==== | ||
- | |||
- | | ^ Not Used ^ Used ^ | ||
- | ^ 4 user switches | ||
- | ^ 4 user LEDs | X | | | ||
- | ^ 5 user push buttons | ||
- | ^ USB-UART Bridge | ||
- | ^ Micro SD card connector | ||
- | ^ HDMI Sink and HDMI Source | ||
- | ^ 16 Bit VGA port | | ||
- | ^ Audio codec w/ three 3.5mm jacks | X | | | ||
- | ^ User EEPROM | ||
- | ^ 10/100/1000 Ethernet PHY | ||
- | ^ 512MiB 800Mt/s DDR3 Memory | ||
- | ^ Serial Flash | ||
- | ^ Five Pmod ports | X | | | ||
- | ^ Pmod for XADC signals | ||
- | ^ USB HID Host | ||
- | |||
==== Description ==== | ==== Description ==== | ||
- | The ZYBO HDMI project demonstrates the usage of the HDMI and VGA ports on the ZYBO. | + | The Arty Z7 HDMI Out project demonstrates the usage of the HDMI out port on the Arty Z7 board. There are two projects, one for each variant of the board: Arty Z7-10 and Arty Z7-20. |
- | . The behavior is as follows: | + | The behavior is as follows: |
- | * Video data streams in through the HDMI port and out through the VGA port. | + | * Frames stream out through the HDMI port. |
- | * A UART interface is available to configure what is output through | + | * A UART interface is available to configure what is output through |
- | * There are 3 display frame buffers that the user can choose to display | + | * There are 3 display frame buffers that the user can choose to display. |
------- | ------- | ||
+ | |||
+ | ==== Features Used ==== | ||
+ | |||
+ | | ^ Not Used ^ Used ^ | ||
+ | ^ 2 user switches | ||
+ | ^ 2 user LEDs | X | ||
+ | ^ 2 user RGB LEDs | X | ||
+ | ^ 4 user push buttons | ||
+ | ^ USB-UART Bridge | ||
+ | ^ Micro SD card connector | ||
+ | ^ HDMI Sink and HDMI Source | ||
+ | ^ PWM mono audio out w/ 3.5mm jack | ||
+ | ^ 10/100/1000 Ethernet PHY | ||
+ | ^ 512MB 1050Mb/s DDR3 Memory | ||
+ | ^ Quad-SPI Flash | ||
+ | ^ Two Pmod ports | ||
+ | ^ chipKIT connector for XADC signals | X | ||
+ | ^ USB HID Host | ||
===== Prerequisites ===== | ===== Prerequisites ===== | ||
- | |||
- | ===Skills=== | ||
- | * **Basic familiarity with Vivado & SDK** | ||
- | * //This experience can be found by walking through our " | ||
===Hardware=== | ===Hardware=== | ||
- | * **ZYBO board** | + | * **Arty Z7 board** |
* **Micro-USB cable** | * **Micro-USB cable** | ||
* **HDMI cable** | * **HDMI cable** | ||
- | * **HDMI | + | * **HDMI monitor** |
- | * **VGA monitor** | + | |
===Software=== | ===Software=== | ||
- | * **Vivado Design Suite & Xilinx SDK 2015.4** | + | * **Vivado Design Suite & Xilinx SDK 2016.4** |
- | * // | + | * // |
+ | * **Digilent Board Support Files for Vivado** | ||
+ | * Follow the [[vivado: | ||
----- | ----- | ||
+ | |||
===== Downloads ===== | ===== Downloads ===== | ||
- | ZYBO Support | + | Arty Z7-10 Hdmi Out Project |
+ | |||
+ | Arty Z7-20 Hdmi Out Project Repository -- [[https:// | ||
------- | ------- | ||
- | ===== How to... ===== | + | ===== Download and Launch the Arty Z7 HDMI Demo ===== |
- | ==== 1. Generate | + | >1) Follow |
- | >1.1) Download the project linked in the download section and unzip it in the location | + | >2) Plug one end of the HDMI cable into a video monitor |
- | + | ||
- | >1.2) Generate | + | |
- | + | ||
- | ==== 2. Build the Project ==== | + | |
- | + | ||
- | >2.1) Click **Generate Bitstream** on the left hand menu towards the bottom. Vivado will run through both Run Synthesis | + | |
- | > | + | |
- | >Note: If you want, you can click each step by itself in the order of **Run Synthesis**, | + | |
> | > | ||
- | >{{:basys3:buildflow.png?600|}} | + | >{{:learn:programmable-logic: |
- | ==== 3. Export to SDK ==== | + | > |
- | + | ||
- | >3.1) Export the microblaze project by going to **File> | + | |
> | > | ||
- | >{{:zybo:exporthw.jpg?500|}} | + | >{{:learn:programmable-logic: |
- | ==== 4. Import | + | ===== Using the Arty Z7 HDMI Demo ===== |
- | >4.1) In your project Explorer window on the left side, click **File> | + | ==== HDMI Display Options ==== |
- | > | + | |
- | > | + | |
- | ==== 5. Program the FPGA ==== | + | > 1 - Changes the resolution of the HDMI output to the monitor. |
- | + | > 2 - Changes the frame buffer | |
- | >5.1) Click **Xilinx Tools> | + | > 3/4 - Prints |
- | > | + | > 5 - Inverts current |
- | > | + | > 6 - Inverts current frame colors seamlessly. |
- | + | ||
- | ==== 6. Program the Microblaze Processor ==== | + | |
- | + | ||
- | >6.1) Click on the **videodemo** folder and click the Green **Run System Debugger on Local videodemo.elf** button. The microblaze program will be programmed onto your Zybo board. | + | |
- | > | + | |
- | {{: | + | |
- | + | ||
- | ==== 7. Run the Project ==== | + | |
- | + | ||
- | This portion will help you run the demo and observe all its features. | + | |
- | + | ||
- | >7.1) Setup | + | |
- | > | + | |
- | >Plug one end of the HDMI cable into a video source and the other into the ZYBO HDMI port. Plug one end of your VGA cable into the VGA port of the ZYBO and the other into your VGA monitor. | + | |
- | > | + | |
- | > | + | |
- | + | ||
- | >7.2) Setting up UART communications | + | |
- | > | + | |
- | >To see the UART communication channel, open a terminal program on your computer set to 112500 baud rate, 8 data bits, no parity bit and 1 stop bit. On startup, the ZYBO will display the HDMI settings menu, shown below. | + | |
- | > | + | |
- | > | + | |
- | + | ||
- | >7.3) HDMI display options | + | |
- | > | + | |
- | > 1 - Changes the resolution of the VGA output to the monitor. | + | |
- | > 2 - Changes the frame buffer | + | |
- | > 3/4 - Stores | + | |
- | > 5 - Starts/ | + | |
- | > 6 - Changes the video buffer that HDMI data is streamed into. | + | |
- | > 7 - Inverts | + | |
- | > 8 - Scales the current video frame to the display resolution and stores it into the next video frame buffer, then displays it. | + | |
> | > | ||
- | >{{:zybo:img_20151211_172212.jpg?500|}} | + | >{{:learn:programmable-logic: |
- | {{tag> | + | {{tag> |