beautypg.com

Pop_command(), Pop_response(), Set_command_transaction_mode() – Altera Avalon Verification IP Suite User Manual

Page 86: Set_transaction_fifo_max(), Set_transaction_fifo_threshold()

background image

Chapter 5: Avalon-MM Monitor

5–23

Application Program Interface

May 2011

Altera Corporation

Avalon Verification IP Suite User Guide

pop_command()

pop_response()

set_command_transaction_mode()

set_transaction_fifo_max()

set_transaction_fifo_threshold()

Prototype:

pop_command()

.

Arguments:

None.

Returns:

Void

.

Description:

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

get_command

methods.

Prototype:

void pop_response()

.

Arguments:

None.

Returns:

void

.

Description:

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

get_command

methods. Sequence counter is

initialized to 1.

Prototype:

set_command_transaction_mode().

Arguments:

int mode

.

Returns:

Void

.

Description:

By default, write burst commands are consolidated into a single command
transaction containing the write data for all burst cycles in that command.
This mode is set when the mode argument equals 0. When the mode
argument is set to 1, the default is overridden and write burst commands
yield one command transaction per burst cycle.

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.