Application program interface, Get_ci_clk_en(), Get_instruction_a() – Altera Avalon Verification IP Suite User Manual

Page 150: Get_instruction_b(), Get_instruction_c(), Get_instruction_dataa(), Application program interface –3

Advertising
background image

Chapter 2: Nios II Custom Instruction Slave BFM

2–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 Slave BFM.

get_ci_clk_en()

get_instruction_a()

get_instruction_b()

get_instruction_c()

get_instruction_dataa()

Prototype:

void get_ci_clk_en(bit enable)

.

Arguments:

None.

Returns:

bit enable.

Description:

Retrieves the clock enable signal.

Prototype:

string get_instruction_a()

.

Arguments:

None.

Returns:

ci_addr_t.

Description:

Retrieves the instruction register file address

a

value.

Prototype:

string get_instruction_b()

.

Arguments:

None.

Returns:

ci_addr_t.

Description:

Retrieves the instruction register file address

b

value.

Prototype:

string get_instruction_c()

.

Arguments:

None.

Returns:

ci_addr_t.

Description:

Retrieves the instruction register file address

c

value.

Prototype:

void get_instruction_dataa()

.

Arguments:

None.

Returns:

ci_data_t data.

Description:

Retrieves the instruction

dataa

operand value.

Advertising