Understanding the simulation results, Understanding the simulation results -8 – Altera Integer Arithmetic IP User Manual
Page 145

Parameter Name
Type
Required
Description
WIDTH_B
Integer
Yes
Specifies the width of the
datab_
real[]
and
datab_imag[]
ports. Value
must be
256
bits or less. If omitted, the
default value is
18
.
WIDTH_RESULT
Integer
Yes
Specifies the width of the
result_
real[]
and
result_imag[]
ports.
Value must be
256
bits or less. If
omitted, the default value is
36
.
INTENDED_DEVICE_FAMILY
String
No
This parameter is used for modeling
and behavioral simulation purposes.
Create the
ALTMULT_COMPLEX
megafunction with the MegaWizard
Plug-in Manager to calculate the value
for this parameter.
LPM_HINT
String
No
When you instantiate a library of
parameterized modules (LPM) function
in a VHDL Design File (.vhd), you
must use the
LPM_HINT
parameter to
specify an Altera-specific parameter.
For example:
LPM_HINT = "CHAIN_
SIZE = 8, ONE_INPUT_IS_CONSTANT
= YES"
The default value is
UNUSED
.
LPM_TYPE
String
No
Identifies the library of parameterized
modules (LPM) entity name in VHDL
design files.
Design Example: Multiplication of 8-bit Complex Numbers Using
Canonical Representation
This design example uses the ALTMULT_COMPLEX megafunction to implement a complex multiplier
with an 8-bit input data width using the canonical representation. This example uses the MegaWizard
Plug-In Manager in the Quartus II software.
:
complex_canonical.qar (archived Quartus II design files)
altmult_complex_ex_msim (ModelSim-Altera files)
Understanding the Simulation Results
10-8
Design Example: Multiplication of 8-bit Complex Numbers Using Canonical
Representation
UG-01063
2014.12.19
Altera Corporation
ALTMULT_COMPLEX (Complex Multiplier)