Altera® AXI4 Bus Functional Model User Guides

ID 838773
Date 5/19/2025
Public
Document Table of Contents

2.5.1.2. Package axi4_stream_bytes_class_pkg

The axi4_stream_bytes_class_pkg SystemVerilog package provides the building blocks for implementation of the Altera® AXI4 Streaming Transmitter and Receiver BFMs.

The bus TDATA field contains a series of byte lanes that may contain the following byte objects:

Table 29.  Byte Objects
Byte Objects Description
Axi4StreamBytes The core abstract class on which all the byte objects are based. Containers and handles working with bytes are all based on this class or type.
Axi4StreamBytesData Data bytes that convey information from the transmitter to the receiver. This is the relevant data.
Axi4StreamBytesPosition Position bytes that must be sent from the transmitter to the receiver to preserve the data positions in the transfers. These bytes are not bytes of applications data, but are only placeholders for data structure.
Axi4StreamBytesNull Null bytes are simple, empty void-fillers in the AXI4 streaming bus that do not have any function. These bytes can be ignored and removed from the data stream without any restrictions.
Axi4StreamBytesDataError Data bytes that may have errors in either value or format. These bytes are for testing error detection and recovery in designs.
Axi4StreamBytesPositionError Position bytes that may have errors in either value or format. These bytes are for testing error detection and recovery in designs.
Axi4StreamBytesNullError: Null bytes that may have errors in either value or format. These bytes are for testing error detection and recovery in designs.