Altera Integer Arithmetic IP User Manual

Page 86

Advertising
background image

Port Name

Required

Description

aclr2

No

The third asynchronous clear input. The

aclr2

port is active

high.

aclr3

No

The fourth asynchronous clear input. The

aclr3

port is active

high.

addnsub

No

Controls the functionality of the adder. If the

addnsub

port is

high, the adder performs an add function; if the

addnsub

port

is low, the adder performs a subtract function.

clock0

No

Specifies the first clock input, usable by any register in the

megafunction.

clock1

No

Specifies the second clock input, usable by any register in the

megafunction.

clock2

No

Specifies the third clock input, usable by any register in the

megafunction.

clock3

No

Specifies the fourth clock input, usable by any register in the

megafunction.

dataa[]

Yes

Data input to the multiplier. The size of the input port

depends on the

WIDTH_A

parameter value.

datab[]

Yes

Data input to the multiplier. The size of the input port

depends on the

WIDTH_B

parameter value.

ena0

No

Clock enable for the

clock0

port.

ena1

No

Clock enable for the

clock1

port.

ena2

No

Clock enable for the

clock2

port.

ena3

No

Clock enable for the

clock3

port.

signa

No

Specifies the numerical representation of the

dataa[]

port. If

the

signa

port is high, the multiplier treats the

dataa[]

port

as signed two's complement. If the

signa

port is low, the

multiplier treats the

dataa[]

port as an unsigned number.

signb

No

Specifies the numerical representation of the

datab[]

port. If

the

signb

port is high, the multiplier treats the

datab[]

port

as signed two's complement. If the

signb

port is low, the

multiplier treats the

datab[]

port as an unsigned number.

Table 8-3: ALTMULT_ACCUM Megafunction Input Ports (Stratix III and Stratix IV Devices Only)

Port Name

Required

Description

accum_round

No

Enables accumulator rounding.

Table 8-4: ALTMULT_ACCUM Megafunction Output Ports

Port Name

Required

Description

overflow

No

Overflow port for the accumulator.

UG-01063

2014.12.19

ALTMULT_ACCUM Ports

8-5

ALTMULT_ACCUM (Multiply-Accumulate)

Altera Corporation

Send Feedback

Advertising