Get_read_addr_phase(), Example – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual

Page 101

Advertising
background image

SystemVerilog Monitor BFM

get_read_addr_phase()

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

101

April 2014

get_read_addr_phase()

This blocking task gets a read address phase previously created by the

create_monitor_transaction()

function.

Example

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

// Create a monitor transaction and assign it to the local
// read_trans variable.
read_trans = bfm.create_monitor_transaction();

....

// Get the read address phase of the read_trans transaction.
bfm.get_read_addr_phase(read_trans);

Prototype

task automatic get_read_addr_phase
(

axi4_transaction trans

);

Arguments

trans

The axi4_transaction record.

Returns

None

Advertising