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

Page 100

Advertising
background image

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

100

SystemVerilog Monitor BFM
get_write_addr_phase()

April 2014

get_write_addr_phase()

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

create_monitor_transaction()

function.

Example

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

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

....

// Get the write address phase of the write_trans transaction.
bfm.get_write_addr_phase(write_trans);

Prototype

task automatic get_write_addr_phase
(

axi4_transaction trans

);

Arguments

trans

The axi4_transaction record.

Returns

None

Advertising