Connect to Zynq hardware
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
program loaded in the FPGA or the IP address, 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 device between designs.
Use the downloadImage
method to add an FPGA
image file to the SD card, and load this new file to the FPGA. Use
the changeFPGAImage
method to load an existing
FPGA image from the hardware SD card to the FPGA.
creates
a vz
= visionzynqvisionzynq
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.
creates
a vz
= visionzynq(DeviceName
)visionzynq
object connected to the DeviceName
type
of Zynq board.
creates
a vz
= visionzynq(DeviceName
,DeviceAddress
)visionzynq
object connected to the DeviceName
type
of Zynq board, with a custom IP address, DeviceAddress
.
changeFPGAImage | Load image from on-board SD card into FPGA |
downloadImage | Write image file to on-board SD card and load into FPGA |
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
If the object returns an error, review the board setup steps described in Guided Setup for Vision Hardware.
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
If the object returns an error, review the board setup steps described in Guided Setup for Vision Hardware.