Zybo Z7迁移指南

本指南旨在帮助从最近退休的Zybo迁移到新的和改进的Zybo Z7。对于那些当前拥有或熟悉Zybo并且需要将现有材料移植到新平台的人来说,这将很有用。如果您只是在Zybo Z7上寻找完整的文档,请参考Zybo Z7参考手册

What Happened to the ZYBO?

We realized that with several minor updates to the ZYBO's design, we could greatly improve its capabilities as a video platform while adding only little cost. We decided to move forward with these changes, also making some additional improvements along the way. Whenever possible, we left the design unchanged in order to help make the migration from the ZYBO to this new platform, the Zybo Z7, easy for our customers. Here is a summary of the changes that were made:

  • 用HDMI输入替换VGA输出端口
  • Converted bidirectional HDMI port to output only for simplicity
  • 修复了HDMI监视器后功率问题
  • Added a MIPI CSI-2 capable Pcam port for attaching camera sensor modules
  • 我ncreased processor speed to 667MHzand DDR speed to 1066MHz
  • 从512增加了DDR容量MBto 1GB
  • Changed DDR3 to DDR3L for lower power consumption
  • 添加了RGB LED
  • 使用较大的Zynq-7000加载的选项
  • 由Digilent提供的能力修订的SDSOC平台

硬件比较

The figure below shows the ZYBO next to the two new Zybo Z7 product variants, the Zybo Z7-10 and the Zybo Z7-20.

The complete feature lists of these three products are arranged in the table below so that they can be easily compared.

ZYBO Zybo Z7-10 Zybo Z7-20
Product Information Status 停止 Active
Price (USD) 189 199 299
Zynq Specifications Zynq部分 XC7Z010-1CLG400C XC7Z020-1CLG400C
Processor 650MHz双核皮质A9 667MHz双核皮质A9
Programming Options JTAG,QUAD-SPI闪光灯,microSD
1个MSP片ADC 是的
Look-up Tables (LUTs) 17,600 53,200
人字拖 35,200 106,400
BlockRAM 270 kb 630 KB
Clock Management Tiles 2 4
内存 DDR 512MBDDR3 with 32-bit bus @ 1050MHz 1GBDDR3L with 32-bit bus @ 1066MHz
Quad SPI Flash 16MB
microSD Slot 是的
Power 输入选项 USB或任何5V外部电源
Fan Connector No 是的
USB和以太网 Gigabit Ethernet 是的
USB-JTAG Circuitry 是的
USB-UART bridge 是的
USB 2.0 OTG 主机和设备
Audio and Video 音频编解码器 SSM2603
VGA输出 是的 No
双向HDMI 是的 No
HDMI输出 No 是的
HDMI输入 No 是的
Pcam MIPI CSI-2 Camera Port No 是的
GPIODevices Push buttons 6
Switches 4
LEDs 5
RGB LEDs 0 1 2
扩展连接器 Pmod ports 6 5 6
构成因素 宽度 3.3 inches (88 mm)
Length 4.8英寸(122毫米)

Migration Considerations

从Zybo迁移到Zybo Z7时必须考虑以下内容:

Zynq Pin-out Changes

The pin mappings of many components have changed. This is true even for some components that are present on both the Zybo Z7 and ZYBO. Any IP cores that are using board file interfaces will need to be re-targeted to the Zybo Z7. Also, any pin constraints found in XDC files will need to be replaced with updated pin constraints that take into account the new pin-out of the Zybo Z7. See section “Project Migration Tutorial” for instructions on how to do this with an existing ZYBO project.

For this reason, most pre-built bitstream files that target the ZYBO will not work on the Zybo Z7.

Zynq PS配置更改

The input oscillator has changed from 50MHzto 33.3333MHz。Also, the Zybo Z7 uses different DDR memory. Both of these changes require the Zynq Processing System IP Core in Vivado to be reconfigured with different settings than were used on the ZYBO. See the section “Project Migration Tutorial” for an easy way to update an existing ZYBO block diagram to use the new Zybo Z7 settings.

For this reason, any binary files that target the ZYBO and make use of the processors (such as a BOOT.bin file) will not work on the Zybo Z7.

Pmod Port Changes

The Pmod ports found on the ZYBO and Zybo Z7-20 are equivalent, however the Zybo Z7-10 has one fewer high-speed Pmod port attached to the Zynq-7000's programmable logic. Specifically, it does not include Pmod JB. To migrate a design to the Zybo Z7-10 that uses Pmod JB, modify it to use Pmod JC or Pmod JD instead, which are also high-speed Pmod ports. If a design must use Pmod JB, it should be migrated to the Zybo Z7-20.

VGA删除了

拆除VGA端口,为专用的HDMI端口和PCAM端口腾出空间。如果一个项目使用VGA输出,则有几个将其移植到Zybo Z7的选项。

  1. 将设计修改为在HDMI TX端口上输出视频。最简单的方法是使用Digilent的RGB2DVI IP核心vivado-library IP Repo。该IP核心将转换该项目用于将VGA端口驱动到DVI信号的信号,该信号可以连接到HDMI TX端口。作为奖励,这将提高颜色深度至24位。
  2. Purchase aPmod VGA并将其连接到Zybo Z7上的两个PMOD端口。这将在Zybo Z7上提供VGA输出端口,就像在Zybo上找到的那样。不利的一面是,与Zybo上的16位VGA相比,PMOD VGA仅具有12位颜色深度,因此需要修改项目以截断附加的颜色信号。有关如何与Zybo Z7一起使用PMOD VGA的示例Zybo Z7资源中心

HDMI Port Changes

应修改使用Zybo上双向HDMI端口作为输出的项目,以使用Zybo Z7上HDMI TX端口附加的引脚。HDMI TX端口将与双向端口相同,但不再需要HDMI_OUT_EN信号来指示端口方向。

作为额外的改进,您不再需要断开任何附加的显示,以便为Zybo Z7提供动力。Zybo上存在的显示回电源问题已固定。

项目that were using the bidirectional HDMI port on the ZYBO as an input should be modified to use the pins attached to the HDMI RX port on the Zybo Z7. The HDMI RX port will function identically to the bidirectional port, except that the HDMI_OUT_EN signal is no longer needed to indicate the port direction.

Those who need to use the optional CEC pin on the HDMI RX port must migrate to the Zybo Z7-20. The CEC pin on the HDMI RX port is not connected to the Zynq on the Zybo Z7-10.

Driving Dual Displays

使用Zybo同时使用HDMI端口和VGA端口同时驱动两个显示器的设计将不再能够使用Zybo Z7上的视频端口(只有一个输出)。Digilent建议如果您的设计需要双重显示,则建议使用HDMI TX端口和Zybo Z7的PMOD VGA。有关更多信息,请参见“ HDMI端口更改”部分和“删除VGA”部分。

Pcam Port Added

The Pcam connector can be used to attach MIPI CSI-2 based camera sensor modules to the Zybo Z7. This interface supports much lower latency and higher bandwidth than the onboard USB 2.0 connector. If your design uses a USB 2.0 camera, modifying it to use the Pcam port instead will improve performance.

修订SDSOC平台

SDSoC and the reVISION libraries make it possible to do FPGA accelerated video processing using openCV functions in an all C/C++ development environment. Digilent will be enabling this design flow on the Zybo Z7-20 by providing a reVISION capable SDSoC platform for it in the future. Those using the ZYBO for video processing (or that are interested in doing so) should consider if migrating a project into SDSoC will enable improvements. For more information on reVISION, see Xilinx'sreVISION Zone

那些有兴趣使用修订的人应迁移到Zybo Z7-20。Zybo Z7-10没有足够的可编程逻辑资源来正确实现修订平台。

较大的FPGA选项

我f you would benefit from having more FPGA resources, you have the option to migrate to the Zybo Z7-20, which includes a much larger ZC7020 Zynq part. The process of migrating to the Zybo Z7-20 is no more difficult than migrating to the Zybo Z7-10, which has the same ZC7010 Zynq part as the ZYBO.

Basic video processing applications designed on the ZYBO or Zybo Z7-10 will often use most of the available resources in the programmable logic. For this reason the Zybo Z7-20 is recommended for those interested in video processing.

DDR内存改进

The Zybo Z7 doubles the memory capacity of the ZYBO to 1GB。Some designs may be able to benefit from this additional memory. This can often be useful in designs built on Embedded Linux (Petalinux).

Other improvements to the DDR will slightly increase available bandwidth and decrease power consumption.


项目迁移教程

The following procedure describes an easy method for porting an existing Vivado project from the ZYBO to the Zybo Z7. It was tested in Vivado 2017.2 and will likely work for other versions, though the steps and images may differ slightly. Note this guide expects previous experience with Vivado and Xilinx SDK.

1.

我nstall the latest version of theDigilent Vivado板文件

2.

Download the latest version of theDigilent XDC回购

3.

Open the Vivado project you wish to migrate to the Zybo Z7

4.

Open the Block Design

5.

单击设置

6。

Click “…”

7。

Select the Zybo Z7-10 or Zybo Z7-20 to retarget your project to the new platform. Click OK to apply the settings

8。

单击工具 - >报告 - >报告IP状态

9。

Click Upgrade Selected. After complete, if asked to Generate Output Products, click Skip. Critical warnings regarding negative DDR DELAY values can be ignored.

10.

The Zynq PS IP core will not automatically take in the new settings, this must be done by triggering block automation for it. To do this, first delete the DDR and FIXED_IO ports from your design.

11.

A green stripe should appear above the block diagram that says “Run Block Automation”. Click it.

12.

我n the new wizard that comes up, accept the defaults and click OK. The Zynq PS should now be configured to properly work on the Zybo Z7.

上一步可能会导致您在Zynq PS IP核心中手动设置的某些设置被覆盖。如果您认为发生这种情况,则可以通过按CTRL-Z来撤消最后一步,然后记下它触发的任何不必要的差异。然后重做块自动化,然后手动进行所需的更改。在Zynq PS IP核心(例如FCLK,HP,GP和Interrupt设置)中通常更改的大多数选项不受此影响。

13.

我f your design specifies any pin constraints in XDC files, replace them with the equivalent pin constraints found in the Zybo-Z7-Master.xdc file of the digilent-xdc repo.

14.

根据“迁移注意事项”部分中指出的情况,实施您可能需要对设计进行的任何功能更改。

15.

保存框图。单击生成的bitstream以构建项目。

16。

将项目导出到Xilinx SDK,以在Zybo Z7上运行和测试您的项目。