Get_write_response_phase, Example – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual
Page 104
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
104
SystemVerilog Monitor BFM
get_write_response_phase
April 2014
get_write_response_phase
This blocking task gets a write response phase previously created by the
task.
It sets the transaction_done field to 1 when the transaction completes to indicate the whole
transaction is complete
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 response phase of the write_trans transaction.
bfm.get_write_response_phase(write_trans);
Prototype
task automatic get_write_response_phase
(
axi4_transaction trans
);
Arguments
trans
The axi4_transaction record.
Returns
None