Get_response_byte_enable(), Get_response_burst_size(), Get_response_data() – Altera Avalon Verification IP Suite User Manual

Page 33: Get_response_latency(), Get_response_queue_size()

Advertising
background image

1–10

Chapter 1: Avalon-MM Master BFM

Application Program Interface

Avalon Verification IP Suite User Guide

May 2011

Altera Corporation

get_response_byte_enable()

get_response_burst_size()

get_response_data()

get_response_latency()

get_response_queue_size()

Prototype:

bit [AV_NUMSYMBOLS-1:0] get_response_byte_enable(int index)

.

Arguments:

index

.

Returns:

bit

.

Description:

Returns the value of the byte enables in the response descriptor that has been removed
from the response queue. Each cycle of a burst response is addressed individually by
the specified index.

Prototype:

bit [AV_BURSTCOUNT_W-1:0]get_response_burst_size ()

.

Arguments:

None.

Returns:

bit

.

Description:

Returns the size of the response transaction burst count in the response descriptor that
has been removed from the response queue.

Prototype:

bit [AV_DATA_W-1:0] get_response_data(int index)

.

Arguments:

index

.

Returns:

bit

.

Description:

Returns the transaction read data in the response descriptor that has been removed
from the response queue. Each cycle in a burst response is addressed individually by the
specified index. In the case of read responses, the data is the data captured on the

avm_readdata

interface pin. In the case of write responses, the data on the driven

avm_writedata

pin is captured and reflected here.

Prototype:

int get_response_latency(int index)

.

Arguments:

index

.

Returns:

bit

.

Description:

Returns the transaction read latency in the response descriptor that has been removed
from the response queue. Each cycle in a burst read has its own latency entry.

Prototype:

int get_response_queue_size()

.

Arguments:

None.

Returns:

int

.

Description:

Queries the response queue to determine number of response descriptors currently
stored in the BFM. This is the number of responses the test program can immediately
remove from the response queue for further processing.

Advertising