SlideShare ist ein Scribd-Unternehmen logo
1 von 10
LDPC Codes
CO-LA project
• Group Name : Spartans
• Encoders for Bit-Flipping
• Group Members:
• Jayraj Dave-131018
• Kavi Pandya-131020
• Nidhi Mehta-131030
• Shivani Shah-131051
• Dhanraj Vaghela-121009
INDEX
• LDPC – INTRODUCTION
• Encoding – Working Step-1(in Matlab)
• Encoding – Working Step-2(in Matlab)
• Encoding – Implementation in verilog
• Encoding – Result on Isim and FPGA
• Group Project Time-Line
LDPC
• As their name suggests, LDPC codes are block codes with parity-check
matrices
• It contain only a very small number of non-zero entries(1’s).
• It is the sparseness of H which guarantees both a decoding
complexity which increases only linearly with the code length
• and a minimum distance which also increases linearly with the code
length.
LDPC – ENCODING In Matlab – Step -1 GENERATION OF PARITY CHECK MATRIX - H
Generate
‘H’
Fill each
column with
3 ones using
‘random’
function
Detect the
cycle of ‘4’
Flip the bits of
the ‘rows’ that
are
Included in the
cycle
Parity Check Matrix (‘H’):
-> The matrix to be created is of dimension 5K*10K, with the condition that each column has three ones in it
avoiding cycle of 4.
-> For this, we place three ones in each column at random positions using the randperm() function of
Matlab. This results in every column having three ones. But it may also results in cycle of 4 and therefore we
now detect them and remove them.
->To detect them we do the logical anding (and operation) of two rows and if the anding of two rows gives
more than one one’s then the two rows result in cycle of 4. Thus we now detected the cycle of 4.
->We now identify the position within row that results in cycle of 4 after identifying the location we flip the
bit within the row having maximum one. Thus we successfully remove the cycle of 4 and have created H
matrix.
LDPC – ENCODING In Matlab – Step -2 CODE-WORD GENERATION - C
Write
H=[A | B]
A & B are
square
Code Word
C = [U | P]
U = message bit
P = parity bit
HC^T =
[A|B]|U^T| =0
|P^T |
AU^T BP^T=0
p = (B^-1 AU^T)
+
C = [U | P]
Supply ‘c’ to
decoder
CODE-WORD GENERATION (‘x’ or ‘c’):
->‘H’ is a rectangular matrix (m*2m) and therefore we write it as a combination of two square matrix ‘A’ (m*m) and ‘B’
(m*m), such that H = [A B].
->Let ‘x’ be the codeword that is to be generated. Code – word consists of input bits (‘u’) and parity bits (‘p’), such that
x = [u p].
->Dimension of ‘x’ is 1*10K and that of ‘u’ and ‘p’ is 1*5K. Thus, to generate a code word we only need to know the
parity bits (‘p’).
->Formula of Syndrome gives us the relation between ‘H’ and ‘x’ and it is: HxT = 0. Expanding the relation we get [A
B]*[u p]T = 0.
->This on evaluating results in( AuT xor BpT )= 0 , and it finally leads to BpT = AuT. From the previous relation we get pT
as pT = (B-1)* (AuT) and thus we get p as ((B-1)* (AuT))T. On knowing the parity bits, we can compute code word which is
the augmentation of input bits(provided from client side) and parity bits(calculated above).
Thus the codeword is now passed on to Decoders for the Module of Decoding – Decoding Partner: BLACK KNIGHT
LDPC – Encoding Implementation in Verilog
• For Verilog H is of dimension 5x10
• With fixed H, we only need to compute parity Bits
• Parity Bits formula same as before : p = ((B-1)* (AuT))T
• B-1 is calculated in Matlab and used in Verilog
• Made Matrix Multiplication Function in Verilog by calling Module
within Module
• Generated ucf file and implemented it on : NEXYS-2 FPGA
• Take one input(of message Bits), provides two outputs (parity Bits-
implemented on FPGA) and (Code word)
RESULT ON ISIM AND SIMULATOR
RESULT ON ISIM AND SIMULATOR
MESSAGE BITS : 1 1 0 1 1 (Given through switches)
PARITY BITS : 1 1 0 0 1 (Shown through Bulbs)
CODE WORD : 1 1 0 1 1 – 1 1 0 0 1
CONCLUSION
• LDPC was a great project to work with as it not only described the practical application of Linear Algebra in real life but we
also came to know of how it works by programming it in MATLAB and implementing on FPGA. It was a hand on experience
to develop a code that is widely used in the field of Signals, Systems and Communication Devices.
• The project was done by us in the time-frame of 8-weeks. The main aim of the project in Encoding part was to develop
large scale parity check matrix without cycle of-4 and at the completion we have developed the code that removes cycle
of 4 and creates as sparse ‘H’ matrix as possible. Along with this accomplishment the system also suffers from one
drawback. On removing the cycle of 4, we flip the bit and sometimes the flipping of bits reduces the column weight from 3
to 2. The System is also too slow as it takes lot of time to compute inverse of ‘B’. We also found some of the drawbacks of
LDPC System as whole and have mentioned the same below:
• LDPC have complex encoders, results in great delay to find inverse of the part of system (that is inverse of B).
• LDPC code fails to deliver on small scale cases.
• There are possible ways to counter the drawbacks;
• Can devise a formula in which the there is no dependency on finding the invertible matrix.
• Certain advantages of LDPC
• (i). Randomly generated LDPC code has higher efficiency and fewer cycles then structurally or pattern-wise generated
code.
• (ii). The hardware implementation of LDPC Encoding is compact and easy to implement.
SPARTANS TIMELINE

Weitere ähnliche Inhalte

Was ist angesagt?

Reed Soloman and convolution codes
Reed Soloman and convolution codesReed Soloman and convolution codes
Reed Soloman and convolution codesShailesh Tanwar
 
Information theory & coding (ECE)
Information theory & coding (ECE)Information theory & coding (ECE)
Information theory & coding (ECE)nitmittal
 
Linear block coding
Linear block codingLinear block coding
Linear block codingjknm
 
Error control coding bch, reed-solomon etc..
Error control coding   bch, reed-solomon etc..Error control coding   bch, reed-solomon etc..
Error control coding bch, reed-solomon etc..Madhumita Tamhane
 
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...Madhumita Tamhane
 
Convolution codes and turbo codes
Convolution codes and turbo codesConvolution codes and turbo codes
Convolution codes and turbo codesManish Srivastava
 
Convolutional Codes And Their Decoding
Convolutional Codes And Their DecodingConvolutional Codes And Their Decoding
Convolutional Codes And Their DecodingKakali Saharia
 
Verilog Test Bench
Verilog Test BenchVerilog Test Bench
Verilog Test BenchDr.YNM
 

Was ist angesagt? (20)

Reed Soloman and convolution codes
Reed Soloman and convolution codesReed Soloman and convolution codes
Reed Soloman and convolution codes
 
Linear block code
Linear block codeLinear block code
Linear block code
 
Turbo Codes
Turbo CodesTurbo Codes
Turbo Codes
 
Turbo codes.ppt
Turbo codes.pptTurbo codes.ppt
Turbo codes.ppt
 
Presentation
PresentationPresentation
Presentation
 
Information theory & coding (ECE)
Information theory & coding (ECE)Information theory & coding (ECE)
Information theory & coding (ECE)
 
Linear block coding
Linear block codingLinear block coding
Linear block coding
 
Error control coding bch, reed-solomon etc..
Error control coding   bch, reed-solomon etc..Error control coding   bch, reed-solomon etc..
Error control coding bch, reed-solomon etc..
 
5 linear block codes
5 linear block codes5 linear block codes
5 linear block codes
 
Vhdl
VhdlVhdl
Vhdl
 
Convolutional codes
Convolutional codesConvolutional codes
Convolutional codes
 
Error Control coding
Error Control codingError Control coding
Error Control coding
 
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
 
Information theory
Information theoryInformation theory
Information theory
 
Convolution codes and turbo codes
Convolution codes and turbo codesConvolution codes and turbo codes
Convolution codes and turbo codes
 
Verilog tutorial
Verilog tutorialVerilog tutorial
Verilog tutorial
 
Channel Coding (Error Control Coding)
Channel Coding (Error Control Coding)Channel Coding (Error Control Coding)
Channel Coding (Error Control Coding)
 
Convolutional Codes And Their Decoding
Convolutional Codes And Their DecodingConvolutional Codes And Their Decoding
Convolutional Codes And Their Decoding
 
Verilog Test Bench
Verilog Test BenchVerilog Test Bench
Verilog Test Bench
 
Chapter 03 cyclic codes
Chapter 03   cyclic codesChapter 03   cyclic codes
Chapter 03 cyclic codes
 

Ähnlich wie LDPC - Low Density Parity Check Matrix

PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...
PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...
PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...Journal For Research
 
FPGA Implementation of LDPC Encoder for Terrestrial Television
FPGA Implementation of LDPC Encoder for Terrestrial TelevisionFPGA Implementation of LDPC Encoder for Terrestrial Television
FPGA Implementation of LDPC Encoder for Terrestrial TelevisionAI Publications
 
FPGA design with CλaSH
FPGA design with CλaSHFPGA design with CλaSH
FPGA design with CλaSHConrad Parker
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...researchinventy
 
Lcdf4 chap 03_p2
Lcdf4 chap 03_p2Lcdf4 chap 03_p2
Lcdf4 chap 03_p2ozgur_can
 
Performance analysis and implementation for nonbinary quasi cyclic ldpc decod...
Performance analysis and implementation for nonbinary quasi cyclic ldpc decod...Performance analysis and implementation for nonbinary quasi cyclic ldpc decod...
Performance analysis and implementation for nonbinary quasi cyclic ldpc decod...ijwmn
 
REDUCED COMPLEXITY QUASI-CYCLIC LDPC ENCODER FOR IEEE 802.11N
REDUCED COMPLEXITY QUASI-CYCLIC LDPC ENCODER FOR IEEE 802.11N REDUCED COMPLEXITY QUASI-CYCLIC LDPC ENCODER FOR IEEE 802.11N
REDUCED COMPLEXITY QUASI-CYCLIC LDPC ENCODER FOR IEEE 802.11N VLSICS Design
 
A new Algorithm to construct LDPC codes with large stopping sets
A new Algorithm to construct LDPC codes with large stopping setsA new Algorithm to construct LDPC codes with large stopping sets
A new Algorithm to construct LDPC codes with large stopping setsNestor Barraza
 
Floating point ALU using VHDL implemented on FPGA
Floating point ALU using VHDL implemented on FPGAFloating point ALU using VHDL implemented on FPGA
Floating point ALU using VHDL implemented on FPGAAzhar Syed
 
Error control coding techniques
Error control coding techniquesError control coding techniques
Error control coding techniquesDhanashriNandre
 
Group presentation.pptx
Group presentation.pptxGroup presentation.pptx
Group presentation.pptxYonas D. Ebren
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
02 ldpc bit flipping_decoding_dark knight
02 ldpc bit flipping_decoding_dark knight02 ldpc bit flipping_decoding_dark knight
02 ldpc bit flipping_decoding_dark knightDevanshi Piprottar
 
Verilog for synthesis - combinational rev a.pdf
Verilog for synthesis - combinational rev a.pdfVerilog for synthesis - combinational rev a.pdf
Verilog for synthesis - combinational rev a.pdfAzeemMohammedAbdul
 
Logic synthesis,flootplan&placement
Logic synthesis,flootplan&placementLogic synthesis,flootplan&placement
Logic synthesis,flootplan&placementshaik sharief
 
24-02-18 Rejender pratap.pdf
24-02-18 Rejender pratap.pdf24-02-18 Rejender pratap.pdf
24-02-18 Rejender pratap.pdfFrangoCamila
 
Digital Communication: Channel Coding
Digital Communication: Channel CodingDigital Communication: Channel Coding
Digital Communication: Channel CodingDr. Sanjay M. Gulhane
 
Lec 05 - Combinational Logic
Lec 05 - Combinational LogicLec 05 - Combinational Logic
Lec 05 - Combinational LogicVajira Thambawita
 

Ähnlich wie LDPC - Low Density Parity Check Matrix (20)

PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...
PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...
PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...
 
FPGA Implementation of LDPC Encoder for Terrestrial Television
FPGA Implementation of LDPC Encoder for Terrestrial TelevisionFPGA Implementation of LDPC Encoder for Terrestrial Television
FPGA Implementation of LDPC Encoder for Terrestrial Television
 
FPGA design with CλaSH
FPGA design with CλaSHFPGA design with CλaSH
FPGA design with CλaSH
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...
 
Lcdf4 chap 03_p2
Lcdf4 chap 03_p2Lcdf4 chap 03_p2
Lcdf4 chap 03_p2
 
Performance analysis and implementation for nonbinary quasi cyclic ldpc decod...
Performance analysis and implementation for nonbinary quasi cyclic ldpc decod...Performance analysis and implementation for nonbinary quasi cyclic ldpc decod...
Performance analysis and implementation for nonbinary quasi cyclic ldpc decod...
 
REDUCED COMPLEXITY QUASI-CYCLIC LDPC ENCODER FOR IEEE 802.11N
REDUCED COMPLEXITY QUASI-CYCLIC LDPC ENCODER FOR IEEE 802.11N REDUCED COMPLEXITY QUASI-CYCLIC LDPC ENCODER FOR IEEE 802.11N
REDUCED COMPLEXITY QUASI-CYCLIC LDPC ENCODER FOR IEEE 802.11N
 
LDPC_CODES.ppt
LDPC_CODES.pptLDPC_CODES.ppt
LDPC_CODES.ppt
 
A new Algorithm to construct LDPC codes with large stopping sets
A new Algorithm to construct LDPC codes with large stopping setsA new Algorithm to construct LDPC codes with large stopping sets
A new Algorithm to construct LDPC codes with large stopping sets
 
Floating point ALU using VHDL implemented on FPGA
Floating point ALU using VHDL implemented on FPGAFloating point ALU using VHDL implemented on FPGA
Floating point ALU using VHDL implemented on FPGA
 
Error control coding techniques
Error control coding techniquesError control coding techniques
Error control coding techniques
 
Group presentation.pptx
Group presentation.pptxGroup presentation.pptx
Group presentation.pptx
 
Hardware accelerator for financial application in HDL and HLS, SAMOS 2017
Hardware accelerator for financial application in HDL and HLS, SAMOS 2017Hardware accelerator for financial application in HDL and HLS, SAMOS 2017
Hardware accelerator for financial application in HDL and HLS, SAMOS 2017
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
02 ldpc bit flipping_decoding_dark knight
02 ldpc bit flipping_decoding_dark knight02 ldpc bit flipping_decoding_dark knight
02 ldpc bit flipping_decoding_dark knight
 
Verilog for synthesis - combinational rev a.pdf
Verilog for synthesis - combinational rev a.pdfVerilog for synthesis - combinational rev a.pdf
Verilog for synthesis - combinational rev a.pdf
 
Logic synthesis,flootplan&placement
Logic synthesis,flootplan&placementLogic synthesis,flootplan&placement
Logic synthesis,flootplan&placement
 
24-02-18 Rejender pratap.pdf
24-02-18 Rejender pratap.pdf24-02-18 Rejender pratap.pdf
24-02-18 Rejender pratap.pdf
 
Digital Communication: Channel Coding
Digital Communication: Channel CodingDigital Communication: Channel Coding
Digital Communication: Channel Coding
 
Lec 05 - Combinational Logic
Lec 05 - Combinational LogicLec 05 - Combinational Logic
Lec 05 - Combinational Logic
 

Mehr von Kavi

Kavi Pandya - Transcript
Kavi Pandya - TranscriptKavi Pandya - Transcript
Kavi Pandya - TranscriptKavi
 
Delegation Game in Bertrand Competition
Delegation Game in Bertrand CompetitionDelegation Game in Bertrand Competition
Delegation Game in Bertrand CompetitionKavi
 
Anderson-Darling Test and ROC Curve
Anderson-Darling Test and ROC CurveAnderson-Darling Test and ROC Curve
Anderson-Darling Test and ROC CurveKavi
 
Blood Bank Management System
Blood Bank Management SystemBlood Bank Management System
Blood Bank Management SystemKavi
 
University Database Management Project
University Database Management Project University Database Management Project
University Database Management Project Kavi
 
Radio Receiver
Radio Receiver  Radio Receiver
Radio Receiver Kavi
 
Analysis of Fiscal and Monetary Policy of India for last decade (2004-2014)
Analysis of Fiscal and Monetary Policy of India for last decade (2004-2014)Analysis of Fiscal and Monetary Policy of India for last decade (2004-2014)
Analysis of Fiscal and Monetary Policy of India for last decade (2004-2014)Kavi
 
Ahmedabad University
Ahmedabad UniversityAhmedabad University
Ahmedabad UniversityKavi
 
Duplicating cube
Duplicating cubeDuplicating cube
Duplicating cubeKavi
 
Energy management paln
Energy management palnEnergy management paln
Energy management palnKavi
 
SEED DISPERSAL - Teaching through games
SEED DISPERSAL - Teaching through gamesSEED DISPERSAL - Teaching through games
SEED DISPERSAL - Teaching through gamesKavi
 
Uttarakhand disaster - man made causes
Uttarakhand disaster - man made causesUttarakhand disaster - man made causes
Uttarakhand disaster - man made causesKavi
 
GOOGLE TEAM-A ICP
GOOGLE  TEAM-A  ICPGOOGLE  TEAM-A  ICP
GOOGLE TEAM-A ICPKavi
 

Mehr von Kavi (13)

Kavi Pandya - Transcript
Kavi Pandya - TranscriptKavi Pandya - Transcript
Kavi Pandya - Transcript
 
Delegation Game in Bertrand Competition
Delegation Game in Bertrand CompetitionDelegation Game in Bertrand Competition
Delegation Game in Bertrand Competition
 
Anderson-Darling Test and ROC Curve
Anderson-Darling Test and ROC CurveAnderson-Darling Test and ROC Curve
Anderson-Darling Test and ROC Curve
 
Blood Bank Management System
Blood Bank Management SystemBlood Bank Management System
Blood Bank Management System
 
University Database Management Project
University Database Management Project University Database Management Project
University Database Management Project
 
Radio Receiver
Radio Receiver  Radio Receiver
Radio Receiver
 
Analysis of Fiscal and Monetary Policy of India for last decade (2004-2014)
Analysis of Fiscal and Monetary Policy of India for last decade (2004-2014)Analysis of Fiscal and Monetary Policy of India for last decade (2004-2014)
Analysis of Fiscal and Monetary Policy of India for last decade (2004-2014)
 
Ahmedabad University
Ahmedabad UniversityAhmedabad University
Ahmedabad University
 
Duplicating cube
Duplicating cubeDuplicating cube
Duplicating cube
 
Energy management paln
Energy management palnEnergy management paln
Energy management paln
 
SEED DISPERSAL - Teaching through games
SEED DISPERSAL - Teaching through gamesSEED DISPERSAL - Teaching through games
SEED DISPERSAL - Teaching through games
 
Uttarakhand disaster - man made causes
Uttarakhand disaster - man made causesUttarakhand disaster - man made causes
Uttarakhand disaster - man made causes
 
GOOGLE TEAM-A ICP
GOOGLE  TEAM-A  ICPGOOGLE  TEAM-A  ICP
GOOGLE TEAM-A ICP
 

Kürzlich hochgeladen

Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Naicy mandal
 
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...anilsa9823
 
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...motiram463
 
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查
如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查
如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查awo24iot
 
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...Amil baba
 
Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Pooja Nehwal
 
presentation about microsoft power point
presentation about microsoft power pointpresentation about microsoft power point
presentation about microsoft power pointchhavia330
 
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...Call Girls in Nagpur High Profile
 
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...ranjana rawat
 
Thane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsThane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsPooja Nehwal
 
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...ranjana rawat
 
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311  Call Girls in Thane , Independent Escort Service ThanePallawi 9167673311  Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service ThanePooja Nehwal
 

Kürzlich hochgeladen (20)

Call Girls In Vaishali 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In Vaishali 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In Vaishali 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In Vaishali 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 
young call girls in Sainik Farm 🔝 9953056974 🔝 Delhi escort Service
young call girls in Sainik Farm 🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Sainik Farm 🔝 9953056974 🔝 Delhi escort Service
young call girls in Sainik Farm 🔝 9953056974 🔝 Delhi escort Service
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
 
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
 
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
 
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
 
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查
如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查
如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查
 
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
 
Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006
 
presentation about microsoft power point
presentation about microsoft power pointpresentation about microsoft power point
presentation about microsoft power point
 
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
 
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
 
Thane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsThane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call Girls
 
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
 
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate
🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate
🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate
 
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311  Call Girls in Thane , Independent Escort Service ThanePallawi 9167673311  Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
 

LDPC - Low Density Parity Check Matrix

  • 1. LDPC Codes CO-LA project • Group Name : Spartans • Encoders for Bit-Flipping • Group Members: • Jayraj Dave-131018 • Kavi Pandya-131020 • Nidhi Mehta-131030 • Shivani Shah-131051 • Dhanraj Vaghela-121009
  • 2. INDEX • LDPC – INTRODUCTION • Encoding – Working Step-1(in Matlab) • Encoding – Working Step-2(in Matlab) • Encoding – Implementation in verilog • Encoding – Result on Isim and FPGA • Group Project Time-Line
  • 3. LDPC • As their name suggests, LDPC codes are block codes with parity-check matrices • It contain only a very small number of non-zero entries(1’s). • It is the sparseness of H which guarantees both a decoding complexity which increases only linearly with the code length • and a minimum distance which also increases linearly with the code length.
  • 4. LDPC – ENCODING In Matlab – Step -1 GENERATION OF PARITY CHECK MATRIX - H Generate ‘H’ Fill each column with 3 ones using ‘random’ function Detect the cycle of ‘4’ Flip the bits of the ‘rows’ that are Included in the cycle Parity Check Matrix (‘H’): -> The matrix to be created is of dimension 5K*10K, with the condition that each column has three ones in it avoiding cycle of 4. -> For this, we place three ones in each column at random positions using the randperm() function of Matlab. This results in every column having three ones. But it may also results in cycle of 4 and therefore we now detect them and remove them. ->To detect them we do the logical anding (and operation) of two rows and if the anding of two rows gives more than one one’s then the two rows result in cycle of 4. Thus we now detected the cycle of 4. ->We now identify the position within row that results in cycle of 4 after identifying the location we flip the bit within the row having maximum one. Thus we successfully remove the cycle of 4 and have created H matrix.
  • 5. LDPC – ENCODING In Matlab – Step -2 CODE-WORD GENERATION - C Write H=[A | B] A & B are square Code Word C = [U | P] U = message bit P = parity bit HC^T = [A|B]|U^T| =0 |P^T | AU^T BP^T=0 p = (B^-1 AU^T) + C = [U | P] Supply ‘c’ to decoder CODE-WORD GENERATION (‘x’ or ‘c’): ->‘H’ is a rectangular matrix (m*2m) and therefore we write it as a combination of two square matrix ‘A’ (m*m) and ‘B’ (m*m), such that H = [A B]. ->Let ‘x’ be the codeword that is to be generated. Code – word consists of input bits (‘u’) and parity bits (‘p’), such that x = [u p]. ->Dimension of ‘x’ is 1*10K and that of ‘u’ and ‘p’ is 1*5K. Thus, to generate a code word we only need to know the parity bits (‘p’). ->Formula of Syndrome gives us the relation between ‘H’ and ‘x’ and it is: HxT = 0. Expanding the relation we get [A B]*[u p]T = 0. ->This on evaluating results in( AuT xor BpT )= 0 , and it finally leads to BpT = AuT. From the previous relation we get pT as pT = (B-1)* (AuT) and thus we get p as ((B-1)* (AuT))T. On knowing the parity bits, we can compute code word which is the augmentation of input bits(provided from client side) and parity bits(calculated above). Thus the codeword is now passed on to Decoders for the Module of Decoding – Decoding Partner: BLACK KNIGHT
  • 6. LDPC – Encoding Implementation in Verilog • For Verilog H is of dimension 5x10 • With fixed H, we only need to compute parity Bits • Parity Bits formula same as before : p = ((B-1)* (AuT))T • B-1 is calculated in Matlab and used in Verilog • Made Matrix Multiplication Function in Verilog by calling Module within Module • Generated ucf file and implemented it on : NEXYS-2 FPGA • Take one input(of message Bits), provides two outputs (parity Bits- implemented on FPGA) and (Code word)
  • 7. RESULT ON ISIM AND SIMULATOR
  • 8. RESULT ON ISIM AND SIMULATOR MESSAGE BITS : 1 1 0 1 1 (Given through switches) PARITY BITS : 1 1 0 0 1 (Shown through Bulbs) CODE WORD : 1 1 0 1 1 – 1 1 0 0 1
  • 9. CONCLUSION • LDPC was a great project to work with as it not only described the practical application of Linear Algebra in real life but we also came to know of how it works by programming it in MATLAB and implementing on FPGA. It was a hand on experience to develop a code that is widely used in the field of Signals, Systems and Communication Devices. • The project was done by us in the time-frame of 8-weeks. The main aim of the project in Encoding part was to develop large scale parity check matrix without cycle of-4 and at the completion we have developed the code that removes cycle of 4 and creates as sparse ‘H’ matrix as possible. Along with this accomplishment the system also suffers from one drawback. On removing the cycle of 4, we flip the bit and sometimes the flipping of bits reduces the column weight from 3 to 2. The System is also too slow as it takes lot of time to compute inverse of ‘B’. We also found some of the drawbacks of LDPC System as whole and have mentioned the same below: • LDPC have complex encoders, results in great delay to find inverse of the part of system (that is inverse of B). • LDPC code fails to deliver on small scale cases. • There are possible ways to counter the drawbacks; • Can devise a formula in which the there is no dependency on finding the invertible matrix. • Certain advantages of LDPC • (i). Randomly generated LDPC code has higher efficiency and fewer cycles then structurally or pattern-wise generated code. • (ii). The hardware implementation of LDPC Encoding is compact and easy to implement.