Application program interface, Get_input_transaction_queue_size(), Get_output_transaction_queue_size() – Altera Avalon Verification IP Suite User Manual

Page 129: Get_transaction_<role name>_in(), Get_transaction_latency(), Get_version(), Application program interface –3, Get_transaction_latency() –3 get_version() –3

Advertising
background image

Chapter 2: Tri-State Conduit BFM

2–3

Application Program Interface

May 2011

Altera Corporation

Avalon Verification IP Suite User Guide

Application Program Interface

This section describes the API for the Tri-State Conduit BFM.

get_input_transaction_queue_size()

get_output_transaction_queue_size()

get_transaction_<role name>_in()

get_transaction_latency()

get_version()

Prototype:

int get_input_transaction_queue_size()

.

Arguments:

None.

Returns:

Int

.

Description:

Returns the size of the queued input transaction in the BFM.

Prototype:

int get_output_transaction_queue_size()

.

Arguments:

None.

Returns:

Int

.

Description:

Returns the size of the queued output transaction in the BFM.

Prototype:

int

<

width of the role name port

>

get_transaction_

<

role name

>

_in()

.

Arguments:

None.

Returns:

Int

<

width of the role name port

>.

Description:

Returns the interface signal value from the <

role name

>

_in

input ports.

Prototype:

int get_transaction_latency()

.

Arguments:

None.

Returns:

Int

.

Description:

Returns the latency field value from the input transaction.

Prototype:

string get_version()

.

Arguments:

None.

Returns:

String.

Description:

Returns the BFM version as a string of three integers separated by periods. For example,
version 10.1 sp1 is encoded as "10.1.1".

Advertising