Parameters, Parameters -2 – Altera Avalon Verification IP Suite User Manual

Page 177

Advertising
background image

The Nios II Custom Instruction Master BFM uses queues to manage instructions. You can use this BFM to
manage instructions in the following ways:

• You can create instructions and push them into the instruction queue. The BFM then removes the

instructions out one-by-one and drives them on the interface.

• You can insert the instructions simultaneously at the beginning of the simulation.
• If there is no instruction to execute, the BFM drives unknown (X), except on the

readra

,

readrb

, and

writerc

control ports which are driven high.

• The results are inserted into a result queue. You can remove the result on an event basis, or at the end of

the simulation.

Parameters

Table 14-1: Custom Instruction Master BFM Parameter Settings

Description

Legal Values

Default

Value

Option

General

Specifies the number of operands to use.

• 0: no operands are used

• 1: use

dataa

port only

• 2: use

dataa

and

datab

ports

0,1,2

2

Number of Operands to Use

Specifies the fixed length for multi-cycle mode.

N/A

2

Fixed Length for Multi-cycle

Mode

Port Enables

When On, the interface includes a

result

pin.

On/Off

On

Use Result Port

When On, the interface can include a

start

pin, a

done

pin , both pins, or neither pins. The result returns in
any of the following conditions:

• With a

start

signal—Result returns together with

an instruction.

• Without a

start

signal—Result returns with

instruction on the bus at every clock cycle.

• With a

done

signal—Result returns at any time.

• Without a

done

signal—Result returns at a fixed

cycle.

On/Off

Off

Use Multi-cycle Mode

When On, the interface includes a

start

pin.

On/Off

On

Using start port

When On, the interface includes a

done

pin.

On/Off

On

Using done port

When On, the interface includes a

n

pin.

On/Off

Off

Use Extended Port

Specifies the width of the extended

n

port.

N/A

1

Extended Port Width

When On, the interface includes the

readra

and

a

pins.

On/Off

Off

Use Internal Register a

Nios II Custom Instruction Master BFM

Altera Corporation

Send Feedback

Parameters

14-2

Advertising