Altera Floating-Point User Manual
Page 115

Table 16-5: ALTFP_COMPARE Parameters
Port Name
Type
Required
Description
WIDTH_EXP
Integer
Yes
Specifies the precision of the exponent. If this
parameter is not specified, the default is
8
. The
bias of the exponent is always set to
2
(WIDTH_
EXP - 1) -
1
, that is,
127
for the single-precision
format and
1023
for the double-precision format.
The value of
WIDTH_EXP
must be
8
for the single-
precision format,
11
for the double-precision
format, and a minimum of
11
for the single-
extended precision format. The value of
WIDTH_
EXP
must be less than the value of
WIDTH_MAN
,
and the sum of
WIDTH_EXP
and
WIDTH_MAN
must
be less than
64
.
WIDTH_MAN
Integer
Yes
Specifies the precision of the mantissa. If this
parameter is not specified, the default is
23
.
When
WIDTH_EXP
is
8
and the floating-point
format is single-precision, the
WIDTH_MAN
value
must be
23
. Otherwise, the value of
WIDTH_MAN
must be a minimum of
31
. The value of
WIDTH_
MAN
must be greater than the value of
WIDTH_EXP
,
and the sum of
WIDTH_EXP
and
WIDTH_MAN
must
be less than
64
.
PIPELINE
Integer
Yes
Specifies the latency in clock cycles used in the
ALTFP_COMPARE IP core. The pipeline values
are
1
,
2
, and
3
latency in clock cycles.
UG-01058
2014.12.19
ALTFP_COMPARE Parameters
16-5
ALTFP_COMPARE IP Core
Altera Corporation