
24
Altera Corporation
Arithmetic Functions
Parameters
Note:
(1)
The 
LATENCY
 parameter is provided only for backwards-compatibility with MAX+PLUS II pre-version 7.0 designs. 
For all new designs, you should use the 
LPM_PIPELINE
 parameter instead.
Name
Required
Value
Description
INPUT_A_IS_CONSTANT
No
"YES"
"NO"
If 
dataa[]
 is connected to a constant value, setting the value 
of 
INPUT_A_IS_CONSTANT
 to 
"YES"
 optimizes the multiplier 
for resource usage and speed. The default value is 
"NO"
.
If 
datab[]
 is connected to a constant value, setting the value 
of 
INPUT_B_IS_CONSTANT
 to 
"YES"
 optimizes the multiplier 
for resource usage and speed. The default value is 
"NO"
.
Specifies the number of clock cycles of latency associated with 
the 
result[]
 output. The default value of zero (
0
) indicates 
that no latency exists, and that a purely combinatorial function 
will be instantiated. The default value is 0 (non-pipelined).
Type of multiplication performed. The default value is 
"UNSIGNED"
.
Width of the 
dataa[]
 port.
Width of the 
datab[]
 port.
Width of the 
result[]
 port. The default is 
LPM_WIDTHA+LPM_WIDTHB
.
Width of the 
sum[]
 port. If the 
sum[]
 port is not used, 
LPM_WIDTHS
 must be set to a value between 1 and 
LPM_WIDTHP
, inclusive. The default value is 
LPM_WIDTHA
.
Same as 
LPM_PIPELINE
.
INPUT_B_IS_CONSTANT
No
"YES"
"NO"
LPM_PIPELINE
No
Integer 
≥
 0
LPM_REPRESENTATION
No
"SIGNED"
"UNSIGNED"
Integer > 0
Integer > 0
Integer > 0
LPM_WIDTHA
Yes
Yes
Yes
LPM_WIDTHB
LPM_WIDTHP
LPM_WIDTHS
No
Integer > 0
LATENCY
, 
Note (1)
No
Integer 
≥
 0