
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.
Komentáře k této Příručce