Altmult_accum parameters, Altmult_accum parameters -6 – Altera Integer Arithmetic IP User Manual

Page 87

Advertising
background image

Port Name

Required

Description

result[]

Yes

Accumulator output port. The size of the output port depends

on the

WIDTH_RESULT

parameter value.

scanouta[]

No

Output of the first shift register. The size of the output port

depends on the

WIDTH_A

parameter value. When instantiating

the ALTMULT_ACCUM megafunction with the

MegaWizard Plug-In Manager, the MegaWizard Plug-In

Manager renames the

scanouta[]

port to

shiftouta

port.

scanoutb[]

No

Output of the second shift register. The size of the input port

depends on the

WIDTH_B

parameter value. When instantiating

the ALTMULT_ACCUM megafunction with the

MegaWizard Plug-In Manager, the MegaWizard Plug-In

Manager renames the

scanoutb[]

port to

shiftoutb

port.

ALTMULT_ACCUM Parameters

The following table lists the parameters for the ALTMULT_ACCUM megafunction.

Table 8-5: ALTMULT_ACCUM Megafunction Parameters

Parameter Name

Type

Required

Description

ACCUM_DIRECTION

String

No

Specifies whether the

accumulator performs an add

or subtract function. Values

are

ADD

and

SUB

. When this

parameter is set to

ADD

, the

accumulator adds the

product to the current

accumulator value. When

this parameter is set to

SUB

,

the accumulator subtracts the

product from the current

accumulator value. If omitted

the default value is

ADD

. This

parameter is ignored if the

addnsub

port is used.

ACCUM_SLOAD_ACLR

String

No

Specifies the asynchronous

clear signal for the

accum_

sload

port. Values are

ACLR0

,

ACLR1

,

ACLR2

, and

ACLR3

. If

omitted the default value is

ACLR3

. This parameter is

ignored if the

accum_sload

port is unused.

8-6

ALTMULT_ACCUM Parameters

UG-01063

2014.12.19

Altera Corporation

ALTMULT_ACCUM (Multiply-Accumulate)

Send Feedback

Advertising