Main Content

Stream Data Sink

Receive continuous stream data

  • Stream Data Sink block

SoC Blockset / Hardware Logic Testbench


The Stream Data Sink block receives continuous stream data from advanced extensible interface AXI4-based stream data interface blocks. You can use this block as a test sink block for simulating AXI4-based stream data applications.

The block accepts stream data along with a control bus and outputs a control bus.



expand all

Input stream data from the data source. This value must be a scalar or vector.

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

Input control bus from the data source. This control bus comprises the following control signals:

  • valid — Indicates the input stream data on the rdData input port is valid

  • tlast — Indicates the end of the data transaction

Data Types: StreamM2SBusObj


expand all

Output control bus to the data source, indicating that the block is ready to accept stream data. This control bus comprises a ready signal.

Data Types: StreamS2MBusObj


expand all

Select this parameter to save the input stream data to the MATLAB® workspace.

Specify the workspace variable to which input stream data is saved. This parameter can be any MATLAB-supported variable name.


To enable this parameter, select the Save data in workspace parameter.

Extended Capabilities

Fixed-Point Conversion
Design and simulate fixed-point systems using Fixed-Point Designer™.

Version History

Introduced in R2019a