Main Content

AXI4-Stream IIO Write

Write AXI4-Stream Data using IIO

Add-On Required: This feature requires the Embedded Coder Support Package for Xilinx Zynq Platform add-on.

  • AXI4-Stream IIO Write block

Libraries:
Embedded Coder Support Package for Xilinx Zynq Platform

Description

This block writes data to the direct-memory-access (DMA) buffer of the specified AXI4-Stream IP core device by using the Industrial I/O (IIO) library drivers. The AXI4-Stream IIO Write block enables low-latency, high-throughput data transmission from your model on the processor to the IP core on the FPGA.

The control signals and data from this block flow through the OS Kernel before they reach the FPGA and DDR Memory.

Ports

Input

expand all

This port outputs the N-by-1 vector written to memory in the DMA buffer transfer. This port is unnamed until the Valid port is enabled.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

Output

expand all

This port outputs a validation flag indicating a successful write of the data to the IP core, where 1 indicates a successful write.

Dependencies

To enable this port, set Data timeout (seconds) to a finite value.

Data Types: Boolean

Parameters

expand all

Enter the name and channel of the IP core on the FPGA as a colon separated list. If you are using HDL Coder™ to generate the IP core, HDL Coder maps the IP core to mwipcore0 and uses channel mm2s0. For more information on getting IIO device names and channels, see Tips.

Specify the maximum time out delay for the DMA stream write.

Tips

  • To get a list of available IIO device names and channels, open a terminal into the Xilinx® Zynq® hardware board, and execute this command.

    iio_info

Version History

Introduced in R2018b