beautypg.com

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

Page 192

background image

Parameters

Table 15-1: Custom Instruction Slave 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

When On, the interface includes the

readrb

and

b

pins.

On/Off

Off

Use Internal Register b

When On, the interface includes the

readrc

and

c

pins.

On/Off

Off

Use Internal Register c

Miscellaneous Properties

For VHDL BFMs only. Use this option to assign a
unique number to each BFM in the testbench design.

0–1023

0

VHDL BFM ID

Nios II Custom Instruction Slave BFM

Altera Corporation

Send Feedback

Parameters

15-2