beautypg.com

Application program interface, Get_transaction_channel(), Get_transaction_data() – Altera Avalon Verification IP Suite User Manual

Page 105: Get_transaction_idles(), Get_transaction_eop(), Get_transaction_empty(), Application program interface –5

background image

Chapter 3: Avalon-ST Sink BFM

3–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 Sink BFM.

get_transaction_channel()

get_transaction_data()

get_transaction_idles()

get_transaction_eop()

s

get_transaction_empty()

s

Prototype:

get_transaction_channel()

.

Arguments:

None.

Returns:

STChannel_t

.

Description:

Returns the channel identifier for the most recently removed transaction.

Prototype:

get_transaction_data()

.

Arguments:

None.

Returns:

STData_t

.

Description:

Returns the data in the most recently removed transaction.

Prototype:

get_transaction_idles()

.

Arguments:

None.

Returns:

bit[31:0]

.

Description:

Returns the number of idle cycles in the most recently removed transaction.

Prototype:

get_transaction_eop()

.

Arguments:

None.

Returns:

bit

.

Description:

Returns the transaction end of packet status in the most recently removed transaction.

Prototype:

get_transaction_empty()

.

Arguments:

None.

Returns:

STEmpty_t

.

Description:

Returns the number of empty symbols in the most recently removed transaction.