Arty Z7-20Out of Box Demo
描述
This repository contains the Out-of-Box Demo for the Arty Z7-20. It similar to the demo that comes preprogrammed on the board when shipped to customers. The demo uses a wide range of the board's peripherals, including the HDMI video inputs and outputs, audio output, LEDs, buttons, and USB-UART bridge. The demo forwards signals from the HDMI input port to the HDMI output port. To use this feature of the demo, an HDMI capable computer and an HDMI capable monitor are required, as well as two HDMI cables. When any button is pressed, an audio sample is generated by the Zynq processor and is streamed out over the audio output jack for approximately 4.5 seconds. The sample generated is a 261 Hz sine wave, also known as the musical note C4. As long as the demo is running, the two RGB LEDs alternate cycling through the colors red, green, blue, and white. The user LEDs are continuously set to the state of user buttons. When only one of the user switches is switched on, the LEDs are inverted. Status messages are printed out over UART to a connected Serial Terminal. . See the Requirements section below for instructions on how to install and use an application to view these messages.
Requirements
- Arty Z7-20: To purchase a Arty Z7-20, see theDigilent商店。
- Vivado 2018.2 Installation with Xilinx SDK:要设置Vivado,请参阅安装Vivado和Digilent板文件教程。
- 串行终端模拟器应用:有关更多信息,请参见安装和使用终端模拟器教程。
- microusb电缆
- 带有3.5毫米音频插孔的耳机或扬声器
- HDMI电缆
- HDMI功能的显示器/电视
演示设置
- 从存储库中下载最新版本的Zip Archive(“ Arty-Z7-20-OOB-2018.2 - *。Zip”)发行页。
- 提取下载的拉链。
- Open the XPR project file, found at
/vivado_proj/Arty-Z7-20-OOB.xpr, included in the extracted release archive in Vivado 2018.2. - In the toolbar at the top of the Vivado window, select文件 - >导出 - >导出硬件。Select
作为出口位置,并确保包括Bitstream检查框,然后单击OK。 - In the toolbar at the top of the Vivado window, select文件 - >启动SDK。Select
作为工作区位置和导出位置,然后单击OK。 - 随着Vivado SDK的打开,请等待Vivado导出的硬件平台被导入。
- 在SDK窗口顶部的工具栏中,选择文件 - >新 - >应用程序项目。
- 如下表中,在新应用程序向导的第一页中填写字段。大多数列出的值将是向导的默认值,但包含在表中以进行完整。
Setting | Value |
---|---|
项目名称 | Arty_Z7_20_OOB |
使用默认位置 | 检查框 |
OS Platform | 独立 |
目标硬件:硬件平台 | design_1_wrapper_hw_platform_0 |
目标硬件:处理器 | PS7_CORTEXA9_0 |
Target Software: Language | C |
目标软件:董事会支持包 | Create New (arty_z7_20_oob_bsp) |
- 点击下一个。
- 从模板应用程序列表中,选择“空应用程序”,然后单击Finish。
笔记:步骤11-16描述如何在应用程序项目中添加数学库支持,有关更多信息,请参见(xilinx答案记录52971)[https://www.xilinx.com/support/answers/52971.html].
在项目资源管理器中,右键单击新的应用程序项目(ARTY_Z7_20_OOB),然后选择特性。
在弹出的属性窗口中C/C ++构建, 点击设置。
在“工具设置”选项卡中,下ARM V7 GCC链接器, 点击Libraries。
To the right of the Libraries pane, click the添加...按钮 - 按钮看起来像一张纸上,上面有绿色的纸。
在输入值弹出窗口中,键入-m进入文本字段。然后单击OK。
返回属性窗口,单击OK。
In the Project Explorer pane to the left of the SDK window, expand the application project (named "arty_z7_20_oob").
右键单击应用程序项目的“ SRC”子目录,然后选择进口。
在弹出的窗口的“选择导入向导”窗格中,展开一般的并选择File System。然后单击下一个。
填写的字段“文件系统”屏幕in the table below. Most of the listed values will be the defaults, but are included in the table for completeness.
Setting | Value |
---|---|
From directory | <存档提取的位置>/sdk_appsrc |
导入窗格的文件:sdk_appsrc | 检查框 |
Into folder | Arty_Z7_20_OOB/src |
选项:覆盖现有资源而无需警告 | 检查框 |
选项:创建顶级文件夹 | 未检查的盒子 |
- 点击Finish。
- 插入HDMI输入/输出电缆以及HDMI功能的显示器/电视。
- 打开串行终端应用程序(例如TeraTermand connect it to the Arty Z7-20's serial port, using a baud rate of 115200.
- 在SDK窗口顶部的工具栏中,选择Xilinx -> Program FPGA。将所有字段作为默认设置,然后单击“程序”。
- 在项目Explorer Pane中,右键单击“ ARTY_Z7_20_OOB”应用程序项目,然后选择“在硬件(系统调试器)上启动为 - >启动”。
- 该应用程序现在将在Arty Z7-20上运行。它可以与此读数的第一部分中所述进行相互作用。
下一步
This demo can be used as a basis for other projects by modifying the hardware platform in the Vivado project's block design or by modifying the SDK application project. Check out the Arty Z7-20's资源中心要找到更多文档,演示和教程。有关技术支持或问题,请在Digilent论坛。
Known Issues
- HDMI通行的一部分不符合时间。
- 音频样品可以在较高的体积/振幅下为“静态EY”。
Additional Notes
有关该项目的控制方式的更多信息readme。