Get_response_read_id(), Get_response_read_response(), Get_response_request() – Altera Avalon Verification IP Suite User Manual

Page 34: Get_response_wait_time(), Get_response_write_id()

Advertising
background image

Chapter 1: Avalon-MM Master BFM

1–11

Application Program Interface

May 2011

Altera Corporation

Avalon Verification IP Suite User Guide

get_response_read_id()

get_response_read_response()

get_response_request()

get_response_wait_time()

get_response_write_id()

Prototype:

[AV_TRANSACTIONID_W-1:0] get_response_read_id()

.

Arguments:

None.

Returns:

AvalonTransactionId_t

.

Description:

Returns the read id of the transaction in the response descriptor that has been removed
from the response queue.

Prototype:

bit[2**(AV_BURSTCOUNT_W-1)

-

1:0]

[AV_READRESPONSE_W-1:0]

get_response_read_response(int index)

.

Arguments:

int index.

Returns:

AvalonReadResponse_t

.

Description:

Returns the transaction read status in the response descriptor that has been removed
from the response queue.

Prototype:

enum int[REQ_READ = 0, REQ_WRITE = 1, RED_IDLE = 2]

get_response_request()

.

Arguments:

None.

Returns:

Request_t

.

Description:

Returns the transaction command type in the response descriptor that has been
removed from the response queue.

Prototype:

int get_response_wait_time(int index)

.

Arguments:

index

.

Returns:

int

.

Description:

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

Prototype:

bit [AV_TRANSACTIONID_W-1:0] get_response_write_id()

.

Arguments:

None.

Returns:

AvalonTransactionId_t

.

Description:

Returns the write id of the transaction in the response descriptor that has been removed
from the response queue.

Advertising