Altera® AXI4 Bus Functional Model User Guides

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

1.5.1. Altera® AXI4 Memory-Mapped BFM Configuration API

Table 14.   Altera® AXI4 Memory-Mapped BFM Configuration API
Altera® AXI4 API Component Class Property
set_config() Manager and Subordinate BFM Sets the configuration of the Manager or Subordinate BFM.
get_config() Manager and Subordinate BFM Gets the configuration of the Manager or Subordinate BFM.

API Name

set_config

Description

This function sets the configuration of the Manager or Subordinate BFM.

function set_config
(
input axi_config_e config_name, 
input axi_max_bits_t config_val
);

Usage

bfm.set_config(AXI_CONFIG_MAX_OUTSTANDING_WR, 4);

API Name

get_config()

Description

This function gets the configuration of the Manager or Subordinate BFM.

function axi_max_bits_t get_config
(
input axi_config_e config_name
);

Usage

max_outstanding_wr = bfm.get_config(AXI_CONFIG_MAX_OUTSTANDING_WR);
Table 15.  BFM Configuration Arguments
BFM Configuration Arguments Manager/Subordinate
AXI_CONFIG_MAX_OUTSTANDING_WR Manager and Subordinate
AXI_CONFIG_MAX_OUTSTANDING_RD Manager and Subordinate
AXI_CONFIG_NUM_OUTSTANDING_WR_PHASE Manager and Subordinate
AXI_CONFIG_NUM_OUTSTANDING_RD_PHASE Manager and Subordinate