viva ppt

38
FPGA IMPLEMENTATION OF FIR FILTER STRUCTURES By G. Aruna Sukeerthi (M.Tech - C&C) Regd. No: 08021D3627 Under the Guidance of Sri K.BABULU, Associate Professor in ECE, JNTU CE, Kakinada

Upload: cihd1698488

Post on 26-Oct-2014

114 views

Category:

Documents


4 download

DESCRIPTION

electronics and commn

TRANSCRIPT

Page 1: VIVA PPT

FPGA IMPLEMENTATION OF FIR FILTER STRUCTURES

ByG. Aruna Sukeerthi (M.Tech - C&C)

Regd. No: 08021D3627

Under the Guidance of

Sri K.BABULU,Associate Professor in ECE,

JNTU CE, Kakinada

Page 2: VIVA PPT

AIM

This Project work mainly concentrates on Design and FPGA implementation of FIR filter structures.

Design Entry -VHDL Language Simulation -ModelSim XE III 6.2g Synthesis -Xilinx Synthesis Tool FPGA Target Device -Spartan3E:XC3S500E

Page 3: VIVA PPT

INTRODUCTION

Choices of implementing a DSP application (FIR Filter)

Using a dedicated DSP processor

Using a hardware approachFPGAASIC

Page 4: VIVA PPT

FIR FILTER

An FIR filter is usually implemented by using a series of delays, multipliers, and adders to create the filter's output.

The logical structure of an FIR filter

Page 5: VIVA PPT

PROBLEMS IN DESIGNING FIR FILTER

• Excessive area

• Power consumption

Page 6: VIVA PPT

FIR FILTER DESIGN WITH FDA TOOL

6-tap FIR Filter Structures are designed with constant and fixed coefficients.

• Filter specifications

• Sampling Frequency Fs = 50 KHz

• Pass Band Edge Frequency = 15 KHz

• Stop Band Edge frequency = 18 KHz

Page 7: VIVA PPT

FIR FILTER STRUCTURES

Direct form FIR filter

Transposed form FIR filter

Symmetric form FIR filter

Distributed arithmetic FIR filter

Page 8: VIVA PPT

MODULES IN FIR FILTER STRUCTURES

• Adder/ Subtractor

• Multiplier

• Parallel In Parallel Out shift register

• LUT

• Accumulator

Page 9: VIVA PPT

DIRECT FORM FIR FILTER - BLOCK DIAGRAM

y(n)

16 16 16 16 16 16

16 16 16 16 16 16

1616161616

16 16 16 16 16

16

16

Page 10: VIVA PPT

TRANSPOSED FORM FIR FILTER - BLOCK DIAGRAM

h(6)

16

16

Z-1

h(5)

16

16Z-1

h(4)

16

16Z-1

h(3)

16

16Z-1

h(2)

16

16Z-1

h(1)

16

16Z-1

X[n]

Y[n]

Page 11: VIVA PPT

SYMMETRIC FORM FIR FILTER - BLOCK DIAGRAM

Page 12: VIVA PPT

DISTRIBUTED ARITHMETIC FIR FILTER - BLOCK DIAGRAM

Page 13: VIVA PPT

SIMULATION RESULTS

Impulse Response

Page 14: VIVA PPT

SIGNAL DESCRIPTION• Input Signals : rst, clk,x (15 downto 0)

• Output Signal : count, y (15 downto 0)

• Logic: Whenever the ‘rst’ is set to ‘1’ the register will reset i.e.; all the

bits are set to ‘0’. When rst=’0’ normal operation will be carried out. Under the raising edge of clock the input is assigned at the input line. Here, ‘Count’ is an intermediate signal that counts the number of clock cycles. When the count reaches the value 6 that indicates input sequence is entirely processed till the last stage. The output response of a filter for an impulse is nothing but the sequence of filter coefficients.

Page 15: VIVA PPT

Contd…

Step Response

Page 16: VIVA PPT

Contd..

• Input Signals : rst, clk,x (15 downto 0)

• Output Signal : y (15 downto 0)

• Logic: Whenever the ‘rst’ is set to ‘1’ the register will reset i.e.; all the

bits are set to ‘0’. When rst=’0’ normal operation will be carried out. Under the raising edge of clock the input is assigned at the input line. The input x is a step signal hence it is shown as a sequence of bits for which a few bits are 0’s at the start and next all 1’s. The output response of a filter for a step is nothing but the cumulative sum of fir filter coefficients processed.

Page 17: VIVA PPT

Contd…

Low frequency Sine wave

Page 18: VIVA PPT

Contd..

• Input Signals : rst, clk,x (15 downto 0)

• Output Signal : y (15 downto 0)

• Logic: Whenever the ‘rst’ is set to ‘1’ the register will reset i.e.; all the

bits are set to ‘0’. When rst=’0’ normal operation will be carried out. Under the raising edge of clock the input is assigned at the input line. For the sine wave signal at the input, the filter gives the output same as input signal without any attenuation as this is a low pass filter.

Page 19: VIVA PPT

Contd…

Low frequency sine wave with added noise

Page 20: VIVA PPT

Contd..

• Input Signals : rst, clk,x (15 downto 0)• Output Signal : y (15 downto 0)• Logic: Whenever the ‘rst’ is set to ‘1’ the register will reset

i.e.; all the bits are set to ‘0’. When rst=’0’ normal operation will be carried out. Under the raising edge of clock the input is assigned at the input line. The noise added sine wave gives the response as the sine wave with reduction in noise to some extent at the output. As this is a low pass filter high frequency components are attenuated to some extent.

Page 21: VIVA PPT

SYNTHESIS REPORT ANALYSIS -COMPARISON OF FIR FILTER

STRUCTURESFIR

Structures Number of arithmetic

operationCritical path

delay(ns)

FPGA area(number of

slices)Additions

Multiplications

Direct Structure

5 6 6.669 257

Transposed

Structure

5 6 6.047 95

Symmetric structure

5 3 1.967 95

Distributed Arithmetic Structure

5 shift & Add

operations

0 6.290 39

Page 22: VIVA PPT

DIRECT FORM FIR FILTER- RTL VIEW

Page 23: VIVA PPT

TRANSPOSED FORM FIR FILTER- RTL VIEW

Page 24: VIVA PPT

SYMMETRIC FORM FIR FILTER- RTL VIEW

Page 25: VIVA PPT

DISTRIBUTED ARITHMETIC FIR FILTER – RTL VIEW

Page 26: VIVA PPT

FLOOR PLANNING

Page 27: VIVA PPT

ROUTING ANALYSIS

Page 28: VIVA PPT

CHIP VIEW

Page 29: VIVA PPT

PROTOTYPING ON FPGA

• FIR filter architectures are implemented on Spartan3E FPGA device by incorporating ChipScope modules into design.

• The implemented filter structure is tested for validation by the following test cases. Impulse responseStep responseLow frequency sine waveLow frequency sine wave with riding high frequency

noise on it

Page 30: VIVA PPT

ChipScope Pro Analyser Results

Impulse Response

Page 31: VIVA PPT

Contd…

Step response

Page 32: VIVA PPT

Contd…

• Input : Low Frequency Sine Wave

• Output

Page 33: VIVA PPT

Contd…• Input : Low freq sine plus high frequency noise

• Output

Page 34: VIVA PPT

APPLICATIONS

• FPGA based digital signal processing algorithms

• Digital front end receiver for filtering the high frequency components in digital

• Several other places where FIR filter is required.

Page 35: VIVA PPT

CONCLUSION

• Different FIR filter architectures have been introduced and the sub modules involved for all the architectures have been discussed clearly.

• Simulation for all the FIR filter architectures has been carried out and the outputs have been clearly discussed by considering four different input formats.

• Synthesis has been performed for all the FIR filter structures.

• All the FIR filter architectures have been successfully implemented on Spartan 3E FPGA device.

Page 36: VIVA PPT

FUTURE SCOPE

• The implemented FIR structures at code level can be modified to make full benefit from the FPGA, such as using fast carry chains, Embedded Array Blocks etc.

• To achieve the peak performance fully parallel pipelined version can be implemented

• In the present work the DA based FIR filter is implemented with one LUT and without pipelining. This can be extended to full parallel implementation with more than one LUTs for high speed applications. The following figure shows a possible architecture.

Page 37: VIVA PPT

BIBLIOGRAPHY Simon Haykin, Communication Systems, Fourth Edition, John

Wiley & Sons, Inc. J. Bhaskar, A VHDL Premier, Third Edition, Pearson

Education Asia. 5. Volnei A. Pedroni, Circuit design with VHDL. Digital Signal Processing with Field Programmable Gate

Arrays, by U. Meyer-Baese, Springer Publications. Practical FIR Filter Design in MATLAB, Revision 1.1, Ricardo

A. Losada The MathWorks, Inc. Essentials of electronic testing for digital, memory and mixed

signal VLSI- by Micael Lee Bushnell, Vishwani D Agarwal. www.hunteng.co.uk www.fpgajournal.com

Page 38: VIVA PPT