Genesys 2Out of Box Demo
概述
进口ant.
该项目只能使用Vivado/SDK 2015.4进行编程
Description
Genesys2用户演示项目展示了大多数Genesys2外围设备的用法。。行为如下:
-
8个用户LED与8个用户开关绑定。LED上显示了一个来回动画。
-
音频演示记录了从麦克风(J6)或(J7)的行中记录5秒的样本,并将其播放在耳机上(J4)或排队(J5)。记录和播放由PushButtons发起(如下表中描述)。
-
以太网可以插入网络中,并配置为可作为回声服务器的工作。
-
With a DVI source connected to J9 (HDMI IN), the demo works as a pass-through buffer outputting the data on DVI output J8 (HDMI OUT) and also J10 (DISPLAYPORT OUT).
-
在里面absence of a DVI source, the demo switches the video output to an internally generated pattern.
-
设置XADC以监视内部FPGA温度,VCCINT电压和VCCAUX电压。
-
The on-board Oled shows the Digilent logo on power-up. After two seconds, it switches to display the XADC readings and the local IP address.
-
The Genesys2 also sends status messages through the UART terminal. It is configured to work at a baud rate of 115200 with 8 data bits, 1 stop bit, and no parity.
Despite the fact that the version of the Out-of-Box demo that is programmed into the Genesys 2's flash during manufacturing correctly drives DisplayPort, due to changes made to the DisplayPort IP made between Vivado 2014.4 (the original version the demo was written in) and 2015.4 (targeted by the first GitHub release of the demo), DisplayPort is not supported by this demo.
笔记:源文件的原始版本ut-of-Box demo created for 2014.4, with a functioning DisplayPort implementation, were posted on the Digilent Forum here:https://forum.digilentinc.com/topic/19560-error-importing-genesys2-oob-project-sdk/#comment-53714。
使用的功能
Not Used | Used | |
---|---|---|
8 user switches | X | |
8个用户LED | X | |
128×32单色OLED显示器 | X | |
USB-UART桥 | X | |
160针FMC LPC连接器 | X | |
微型SD卡连接器 | X | |
HDMI水槽和HDMI来源 | X | |
DisplayPort源 | X | |
音频编解码器带四个3.5毫米千斤顶 | X | |
5 user push buttons | X | |
UserEEPROM | X | |
10/100/1000 Ethernet PHY | X | |
512MIB 800MT/S DDR3内存 | X | |
Serial Flash | X | |
四个PMOD端口 | X | |
XADC信号的PMOD | X | |
USB HID主机 | X |
先决条件
硬件
-
Genesys2 FPGA board
-
Micro-USB cable
-
Genesys2电源
-
其他各种电缆
Software
-
Xilinx SDK 2015.4
-
Xilinx TEMAC IP评估许可证
-
Xilinx DisplayPort IP评估许可证
-
数字Board Support Files for Vivado
-
跟着Vivado Board Files for Digilent 7-Series FPGA Boardsguide on how to install Board Support Files for Vivado.
-
Downloads
如何...
1.下载项目
1.1) Download the project zip file which can be downloaded above. Once you have downloaded the project, unzip it in the location of your choosing.
1.2) If you want to generate the project in Vivado, continue to step 2. If you want to move straight to Xilinx SDK, skip to step 5.
2.生成项目
2.1) If not already installed, install the Vivado Board Files for the Genesys 2 by following this guide:为Digilent板安装Vivado板文件。
2.2) Generate theOOB通过遵循本指南进行项目,然后继续:如何从Digilent的GitHub生成项目。
3.建立项目
4.导出到SDK
4.1) Export the microblaze project by going toFile→Export→Export Hardware。单击复选框以包括Bitstream,然后将其导出到本地项目。这将在您的项目目录中创建一个.sdk文件夹。之后,单击File→Launch SDK。Both the exported location and workspace should be left as. Click “OK” to launch Xilinx SDK.
4.2)跳到步骤6。
5.打开Xilinx SDK并创建一个工作区
6. Import the SDK files
7.编程FPGA
8.编程微型布莱兹处理器
9.运行项目
这部分将帮助您运行演示并观察其所有功能。笔记:在当前状态下,以太网端口不完全功能。
9.1) Using the Switches with LEDs
程序启动后,Genesys2将显示周期性的光图案。翻转任何开关转动相应的LED上。
9.2) Setting up UART communications
将Micro-USB电缆插入标有UART的插头,然后将其插入计算机。
You can use any serial terminal (Tera Term) to connect to the Genesys2 using 115200 baud rate, 8 data bits, no parity bit and 1 stop bit. Once connected, the Genesys2 will display the Internal temperature, VVCIN and VCCAUX voltage, as well as Ethernet information.
9.3)OLED展示
Initially the Oled will display the internal temperature of the FPGA as well as the VCCINT and VCCAUX voltage. When BTNC is pressed, the Oled displays the current readings for VCC1V0, VCC1V5, and VCC1V8. When pressed again it shows the current readings from VCC3V3 and VCC5V0. The final page shows the MAC and IP address of the Genesys2.
>
9.5) Ethernet Echo Server
通过以太网电缆将Genesys 2插入路由器中,以在路由器上给定的IP地址上启动ECHO服务器。可以使用终端程序访问这一点,以连接到端口7上DHCP服务器给出的IP地址。
9.6)音频演示
9.6.1) Recording from an input
To record from the microphone input, press bBTNU. To record from the line input, press BTNR. Once the recording is activated, the message “Start Recording…” will be sent over UART and the demo will record 5 seconds of audio. If any buttons are pressed during the recording, the message “Still Recording…” will be sent over UART.9.6.2)播放输出
要播放麦克风输入,请按BTND。要播放线输出,请按BTNL。一旦激活了播放,就会通过UART发送消息“开始播放……”,演示将播放5秒的音频。如果在播放期间按下任何按钮,则消息“仍在播放……”将通过UART发送。
9.7)图像程序员项目
就像您进行的G2DEMO项目一样,可以将成像项目编程到您的Genesys 2上。该演示提供了一种方法,可以编程在从GIMP导出到板闪光灯的C标头中存储的1920×1080图像。然后可以将此图像加载到VDMA中,并使用G2DEMO项目显示。通过最小的修改,可以扩展该项目以将整个现有图像倒出UART,以便可以验证内容。