SB 4: Complex Multiplier/Mixer Megafunction
Altera Corporation 3
Typically, the complex multiplier/mixer megafunction is used as a coprocessor to a
digital signal processing (DSP) function. The efficiency of the DSP processor design can
be improved by implementing both the megafunction and a FIFO function into the
same device. For example, the input/output process loading on the DSP processor can
be reduced if the megafunction’s inputs and outputs are accessed as blocks of data
through a FIFO function.
Table 3 shows the device utilization and maximum clock frequency for a typical
implementation of the complex multiplier/mixer megafunction.
Contact Nova Engineering for more information on the complex multiplier/mixer
megafunction.
Applications
The complex multiplier/mixer megafunction is useful for a variety of applications,
including vector arithmetic, digital AM and QAM, and frequency down conversion.
Vector Arithmetic
The complex multiplier/mixer megafunction can calculate vector cross products and
vector dot products. For example, to calculate the vector cross product of vectors
R = rx + ry and S = sx + sy, each variable is assigned to an input of the megafunction
(i.e., a[n..0] = rx, c[n..0] = sy, b[n..0] = rx, and d[n..0] = sy). The
megafunction performs the calculation and provides the result on the real[m..0]
output.
A vector dot product can be calculated in a similar manner. To calculate the vector dot
product of vectors R = rx + ry and S = sx + sy, each variable is assigned to an input of
the megafunction (i.e., a[n..0] = rx, c[n..0] = sy, b[n..0] = ry, and
d[n..0] = sx). The complex multiplier/mixer megafunction performs the calculation
and provides the result on the imag[m..0] output.
Digital AM & QAM
Amplitude modulation (AM) and quadrature amplitude modulation (QAM) require
the source data to vary the amplitude of a carrier frequency over time. For example, to
create an AM wave with the complex multiplier/mixer megafunction, assign the
carrier frequency to the c[n..0] input and the information signal to the a[n..0]
input. Set the b[n..0] and d[n..0] inputs to zero. The megafunction produces an
AM wave on the real[m..0] output.
Table 3. Typical Device Utilization
Implementation Clock (Max) Logic Cells EABs
Input data width = 8 bits
Multiplier output width = 16 bits
Output data width = 8 bits
Multiplier latency = 3 clocks
50 MHz 600 0