Get_write_response_phase(), Example, Task to receive the resp – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual
Page 54: Ll the
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
54
SystemVerilog Master BFM
get_write_response_phase()
April 2014
get_write_response_phase()
This blocking task gets a write response phase previously created by the
task.
Note
The get_write_response_phase() 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 write transaction with start address of 0 and assign
// it to the local write_trans variable.
write_trans = bfm.create_write_transaction(0);
....
// Get the write response phase for 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