beautypg.com

Application program interface, Get_response_latency(), Get_response_queue_size() – Altera Avalon Verification IP Suite User Manual

Page 94: Get_src_ready(), Get_src_transaction_complete(), Get_transaction_queue_size(), Application program interface –5

background image

Chapter 1: Avalon-ST Source BFM

1–5

Application Program Interface

May 2011

Altera Corporation

Avalon Verification IP Suite User Guide

Application Program Interface

This section describes the API for the Avalon-ST source BFM.

get_response_latency()

s

get_response_queue_size()

get_src_ready()

get_src_transaction_complete()

get_transaction_queue_size()

Prototype:

get_response_latency()

.

Arguments:

None.

Returns:

int

.

Description:

Returns the response latency in cycles due to back pressure for the most recently
removed transaction.

Prototype:

get_response_queue_size().

Arguments:

None.

Returns:

int

.

Description:

Returns the number of transactions in the response queues.

Prototype:

get_src_ready()

.

Arguments:

None.

Returns:

bit

.

Description:

Returns the value of the source ready port.

Prototype:

get_src_transaction_complete()

.

Arguments:

None.

Returns:

bit

.

Description:

Returns the transaction complete status.

Prototype:

get_transaction_queue_size().

Arguments:

None.

Returns:

int

.

Description:

Returns the number of transactions in the local queues.