2.5.1.4. Package axi4_stream_packet_class_pkg
The axi4_stream_packet_class_pkg contains the class Axi4StreamPacket. The Axi4StreamPacket class is a container for transfers that are grouped together.
There are two queues contained in the BFM packet: transfers[$] and transfers_done[$]. The transfers[$] queue is to store the input transfers that drive the activity on the AXI4 streaming bus. Once a packet is withdrawn from the transfers[$] queue for use, the packet is stored in the transfers_done[$] queue until being provided to the application. The transfers_done[$] queue then acts as a history of the transfers performed on the AXI4 streaming bus by the packet. You can access and print this history using the class methods in the next section.