Get_read_addr_phase(), Example, Task – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual

Page 76

Advertising
background image

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

76

SystemVerilog Slave BFM
get_read_addr_phase()

April 2014

get_read_addr_phase()

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

create_slave_transaction()

function.

Example

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

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

....

// Get the read address phase of the read_trans transaction.
bfm.get_read_addr_phase(read_trans);

Prototype

task automatic get_read_addr_phase
(

axi4_transaction trans

);

Arguments

trans

The axi4_transaction record.

Returns

None

Advertising