Get_transaction_sop(), Get_version(), Pop_transaction() – Altera Avalon Verification IP Suite User Manual

Page 121: Set_transaction_fifo_max(), Set_transaction_fifo_threshold()

Advertising
background image

5–12

Chapter 5: Avalon-ST Monitor

Application Program Interface

Avalon Verification IP Suite User Guide

May 2011

Altera Corporation

get_transaction_sop()

s

get_version()

pop_transaction()

set_transaction_fifo_max()

set_transaction_fifo_threshold()

Prototype:

get_transaction_sop()

.

Arguments:

None.

Returns:

bit

.

Description:

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

Prototype:

string 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:

void pop_transaction()

.

Arguments:

None.

Returns:

void

.

Description:

Removes the transaction descriptor from the queue so that the testbench
can query it with the

get_transaction

methods.

Prototype:

set_transaction_fifo_max().

Arguments:

int level

.

Returns:

Void

.

Description:

Sets the maximum transaction level of the FIFO. The event

signal_transaction_fifo_max

is triggered when this level is

exceeded.

Prototype:

set_transaction_fifo_threshold().

Arguments:

int level

.

Returns:

Void

.

Description:

Sets the threshold alert level of the FIFO. The event

signal_transaction_fifo_threshold

is triggered when this level is

exceeded.

Advertising