Axi4 example – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual

Page 142

Advertising
background image

Mentor VIP AE AXI3/4 User Guide, V10.2b

124

SystemVerilog AXI3 and AXI4 Monitor BFMs
get_write_data_phase()

September 2013

AXI4 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();

....

// Execute the write data phase for the first beat of the
// write_trans transaction.
bfm.get_write_data_phase(write_trans, 0, last);

// Get the write data phase for the second beat of the
// write_trans transaction.
bfm.get_write_data_phase(write_trans, 1, last);

Advertising