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

Page 99

Advertising
background image

SystemVerilog Monitor BFM

get_rw_transaction()

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

99

April 2014

get_rw_transaction()

This blocking task gets a complete read or write transaction previously created by the

create_monitor_transaction()

function.

It updates the axi4_transaction record for the complete transaction.

Example

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

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

....

// Get the complete monitor_trans transaction.
bfm.get_rw_transaction(monitor_trans);

Prototype

task automatic get_rw_transaction
(

axi4_transaction trans

)

Arguments

trans

The axi4_transaction record.

Returns

None

Advertising