Altera® AXI4 Bus Functional Model User Guides

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

1.5.6. Altera® AXI4 Memory-Mapped BFM Transaction Execution API

Table 20.  Altera AXI4 Memory-Mapped BFM Transaction Execution API
Manager Transaction Execution API Component Class Property
put_transaction() Manager/Subordinate BFM Puts transaction into transaction mailbox.
drive_transaction() Manager/Subordinate BFM Drives transactions in transaction mailbox.

API Name

put_transaction(<AlteraAxiTransaction>);

Description

This task is available in the Manager and Subordinate BFMs. This task puts the AXI4 transaction into a mailbox for the drive_transaction to get, and eventually drive the signals according to the type of transaction.

API Name

drive_transaction();

Description

This task which is available in both the Manager and Subordinate BFMs gets the AXI4 packet from the mailbox and drives the DUT and BFM interface signals according to the type of transaction.

Usage

rd_tr = my_Manager_bfm.manager_bfm_rd_tx(7, 0, 0, AXI4_BYTES_1, BURST_TYPE_FIXED);
my_Manager_bfm.put_transaction(rd_tr);
my_Manager_bfm.drive_transaction();