design of radix-4 and radix-8 butterfly units using vhdl · 2018-06-19 · march 2015, volume 2,...

5
March 2015, Volume 2, Issue 3 JETIR (ISSN-2349-5162) JETIR1503071 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 761 Design of Radix-4 and Radix-8 butterfly units using VHDL 1 Jaishri Katekhaye, 2 Amit Lamba, 3 Vipin Bhure 1 PG Scholar, 2 Assistant Professor, 3 Assistant Professor 1 Electronics and Communication Engineering, AbstractOrthogonal Frequency Division Multiplexing (OFDM) is the promising solution for enhancing the data rates of wireless communication. Fast Fourier Transform (FFT) processor is one of the computationally complex modules of OFDM system. There are various algorithms available for designing the FFT processor viz., radix-2, radix-4, radix-8, split radix, mixed radix. Out of these, we have designed here butterfly units of radix-4 and radix-8. It is found that hardware required for single radix-8 butterfly is more as compare to the radix-4 butterfly. For simulation we used XILINX 14.2 ISE software and for coding we employed Very High Speed Integrated Circuit Hardware Description Language (VHDL). IndexTermsRadix-4, Radix-8, VHDL. ________________________________________________________________________________________________________ I. INTRODUCTION Fast Fourier transform (FFT) are widely used in different areas of applications such as communications, radars, imaging, etc. One of the major concerns for researchers is to meet real-time processing requirements and to reduce hardware complexity mainly with respect to area and power and to improve processing speed. Discrete fourier transform (DFT) is defined as [] = ∑ []. −1 =0 (1) = −2/ 0≤ k ≤ N-1 Where X[k] and x[n] are frequency domain and time domain sequences. To compute all N values DFT requires N² complex multiplications and N(N-1) complex additions. Since the amount of computation and thus the computation time, is approximately proportional to N², it will cost a long computation time for large values of N. For this reason, it is very important to reduce the number of multiplications and additions. This algorithm is an efficient algorithm to compute the DFT, which is called Fast Fourier Transform (FFT) algorithm. A. Radix-4 The butterfly of a radix-4 algorithm consists of four inputs and four outputs Fig 1. The FFT length is 4M, where M is the number of stages. A stage is half of radix-2. The radix-4 DIF FFT divides an N-point discrete Fourier transform (DFT) into four N/4 -point DFTs, then into 16 N/16 -point DFTs, and so on. In the radix-2 DIF FFT, the DFT equation is expressed as the sum of two calculations. One calculation sum for the first half and one calculation sum for the second half of the input sequence. Similarly, the radix-4 DIF fast Fourier transform (FFT) expresses the DFT equation as four summations, then divides it into four equations, each of which computes every fourth output sample. The following equations illustrate radix-4 decimation in frequency. There are two types of algorithms Decimation-in-time (DIT) and Decimation-in-frequency (DIF). [] = ∑ []. −1 =0 Above formula is split into four summations: X [K] = () + 4 −1 =0 () 2 4 −1 4 + ∑ () 3 4 −1 2 4 + () −1 3 4 X[K]= () + ∑ ( + 4 ) (+ 4 ) +∑ ( + 2 ) (+ 2 ) 4 −1 =0 +∑ ( + 3 4 ) (+ 3 4 ) 4 −1 =0 4 −1 =0 4 −1 =0 =[() + ( + 4 ) (+ 4 ) + ( + 2 ) (+ 2 ) + ( + 3 4 ) (+ 3 4 ) ] 4 −1 =0 . (2) The three twiddle factor coefficients can be expressed as follows:

Upload: others

Post on 28-Mar-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Design of Radix-4 and Radix-8 butterfly units using VHDL · 2018-06-19 · March 2015, Volume 2, Issue 3 JETIR (ISSN-2349-5162) JETIR1503071 Journal of Emerging Technologies and Innovative

March 2015, Volume 2, Issue 3 JETIR (ISSN-2349-5162)

JETIR1503071 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 761

Design of Radix-4 and Radix-8 butterfly units using

VHDL 1Jaishri Katekhaye,

2Amit Lamba,

3Vipin Bhure

1PG Scholar,

2Assistant Professor,

3 Assistant Professor

1Electronics and Communication Engineering,

Abstract— Orthogonal Frequency Division Multiplexing (OFDM) is the promising solution for enhancing the data rates of

wireless communication. Fast Fourier Transform (FFT) processor is one of the computationally complex modules of

OFDM system. There are various algorithms available for designing the FFT processor viz., radix-2, radix-4, radix-8, split

radix, mixed radix. Out of these, we have designed here butterfly units of radix-4 and radix-8. It is found that hardware

required for single radix-8 butterfly is more as compare to the radix-4 butterfly. For simulation we used XILINX 14.2 ISE

software and for coding we employed Very High Speed Integrated Circuit Hardware Description Language (VHDL).

IndexTerms— Radix-4, Radix-8, VHDL. ________________________________________________________________________________________________________

I. INTRODUCTION

Fast Fourier transform (FFT) are widely used in different areas of applications such as communications, radars, imaging, etc. One

of the major concerns for researchers is to meet real-time processing requirements and to reduce hardware complexity mainly with

respect to area and power and to improve processing speed.

Discrete fourier transform (DFT) is defined as

𝑋[𝐾] = ∑ 𝑥[𝑛].𝑁−1𝑛=0 𝑊𝑁

𝑛𝑘 (1)

𝑊𝑁𝑛𝑘 = 𝑒−𝑗2𝜋𝑛𝑘/𝑁 0≤ k ≤ N-1

Where X[k] and x[n] are frequency domain and time domain sequences. To compute all N values DFT requires N² complex

multiplications and N(N-1) complex additions. Since the amount of computation and thus the computation time, is approximately

proportional to N², it will cost a long computation time for large values of N. For this reason, it is very important to reduce the

number of multiplications and additions. This algorithm is an efficient algorithm to compute the DFT, which is called Fast Fourier

Transform (FFT) algorithm.

A. Radix-4

The butterfly of a radix-4 algorithm consists of four inputs and four outputs Fig 1. The FFT length is 4M, where M is the number

of stages. A stage is half of radix-2. The radix-4 DIF FFT divides an N-point discrete Fourier transform (DFT) into four N/4 -point

DFTs, then into 16 N/16 -point DFTs, and so on. In the radix-2 DIF FFT, the DFT equation is expressed as the sum of two

calculations. One calculation sum for the first half and one calculation sum for the second half of the input sequence. Similarly, the

radix-4 DIF fast Fourier transform (FFT) expresses the DFT equation as four summations, then divides it into four equations, each

of which computes every fourth output sample. The following equations illustrate radix-4 decimation in frequency. There are two

types of algorithms Decimation-in-time (DIT) and Decimation-in-frequency (DIF).

𝑋[𝐾] = ∑ 𝑥[𝑛].

𝑁−1

𝑛=0

𝑊𝑁𝑛𝑘

Above formula is split into four summations:

X [K] = ∑ 𝑥(𝑛)𝑊𝑁𝑛𝑘 +

𝑁

4−1

𝑛=0 ∑ 𝑥(𝑛)𝑊𝑁𝑛𝑘

2𝑁

4−1

𝑁

4

+ ∑ 𝑥(𝑛)𝑊𝑁𝑛𝑘

3𝑁

4−1

2𝑁

4

+ ∑ 𝑥(𝑛)𝑊𝑁𝑛𝑘 𝑁−1

3𝑁

4

X[K]= ∑ 𝑥(𝑛)𝑊𝑁𝑛𝑘 + ∑ 𝑥 (𝑛 +

𝑁

4) 𝑊𝑁

(𝑛+𝑁

4)𝑘

+ ∑ 𝑥 (𝑛 +𝑁

2) 𝑊𝑁

(𝑛+𝑁

2)𝑘

𝑁

4−1

𝑛=0 + ∑ 𝑥 (𝑛 +3𝑁

4) 𝑊𝑁

(𝑛+3𝑁

4)𝑘

𝑁

4−1

𝑛=0

𝑁

4−1

𝑛=0

𝑁

4−1

𝑛=0

=∑ [𝑥(𝑛) + 𝑥 (𝑛 +𝑁

4) 𝑊𝑁

(𝑛+𝑁

4)𝑘

+ 𝑥 (𝑛 +𝑁

2) 𝑊𝑁

(𝑛+𝑁

2)𝑘

+ 𝑥 (𝑛 +3𝑁

4) 𝑊𝑁

(𝑛+3𝑁

4)𝑘

]𝑁

4−1

𝑛=0 . 𝑊𝑁𝑛𝑘 (2)

The three twiddle factor coefficients can be expressed as follows:

Page 2: Design of Radix-4 and Radix-8 butterfly units using VHDL · 2018-06-19 · March 2015, Volume 2, Issue 3 JETIR (ISSN-2349-5162) JETIR1503071 Journal of Emerging Technologies and Innovative

March 2015, Volume 2, Issue 3 JETIR (ISSN-2349-5162)

JETIR1503071 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 762

Equation (2) can thus be expressed as:

(3)

To arrive at four point DFT decomposition, let 𝑊𝑁4 = 𝑊𝑁

. Then equation (3) can be written as four N/4 point DFTs

(4)

for k=0 to N/4

X(4k), X(4k+1), X(4k+2) and X(4k+3) are N 4 -point DFTs. Each of their N/4 points is a sum of four input samples x(n), x(n+N

4 ), x(n+N 2 ) and x(n+3N 4 ), each multiplied by either +1, -1, j, or -j. The sum is multiplied by a twiddle factor (WN0, WNn,

WN2n and WN3n ). The four N/4 -point DFTs together make up an N-point DFT. Each of these N/4 -point DFTs is divided into

four N/16 -point DFTs. Each N/16 DFT is further divided into four N/64 -point DFTs, and so on, until the final decimation

produces four-point DFTs. The four-point DFT equation makes up the butterfly calculation of the radix-4 FFT. A radix-4 butterfly

is shown graphically in fig 1.

Figure 1. Radix-4 DIF FFT butterfly

The SFG for radix-4 is derived from Eq.4

Figure 2. SFG of the radix-4 butterfly

B. Radix-8

Page 3: Design of Radix-4 and Radix-8 butterfly units using VHDL · 2018-06-19 · March 2015, Volume 2, Issue 3 JETIR (ISSN-2349-5162) JETIR1503071 Journal of Emerging Technologies and Innovative

March 2015, Volume 2, Issue 3 JETIR (ISSN-2349-5162)

JETIR1503071 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 763

Radix-8 algorithm has eight inputs and eight outputs. It operates on the DFT equation and divides it into eight N/8 point DFTs. By

using the FFT algorithm the computational complexity reduces to N log𝑟 𝑁 , where r represents the Radix-r FFT. The Radix-r FFT

can easily derived from DFT by decomposing the N point DFT into a set of recursively related r-point transform and x(n) is

powers of r. In Radix-8 algorithm the r is 8. The Radix-8 Decimation-In-Time and Decimation-In-Frequency Fast Fourier

Transform (FFTs) gain their speed by reusing the results of smaller, intermediate computations to compute multiple DFT

frequency outputs. The following equation illustrate radix-8 DIF.

𝑋[𝐾] = ∑ 𝑥(𝑛)𝑊𝑁𝑘𝑛 + ∑ 𝑥 (𝑛 +

𝑁

8) 𝑊𝑁

𝑘(𝑛+𝑁

8)

+𝑁

8−1

𝑛=0

𝑁

8−1

𝑛=0∑ 𝑥 (𝑛 +

2𝑁

8) 𝑊𝑁

𝑘(𝑛+2𝑁

8)

+𝑁

8−1

𝑛=0∑ 𝑥 (𝑛 +

3𝑁

8) 𝑊𝑁

𝑘(𝑛+3𝑁

8)

+𝑁

8−1

𝑛=0∑ 𝑥 (𝑛 +

𝑁

8−1

𝑛=0

4𝑁

8) 𝑊𝑁

𝑘(𝑛+4𝑁

8)

+ ∑ 𝑥 (𝑛 +5𝑁

8) 𝑊𝑁

𝑘(𝑛+5𝑁

8)

+ ∑ 𝑥 (𝑛 +6𝑁

8) 𝑊𝑁

𝑘(𝑛+6𝑁

8)

+𝑁

8−1

𝑛=0∑ 𝑥 (𝑛 +

7𝑁

8) 𝑊𝑁

𝑘(𝑛+7𝑁

8)

𝑁

8−1

𝑛=0

𝑁

8−1

𝑛=0 (5)

The basic butterfly of radix-8 is shown in following figure:

Figure 3. Radix-8 butterfly unit

From Eq.1

Let x = [x(0), x(1), ... , x(N-1)]T be the input signal sequence and X = [X(0), X(1), ... , X(N-1)]T be the output signal sequence.

Then

X = FN × x

where FN is the N×N DFT matrix whose elements are defined by [FN]ij = 𝑊𝑁𝑖𝑗(i, j ∊ [0, N-1]). For radix-8 FFT FN=F8.

The signal flow graph (SFG) of a butterfly implementing F8 is shown in Fig. 4. Note that all the signals in the SFG are complex

valued. From the above matrix SFG is derived for radix-8. We have divided SFG into three stages and the output of third stage is

multiplied with twiddle factors to get the final output.

Figure below shows the radix-8 SFG.

Stage 1 Stage 2 Stage 3

Figure 4. SFG of the radix-8 butterfly

II. SIMULATION RESULTS

Page 4: Design of Radix-4 and Radix-8 butterfly units using VHDL · 2018-06-19 · March 2015, Volume 2, Issue 3 JETIR (ISSN-2349-5162) JETIR1503071 Journal of Emerging Technologies and Innovative

March 2015, Volume 2, Issue 3 JETIR (ISSN-2349-5162)

JETIR1503071 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 764

Following figures show the simulation results of radix-4 and radix-8 butterfly units.

I. Figure 5: RTL view of radix-4 butterfly

Figure 6: Output of radix-4 butterfly

Table 1:Device utilization summary for radix-4

Figure 7:RTL view of radix-8 butterfly

Page 5: Design of Radix-4 and Radix-8 butterfly units using VHDL · 2018-06-19 · March 2015, Volume 2, Issue 3 JETIR (ISSN-2349-5162) JETIR1503071 Journal of Emerging Technologies and Innovative

March 2015, Volume 2, Issue 3 JETIR (ISSN-2349-5162)

JETIR1503071 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 765

Figure 8:Output of radix-8 butterfly

Table 2:Device utilization summary of radix-8

Table 3: Comparison of radix-4 and radix-8 butterfly

Parameters Radix-4 Radix-8

32-bit adder 84 195

32-bit subtractor 11 33

1-bit register 256 512

32-bit 2-to-1 multiplexer 84 196

III. CONCLUSION

In this paper, we have proposed basic butterfly unit of Radix-4 and Radix-8. Single unit of radix-4 butterfly requires 84 adders and

11 subtractors whereas radix-8 butterfly requires 195 adders and 33 subtractors. From table 3, it is clear that radix-8 butterfly

requires more hardware than radix-4 butterfly. The simulation is done by Xilinx synthesis tool. The waveforms are displayed by

XILINX ISE design suit 14.2.

REFERENCES

[1] Sheng Zhou, Xiaochun Wang, Jianjun Ji, Yanqun Wang, “Design and Implementation of a 1024-point High-speed FFT

Processor Based on the FPGA”, 6th international congress on image and signal processing ©2013 IEEE.

[2] K.Sowjanya, Leele Kumari, “Design and Performance Analysis of 32 and 64 Point FFT using Radix-2

Algorithm”,Proceedings of AECE-IRAJ International Conference, 14th July 2013.

[3] Deepak Revanna, Omer Anjum, Manuele Cucchi, Roberto Airoldi, Jari Nurmi, “A Scalable FFT Processor Architecture

for OFDM Based Communication Systems”.978-1-4799-0103-6/13/$31.00 ©2013 IEEE.

[4] Mounir Arioua, Said Belkouch, Mohamed Agdad, Moha M’rabet Hassani, “VHDL Implementation of an Optimized 8-

point FFT/IFFT processor in Pipeline Architecture for OFDM systems”, 978-1-61284-732-0/11/$26.00 ©2010IEEE.

[5] N Kirubanandasarathy , Dr.K.Karthikeyan & K.T hirunadanasikamani, “VLSI Design of Mixed radix FFT Processor for

MIMO OFDM in wireless Communications”, 978-1-4244-7770-8/10/$26.00 ©201 0 IEEE.

[6] Kala S, Nalesh S, S K Nandy, Ranjani Narayan, “Design of a Low Power 64 Point FFT Architecture for WLAN

Applications”, 978-1-4799-3570-3/13/$31.00 ©2013 IEEE.

[7] M.Vijaya kumar, M.Vidya and G.Sriramulu, “Design and VLSI Implementation of A Radix-4 64 - Point FFT Processor”.

International Journal of Research in Computer and Communication technology, IJRCCT, ISSN 2278-5841, Vol 1, Issue 7,

December 2012.

[8] T. Widhe, J. Melander, and L. Wanhammar, “Design of Efficient Radix-8 Butterfly PEs for VLSI” circuits and systems

1997.ISCAS’97,IEEE international symposium on volume 3,12 June 1997.