Altera Integer Arithmetic IP User Manual
Page 64

Port name
Required
Description
datab []
Yes
Data input to the multiplier. Input port
[NUMBER_OF_
MULTIPLIERS * WIDTH_B - 1 … 0]
wide
datac []
No
Data input to the multiplier. Input port
[NUMBER_OF_
MULTIPLIERS * WIDTH_C - 1 … 0]
wide
clock []
No
Clock input port
[0 … 2]
to the corresponding register. This port
can be used by any register in the megafunction.
aclr []
No
Input port
[0 ... 1]
. Asynchronous clear input to the
corresponding register.
ena []
No
Input port
[0 ... 2]
. Enable signal input to the corresponding
register.
signa
No
Specifies the numerical representation of the multiplier input A.
If the
signa
port is high, the multiplier treats the multiplier input
A port as a signed number. If the
signa
port is low, the multiplier
treats the multiplier input A port as an unsigned number.
signb
No
Specifies the numerical representation of the multiplier input B
port. If the
signb
port is high, the multiplier treats the multiplier
input B port as a signed two's complement number. If the
signb
port is low, the multiplier treats the multiplier input B port as an
unsigned number.
scanina[]
No
Input for scan chain A. Input port
[WIDTH_A - 1 ... 0]
wide.
When the
INPUT_SOURCE_A
parameter has a value of
SCANA
, the
scanina[]
port is required.
accum_sload
No
Dynamically specifies whether the accumulator value is constant.
If the
accum_sload
port is high, then the multiplier output is
loaded into the accumulator. Do not use
accum_sload
and
sload_accum
simultaneously.
sload_accum
No
Dynamically specifies whether the accumulator value is constant.
If the
sload_accum
port is low, then the multiplier output is
loaded into the accumulator. Do not use
accum_sload
and
sload_accum
simultaneously.
chainin []
No
Adder result input bus from the preceding stage. Input port
[WIDTH_CHAININ - 1 … 0]
wide.
addnsub1
No
Controls the functionality of the first adder. If the
addnsub1
port
is high, the first adder performs an add function. If the
addnsub1
port is low, the adder performs a subtract function.
addnsub3
No
Controls the functionality of the first adder. If the
addnsub3
port
is high, the first adder performs an add function. If the
addnsub3
port is low, the adder performs a subtract function.
coefsel0 []
No
Coefficient input port[0..3] to the first multiplier.
coefsel1 []
No
Coefficient input port[0..3]to the second multiplier.
coefsel2 []
No
Coefficient input port[0..3]to the third multiplier.
coefsel3 []
No
Coefficient input port [0..3] to the fourth multiplier.
UG-01063
2014.12.19
Ports
6-11
ALTERA_MULT_ADD (Multiply-Adder)
Altera Corporation