Main Content

visionzynq

Connect to Zynq hardware

Add-On Required: This feature requires the SoC Blockset Support Package for AMD FPGA and SoC Devices add-on.

Description

The visionzynq object connects with your Zynq® hardware. When generating HDL code, the HDL Workflow Advisor creates this connection and sends commands to the hardware for you. After you generate your HDL code, use the visionzynq object to change the IP address or the program loaded in the FPGA, without rerunning the HDL Workflow Advisor.

If you have more than one FPGA design ready to deploy to the board, use this object to switch the programming of the FPGA between designs.

Use the downloadImage function to add an FPGA image to the SD card, and load this new image to the FPGA. Use the changeFPGAImage function to load an existing FPGA image from the hardware SD card to the FPGA.

Creation

Description

vz = visionzynq creates a visionzynq object connected to the Zynq board, using saved values for the connection details. Unless you are changing the type of device, create the object without arguments. The object is created only if the host connects successfully to the board. Otherwise, it returns an error message.

example

vz = visionzynq(DeviceName) creates a visionzynq object connected to the DeviceName type of Zynq board.

vz = visionzynq(DeviceName,DeviceAddress) creates a visionzynq object connected to the DeviceName type of Zynq board, with a custom IP address, DeviceAddress.

example

Input Arguments

expand all

Name of hardware device, specified as one of the supported boards.

The device name of FMC-HDMI-CAM indicates support for both the original FMC-IMAGEON revision and the newer FMC-HDMI-CAM revision of the boards.

The device name of IMX274MIPI-FMC indicates support for the LI-IMX274MIPI-FMC module. This module is supported only with the Xilinx® Zynq UltraScale+™ MPSoC ZCU106 Evaluation Kit.

Specify a dotted-quad IP address for the target device or a host name such as 'zedboard-pradeepa.foo.com'.

Object Functions

changeFPGAImageLoad image from on-board SD card into FPGA
downloadImageWrite image to on-board SD card and load into FPGA

Examples

collapse all

  1. Create an object that defines a connection to the Zynq board. The object uses device and IP settings from the support package installation.

    vz = visionzynq
    ans = 
    
    
    visionzynq
    
       Device Information:
           DeviceName: 'Zedboard FMC-HDMI-CAM'
        DeviceAddress: '192.168.4.2'
             Username: 'root'
             Password: 'root'
                 Port: 22
    
  2. If the object returns an error, review the board setup steps described in Set Up Xilinx Devices.

  1. Create an object that defines a connection to the Zynq board. Specify the type of device, and, optionally, an IP address.

    vz = visionzynq('ZC706 FMC-HDMI-CAM','192.168.17.1')
    ans = 
    
    
    visionzynq
    
       Device Information:
           DeviceName: 'ZC706 FMC-HDMI-CAM'
        DeviceAddress: '192.168.17.1'
             Username: 'root'
             Password: 'root'
                 Port: 22
    
  2. If the object returns an error, review the board setup steps described in Set Up Xilinx Devices.

Limitations

  • To use this object, in the hardware setup, select one of the supported Xilinx boards and the FMC-HDMI-CAM or IMX274MIPI-FMC add-on card.

Version History

Introduced in R2016a