copyImageToHostSDCardPath

Copy board-specific SD card image files to host SD card location

Description

copyImageToHostSDCardPath(BoardName,SDCardDrive) copies the SD card image files of the specified board to the specified SD card drive location on the host system. The SD card image files contain a bootloader and the suitable operating system information. Also, this function copies the server daemon for handling the AXI Master host commands on the target SoC device.

copyImageToHostSDCardPath(BoardName,SDCardDrive,Name,Value) specifies options using one or more name-value pair arguments. For example, 'Gateway','192.168.0.4' sets the gateway for the network interface.

Input Arguments

collapse all

Targeted SoC board name, specified as one of these values.

  • 'ZedBoard' – Xilinx® Zynq® ZedBoard™

  • 'ZC706' – Xilinx Zynq-7000 ZC706

Data Types: char | string

Name of SD card drive location on the host computer, specified as a character vector or string scalar.

Example: 'G:' for Windows operating system

Example: '/media/username/261D-2F2B' for Linux operating system

Data Types: char | string

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside quotes. You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

Example: copyImageToHostSDCardPath('ZC706','G:','SDCardImage','C:\mywork\hdlv_prj\sdcard_image\zc706_sdcard_zynq7000');

Internet protocol (IP) address of the target SoC device, specified as the comma-separated pair consisting of 'DeviceAddress' and a character vector or string scalar.

Example: '192.168.0.8'.

The host network interface card (NIC) address must be on the same subnet as the target SoC device.

Example: For example, if you specify this value as '192.168.0.8' the host NIC address can be 192.168.0.x. The variable x is any integer in the range [1, 7] and [9, 255].

Data Types: char | string

Gateway for the network interface, specified as the comma-separated pair consisting of 'Gateway' and a character vector or string scalar.

Example: '192.168.0.4'

Data Types: char | string

SD card image to copy, specified as the comma-separated pair consisting of 'SDCardImage' and a character vector or string scalar. Use this name-value pair argument to copy a custom SD card image.

The default SD card image is the SD card files that come with the HDL Verifier™ Support Package.

Example: 'C:\mywork\hdlv_prj\sdcard_image\zc706_sdcard_zynq7000'

Data Types: char | string

Introduced in R2020a