Get_write_addr_phase(), Example, Slave calling the – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual

Page 75: Test program using

Advertising
background image

SystemVerilog Slave BFM

get_write_addr_phase()

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

75

April 2014

get_write_addr_phase()

Note

This blocking task gets a write address phase previously created by the

create_slave_transaction()

function.

Example

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

// Create a slave transaction and assign it to the local
// write_trans variable.
write_trans = bfm.create_slave_transaction();

....

// Get the write address phase of the write_trans transaction.
bfm.get_write_addr_phase(write_trans);

Prototype

task automatic get_write_addr_phase
(

axi4_transaction trans

);

Arguments

trans

The axi4_transaction record.

Returns

None

Advertising