Вы находитесь на странице: 1из 30

Low Density Parity Check decoder Hardware Implementation

Ruchi Rani (2008EEE2225) Under guidance of Prof. Prof Jayadeva Dr.Shankar Prakriya

Indian Institute of Technology

LDPC code
Linear block code which has very sparse parity check matrix Random codes: based on random graphs Simple iterative decoding

Indian Institute of Technology

Type of LDPC Codes

Regular

H contains exactly Wc 1's per column and exactly Wr = Wc 1' per row, 1's

Irregular
If the number of 1's per column or row is not constant

Indian Institute of Technology

Tanner Graph
N = length of code = 10 K = number of check nodes = 5 M = N K = number of message bits = 5

c0

c1

c2

c3

c4 Check nodes

Variable nodes v0 0
4

v1 1

v2 2

v3 v4 3 4

v5 5

v6 6

v7 v8 7 8

v9 9

Indian Institute of Technology

Communication Model

Indian Institute of Technology

Encoding

Code = message . G Where G is generator matrix corresponding to previous parity check matrix

Indian Institute of Technology

Gaussian Channel
c = binary vector t = transmitted signal vector(using BPSK ) v = gaussian noise vector r=t+v Posterior probability of detection

Indian Institute of Technology

Indian Institute of Technology

Architectures

1. Serial Architecture 2. Parallel Architecture 3. S 3 Semi P ll l A h Parallel Architecture

Indian Institute of Technology

reduces the complexity of the interconnect reduces total area of the design all symbol nodes must be updated and the messages stored in memory before the update of the check nodes starts h k d decoding process very slow reducing the total throughput requires large memories to store all the messages addressing of the memories is another p g problem

10

Indian Institute of Technology

mapping directly the symbol and check nodes in the Tanner graph effcient from a speed point of view is demanding in terms of area, due to the interconnect between the processing elements

11

Indian Institute of Technology

trade-o between the routing problem typical of the parallel architecture and the reduction of the throughput f th th h t characteristic of the serial architecture suffer form memory access conflicts. These conflicts occur when multiple data accesses per cycle are required for the same memory bank. These conflicts are difficult to avoid if the code implemented is of random nature but can be avoided for structured codes

12

Indian Institute of Technology

Decoding
Hard D di H d Decoding
Bit-Flipping

Soft Decoding
Message Passing Algorithms Probability Domain Log Domain Min-Sum Algorithm g

13

Indian Institute of Technology

MIN SUM ALGORITHM

14

Indian Institute of Technology

15

Indian Institute of Technology

MATLAB Simulation

16

Indian Institute of Technology

17

Indian Institute of Technology

FPGA Flow

18

Indian Institute of Technology

ENCODER

20

Indian Institute of Technology

DECODER

21

Indian Institute of Technology

BIT FUNCTIONAL UNIT

22

Indian Institute of Technology

CHECK FUNCTIONAL UNIT

23

Indian Institute of Technology

Simulation Waveforms(Encoder)

24

Indian Institute of Technology

Simulation Waveforms(Decoder)

25

Indian Institute of Technology

Post-Route Post Route Simulation Waveforms(Decoder)

26

Indian Institute of Technology

Timing and Area Analysis


ENCODER
Selected Device : 2vp30ff896-5 Number of Slices: 230 out of 13696 1% Number of Slice Flip Flops: p p 207 out of 27392 0% Number of 4 input LUTs: 390 out of 27392 1% Number of IOs: 11 Number of bonded IOBs: 7 out of 556 1% Number of GCLKs: 1 out of 16 6%Timing Summary:--------------Speed Grade: -5 Minimum period: 8.629ns (Maximum Frequency: 115.882MHz) Minimum input arrival time before clock: p 8.599ns Maximum output required time after clock: 3.997ns Maximum combinational path delay: No path foundTiming Detail:-------------All values displayed in nanoseconds (ns) p y ( )
27 Indian Institute of Technology

DECODER
Selected Device : 3s500efg320-5 Number of Slices: 3107 out of 4656 66% Number of Slice Flip Flops: 941 out of 9312 10% Number of 4 input LUTs: 5762 out of 9312 61% Number of IOs: 18 Number of bonded IOBs: 14 out of 232 6% Number of BRAMs: 1 out of 20 5% Number of GCLKs: 1 out of 24 4%Timing Summary:--------------Speed Grade: -5 Minimum period: 21.855ns (Maximum F (M i Frequency: 45 755MH ) Minimum 45.755MHz) Mi i input arrival time before clock: 9.973ns Maximum output required time after clock: 12.171ns Maximum combinational path delay: No path foundTiming Detail:--------------All values displayed in nanoseconds (ns)========================== ============================ ===================Timing constraint: Default period analysis for Clock 'clk' Clock period: 21.855ns (frequency: 45.755MHz) Total number of paths / destination ports: 781984991 / 1427

Synthesis Report(Hardware Used)

28

Indian Institute of Technology

References

29

Indian Institute of Technology

Thanks!

30

Indian Institute of Technology

Вам также может понравиться