![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Asher Hazanchuk, DSP Specialist, Lattice Semiconductor
IntroductionDevice Reusability Requirements· Sample rate conversion ratio - The ratio between ADC or DAC sample rate and the system chip rate · Number of base station antennas · Number of base station channels
DDC/DUC system designers have a large variety of ADC/DAC to choose from. The ADC/DAC sample rate typically can be a couple of hundred Msps up to a couple of Gsps using the recent high-speed ADC or DAC devices.
The chip rate depends on the wireless standard that the base station supports. Table 1 provides some examples of common wireless standards chip rates.
Table 1- Common Wireless Standards Chip Rates
FPGA flexibility enables the same device or device family to support a large variety of DAC/DUC boards that are designed for different standard base stations. The reusability capacity of FPGA devices to support a huge variety of base station applications makes them an attractive design solution.
Implementation
Since DDC and DUC sections consume a significant portion of the digital part of a base station, it is important to have a cost effective DDC and DUC implementation. Cost effectiveness is achieved by time-sharing the same hardware for a maximum number of channels and by efficiently using different FPGA resources (DSP Blocks, Memories, and LUT fabric) to maximize the throughput and capacity of the FPGA. The good news for base station designers is that today low-cost, medium-size FPGA devices have the capacity to support tens of DDC and DUC channels.
As described in Figure 1, the DDC is composed of the following components: an I/Q splitter that is based on a numerical controlled oscillator (NCO) that modulates the input signal that comes from the RF section with sine and cosine waves, using two mixers and a decimation section that can be configured from 3 levels of FIR decimation filters, or a FIR decimation filter followed by a cascaded integrator comb (CIC) filter.
![]() Figure 2 - DUC Structure
Implementation Considerations The DDC/DUC system is a multipliers-intensive system
|
Items |
Integrator |
Comb |
Structure |
|
|
Sampling Rate |
|
|
|
|
|
|
|
|
|
|
|
Table 2 - Structure and Characteristics of Comb and Integrator
A typical CIC filter is built as a cascade of multiple integrator and comb sections and a rate changer between the two sections. The arrangement of the comb, integrator and rate conversion sections depends on whether a decimator or interpolator is realized. Typical CIC decimator and CIC interpolator are given in Figure 4 and Figure 5.

Figure 4 - CIC Decimator

Figure 5 - CIC Interpolator
The transfer function of an N stage CIC filter is given by the following equation [2]:
![]()
The magnitude response of the filter is given by:

Using the approximation sin(x) = x for small x, the above can be approximated as:

The frequency response for a CIC filter is that of a low-pass filter. The power response for a 4 stage with M=1 and R=7 is shown in Figure 6.

Figure 6 - Frequency Response for a CIC Filter
It is fairly simple to implement a DDC or DUC in Lattice FPGAs, thanks to the availability of the constituent components as ispLeverCORE IPs. Two applications that use CIC filters as interpolators or decimators in digital rate conversion are shown in the following figures. Figure 7 shows the use of a CIC interpolator for up-conversion for digital radio applications (Figure extracted from Texas Instrument’s GC 4116 Quad Multi-Standard Digital Up-converter data sheet).
Figure 7 - Digital Up-Converter for Digital Radio Application
As shown in Figure 8, the digital up-converter uses the following IP core configurations:
1. FIR Filter (63-tap, interpolating filter)
2. FIR Filter (31-tap, interpolating filter)
3. CIC Filter (Interpolating CIC filter with rates programmable between 8 and 2K)
4. NCO (NCO with sine and cosine outputs)
Figure 8 shows a digital down-converter for a WCDMA application that uses a CIC decimator.

Figure 8 - Digital Down-Converter for WCDMA Application
As shown in Figure 8, the digital down-converter uses the following IP core configurations:
1. CIC Filter (Decimating CIC filter with a rate of 3)
2. FIR Filter (Decimate by 4 filter)
3. FIR Filter (13-tap, interpolating filter)
4. NCO (NCO with sine and cosine outputs and phase and frequency offset inputs)
The trend in analog-to-digital converters is to support higher sample rates and wider bus widths. The higher sample rates are particularly ideal for applications such as base stations for wireless protocols (WiMAX being one example). Other useful applications include satellite set-top boxes and test instrumentation, including digital oscilloscopes.
In such wireless applications, the transceiver architecture traditionally has been divided into an RF and baseband portion. Baseband processing receives chip-rate data from the RF portion, as defined by an in-phase channel and quadrature phase channel (I[] and Q[] respectively). The RF-to-baseband interface was accomplished with low-speed A/D converters, in the range of a few million samples/second (msps).
In the drive to reduce component and system cost, the trend is to increase the functionality of cheap baseband logic (implemented with low cost digital logic ICs) and reduce the functionality of RF (implemented with expensive RF & mixed signal devices). This is done by increasing the sample rates of the ADC and DAC, thus moving “baseband” closer to the transceiver antenna. This is shown in Figure 9.

Figure 9- Wireless Transceiver Board Architectures
Type |
Analog Sample Rate |
Sample Clock (rising & falling edge) |
Resolution |
LVDS Bus Width (pairs) |
LVDS data rate |
ADC (N) |
3 Gsps |
1.5 GHz |
8-bit |
32 |
750 Mbps |
ADC (N) |
2.5 Gsps |
1.25 GHz |
8-bit |
32 |
625 Mbps |
DAC (F) |
1 Gsps |
500 MHz |
14-bit |
14 |
1 Gbps |
Table 3 - Examples of Potential ADC and DAC Device Characteristics[1]
Therefore, the challenge for DUC and DDC logic is to convert this ADC/DAC digital sample rate down to chip rate processing rates. The architectural implementation of these blocks must support real-time data transfer (via I/Os) and processing (via DSP blocks) to meet both current ADC/DAC sample rates as well as future sample rates. As seen in Table 3, a solution must be found that supports various transfer rates using LVDS signaling, up to and including 1 gigabit per second data.
Lattice provides an optimal solution to meet the requirements of implementing high-speed DUC and DDC. The following FPGA features are available in Lattice FPGA families, and can be specifically configured to address DUC/DDC functionality. Further details are available in the datasheets of Lattice FPGA families.
· LVDS differential signaling available on programmable I/Os, compatible with the digital interface of ADC/DACs.
· An IOLOGIC register gearbox to convert high-speed data at the FPGA periphery to slower and wider data in the core of the FPGA, and vice versa. Dedicated hardwired logic supports 1:4 gearing on the inputs, and 4:1 gearing on the outputs.
· Abundant resources to shift and distribute a forwarded clock, which will center the clock relative to incoming LVDS data at the input registers. A DLL-controlled delay block is optimal for shifting, as the shift is tightly controlled across voltage and temperature conditions.
· Abundant resources to generate and distribute a forwarding clock for the output interface (to DAC). PLL and edge clock resources are ideal for generating clock and data outputs with very tight skew relative to each other.
· High performance DSP blocks, with dedicated multipliers, adders and pipeline registers in an ASIC-like block.
· This high performance is especially useful for real-time DUC/DDC filtering requirements, given current high-speed ADC/DAC converters.
· DSP blocks address the future trend of steadily increasing ADC rates used to increase digital logic in a wireless transceiver and reduce system cost.
Advantages Over ASIC
· Flexibility - FPGAs have a high degree of programmability and flexibility that is very useful for DUC / DDC implementation. It is desirable to be able to adjust filter coefficients to optimize their function. Also, the interpolation and decimation factors may be adjusted to trade off between high operating frequency and high accuracy.
· Economical - Given the quantities of wireless communications equipment developed by vendors, it is far more economical to implement in FPGAs rather than ASICs. Although unit costs of FPGAs are higher than ASICs, leading edge ASICs have very high NRE costs (i.e. $1.5 million for 65 nm), and can be justified only for quantities of several hundred thousand to millions of units.
· Immune to changes in standards - protocols or standards that are in the process of definition still can be implemented in FPGAs without concern. For example, if the chip rate of a standard changes, this can be addressed in an FPGA but not in an ASIC. There are real world examples of chip rate adjustment in the harmonization of CDMA-2000 and WCDMA standards.
· Performance- DSP processors are ideal for implementing certain symbol rate processing found in the baseband functionality. They also are ideal for implementing vocoders (voice coders/decoders) in wireless handsets. However, DUCs and DDCs have fast real-time processing requirements that cannot be met using DSP processors.
· High degree of parallelism - The functions performed for filtering are very repetitive (multiply-add, multiply accumulate), which strongly suggests that the hardwired logic found in FPGAs is more efficient than a sequence of instructions from a DSP. At every clock cycle, FPGA logic can perform the same operation on new data and produce the updated results. DSPs are more useful for performing a sequence of instructions, and not an identical function that is repeated frequently with various data.
Advantage over Xilinx and Altera
· High performance and low-cost DSP architecture - Lattice is the only programmable logic company that provides a high-performance, full-featured DSP block in a low-cost FPGA device family. Competitive low-end families support a hardwired, simple 18x18 multiplier. This solution will encounter performance degradation when adder/accumulator logic is constructed in the lookup table fabric. The Lattice DSP block architecture provides support for current and future DDC/DUC implementations with a consistent, deterministic level of performance.
References
1. Hogenauer, “An Economical Class of Digital Filters for Decimation and Interpolation"
An Economical Class of Digital Filter for Decimation and Interpolation, Eugene B. Hogenauer, IEEE. Trans. ASSP, Vol. 29, No. 2, pp.155-162, April 1981.
2. Ray Andraka, “High performance Digital Down-Converter for FPGA,” Xilinx Xcell Journal Issue Number 38, 4Q 2000
3. Hunt Engineering, “Digital Down-Converter using FPGA,” http://www.hinteng.co.uk/
4. Matthew P. Donadio, “CIC Filter Introduction,” Iowegian, www.users.snip.net/~donadio/cic.pdf.
5. Asher Hazanchuk and Sheac Yee Lim, “Optimizing Up/Down Conversion with FPGA Techniques” CommsDesign Magazine, Dec 23, 2003
6. T. Hollis, “Digital Down-Conversion at the heart of today’s communications systems,” Global DSP Magazine, Vol. 2 Issue 10, October 2003
7. Asher Hazanchuk, “Soft Multipliers for DSP Applications” GSPx Conference, April 2003
[1] As
of 3Q 2006. The trend going forward is for even higher sample
rates of analog data
