Altera® AXI4 Bus Functional Model User Guides

ID 838773
Date 3/19/2025
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

1.5.7. Altera® AXI4 Memory-Mapped Host Memory API

Table 21.  Altera AXI4 Memory-Mapped Host Memory API
Altera AXI4 API Component Class Property
initialize_data () Subordinate Host Memory Sets the configuration of the Manager or Subordinate BFM.

API Name

initialize_data (<word addr>, byte_t, )

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

byte_t init_buf[];

init_buf = new[8]; 
init_buf = {<<byte_t{64'h0000_ffff_0000_ffff}}

<inst>.host_memory.initialize_data(0, init_buf);