beautypg.com

Set_min_response_queue_size(), Set_read_response_id(), Set_read_response_status() – Altera Avalon Verification IP Suite User Manual

Page 58: Set_response_burst_size(), Set_response_data()

background image

Chapter 3: Avalon-MM Slave BFM

3–15

Application Program Interface

May 2011

Altera Corporation

Avalon Verification IP Suite User Guide

set_min_response_queue_size()

set_read_response_id()

set_read_response_status()

set_response_burst_size()

set_response_data()

Prototype:

void set_min_response_queue_size(int size)

.

Arguments:

int size

.

Returns:

void

.

Description:

Sets the minimum pending response queue size threshold.

Prototype:

void set_read_respose_id(AvalonTransactionId_t id)

.

Arguments:

AvalonTransactionId_t id

.

Returns:

void.

Description:

Sets the transaction ID on the

avs_readid

pin.

Prototype:

void set_read_respose_status(AvalonReadResponse_t status, int

index)

.

Arguments:

AvalonReadResponse_t status

.

int index.

Returns:

void.

Description:

Sets the read response status code.

Prototype:

void set_response_burst_size(bit [AV_BURSTCOUNT_W-1:0] burst_size)

.

Arguments:

burst_size

.

Returns:

void.

Description:

Sets the transaction burst count in the response descriptor.

Prototype:

void set_response_data(bit [AV_DATA_W-1:0] data, int index)

.

Arguments:

data

.

index.

Returns:

void.

Description:

Sets the transaction read data in the response descriptor. For burst transactions, the
command descriptor holds an array of data, with each element individually set by this
method.