Execute_read_addr_phase(), Axi3 example, Axi4 example – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual

Page 70: Task followed by the, Calls the

Advertising
background image

Mentor VIP AE AXI3/4 User Guide, V10.2b

52

SystemVerilog AXI3 and AXI4 Master BFMs
execute_read_addr_phase()

September 2013

execute_read_addr_phase()

This task executes a master read address phase previously created by the

create_read_transaction()

function. This phase can be blocking (default) or nonblocking,

defined by the transaction operation_mode field.

It sets the ARVALID protocol signal at the appropriate time, defined by the transaction
address_valid_delay field.

AXI3 Example

// Declare a local variable to hold the transaction record.
axi_transaction read_trans;

// Create a read transaction with start address of 0 and assign
// it to the local read_trans variable.
read_trans = bfm.create_read_transaction(0);

....

// Execute the read_trans transaction.
bfm.execute_transaction(read_trans);

AXI4 Example

// Declare a local variable to hold the transaction record.
axi4_transaction read_trans;

// Create a read transaction with start address of 0 and assign
// it to the local read_trans variable.
read_trans = bfm.create_read_transaction(0);

....

// Execute the read_trans transaction.
bfm.execute_transaction(read_trans);

Prototype

// * = axi | axi4
task automatic execute_read_addr_phase
(

*_transaction trans

);

Arguments

trans

The *_transaction record.

Returns

None

Advertising