Application program interface, Get_instruction_queue_size(), Get_result_delay() – Altera Avalon Verification IP Suite User Manual
Page 141: Get_result_queue_size(), Get_result_value(), Application program interface –3

Chapter 1: Nios II Custom Instruction Master BFM
1–3
Application Program Interface
May 2011
Altera Corporation
Avalon Verification IP Suite User Guide
Application Program Interface
This section describes the API for the Nios II Custom Instruction Master BFM.
get_instruction_queue_size()
get_result_delay()
get_result_queue_size()
get_result_value()
Prototype:
int get_instruction_queue_size(int size)
.
Arguments:
None.
Returns:
int
size
.
Description:
Returns the number of instructions in the queue.
Prototype:
int get_result_delay()
.
Arguments:
None.
Returns:
Width of the data
(ci_data_t)
that can contain the following variables:
■
[Word_width-1:0]
■
[Ext_width-1:0]
■
[Addr_width-1:0]
Description:
Returns the result delay.
Prototype:
int get_result_queue_size(int size)
.
Arguments:
None.
Returns:
int size
.
Description:
Returns the number of results in the queue.
Prototype:
string get_result_value()
.
Arguments:
None.
Returns:
Width of the data
(ci_data_t)
that can contain the following variables:
■
[Word_width-1:0]
■
Ext_width-1:0]
■
[Addr_width-1:0]
Description:
Returns the instruction result.