Get_write_data_phase(), Example – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual
Page 103
SystemVerilog Monitor BFM
get_write_data_phase()
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
103
April 2014
get_write_data_phase()
This blocking task gets a write data phase previously created by the
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 data phase for the write_trans transaction.
bfm.get_write_data_phase(write_trans, 0, last); //Note: array element 0
Prototype
task automatic get_write_data_phase
(
axi4_transaction trans
int index = 0, // Optional
output bit last
);
Arguments
trans
The axi4_transaction record.
index
(Optional) Data phase (beat) number.
Returns
last
Flag to indicate that this data phase is the last in the burst.
Returns
None