Set_min_result_queue_size(), Set_result_timeout(), Signal_unexpected_result_received – Altera Avalon Verification IP Suite User Manual

Page 146: Signal_fatal_error, Signal_instructions_completed, Signal_instruction_start

Advertising
background image

1–8

Chapter 1: Nios II Custom Instruction Master BFM

Application Program Interface

Avalon Verification IP Suite User Guide

May 2011

Altera Corporation

set_min_result_queue_size()

set_result_timeout()

signal_unexpected_result_received

signal_fatal_error

signal_instructions_completed

signal_instruction_start

Prototype:

void set_min_result_queue_size(int size)

.

Arguments:

int size

..

Returns:

void

.

Description:

Sets the pending result queue size minimum threshold.

Prototype:

void set_result_timeout()

.

Arguments:

int timeout.

Returns:

void

.

Description:

Sets the timeout value for a result. Set the value to

0

to disable timeout.

Prototype:

signal_unexpected_result_received

.

Arguments:

None.

Returns:

void

.

Description:

Signals that a result has been received without an instruction.

Prototype:

signal_fatal_error

.

Arguments:

None.

Returns:

void

.

Description:

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

Prototype:

signal_instructions_completed

.

Arguments:

None.

Returns:

void

.

Description:

Signals that all instructions in the BFM has been executed.

Prototype:

signal_instruction_start

.

Arguments:

None.

Returns:

void

.

Description:

Signals that an instruction has been driven to the interface.

Advertising