Altera Integer Arithmetic IP User Manual

Page 96

Advertising
background image

Parameter Name

Type

Required

Description

MUTIPLIER3_DIRECTION

String

No

Specifies whether the fourth

and all subsequent odd-

numbered multipliers add or

subtract their results from the

total. Values are

ADD

and

SUB

.

If the

addnsub3

port is used,

this parameter is ignored. If

omitted, the default value is

ADD

.

NUMBER_OF_MULTIPLIERS

Integer

Yes

Number of multipliers to be

added together. Values are

1

up to

4

.

WIDTH_C

Integer

Yes

Specifies the width of the

datac[]

port.

WIDTH_COEF

Integer

Yes

Specifies the width of the

coefsel[]

port.

LOADCONST_VALUE

Integer

No

Pre-load constant value to

complement accumulator

mode. Values are 2^N where

0 < N < 64.

PREADDER_MODE

String

No

Specifies the mode of pre-

adder settings to be used.

Values are

SIMPLE

,

COEF

,

INPUT

,

SQUARE

, and

CONSTANT

. The default value

is

SIMPLE

.

PREADDER_DIRECTION_0

String

No

Specifies whether the pre-

adder of the first multiplier

adds or subtracts its value

from the sum. Values are

ADD

and

SUB

. If omitted, the

default value is

ADD

.

PREADDER_DIRECTION_1

String

No

Specifies whether the pre-

adder of the second

multiplier adds or subtracts

its value from the sum.

Values are ADD and SUB. If

omitted, the default value is

ADD.

PREADDER_DIRECTION_2

String

No

Specifies whether the pre-

adder of the third multiplier

adds or subtracts its value

from the sum. Values are

ADD

and

SUB

. If omitted, the

default value is

ADD

.

UG-01063

2014.12.19

ALTMULT_ACCUM Parameters

8-15

ALTMULT_ACCUM (Multiply-Accumulate)

Altera Corporation

Send Feedback

Advertising