Set_instruction_a(), Set_instruction_b(), Set_instruction_c() – Altera Avalon Verification IP Suite User Manual

Page 153: Set_instruction_timeout(), Set_result_delay(), Set_result_err_inject()

Advertising
background image

2–6

Chapter 2: Nios II Custom Instruction Slave BFM

Application Program Interface

Avalon Verification IP Suite User Guide

May 2011

Altera Corporation

set_instruction_a()

set_instruction_b()

set_instruction_c()

set_instruction_timeout()

set_result_delay()

set_result_err_inject()

Prototype:

void set_instruction_a()

.

Arguments:

ci_addr_t address.

Returns:

void

.

Description:

Sets the instruction register file address

a

value.

Prototype:

void set_instruction_b()

.

Arguments:

ci_addr_t address.

Returns:

void

.

Description:

Sets the instruction register file address

b

value.

Prototype:

void set_instruction_c()

.

Arguments:

ci_addr_t address.

Returns:

void

.

Description:

Sets the instruction register file address

c

value.

Prototype:

void set_instruction_timeout()

.

Arguments:

int timeout.

Returns:

void

.

Description:

Sets the timeout value for an instruction. Set the value to

0

to disable timeouts.

Prototype:

void set_result_delay()

.

Arguments:

ci_data_t delay.

Returns:

void.

Description:

Sets the instruction result delay.

Prototype:

void set_result_err_inject()

.

Arguments:

int err_inj.

Returns:

void

.

Description:

Sets the instruction result to execute in pre-defined error.

Advertising