1 / 12

Meggit Decoder

Meggit Decoder. Problem Statement. To correct all single errors in n-bit codeword , n error patterns of single errors and their corresponding syndromes need to be stored (Complexity ) . n error patterns of single error. Solution.

gaia
Download Presentation

Meggit Decoder

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Meggit Decoder

  2. Problem Statement To correct all single errors in n-bit codeword, n error patterns of single errors and their corresponding syndromes need to be stored (Complexity ) n error patterns of single error

  3. Solution • Store the syndrome of the error pattern that corresponds to an error in the last bit ONLY. • Cyclically shift the erroneous codeword till the error becomes in the last bit • The syndrome of the shifted codeword matches the stored one • Correct the shifted Codeword • Cyclically shift the corrected codeword till the corrected bit returns back to its original location

  4. Example Consider a (7,4) Cyclic Code with g(X)=1+X+X3 e(X)= X2 e= 0 0 1 0 0 0 0 r(X)= 1+X2 +X3 +X5 +X6 u(X)=1+X+X2 +X3 v(X)= 1+X3 +X5 +X6 Encoder Decoder r= 1 0 1 1 0 1 1 v= 1 0 0 1 0 1 1 u= 1 1 1 1

  5. r= 1 0 1 1 0 1 1 r(1)= 1 1 0 1 1 0 1 r(2)= 1 1 1 0 1 1 0 r(3)= 0 1 1 1 0 1 1 r(4)= 1 0 1 1 1 0 1 Syndrome Circuit S=101? Yes No Correct = 1 0 1 1 1 0 0 = 0 1 0 1 1 1 0 = 0 0 1 0 1 1 1 = 1 0 0 1 0 1 1 r= 1 0 1 1 0 1 1

  6. Syndrome Circuit Syndrome Circuit of (7,4) Cyclic Code with g(X)=1+X+X3 n=7, k=4 n-k=3 shift registers 1 1 1 0 1 0 1 0 0 0 0 0 1 0 1 0 0 0 1 1 0 0 0 1 1 0 1 0 1 1 1 1 0 0 0 1 1 0 0 0 0 1 0 1 1 0 1 1 1 0 0 0 1 0 0 0 0 1 1 1 0 0 1 0 1 1 r(X)= X2 +X4 +X5 r=0 0 1 0 1 1 0 s=1 0 1

  7. Syndrome of r(1)(X) r(X)= X2 +X4 +X5 r=0 0 1 0 1 1 0 0 0 1 0 1 0 1 1 1 1 1 0 1 0 0 0 0 1 1 0 1 1 0 1 1 0 0 1 1 1 0 1 0 0 1 1 0 1 1 1 0 0 1 0 1 1 0 1 1 0 0 0 1 1 1 0 0 1 0 1 0 1 1 1 0 0 r(1)(X)= X3 +X5 +X6 r(1)= 0 0 0 1 0 1 1 s= 1 0 0

  8. Theorem 1 1 1 0 1 0 1 1 1 0 0 0 1 Syndrome Circuit s= 1 0 1 r= 0 0 1 0 1 1 0 1 extra cycle in the syndrome circuit with input =0 s= 1 0 0 Syndrome Circuit r(1)= 0 0 0 1 0 1 1

  9. Syndrome of (1)(X) r(X)= X2 +X4 +X5 (X)= X2+X4+X5 +X6 = 0 0 1 0 1 1 1 r=0 0 1 0 1 1 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 0 0 1 0 1 0 1 1 0 1 0 0 1 1 1 0 1 0 1 0 0 0 0 0 1 1 1 1 0 1 0 1 0 1 0 1 0 0 1 1 1 0 1 1 1 1 1 0 0 0 (X)= 1+X3+X5 +X6 = 1 0 0 1 0 1 1 s= 0 0 0

  10. Theorem 2 1 1 1 1 0 1 1 0 0 0 1 0 Syndrome Circuit s= 1 0 1 r= 0 0 1 0 1 1 0 1 extra cycle in the syndrome circuit with input =1 = 0 0 1 0 1 1 1 s= 0 0 0 Syndrome Circuit = 10 0 1 0 1 1

  11. r= 1 0 1 1 0 1 1 Meggit Decoder 0 1 1 0 1 1 1 0 1 1 0 1 1 1 0 1 0 0 1 1 1 0 1 1 1 0 0 1 1 1 0 0 1 1 1 0 1 1 1 0 1 0 1 0 1 1 1 0 1 1 0 1 1 1 0 0 1 1 0 1 0 1 1 1 0 1 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 0 0 0 1 0 0 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 1 1 0 0 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1

  12. Double errors • Store the syndrome of the double error patterns that have an error in the last bit. Ex: For a (7,4) Cyclic code, the double error patterns that have 1 in the 7th bit are 1000001, 0100001, 0010001, 0001001, 0000101, and 0000011 • Cyclically shift the erroneous codeword till one of the two errors becomes in the last bit • The syndrome of the shifted codeword matches one of the stored ones • Correct the last bit of the codeword • Cyclically shift the corrected codeword till the remaining error becomes in the last bit • Correct the last bit of the codeword • Cyclically shift the corrected codeword till the corrected bits return back to their original location

More Related