0% found this document useful (0 votes)
283 views3 pages

Berlekamp-Massey Algorithm

The Berlekamp-Massey algorithm is designed to find the shortest linear-feedback shift register (LFSR) for a given binary output sequence and the minimal polynomial of a linearly recurrent sequence in an arbitrary field. It operates by solving a set of linear equations to determine the coefficients of a polynomial that represents the error locator polynomial for correcting errors in codes like BCH. The algorithm iteratively calculates discrepancies and updates its parameters to accurately reflect the number of errors in the sequence.

Uploaded by

j
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
283 views3 pages

Berlekamp-Massey Algorithm

The Berlekamp-Massey algorithm is designed to find the shortest linear-feedback shift register (LFSR) for a given binary output sequence and the minimal polynomial of a linearly recurrent sequence in an arbitrary field. It operates by solving a set of linear equations to determine the coefficients of a polynomial that represents the error locator polynomial for correcting errors in codes like BCH. The algorithm iteratively calculates discrepancies and updates its parameters to accurately reflect the number of errors in the sequence.

Uploaded by

j
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
+O) WixrrepiA * YJ thefree Encyclopedia Berlekamp—Massey algorithm The Berlekamp—Massey algorithm is an algorithm that will find the shortest linear-feedback shift register (LFSR) for a given binary output sequence. The algorithm will also find the minimal polynomial of a linearly recurrent sequence in an arbitrary field. The field requirement means that the Berlekamp-Massey algorithm requires all non-zero clements to have a multiplicative inverse.!“] Reeds and Sloane offer an extension to handle a ring [21 Elwyn Berlekamp invented an algorithm for decoding Bose-Chaudburi— Hocquenghem (BCH) codes./Il4] James Massey recognized its application to linear feedback shift registers and simplified the algorithm. |51l6] Massey termed the algorithm the LFSR Synthesis Algorithm (Berlekamp Iterative Algorithm),”! but it is now known as the Berlekamp—Massey algorithm. Berlekamp-Massey algorithm Description of algorithm ‘The Berlekamp—Massey algorithm is an alternative to the Reed-Solomon Peterson decoder for solving the set of linear equations. It can be summarized as finding the coefficients A; of a polynomial AG) so that for all positions iin an input stream S: Sis + M Sina too + Mya Sina + AyS; = 0. In the code examples below, C(x) is a potential instance of A(x). The error locator polynomial C(x) for L errors is defined as: Cla) = Cra? + Craet tt + Oe + Cet1 or reversed: O(a) =14+ On + Ope? +--+ + Opa + Opa". ‘The goal of the algorithm is to determine the minimal degree L and C(x) which results in all syndromes Sp + C1Spaa +++ CySnat being equal to o: Sn t+ C1Sna tes + CpSp-b L In the ease of binary GF(2) BCH code, the discrepancy d will be zero on all odd steps, so a check can be added to avoid calculating it. for (= 85 nC MS oH) ( be (omy 120) See also * Reed-Solomon error correction = Reeds-Sloane algorithm, an extension for sequences over integers mod n = Nonlinear-feedback shift register (NLFSR) References 1, Reeds & Sloane 1985, p. 2 2. Reeds, J. A.; Sloane, N. J. A. (1985), "Shift-Register Synthesis (Modulo n)" ([Link] ‘[Link]) (PDF), SIAM Journal on Computing, 14 (3): 505-513, CiteSeerX [Link].4652 ([Link] [Link]/viewdoc/summary?doi=[Link].4652), doi:10.1137/0214036 (https:/[Link]/10.1137%2F0214 038) 3. Berlekamp, Elwyn R. (1967), Nonbinary BCH decoding, International Symposium on Information Theory, San Remo, ltaly 4, Berlekamp, Elwyn R. (1984) [1968], Algebraic Coding Theory (Revised ed.), Laguna Hills, CA: Aegean Park Press, ISBN 978-0-89412-063-3. Previous publisher McGraw-Hill, New York, NY. 5. Massey, J. L. (January 1969), "Shift-register synthesis and BCH decoding” ([Link] onovics359/[Link]) (PDF), IEEE Transactions on Information Theory, |T-15 (1): 122-127, doi:10.1109/TIT.1969.1054260 ([Link] 1969. 1054260), S2CID 9003708 ([Link] [Link]/CorpusID:9003708) 6, Bon Atti, Nadia; Diaz-Toca, Gema M.; Lombardi, Henri (April 2006), "The Berlekamp-Massey Algorithm revisited” (http:/[Link]/publis/[Link]), Applicable Algebra in Engineering, Communication and Computing, 17 (1): 75-82, arXiv:2211.11721 ([Link] CiteSeerX 10.1.1,96.2743 ([Link] ?doi=[Link].2743), doi:10.1007/s00200-005-0190-z ([Link] S2CID 14944277 (http s:/[Link]/CorpusiD:14944277) 7. Massey 1969, p. 124 External links = "Berlekamp-Massey algorithm” ([Link] algorithm), Encyclopedia of Mathematics, EMS Press, 2001 [1994] + Berlekamp-Massey algorithm ([Link] [Link]/web/201207 16181541 /http:/iplanetmath org/encycl opedia/[Link]) at PlanetMath = Weisstein, Eric W. "Berlekamp-Massey Algorithm” ([Link] rithm html). MathWorld. = GF(2) implementation in Mathematica (https:/[Link]/Ifst/) = (in German) Applet Berlekamp—Massey algorithm ([Link] [Link] [Link]) + Online GF(2) Berlekamp-Massey calculator (https:/[Link]/) Retrieved from “hitps://[Link]=Berlekamp-Massey_algorithm&oldid=1278883478"

You might also like