Execute_read_addr_phase(), Example, Task followed by the – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual

Page 51: Calls the

Advertising
background image

SystemVerilog Master BFM

execute_read_addr_phase()

Mentor Verification IP AE AXI4-Lite User Guide, V10.3

51

April 2014

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, as

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.

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 write_trans transaction.
bfm.execute_transaction(read_trans);

Prototype

task automatic execute_read_addr_phase
(

axi4_transaction trans

);

Arguments

trans

The axi4_transaction record.

Returns

None

Advertising