Get_version(), Insert_instruction(), Pop_result() – Altera Avalon Verification IP Suite User Manual
Page 142: Push_instruction()

1–4
Chapter 1: Nios II Custom Instruction Master BFM
Application Program Interface
Avalon Verification IP Suite User Guide
May 2011
Altera Corporation
get_version()
insert_instruction()
pop_result()
push_instruction()
Prototype:
string get_version()
.
Arguments:
None.
Returns:
String.
Description:
Returns BFM version as a string of three integers separated by periods. For example,
version 10.1 sp1 is encoded as "10.1.1".
Prototype:
void insert_instruction()
.
Arguments:
ci_data_t dataa.
ci_data_t datab.
ci_n_t n.
ci_addr_t a.
ci_addr_t b.
ci_addr_t c.
logic readra.
logic readrb.
logic writerc.
ci_data_t idle.
int err_inj.
Returns:
void
.
Description:
A simplified API to set and push instructions.
Prototype:
void pop_result()
.
Arguments:
None.
Returns:
void
..
Description:
Removes the result instruction from the queue before querying the contents.
Prototype:
void push_instruction()
.
Arguments:
None.
Returns:
void
.
Description:
Inserts a new instruction into the queue.