Signal_command_received, Signal_error_exceed_max_pending_reads, Signal_max_response_queue_size – Altera Avalon Verification IP Suite User Manual

Page 60: Signal_min_command_queue_size, Signal_fatal_error

Advertising
background image

Chapter 3: Avalon-MM Slave BFM

3–17

Application Program Interface

May 2011

Altera Corporation

Avalon Verification IP Suite User Guide

signal_command_received

signal_error_exceed_max_pending_reads

signal_max_response_queue_size

signal_min_command_queue_size

signal_fatal_error

Prototype:

signal_command_received

.

Arguments:

None.

Returns:

void

.

Description:

Notifies the testbench that a command has been detected on an Avalon-MM port. The
testbench can respond with a

set_command_wait_time

call on receiving this event to

dynamically back pressure the driving Avalon-MM master. Alternatively, the previously
set

wait_time

might be used continuously for a set of transactions.

Prototype:

signal_error_exceed_max_pending_reads

.

Arguments:

None.

Returns:

void

.

Description:

Notifies the testbench of the error condition, in which the slave has more than

max_pending_reads

pipelined read commands queued and waiting to be processed.

Prototype:

signal_max_response_queue_size.

Arguments:

None.

Returns:

void

.

Description:

Signals that the maximum pending transaction queue size threshold has been exceeded.

Prototype:

signal_min_response_queue_size.

Arguments:

None.

Returns:

void

.

Description:

Signals that the pending transaction queue size is below the minimum threshold.

Prototype:

signal_fatal_error

.

Arguments:

None.

Returns:

void

.

Description:

Notifies the testbench that a fatal error has occurred in this module.

Advertising