Get_version(), Init(), Pop_response() – Altera Avalon Verification IP Suite User Manual

Page 95: Push_transaction(), Set_max_transaction_queue_size(), Get_version() init() pop_response()

Advertising
background image

1–6

Chapter 1: Avalon-ST Source BFM

Application Program Interface

Avalon Verification IP Suite User Guide

May 2011

Altera Corporation

get_version()

init()

pop_response()

s

push_transaction()

set_max_transaction_queue_size()

Prototype:

get_version()

.

Arguments:

None.

Returns:

String

.

Description:

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

Prototype:

init().

Arguments:

None.

Returns:

void

.

Description:

Drives the interface to the idle state.

Prototype:

pop_response()

.

Arguments:

None.

Returns:

void

.

Description:

Removes the response transaction from the queue before querying contents.

Prototype:

push_transaction().

Arguments:

None.

Returns:

void

.

Description:

Inserts the out-going transaction into the local transaction queue. The BFM drives the
appropriate signals to the Avalon-ST interface based on the transactions in its local
queue.

Prototype:

void set_max_transaction_queue_size(int size)

.

Arguments:

int size

.

Returns:

void

.

Description:

Sets the pending transaction queue size maximum threshold. The public event

signal_max_transaction_queue_size

triggers when the threshold is exceeded.

Advertising