visionzynq.changeFPGAImage
Load image from on-board SD card into FPGA
Add-On Required: This feature requires the SoC Blockset Support Package for AMD FPGA and SoC Devices add-on.
Syntax
Description
changeFPGAImage(
programs
the FPGA on the vz
,'default')visionzynq
target with the default image that is
included with the support package and restarts the board. The function returns when
the board reboot is complete and the board is ready to run the loaded design. The
default FPGA image has pass-through logic in place of the FPGA user logic and uses
the Vision HDL Toolbox™ custom pixel-streaming interface.
changeFPGAImage(
programs the FPGA with a custom image from the
vz
,filename
)visionzynq-customtgt
subfolder on the SD card. This function
then restarts the board. This syntax is valid only when the FPGA image contains FPGA
user logic that has a Vision HDL Toolbox custom pixel-streaming interface.
Use this function to change the image currently running on the target FPGA without having to run the HDL Workflow Advisor or the support package guided setup process. You can use this function in any of these situations.
You have multiple generated image files on the SD card.
You want to switch between the default image and the generated image.
You are working through the Developing Vision Algorithms for Zynq-Based Hardware example and want to see the results of targeting without running the HDL Workflow Advisor. The FPGA image for this example is installed with the support package and included on the SD card.
Examples
Input Arguments
Version History
Introduced in R2016a