Top Banner
Patterson D6A 1 VHDL/FPGA Applications in Signal Processing and Communications By: Robert Patterson and Ismail Jouny
18

VHDL FPGA Applications

Apr 16, 2015

Download

Documents

bayman66

FPGA Applications
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: VHDL FPGA Applications

Patterson D6A 1

VHDL/FPGA Applications inSignal Processing andCommunications

By: Robert Patterson and Ismail Jouny

Page 2: VHDL FPGA Applications

2Patterson D6A

Overview of Presentation

n Description of an FPGA

n Description of VHDL

n Applications– Error Control Coding

– CDMA Communications

– Master/Slave And Token Ring Networks

– Pattern Classification With A Hopfield NeuralNet

Page 3: VHDL FPGA Applications

3Patterson D6A

Design Options

n TTL logic chips– Difficult for large designs

– Customized board

n PLD– Limited by power consumption and time delay

n ASIC/MPGA– Custom masks required for wiring

– Expensive

– Long turnaround time

Page 4: VHDL FPGA Applications

4Patterson D6A

What is an FPGA?

n Field Programmable Gate Array

n Consists of:n An array of configurable logic blocks

n Programmable I/O blocks

n Programmable interconnects

Page 5: VHDL FPGA Applications

5Patterson D6A

Benefits of Using an FPGA

n Programmed by users at their site usingprogramming hardware

n Can implement tens of thousands of gates oflogic on a single IC

n Can be programmed many times

n Short development time

n Low cost

Page 6: VHDL FPGA Applications

6Patterson D6A

What is VHDL?

n VHSIC Hardware Definition Language

n Common Language for Designers (> 50%)

n High-Level Language

n Simulation and Synthesis Tools areAvailable

Page 7: VHDL FPGA Applications

7Patterson D6A

Error Control System Overview

A/D converter

Encoder

Introduction of Error

Decoder

D/A converter

Page 8: VHDL FPGA Applications

8Patterson D6A

Error Control Coding Overview

n By adding redundancy in the signal, errorscan be detected and corrected

n Signals are broken up into blocks of data

n Parity calculations add extra bits to signal

n Receiver tries to detect and correct the errorthrough the use of the parity bits

Page 9: VHDL FPGA Applications

9Patterson D6A

(7,4) Hamming Code

n 4 data bits => 7-bit code word

n Minimum distance between codes is 3

n All single bit errors can be corrected

- or -

n All single and double bit errors can bedetected

A B

Page 10: VHDL FPGA Applications

10Patterson D6A

What is CDMA?

n Code Division Multiple Access

n Multiple users can use a wide slice of thebandwidth

n A unique code accesses the user’sinformation

n Codes are made orthogonal as much aspossible to reduce cross correlation

Page 11: VHDL FPGA Applications

11Patterson D6A

CDMA Design Overview

Encoder

Encoder

Pn1

Pn2

Decoder

Decoder

Pn1

Pn2

Page 12: VHDL FPGA Applications

12Patterson D6A

Spectrum Spreading

n Data signal

n PN-code

n Coded signal

Received signal at Decoder #1 = (M1•Pn1 + M2•Pn2)•Pn1

= M1•Pn1•Pn1 + M2•Pn1•Pn2

= M1 + M2•Pn1•Pn2

= M1

Page 13: VHDL FPGA Applications

13Patterson D6A

Master/Slave Network Overview

Page 14: VHDL FPGA Applications

14Patterson D6A

Token Ring Network Overview

Page 15: VHDL FPGA Applications

15Patterson D6A

Hopfield Neural Net

n An artificial network that is capable ofrecalling certain stored patterns from a setof inputs

Page 16: VHDL FPGA Applications

16Patterson D6A

Hopfield Neural Net (cont.)

n The weight matrix is formed fromexemplars

≤≤

1-N j ,i 0 j , = i ,0

j i xx = t

, sj

si

1-M

0 = sij

Page 17: VHDL FPGA Applications

17Patterson D6A

Problems Encountered

n VHDL à Synthesis/Implementation

n Memory in FPGA

n Speed of computer in the synthesis ofdesign

Page 18: VHDL FPGA Applications

18Patterson D6A

Conclusions

n VHDL/FPGA combination is a verypowerful design tool– Versatile

– Adaptable

– Efficient

– Economic