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-z7-hdmi-in-demo [2017/02/27 09:18] – [1. Generate the Project] Monica Ignat | learn:programmable-logic:tutorials:arty-z7-hdmi-in-demo [2018/03/08 19:25] (current) – Arthur Brown | ||
---|---|---|---|
Line 4: | Line 4: | ||
{{: | {{: | ||
===== Overview ===== | ===== Overview ===== | ||
+ | |||
+ | ==== Description ==== | ||
+ | |||
+ | The Arty Z7 HDMI In project demonstrates the usage of the HDMI in and out ports 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: | ||
+ | |||
+ | * 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. | ||
+ | * There are 3 display frame buffers that the user can choose to display or write to. | ||
==== Features Used ==== | ==== Features Used ==== | ||
Line 23: | Line 32: | ||
^ USB HID Host | ^ USB HID Host | ||
+ | ------- | ||
- | ==== Description ==== | ||
- | |||
- | The Arty Z7 HDMI In project demonstrates the usage of the HDMI in and out ports 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: | ||
- | |||
- | * 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. | ||
- | * There are 3 display frame buffers that the user can choose to display or write to. | ||
- | |||
- | ------- | ||
===== Prerequisites ===== | ===== Prerequisites ===== | ||
- | |||
- | ===Skills=== | ||
- | * **Basic familiarity with Vivado & SDK** | ||
- | * //This experience can be found by walking through our " | ||
===Hardware=== | ===Hardware=== | ||
Line 50: | Line 46: | ||
* **Vivado Design Suite & Xilinx SDK 2016.4** | * **Vivado Design Suite & Xilinx SDK 2016.4** | ||
* //Version 2016.4 must be used to generate the project// | * //Version 2016.4 must be used to generate the project// | ||
+ | * **Digilent Board Support Files for Vivado** | ||
+ | * Follow the [[vivado: | ||
----- | ----- | ||
===== Downloads ===== | ===== Downloads ===== | ||
- | Arty Z7 Support | + | Arty Z7-10 Hdmi In Project |
+ | |||
+ | Arty Z7-20 Hdmi In Project Repository -- [[https:// | ||
------- | ------- | ||
- | ===== How to..===== | + | ===== Download and Launch the Arty Z7 HDMI Input Demo ===== |
- | + | ||
- | ==== 1. Generate the Project ==== | + | |
- | + | ||
- | >1.1) Download the project linked in the download section and unzip it in the location of your choosing. | + | |
- | >1.2) Generate | + | > |
- | ==== 2. Build the Project | + | |
- | >2.1) Click **Generate Bitstream** on the left hand menu towards | + | > |
> | > | ||
- | >Note: If you want, you can click each step by itself in the order of **Run Synthesis**, | + | >{{:learn:programmable-logic: |
- | > | + | |
- | >{{:basys3:buildflow.png?600|}} | + | |
- | ==== 3. Export to SDK ==== | + | |
- | >3.1) Export the microblaze project by going to **File> | + | > |
> | > | ||
- | >{{:zybo:exporthw.jpg?500|}} | + | >{{:learn:programmable-logic: |
- | ==== 4. Import the SDK files ==== | + | |
- | >4.1) In your project Explorer window on the left side, click **File> | ||
- | > | ||
- | > | ||
- | ==== 5. Program the FPGA ==== | ||
- | >5.1) Click **Xilinx Tools> | + | ===== Using the Arty Z7 HDMI Input Demo ===== |
- | > | + | |
- | > | + | |
- | ==== 6. Program the Microblaze Processor | + | ==== HDMI Display Options |
- | >6.1) Click on the **displaydemo** folder and click the Green **Run System Debugger on Local displaydemo.elf** button. The microblaze program will be programmed onto your Arty Z7 board. | + | > 1 - Change |
- | > | + | |
- | {{: | + | |
- | ==== 7. Run the Project ==== | + | |
- | This portion will help you run the demo and observe all its features. | + | > 2 - Change |
- | >7.1) Setup | + | > 3/4 - Store a test pattern in the chosen video frame buffer - color bar or blended. |
> | > | ||
- | >Plug one end of the HDMI cable into a video monitor and the other into the Arty Z7 HDMI out port. | + | > |
- | > | + | |
- | > | + | |
- | >7.2) Setting up UART communications | + | > 5 - Start/Stop streaming video data from HDMI to the chosen video frame buffer. |
- | > | + | |
- | >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, | + | |
- | > | + | |
- | > | + | |
- | >7.3) HDMI display | + | > 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 | ||
> | > | ||
- | > 1 - Changes the resolution of the HDMI output to the monitor. | + | > |
- | > 2 - Changes the frame buffer index. | + | |
- | > 3/4 - Prints a test pattern in the chosen Frame buffer: blended or color bar. | + | > 8 - Scale the current video frame to the display resolution, store it into the next video frame buffer, and then display it. |
- | > 5 - Inverts current frame colors. | + | |
- | > 6 - Inverts current frame colors seamlessly. | + | {{tag> |
- | > | + | |
- | > | + | |