Altera® AXI4 Bus Functional Model User Guides

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

2.5.3.1.3. Method Prototypes in Class ReceiveBFM

The following provides a list of method prototypes and description in the ReceiveBFM class.

Method: get_transfer_from_receive(): Axi4StreamTransfer {pure virtual function}

Takes Axi4StreamTransfer transfers out of the receive queue after the receiver logic has assembled transfers from data beats on the AXI4 streaming bus. The receiver logic puts the returned transfers into a higher-level interface queue or class that can accept them.

Method: get_number_transfers_in_queue(): uint32_t {pure virtual function}

Provides a method to obtain the number of transfers that are received and waiting in the receiver’s queue to be read out.

Method: transfer_available(): bit {pure virtual function}

Allows higher-level classes or users to determine if there are transfers available in the receiver’s queue after they have been assembled. This method returns a one if there are one or more transfers available.