Altera Integer Arithmetic IP User Manual
Page 30

Parameter Name
Type
Required
Description
LPM_REMAINDERPOSITIVE
String
No
Altera-specific parameter. You must
use the
LPM_HINT
parameter to specify
the
LPM_REMAINDERPOSITIVE
parameter in VHDL design files.
Values are
TRUE
or
FALSE
. If this
parameter is set to
TRUE
, then the value
of the
remain[]
port must be greater
than or equal to zero. If this parameter
is set to
TRUE
, then the value of the
remain[]
port is either zero, or the
value is the same sign, either positive
or negative, as the value of the
numer
port. In order to reduce area and
improve speed, Altera recommends
setting this parameter to
TRUE
in
operations where the remainder must
be positive or where the remainder is
unimportant.
MAXIMIZE_SPEED
Integer
No
Altera-specific parameter. You must
use the
LPM_HINT
parameter to specify
the
MAXIMIZE_SPEED
parameter in
VHDL design files. Values are
[0..9]
.
If used, the Quartus II software
attempts to optimize a specific
instance of the
LPM_DIVIDE
function
for speed rather than routability, and
overrides the setting of the Optimiza‐
tion Technique logic option. If
MAXIMIZE_SPEED
is unused, the value
of the Optimization Technique option
is used instead. If the value of
MAXIMIZE_SPEED
is
6
or higher, the
Compiler optimizes the LPM_DIVIDE
megafunctions for higher speed by
using carry chains; if the value is
5
or
less, the compiler implements the
design without carry chains.
LPM_PIPELINE
Integer
No
Specifies the number of clock cycles of
latency associated with the
quotient[]
and remain[] outputs. A
value of zero (
0
) indicates that no
latency exists, and that a purely
combinational function is instantiated.
If omitted, the default value is
0
(non-
pipelined). You cannot specify a value
for the
LPM_PIPELINE
parameter that
is higher than
LPM_WIDTHN
.
UG-01063
2014.12.19
Parameters
3-5
LPM_DIVIDE (Divider)
Altera Corporation