Get_write_data_phase(), Array have been set to 1. similarly, the, Task can be – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual

Page 107

Advertising
background image

SystemVerilog AXI3 and AXI4 Slave BFMs

get_write_data_phase()

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

89

September 2013

get_write_data_phase()

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

create_slave_transaction()

function. The get_write_data_phase() sets the data_beat_done array index element field to 1
when the phase completes. If this is the last phase (beat) of the burst, then it returns the
transaction last argument set to 1 to indicate the whole burst is complete.

Note

For AXI3, the get_write_data_phase() also sets the WREADY protocol signal at the
appropriate time, defined by the transaction record data_ready_delay field.

Prototype

// * = axi | axi4
task automatic get_write_data_phase
(

*_transaction trans
,
int index = 0, // Optional
output bit last

);

Arguments

trans

The *_transaction record.

index

(Optional) Data phase (beat) number.

Returns

last

Flag to indicate that this data phase is the last in the burst.

Advertising