# Pipeline FFT Architectures Optimized for FPGAs

Authors: Bin Zhou; Yingning Peng; David Hwang
Journal: International Journal of Reconfigurable Computing
 (2009)

---

## Abstract

This paper presents optimized implementations of two different pipeline FFT processors on Xilinx Spartan-3 and Virtex-4 FPGAs. Different optimization techniques and rounding schemes were explored. The implementation results achieved better performance with lower resource usage than prior art. The 16-bit 1024-point FFT with the R22SDF architecture had a maximum clock frequency of 95.2 MHz and used 2802 slices on the Spartan-3, a throughput per area ratio of 0.034 Msamples/s/slice. The R4SDC architecture ran at 123.8 MHz and used 4409 slices on the Spartan-3, a throughput per area ratio of 0.028 Msamples/s/slice. On Virtex-4, the 16-bit 1024-point R22SDF architecture ran at 235.6 MHz and used 2256 slice, giving a 0.104 Msamples/s/slice ratio; the 16-bit 1024-point R4SDC architecture ran at 219.2 MHz and used 3064 slices, giving a 0.072 Msamples/s/slice ratio. The R22SDF was more efficient than the R4SDC in terms of throughput per area due to a simpler controller and an easier balanced rounding scheme. This paper also shows that balanced stage rounding is an appropriate rounding scheme for pipeline FFT processors.


---

## Body

## 1. Introduction

The Fast Fourier Transform (FFT), as an efficient algorithm to compute the Discrete Fourier Transform (DFT), is one of the most important operations in modern digital signal processing and communication systems. The pipeline FFT is a special class of FFT algorithms which can compute the FFT in a sequential manner; it achieves real-time behavior with nonstop processing when data is continually fed through the processor. Pipeline FFT architectures have been studied since the 1970's when real-time large scale signal processing requirements became prevalent. Several different architectures have been proposed, based on different decomposition methods, such as the Radix-2 Multipath Delay Commutator (R2MDC) [1], Radix-2 Single-Path Delay Feedback (R2SDF) [2], Radix-4 Single-Path Delay Commutator (R4SDC) [3], and Radix-22 Single-Path Delay Feedback (R22SDF) [4]. More recently, Radix-22 to Radix-24 SDF FFTs were studied and compared in [5]; in [6] an R23SDF was implemented and shown to be area efficient for 2 or 3 multipath channels. Each of these architectures can be classified as multipath or single-path. Multipath approaches can process M data inputs simultaneously, though they have limitations on the number of parallel data-paths, FFT points, and radix. This paper focuses on single-path architectures.From the hardware perspective, Field Programmable Gate Array (FPGA) devices are increasingly being used for hardware implementations in communications applications. FPGAs at advanced technology nodes can achieve high performance, while having more flexibility, faster design time, and lower cost. As such, FPGAs are becoming more attractive for FFT processing applications and are the target platform of this paper.The primary goal of this research is to optimize pipeline FFT processors to achieve better performance and lower cost than prior art implementations. In this paper, two comparative implementations (R4SDC and R22SDF) of pipeline FFT processors targeted towards Xilinx Spartan-3 and Virtex-4 FPGAs are presented. Different parameters such as throughput, area, and SQNR are compared.The rest of the paper is organized as follows. Section2 discusses the methodology used to select the two architectures. Section 3 describes the implementation tools and optimization methods used to improve performance and reduce resource utilization. Section 4 explains the balanced rounding schemes that were implemented and their impact on the signal-to-quantization noise ratio (SQNR). Section 5 presents the results, and Section 6 presents some brief conclusions.


## 2. Pipeline FFT Architectures

### 2.1. Architecture Selection

The major characteristics and resource requirements of several pipeline FFT architectures are listed in Table1. Computational efficiency is measured by resource utilization percentage—how often the resources are in an active state versus an idle state. As shown in the table, the radix-4 Single-Path Delay-Commutator (R4SDC) and radix-22 Single Path Delay Feedback (R22SDF) architectures provide the highest computational efficiency and were selected for implementation. The R4SDC architecture is appealing due to the computational efficiency of its addition; however the controller design is complex. The R22SDF architecture has a simple controller but a less efficient addition scheme. These designs are both radix-4 and scalable to an arbitrary FFT size N (N is a power of 4).Table 1
Hardware resource requirements comparison of pipeline FFT architectures (based on [4]).
Complex multipliersComplex addersMemory sizeControl logicComp. Utilizationadd/subMultiplierR2SDFlog2N-22log2NN-1simple50%50%R4SDFlog4N-18log4NN-1medium25%75%R4SDClog4N-13log4N2N-2complex100%75%R22SDFlog4N-14log4NN-1simple75%75%R2MDClog2N-22log2N3N/2-2simple50%50%R4MDC3(log4N-1)8log4N5N/2-4medium25%25%


### 2.2. R4SDC Architecture

RSDC Algorithms
The R4SDC was proposed by Bi and Jones [3] and uses an iterative architecture to calculate the radix-4 FFT. The key to the algorithm is splitting the FFT into different stages by using different radices. In this paper, the radix is always 4. The derivation starts from the fundamental DFT equation for an N-point FFT:
(1)X(k)=∑n=0N-1x(n)WNnk(k=0,1⋯N-1;WN=e-j(2π/N)).N can be represented as composite of v numbers N=r1r2⋯rv and defined as
(2)Nt=Nr1r2⋯rt,1≤t≤v-1,
where t is the stage, and rt is the stage radix. After putting (2) into (1) and applying the relationship WNiNjNjk=WNik, (1) becomes
(3)X(k)=∑q1=0N1-1WNq1k∑p=0r1-1x(N1p+q1)Wr1pk.
Indeces k1 and m1 can be defined by k=r1k1+m1, where 0≤k1≤N1-1,0≤m1≤r1-1. Equation (3) becomes
(4)X(r1k1+m1)=∑q1=0N1-1x1(q1,m1)WN1q1k1,x1(q1,m1)=WNq1m1∑p=0r1-1x(N1p+q1)Wr1pm1.
Therefore the complete N-point DFT can be written as v-1 different stages with intermediate stages in a recursive equation:
(5)xt(qt,mt)=WNt-1qtmt∑p=0rt-1xt-1(Ntp+qt,mt-1)Wrtpmt.WNt-1qtmt is the twiddle factor. For radix-4, the equations become
(6)X(4k1+m1)=∑q1=0N/4-1x1(q1,m1)WN/4q1k1,xt(qt,mt)=WNt-1qtmt∑p=03xt-1(Ntp+qt,mt-1)W4pmt
The R4SDC architecture is presented  in Figures 1–3. An N-point radix-4 pipeline FFT is decomposed to log4N stages. Each stage consists of a commutator, a butterfly, and a complex multiplier. Figure 1 outlines the commutator for the R4SDC. Its six shift registers provide Nt delays. The control signals are generated by logic functions. The butterfly element, shown in Figure 2, performs the summation, where trivial multiplication is replaced by add/sub and imaginary/real part swapping. Figure 3 shows the overall architecture.Figure 1
R4SDC commutator of staget.Figure 2
R4SDC butterfly element of staget.Figure 3
N-point R4SDC pipeline FFT processor architecture.


### 2.3. R22SDF Architecture

The R22SDF architecture was proposed by He and Torkelson [4] and also begins from (1). He applies a 3-dimensional index map:
(7)n=〈N2n1+N4n2+n3〉N;k=〈k1+2k2+4k3〉N.Using the Common Factor Algorithm (CFA) to decompose the twiddle factor, the FFT can be reconstructed as a set of 4 DFTs of lengthN/4:
(8)X(k1+2k2+4k3)=∑n3=0N/4-1[H(k1,k2,n3)WNn3(k1+2k2)]WN/4n3k3H(k1,k2,n3) can be expressed as(9)H(k1,k2,n3)=[x(n3)+(-1)k1x(n3+(N/2))]︷BF2I+(-j)(k1+2k2)[x(n3+(N/4))+(-1)k1x(n3+(3/4)N)]︷BF2I︸BF2II,The R22SDF algorithm can be mapped to the architecture shown in Figures 4–6. The number of stages is log4N. Every stage contains two butterfly elements, each associated by an Nt feedback shift register. A simple counter creates the control signals. Pipeline registers can be added between butterfly elements and between stages. Registers are also added inside the complex multipliers to reduce the critical path through the summation to the multiplier. The total latency is approximately N+4(log4N-1) cycles.Figure 4
N-point R22SDF pipeline FFT processor architecture.Figure 5
R22SDF BF2 I structure.Figure 6
R22SDF BF2 II structure.


## 2.1. Architecture Selection

The major characteristics and resource requirements of several pipeline FFT architectures are listed in Table1. Computational efficiency is measured by resource utilization percentage—how often the resources are in an active state versus an idle state. As shown in the table, the radix-4 Single-Path Delay-Commutator (R4SDC) and radix-22 Single Path Delay Feedback (R22SDF) architectures provide the highest computational efficiency and were selected for implementation. The R4SDC architecture is appealing due to the computational efficiency of its addition; however the controller design is complex. The R22SDF architecture has a simple controller but a less efficient addition scheme. These designs are both radix-4 and scalable to an arbitrary FFT size N (N is a power of 4).Table 1
Hardware resource requirements comparison of pipeline FFT architectures (based on [4]).
Complex multipliersComplex addersMemory sizeControl logicComp. Utilizationadd/subMultiplierR2SDFlog2N-22log2NN-1simple50%50%R4SDFlog4N-18log4NN-1medium25%75%R4SDClog4N-13log4N2N-2complex100%75%R22SDFlog4N-14log4NN-1simple75%75%R2MDClog2N-22log2N3N/2-2simple50%50%R4MDC3(log4N-1)8log4N5N/2-4medium25%25%


## 2.2. R4SDC Architecture

RSDC Algorithms
The R4SDC was proposed by Bi and Jones [3] and uses an iterative architecture to calculate the radix-4 FFT. The key to the algorithm is splitting the FFT into different stages by using different radices. In this paper, the radix is always 4. The derivation starts from the fundamental DFT equation for an N-point FFT:
(1)X(k)=∑n=0N-1x(n)WNnk(k=0,1⋯N-1;WN=e-j(2π/N)).N can be represented as composite of v numbers N=r1r2⋯rv and defined as
(2)Nt=Nr1r2⋯rt,1≤t≤v-1,
where t is the stage, and rt is the stage radix. After putting (2) into (1) and applying the relationship WNiNjNjk=WNik, (1) becomes
(3)X(k)=∑q1=0N1-1WNq1k∑p=0r1-1x(N1p+q1)Wr1pk.
Indeces k1 and m1 can be defined by k=r1k1+m1, where 0≤k1≤N1-1,0≤m1≤r1-1. Equation (3) becomes
(4)X(r1k1+m1)=∑q1=0N1-1x1(q1,m1)WN1q1k1,x1(q1,m1)=WNq1m1∑p=0r1-1x(N1p+q1)Wr1pm1.
Therefore the complete N-point DFT can be written as v-1 different stages with intermediate stages in a recursive equation:
(5)xt(qt,mt)=WNt-1qtmt∑p=0rt-1xt-1(Ntp+qt,mt-1)Wrtpmt.WNt-1qtmt is the twiddle factor. For radix-4, the equations become
(6)X(4k1+m1)=∑q1=0N/4-1x1(q1,m1)WN/4q1k1,xt(qt,mt)=WNt-1qtmt∑p=03xt-1(Ntp+qt,mt-1)W4pmt
The R4SDC architecture is presented  in Figures 1–3. An N-point radix-4 pipeline FFT is decomposed to log4N stages. Each stage consists of a commutator, a butterfly, and a complex multiplier. Figure 1 outlines the commutator for the R4SDC. Its six shift registers provide Nt delays. The control signals are generated by logic functions. The butterfly element, shown in Figure 2, performs the summation, where trivial multiplication is replaced by add/sub and imaginary/real part swapping. Figure 3 shows the overall architecture.Figure 1
R4SDC commutator of staget.Figure 2
R4SDC butterfly element of staget.Figure 3
N-point R4SDC pipeline FFT processor architecture.


## 2.3. R22SDF Architecture

The R22SDF architecture was proposed by He and Torkelson [4] and also begins from (1). He applies a 3-dimensional index map:
(7)n=〈N2n1+N4n2+n3〉N;k=〈k1+2k2+4k3〉N.Using the Common Factor Algorithm (CFA) to decompose the twiddle factor, the FFT can be reconstructed as a set of 4 DFTs of lengthN/4:
(8)X(k1+2k2+4k3)=∑n3=0N/4-1[H(k1,k2,n3)WNn3(k1+2k2)]WN/4n3k3H(k1,k2,n3) can be expressed as(9)H(k1,k2,n3)=[x(n3)+(-1)k1x(n3+(N/2))]︷BF2I+(-j)(k1+2k2)[x(n3+(N/4))+(-1)k1x(n3+(3/4)N)]︷BF2I︸BF2II,The R22SDF algorithm can be mapped to the architecture shown in Figures 4–6. The number of stages is log4N. Every stage contains two butterfly elements, each associated by an Nt feedback shift register. A simple counter creates the control signals. Pipeline registers can be added between butterfly elements and between stages. Registers are also added inside the complex multipliers to reduce the critical path through the summation to the multiplier. The total latency is approximately N+4(log4N-1) cycles.Figure 4
N-point R22SDF pipeline FFT processor architecture.Figure 5
R22SDF BF2 I structure.Figure 6
R22SDF BF2 II structure.


## 3. FPGA-Based Implementations  and Optimizations

### 3.1. Specifications, Tool Flow, and Verification

Both of these FFT architectures were implemented with generic synthesizable VHDL code and verified with simulation against Matlab scripts using Modelsim. Synplify or XST was used to perform the synthesis, and ISE was used for place and route and implementation. The architectures were optimized to achieve maximum throughput with minimal area (slices). The tools and development environment used are shown in Table2.Table 2
Implementation tools.
Design stepToolVHDL simulationModelSim SE 6.2bFPGA synthesisSynplicity Synplify Pro; Xilinx XSTFPGA implementationXilinx ISE 9.1Target FPGASpartan-3 Family; Virtex-E Family;Virtex-4 FamilyVerificationMatlab R2006a


### 3.2. General Optimization Methods

Some general optimization measures were performed, including FSM encoding, retiming, and CAD-related optimizations. Since the FFT processors were targeted to Xilinx Spartan-3 and Virtex-4 FPGAs (as well as synthesized for Virtex-E FPGAs), the SRL16 component, which can implement a 16-bit shift register within a single LUT, was inferred as much as possible to preserve LUTs. This particularly helped the R22SDF architecture because of the large number of shift registers. R4SDC also benefited from SRL16 components in its commutator registers. Block RAMs were used to store twiddle factors, which dramatically reduced the combinational logic utilization.


### 3.3. Architecture-Specific Optimization

A number of architecture-specific optimizations were used. For both architectures, a complex multiplication technique was used. Usually, a complex multiplication is computed as:(10)(a+bi)×(c+di)=a×c-b×d+(a×d+b×c)i.This requires 4 multiplications and 2 add/suboperations. As is well known, the equation is simplified to save one multiplier:(11)(a+bi)×(c+di)=[a×(c+d)-(a+b)×d]+[a×(c+d)+(a-b)×c]i.This requires only 3 multiplications and 5 add/suboperations. Pipeline registers were also added in order to avoid the long critical path brought by the connection of real adders and multipliers. Figure7 shows the  pipeline stages inserted which were effective to reduce the critical path (REG means pipeline register).Figure 7
The pipelined complex multiplier.


#### 3.3.1. R4SDC Optimization

The R4SDC has a complex controller, which creates a long critical path. By observing that all stages have the same control bits but have different sequences, using a ROM with an incremental address was a simpler solution than using a complex FSM. Pipeline registers were also added to the butterfly elements, multipliers, and between stages. Figure8 illustrates the addition of pipeline registers to cut the critical path efficiently within the butterfly element. Since two continuous add/subelements bring about a long propagation path, they were split using pipelining. Figure 9 shows the addition of pipeline registers between majority elements and between stages. For timing purposes, the applicable control signals were also buffered.Figure 8
Adding pipeline registers to R4SDC butterfly element.Figure 9
Adding pipeline registers between elements and stages.There were some special measures taken into account within controller in order to keep proper timing of signals. Twiddle factors should also be delayed to cope with the delayed sequence.


#### 3.3.2. R22SDF Optimization

Due to its simple control requirements, a simple counter was sufficient as the entire controller for the R22SDF. To speed up the controller, a fast adder could potentially be faster than a simple ripple-carry adder. However, due to the small number of stages (log4N), no substantial savings were found for a fast adder. Pipeline registers were added between major elements and also between stages. Note that the R22SDF is not suited for adding pipeline registers within individual butterfly elements, because this would break the timing for the data feedback path. Figure 10 presents the pipelined stages. Note that registers were only added between element units; in addition, registers were added as necessary to keep the control signals properly timed.Figure 10
Adding pipeline registers for R22SDF.


## 3.1. Specifications, Tool Flow, and Verification

Both of these FFT architectures were implemented with generic synthesizable VHDL code and verified with simulation against Matlab scripts using Modelsim. Synplify or XST was used to perform the synthesis, and ISE was used for place and route and implementation. The architectures were optimized to achieve maximum throughput with minimal area (slices). The tools and development environment used are shown in Table2.Table 2
Implementation tools.
Design stepToolVHDL simulationModelSim SE 6.2bFPGA synthesisSynplicity Synplify Pro; Xilinx XSTFPGA implementationXilinx ISE 9.1Target FPGASpartan-3 Family; Virtex-E Family;Virtex-4 FamilyVerificationMatlab R2006a


## 3.2. General Optimization Methods

Some general optimization measures were performed, including FSM encoding, retiming, and CAD-related optimizations. Since the FFT processors were targeted to Xilinx Spartan-3 and Virtex-4 FPGAs (as well as synthesized for Virtex-E FPGAs), the SRL16 component, which can implement a 16-bit shift register within a single LUT, was inferred as much as possible to preserve LUTs. This particularly helped the R22SDF architecture because of the large number of shift registers. R4SDC also benefited from SRL16 components in its commutator registers. Block RAMs were used to store twiddle factors, which dramatically reduced the combinational logic utilization.


## 3.3. Architecture-Specific Optimization

A number of architecture-specific optimizations were used. For both architectures, a complex multiplication technique was used. Usually, a complex multiplication is computed as:(10)(a+bi)×(c+di)=a×c-b×d+(a×d+b×c)i.This requires 4 multiplications and 2 add/suboperations. As is well known, the equation is simplified to save one multiplier:(11)(a+bi)×(c+di)=[a×(c+d)-(a+b)×d]+[a×(c+d)+(a-b)×c]i.This requires only 3 multiplications and 5 add/suboperations. Pipeline registers were also added in order to avoid the long critical path brought by the connection of real adders and multipliers. Figure7 shows the  pipeline stages inserted which were effective to reduce the critical path (REG means pipeline register).Figure 7
The pipelined complex multiplier.


### 3.3.1. R4SDC Optimization

The R4SDC has a complex controller, which creates a long critical path. By observing that all stages have the same control bits but have different sequences, using a ROM with an incremental address was a simpler solution than using a complex FSM. Pipeline registers were also added to the butterfly elements, multipliers, and between stages. Figure8 illustrates the addition of pipeline registers to cut the critical path efficiently within the butterfly element. Since two continuous add/subelements bring about a long propagation path, they were split using pipelining. Figure 9 shows the addition of pipeline registers between majority elements and between stages. For timing purposes, the applicable control signals were also buffered.Figure 8
Adding pipeline registers to R4SDC butterfly element.Figure 9
Adding pipeline registers between elements and stages.There were some special measures taken into account within controller in order to keep proper timing of signals. Twiddle factors should also be delayed to cope with the delayed sequence.


### 3.3.2. R22SDF Optimization

Due to its simple control requirements, a simple counter was sufficient as the entire controller for the R22SDF. To speed up the controller, a fast adder could potentially be faster than a simple ripple-carry adder. However, due to the small number of stages (log4N), no substantial savings were found for a fast adder. Pipeline registers were added between major elements and also between stages. Note that the R22SDF is not suited for adding pipeline registers within individual butterfly elements, because this would break the timing for the data feedback path. Figure 10 presents the pipelined stages. Note that registers were only added between element units; in addition, registers were added as necessary to keep the control signals properly timed.Figure 10
Adding pipeline registers for R22SDF.


## 3.3.1. R4SDC Optimization

The R4SDC has a complex controller, which creates a long critical path. By observing that all stages have the same control bits but have different sequences, using a ROM with an incremental address was a simpler solution than using a complex FSM. Pipeline registers were also added to the butterfly elements, multipliers, and between stages. Figure8 illustrates the addition of pipeline registers to cut the critical path efficiently within the butterfly element. Since two continuous add/subelements bring about a long propagation path, they were split using pipelining. Figure 9 shows the addition of pipeline registers between majority elements and between stages. For timing purposes, the applicable control signals were also buffered.Figure 8
Adding pipeline registers to R4SDC butterfly element.Figure 9
Adding pipeline registers between elements and stages.There were some special measures taken into account within controller in order to keep proper timing of signals. Twiddle factors should also be delayed to cope with the delayed sequence.


## 3.3.2. R22SDF Optimization

Due to its simple control requirements, a simple counter was sufficient as the entire controller for the R22SDF. To speed up the controller, a fast adder could potentially be faster than a simple ripple-carry adder. However, due to the small number of stages (log4N), no substantial savings were found for a fast adder. Pipeline registers were added between major elements and also between stages. Note that the R22SDF is not suited for adding pipeline registers within individual butterfly elements, because this would break the timing for the data feedback path. Figure 10 presents the pipelined stages. Note that registers were only added between element units; in addition, registers were added as necessary to keep the control signals properly timed.Figure 10
Adding pipeline registers for R22SDF.


## 4. Rounding Scheme and SQNR

Due to finite wordlength effects, the implemented FFTs always scaled by1/N at the output of the design. This scaling factor was distributed as divide-by-two operations throughout each stage to reduce error propagation. As is well known, truncation or conventional rounding (which is denoted as round-half-up) will bring a notable quantization error bias in divide-by-two operations, and this bias will accumulate throughout the processing chain [5]. To alleviate the bias, three unbiased rounding methods are investigated for division by two.Sign Bit-Based Rounding
In this scenario, if the MSB of the number to be divided is 0 (i.e., positive number) it is rounded-half-up. This will have a positive bias. On the other hand, if the MSB is 1 (i.e., negative number) it is truncated, leaving a negative bias. Assuming that the positive and negative numbers are uniformly distributed, this approach will lead to an unbiased rounding scheme. However, selecting the bias based on the MSB implies that these two rounding methods coexist in a single rounding position, which requires extra hardware. This increases the critical path, harming the performance. So it is not chosen.Randomized [7]
In this scenario, if the bit to be rounded is 1, a random up or down rounding is performed. If it is 0, the same rounding scheme as done previously is performed. From the statistical point of view, no bias exists. But this method requires a random bit generator and a long accumulation time, requiring big extra hardware resources and significantly affects the performance. So it is not implemented.Balanced Stages Rounding [11]
This rounding method explores balancing between stages. Round-half-up and truncation are used in an interlaced fashion, as shown in Figure11.
For an even number of stages, this will achieve the same result as the randomized approach, while having a smaller resource usage and simpler control. This scheme fits the R22SDF architecture particularly well, because the two butterfly elements within same stage of R22SDF can be naturally balanced. This method was chosen for the designs presented in the paper.
In order to compute the signal-to-quantization noise ratio (SQNR), random generated noise was used as the input to the pipeline FFT. A Matlab script generated double precision floating point FFT results, which were used as the true values. Figure12 shows how they are compared with the fixed-point implementations. Random experiments were run several times and averaged to get a better error approximation.Figure 11
Balanced stages rounding.Figure 12
SQNR calculation.


## 5. Results and Analysis

### 5.1. SQNR Results

Figure13 shows the SQNR results with different rounding schemes (balanced stages, truncation, and round-half-up), for R4SDC and R22SDF, respectively, for a 16-bit data width (input data, twiddle factors, and output data are 16 bits). The balanced stage rounding typically improved the SQNR by 1-2 dB. The balanced stages scheme gives better SQNR, because it leverages the randomness between stages. The truncation and round-half-up only reserve half of the information.Rounding effects on SQNR.
(a)
R4SDC(b)
R22SDFTable3 presents the SQNR results as they vary with FFT size. The larger the FFT, the worse the SQNR due to the longer processing chain. Both architectures gave comparable results in terms of SQNR. It is clear that larger data widths will also give better SQNR but will increase area and critical path. A 16-bit wordlength is a sufficient choice for many signal processing applications.Table 3
SQNR with different FFT sizes.
FFT sizeInput data widthTwiddle factor widthStage numberSQNR (dB)R4SDC161616282.29641616373.492561616467.4710241616561.25R22SDF161616281.82641616374.472561616468.2210241616562.68The FFT architectures with smaller wordlengths than 16 bits are also implemented. The example in the Figure14 shows the R4SDC architecture for an N=1024 point FFT. Every bit of word length increment brings about 6 dB of SQNR gain.Figure 14
SQNR variation with different word lengths.


### 5.2. Implementation Results

Table4 gives the performance results of both architectures with different FFT sizes on Spartan-3 FPGAs (90 nm) [12]. The R22SDF achieved a smaller area and better throughput per area than the R4SDC. Due to the pipeline design, the maximum clock frequency did not change drastically with FFT size for either design. As expected the throughput per area decreases for larger FFT sizes, which require more stages and area.Table 4
Implementation results on Spartan-3 devices.
PointInput dataTwiddle factorSlicesBlockMax. speedLatencyTransform timeThroughputThroughput/areasizewidthwidthRAM(MHz)(cycles)CyclesTime (μs)(MS/s)(MS/s/slice)R4SDC1616164682108.2021160.15108.200.2316416169522107.2373640.60107.230.113256161619903111.982692562.76111.980.0561024161644098123.84104110248.27123.840.028R22SDF1616164272121.2422160.13121.240.284641616810298.1474640.6598.140.12125616161303398.732702562.5998.730.076102416162802895.251042102410.7595.250.034Table5 presents the results on Virtex-4 FPGAs (90 nm) using a 16-bit wordlength. Virtex-4 FPGAs have hardwired DSP modules called DSP48 blocks, which are high-speed modules optimized for signal processing operations such as multiply-accumulate, and FIR filtering. By utilizing these DSP48 blocks, the maximum clock frequency increased substantially over the Spartan-3 devices.Table 5
Implementation results on Virtex-4 devices.
PointInput dataDSP48SlicesBlockMax. speedLatencyTransform timeThroughputThroughput/areasizewidthRAM(MHz)(cycles)CyclesTime (μs)(MS/s)(MS/s/slice)R4SDC161645301236.721160.07236.70.447641688032236.473640.27236.40.294256161213703218.92692561.17218.90.1601024161630648219.2104110244.67219.20.072R22SDF161645171237.922160.07237.90.460641687792236.774640.27236.70.304256161212343236.72702561.08236.70.1921024161622568235.6104210244.35235.60.104Comparisons with prior art are shown in Table6, which shows publicly available pipeline FFT implementations on FPGAs from literature. For fair comparison, since many of the prior art implementations were implemented on Virtex-E FPGAs (180 nm), the designs are also implemented on Virtex-E. The best performance for the R22SDF method for a 16-bit 1024-point FFT was published by Sukhsawas and Benkrid in [8]. They used Handel-C as a rapid prototype language and implemented the design on Virtex-E FPGAs. They achieved 82 MHz maximum clock frequency and 7365 slices, giving a throughput per area ratio of 0.011 Msamples/s/slice.Table 6
Performance comparison versus prior art on Virtex-E devices.
FFT DesignPointInput dataTwiddle factorSlicesBlockMax. speedLatencyTransform timeThroughputThroughput/areasizewidthwidthRAM(MH)(Cycle)CyclesTime (μs)(MS/s)(MS/s/slice)Amphion [8]1024131316399575097409671.8614.250.009Xilinx [8, 9]10241616196824834096409649.3520.750.011Sundance [10]10241610803120491320132027.0049.000.006Suksawas R22SDF [8]10241616736528821099102412.4982.000.011Our R22SDF1024161650083295.01042102410.7895.000.019Our R4SDC1024161670523294.21041102410.8794.200.013On the Virtex-E, our R22SDF achieved better performance of 95 MHz and a smaller area of 5008 slices, giving a superior throughput per area ratio of 0.019 Msamples/s/slice. Our R4SDC architecture was also superior to prior art, running at 94.2 MHz and using 7052 slices, a throughput per area ratio of 0.013 Msamples/s/slice.Another point of reference is the Xilinx FFT IP core. For comparison sake, the IP core for Virtex-E is shown in the table. The Virtex-E core shows four times the latency (4096) in cycles due to its internal architecture. Its throughput per area ratio is also only 0.011 Msamples/s/slice. Note that all comparisons for throughput per area do not take into account block RAMs, though each of the designs had a similar number of required block RAMs. However, the Xilinx FFT DSP core could perform better with new Xtreme technology: on Virtex 4 device 4vsx25-10, 1024-point FFT could be finished within 2.85 nanoseconds in best case, while cost 2141 Slices, 7 block RAMs, and 46 Xtreme DSP slices [13].


## 5.1. SQNR Results

Figure13 shows the SQNR results with different rounding schemes (balanced stages, truncation, and round-half-up), for R4SDC and R22SDF, respectively, for a 16-bit data width (input data, twiddle factors, and output data are 16 bits). The balanced stage rounding typically improved the SQNR by 1-2 dB. The balanced stages scheme gives better SQNR, because it leverages the randomness between stages. The truncation and round-half-up only reserve half of the information.Rounding effects on SQNR.
(a)
R4SDC(b)
R22SDFTable3 presents the SQNR results as they vary with FFT size. The larger the FFT, the worse the SQNR due to the longer processing chain. Both architectures gave comparable results in terms of SQNR. It is clear that larger data widths will also give better SQNR but will increase area and critical path. A 16-bit wordlength is a sufficient choice for many signal processing applications.Table 3
SQNR with different FFT sizes.
FFT sizeInput data widthTwiddle factor widthStage numberSQNR (dB)R4SDC161616282.29641616373.492561616467.4710241616561.25R22SDF161616281.82641616374.472561616468.2210241616562.68The FFT architectures with smaller wordlengths than 16 bits are also implemented. The example in the Figure14 shows the R4SDC architecture for an N=1024 point FFT. Every bit of word length increment brings about 6 dB of SQNR gain.Figure 14
SQNR variation with different word lengths.


## 5.2. Implementation Results

Table4 gives the performance results of both architectures with different FFT sizes on Spartan-3 FPGAs (90 nm) [12]. The R22SDF achieved a smaller area and better throughput per area than the R4SDC. Due to the pipeline design, the maximum clock frequency did not change drastically with FFT size for either design. As expected the throughput per area decreases for larger FFT sizes, which require more stages and area.Table 4
Implementation results on Spartan-3 devices.
PointInput dataTwiddle factorSlicesBlockMax. speedLatencyTransform timeThroughputThroughput/areasizewidthwidthRAM(MHz)(cycles)CyclesTime (μs)(MS/s)(MS/s/slice)R4SDC1616164682108.2021160.15108.200.2316416169522107.2373640.60107.230.113256161619903111.982692562.76111.980.0561024161644098123.84104110248.27123.840.028R22SDF1616164272121.2422160.13121.240.284641616810298.1474640.6598.140.12125616161303398.732702562.5998.730.076102416162802895.251042102410.7595.250.034Table5 presents the results on Virtex-4 FPGAs (90 nm) using a 16-bit wordlength. Virtex-4 FPGAs have hardwired DSP modules called DSP48 blocks, which are high-speed modules optimized for signal processing operations such as multiply-accumulate, and FIR filtering. By utilizing these DSP48 blocks, the maximum clock frequency increased substantially over the Spartan-3 devices.Table 5
Implementation results on Virtex-4 devices.
PointInput dataDSP48SlicesBlockMax. speedLatencyTransform timeThroughputThroughput/areasizewidthRAM(MHz)(cycles)CyclesTime (μs)(MS/s)(MS/s/slice)R4SDC161645301236.721160.07236.70.447641688032236.473640.27236.40.294256161213703218.92692561.17218.90.1601024161630648219.2104110244.67219.20.072R22SDF161645171237.922160.07237.90.460641687792236.774640.27236.70.304256161212343236.72702561.08236.70.1921024161622568235.6104210244.35235.60.104Comparisons with prior art are shown in Table6, which shows publicly available pipeline FFT implementations on FPGAs from literature. For fair comparison, since many of the prior art implementations were implemented on Virtex-E FPGAs (180 nm), the designs are also implemented on Virtex-E. The best performance for the R22SDF method for a 16-bit 1024-point FFT was published by Sukhsawas and Benkrid in [8]. They used Handel-C as a rapid prototype language and implemented the design on Virtex-E FPGAs. They achieved 82 MHz maximum clock frequency and 7365 slices, giving a throughput per area ratio of 0.011 Msamples/s/slice.Table 6
Performance comparison versus prior art on Virtex-E devices.
FFT DesignPointInput dataTwiddle factorSlicesBlockMax. speedLatencyTransform timeThroughputThroughput/areasizewidthwidthRAM(MH)(Cycle)CyclesTime (μs)(MS/s)(MS/s/slice)Amphion [8]1024131316399575097409671.8614.250.009Xilinx [8, 9]10241616196824834096409649.3520.750.011Sundance [10]10241610803120491320132027.0049.000.006Suksawas R22SDF [8]10241616736528821099102412.4982.000.011Our R22SDF1024161650083295.01042102410.7895.000.019Our R4SDC1024161670523294.21041102410.8794.200.013On the Virtex-E, our R22SDF achieved better performance of 95 MHz and a smaller area of 5008 slices, giving a superior throughput per area ratio of 0.019 Msamples/s/slice. Our R4SDC architecture was also superior to prior art, running at 94.2 MHz and using 7052 slices, a throughput per area ratio of 0.013 Msamples/s/slice.Another point of reference is the Xilinx FFT IP core. For comparison sake, the IP core for Virtex-E is shown in the table. The Virtex-E core shows four times the latency (4096) in cycles due to its internal architecture. Its throughput per area ratio is also only 0.011 Msamples/s/slice. Note that all comparisons for throughput per area do not take into account block RAMs, though each of the designs had a similar number of required block RAMs. However, the Xilinx FFT DSP core could perform better with new Xtreme technology: on Virtex 4 device 4vsx25-10, 1024-point FFT could be finished within 2.85 nanoseconds in best case, while cost 2141 Slices, 7 block RAMs, and 46 Xtreme DSP slices [13].


## 6. Conclusions

In this paper, optimized implementations of R4SDC and R22SDF pipeline FFT processors on Spartan-3, Virtex-4, and Virtex-E FPGAs are presented. The 16-bit 1024-point FFT with the R22SDF architecture had a maximum clock frequency of 95.2 MHz and used 2802 slices on the Spartan-3. The R4SDC ran at 123.8 MHz and used 4409 slices on the Spartan-3. On Virtex-4 device, the numbers became 235.6 MHz and 2256 slices for R22SDF and 219.2 MHz and 3064 slices for R22SDF, respectively. Different rounding schemes were analyzed and compared. SQNR analysis showed the balanced stages rounding scheme gave high SQNR with small overhead. The SQNR will gain around 6 dB with every bit increment of word length.The R22SDF architecture outperformed the R4SDC architecture in terms of throughput per area, a measure of efficiency, for the 1024-point FFT. This is due to its simpler controller and compatibility with pipelining insertion. Both architectures have comparable maximum clock frequency and SQNR with the balanced stages rounding scheme.



---

*Source: 219140-2009-09-14.xml*