Altera® AXI4 Bus Functional Model User Guides

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

2.2.4. Altera® AXI4 Streaming Receiver BFM

This section provides a description of the streaming receiver BFM that responds to the data transfer from the transmitter.

Altera AXI4 Streaming Receiver BFM Block Diagram shows the functionality of the Altera AXI4 Streaming Receiver BFM. The axi4_stream_bfm_receive_top top-level module of the receiver is in the altera_lnsim library.

Figure 13. Altera AXI4 Streaming Receiver BFM Block Diagram

Data received by the BFM Receiver arrives from the AXI4 streaming bus and is stored per-lane and per-beat, as the protocol requires. Dedicated logic assembles the BFM transfer objects. These BFM transfer objects are then stored in a trq transfer queue of type Axi4StreamTransfer[$].

Logic monitoring trq then moves the transfers into a user-accessible area in the receive_output_transfer_queue transfer queue. Methods get_number_of_transfers_in_queue and transfer_available provide status of the queue. While method get_transfer_from_receive allows access to the received transfers.