CN103401566A - Parameterization BCH (broadcast channel) error-correcting code parallel encoding method and device - Google Patents

Parameterization BCH (broadcast channel) error-correcting code parallel encoding method and device Download PDF

Info

Publication number
CN103401566A
CN103401566A CN2013103409167A CN201310340916A CN103401566A CN 103401566 A CN103401566 A CN 103401566A CN 2013103409167 A CN2013103409167 A CN 2013103409167A CN 201310340916 A CN201310340916 A CN 201310340916A CN 103401566 A CN103401566 A CN 103401566A
Authority
CN
China
Prior art keywords
generator polynomial
parallel encoding
module
error
polynomial matrix
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013103409167A
Other languages
Chinese (zh)
Inventor
李东新
周桑彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hohai University HHU
Original Assignee
Hohai University HHU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hohai University HHU filed Critical Hohai University HHU
Priority to CN2013103409167A priority Critical patent/CN103401566A/en
Publication of CN103401566A publication Critical patent/CN103401566A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Error Detection And Correction (AREA)

Abstract

The invention discloses a parameterization BCH (broadcast channel) error-correcting code parallel encoding method and device. The method comprises the following steps of determining three variable parameters such as the error-correctable bits t, bit width p of the parallel encoding and length k of data information bit, solving a generation polynomial matrix, wherein the number of times of the generation polynomial matrix g(X) is (n-k); carrying out the logic operation for a temporary variable of a check bit and the generation polynomial matrix, and finally outputting a complete encoding module described through a verilog HDL (hardware description language) language. The generated encoding module is high in encoding speed and less in occupied resource. The encoding module utilizes one generation matrix to realize the parallel encoding function and is finally solved through a series of operation according to the generation polynomial of the BCH code. The method and the device are applicable to the application with long code word, high encoding speed and capability for continuously enhancing the error correcting capacity of the error-correcting code.

Description

Parallel encoding method and the device of parameterized Bose-Chaudhuri Hocquenghem error correction codes
Technical field
The present invention relates to circuit and technical field of information processing in electronic information subject, particularly relate to a kind of parallel encoding method and device of parameterized Bose-Chaudhuri Hocquenghem error correction codes.
Background technology
Error-correcting code technique is a kind of method in numerous channel coding technology, and its purpose is exactly in order to make data message waiting for transmission can right-only be transferred to the receiving terminal of information.Make a general survey of the whole development course of error-correcting code technique, along with the develop rapidly of coding theory knowledge and large scale integrated circuit technology, the range of application of error-correcting code technique is also more and more broader, and it has been widely used in digital system at present; For example, digital communication system, the collection of data and the storage of data, and the mobile phone in our daily life, digital camera, digital player, solid state hard disc etc.Bose-Chaudhuri Hocquenghem error correction codes is this a kind of error correction coding relatively commonly used, and therefore to the research of BCH encoding and decoding, not only aspect storage, and practical application in other respects also has larger meaning and value.
Along with the development of technology, people are also more and more higher to the requirement of information rate, and the parallel speed of chip internal also more and more faster, if also still adopt traditional serial BCH encoding and decoding technique, will be a very large reduction to the performance of whole system.For example, the data/address bus of 8 bit wides, transmission rate is 100M, to encode to the data of 512bit, if adopt traditional serial code technology, it will need 5120ns, if adopt parallel coding techniques, only need 640ns, and guarantee that the transmission rate of data does not change.Therefore,, in order to meet the demand of people to information rate and bandwidth, must adopt parallel encoding and decoding current.
Due to the whole process of traditional serial code be with the output step by step of data bit and check digit until form a complete systematic code, complete whole process subsistence level through n clock cycle, wherein n represents the length of whole code word.But, if when the figure place to be encoded in actual system is larger, when perhaps the figure place of error correction is larger,, if also adopt this method, will bring larger time delay to whole system.Thereby affected the real-time Transmission characteristic of total system.And parallel encoding is exactly the optimum method that addresses the above problem, and therefore the parallel encoding and decoding of research seem particularly important in present application.Along with the develop rapidly of digital technology, the figure place of its data can become longer in product in the future, and the bit wide of parallel encoding also can increase, and the more important thing is that the error correcting capability of its requirement requires also to become higher.
Summary of the invention
Goal of the invention:, for problems of the prior art and deficiency, the invention provides a kind of parallel encoding method and device of parameterized Bose-Chaudhuri Hocquenghem error correction codes.
Technical scheme: the parallel encoding method of parameterized Bose-Chaudhuri Hocquenghem error correction codes comprises the steps:
Determine the error correcting capability of error correcting code, but namely determine error correction figure place t, and the length k of information bit;
Solve the generator polynomial matrix, the number of times of generator polynomial g (X) is (n-k);
The figure place of parallel encoding is p, and the temporary variable of check digit and generator polynomial matrix carry out logical operation, last output encoder result;
Wherein, the information bit length k of input can be divided into the k/p equal portions by the figure place p of parallel encoding, if kmodp=0, and the figure place p of parallel encoding is the number of times (n-k) less than generator polynomial, passes through k/p beat, can complete whole codings; If kmodp ≠ 0, add extra z position 0 and make (k+z) modp=0 in information bit, wherein the value of z is fixed.With verilog HDL language output encoder result.
A kind of device of parallel encoding method of the Bose-Chaudhuri Hocquenghem error correction codes that adopts above-mentioned parameter, comprising: check digit temporary variable module, generator polynomial matrix module, logical operation module, coding result memory module; The prime information position described generator polynomial matrix module of input produces the generator polynomial matrix, check digit temporary variable and described generator polynomial matrix are by described logical operation module output data to described check digit temporary variable module, and described check digit temporary variable module is transferred to described coding result memory module with result.
The present invention adopts technique scheme, has following beneficial effect: compared with prior art, the parametrization of error correction figure place t of the present invention, can make this design can be applied in the situation of various error correcting capabilities requirements.The parametrization of the bit wide of parallel encoding, can make the hardware environment of this design consideration operation make coding rate reach maximum.The parametrization of the length of data message position, can encode to the information bit of different length the design., by this patent, can export a complete coding module of describing with verilog HDL language.The coding rate of the coding module that generates is fast, takies resource few.
Description of drawings
Fig. 1 is the Organization Chart of realizing that the present invention utilizes parallel encoding that the generator polynomial matrix realizes;
Fig. 2 is the RTL figure that the present invention adopts Verilog HDL hardware description language to realize, wherein, and t=12, p=64, k=4096;
Fig. 3 is data flow figure of the present invention.
Embodiment
Below in conjunction with specific embodiment, further illustrate the present invention, should understand these embodiment only is not used in and limits the scope of the invention for explanation the present invention, after having read the present invention, those skilled in the art all fall within the application's claims limited range to the modification of the various equivalent form of values of the present invention.
As Fig. 1-3, the parallel encoding method of parameterized Bose-Chaudhuri Hocquenghem error correction codes, comprise the steps:
(1) determine the error correcting capability of error correcting code, but namely determine error correction figure place t, and the length k of information bit;
(2) solve the generator polynomial matrix, the number of times of generator polynomial g (X) is (n-k);
(3) figure place of parallel encoding is p, and the temporary variable of check digit and generator polynomial matrix carry out logical operation, last output encoder result.
Concrete supposition: the information M=(m of (1) input 0, m 1, m 2..., m k-1) length be the k bit; (2) number of times of generator polynomial g (X) is (n-k); (3) p position information bit can be encoded simultaneously, namely the figure place of parallel encoding.In communication channel, we suppose that its coefficient is highest order the primary coefficient of information bit.For the continuous position of back, their number of times reduces successively, and last number of times is 0.
Therefore, according to above-mentioned condition, the length k of the information bit of input can be divided into the k/p equal portions by the figure place p of parallel encoding, if kmodp=0, and the figure place p of parallel encoding is the number of times (n-k) less than generator polynomial.P position information bit can be encoded simultaneously., through k/p beat, can complete whole codings; But under normal conditions, kmodp ≠ 0, we also can eliminate his impact by a suitable initial condition is set, and we can add extra z position 0 and make (k+z) modp=0 in information bit.Wherein the value of z is fixed, and knows in advance.
According to the base attribute of linear code, the original information bits M of input (X) can be comprised of the linear combination of p subsequence, uses M here i(X) represent each subsequence., according to this method, can draw following formula:
M(X)=m 0+m 1X+m 2X 2+…+m k-1X k-1=M 0(X)+M 1(X)+…+M p-1(X)
Wherein
M i ( X ) = Σ j = 0 ( k / p ) - 1 m j * p + j X j * p + j = m i X i + m p + i X p + i + m 2 p + i X 2 p + i + · · · + m k - p + i X k - p + i
According to the description of front, if kmodp ≠ 0 extra z position 0 on need adding,
Figure BDA00003626861300032
Can be used as the M of time numerical digit 0 in information bit i(X), X n-kThe computing of M (X) can be expressed as:
X n - k M ( X ) = X n - k ( M 0 ( X ) + M 1 ( X ) + · · · + M p - 1 ( X ) )
= Σ i = 0 r - 1 X n - k Σ j = 0 ( k / p ) - 1 m j * p + j X ( j + 1 ) * p - 1
= Σ i = 0 r - 1 X n - k - ( p - 1 ) + i M i ‾ ( X )
Wherein,
M i ‾ ( X ) = Σ j = 0 ( k / p ) - 1 m j * p + j X ( j + 1 ) * p - 1 = m i X p - i + m p + i X 2 p - 1 + m 2 p + i X 3 p - 1 + · · · + m k - p + i X k - 1
Therefore, at first the k position information bit of input is evenly distributed in p subsequence, i.e. M i(X), wherein (0≤i≤p-1), each subsequence comprises the k/p position.According to above-mentioned formula (1-2) X n-kM (X) carries out suitable operation, can derive
Figure BDA00003626861300042
Subsequence.This subsequence has two characteristics significantly: they can represent (1) with identical multinomial.When their number of times was non-zero, their number of times was identical.(2) having (p-1) individual this moment is 0 time continuously, and they are present between two adjacent message digits.Table 1 has been listed M i(X) and
Figure BDA00003626861300043
Relation, k=16 wherein, p=4.
According to the subsequence of above-mentioned derivation, the computing of parity check part also can be expressed as:
S ( X ) = X n - k M ( X ) mod G ( X )
= Σ i = 0 P - 1 X n - k - ( p - 1 ) + i M i ‾ ( X ) mod G ( X )
= ( X n - k - p + 1 M 0 ‾ ( X ) + X n - k - p + 2 M 1 ‾ ( X ) + · · · + X n - k M P - 1 ‾ ( X ) ) mod G ( X )
, according to the method for solving of the serial code of front, use X N-k-(p-1)+iPremultiplication with
Figure BDA00003626861300047
Can be with mobile Entering p-1-i position divider from right-hand member realizes.
Table 1M i(X) and
Figure BDA00003626861300051
Relation
Figure BDA00003626861300052
Transformation matrix T gIts characteristic value is that the value by selected generator polynomial g (X) decides, and the row that can regard prediction matrix as, when considering that p may be the defeated value of non-zero, in the time step of the relevant p-1 of the following leading technology of application, its internal state is updated, and can represent with following equation:
S ( t + 1 ) = T g p - 1 ( T g ( S ( t ) ⊕ I ( t ) ) ) = T g p ( S ( t ) ⊕ I ( t ) )
Wherein, I ( t ) = [ 0 | m k - ( t + 1 ) p , m k - ( t + 1 ) p + 1 , · · · , m k - ( t + 1 ) p + p - 1 ] I × ( n - k ) T
According to following formula, the internal state of next S (t) is updated within a single clock cycle, because p information bit has identical number of times.State after we are designated as use clock signal that S (t+1) represents next state and trigger.
Fig. 2 has provided the RTL figure that adopts Verilog HDL hardware description language to realize, the signal in left side is the importation of this module, two outputs that signal is this module on right side, and the interface specific definition is as described in Table 2.
The explanation of table 2Parallel_encoder module interface
Figure BDA00003626861300055
Figure BDA00003626861300061
Also relate to a kind of device of parallel encoding method of the Bose-Chaudhuri Hocquenghem error correction codes that adopts above-mentioned parameter, comprise check digit temporary variable module, generator polynomial matrix module, logical operation module, coding result memory module; Prime information position input generator polynomial matrix module produces the generator polynomial matrix, check digit temporary variable and generator polynomial matrix are exported data to check digit temporary variable module by logical operation module, and check digit temporary variable module is transferred to the coding result memory module with result.
Embodiment:
The generator polynomial matrix of BCH (4320,4096,12) is The bit wide of parallel encoding is 64, and the target of design is simultaneously 64 information bits of parallel input to be encoded within each clock cycle, through completing the coding to 4096 bit data information in 64 clock cycle.Its detailed step is illustrated in fig. 2 shown below, wherein the n bit data within m clock cycle during data (m, n) presentation code; Parity_tem is the temporary variable of check digit, and function generate_gf () is the function that produces the generator polynomial matrix.T_g_r (m, n) is
Figure BDA00003626861300063
An element of matrix, parity_bit are the check matrixes that generates, and have 156.T_g_r (155,155) * parity_temp represents the temporary variable of check digit and the logical operation of generator matrix.Concrete process is as follows:
1) 64 information bits move into the high 64 of parity_temp within the same clock cycle, and do logical operation.
2) 156 parity_temp in the generator polynomial matrix
Figure BDA00003626861300064
Carry out logical operation.Result is given parity_temp.
3) repeat top two steps, after 64 clock cycle, the value of parity_temp the inside is exactly the check digit that will solve.
4) check digit that generates is above moved into parity_bit.

Claims (3)

1. the parallel encoding method of a parameterized Bose-Chaudhuri Hocquenghem error correction codes, is characterized in that, comprises the steps:
Determine the error correcting capability of error correcting code, but namely determine error correction figure place t, and the length k of information bit;
Solve the generator polynomial matrix, the number of times of generator polynomial g (X) is (n-k);
The figure place of parallel encoding is p, and the temporary variable of check digit and generator polynomial matrix carry out logical operation, last output encoder result;
Wherein, the information bit length k of input can be divided into the k/p equal portions by the figure place p of parallel encoding, if kmodp=0, and the figure place p of parallel encoding is the number of times (n-k) less than generator polynomial, passes through k/p beat, can complete whole codings; If kmodp ≠ 0, add extra z position 0 and make (k+z) modp=0 in information bit, wherein the value of z is fixed.
2. the parallel encoding method of parameterized Bose-Chaudhuri Hocquenghem error correction codes as claimed in claim 1, is characterized in that, with verilog HDL language output encoder result.
3. the device of the parallel encoding method of a Bose-Chaudhuri Hocquenghem error correction codes that adopts above-mentioned parameter, is characterized in that, comprises check digit temporary variable module, generator polynomial matrix module, logical operation module, coding result memory module; The prime information position described generator polynomial matrix module of input produces the generator polynomial matrix, check digit temporary variable and described generator polynomial matrix are by described logical operation module output data to described check digit temporary variable module, and described check digit temporary variable module is transferred to described coding result memory module with result.
CN2013103409167A 2013-08-06 2013-08-06 Parameterization BCH (broadcast channel) error-correcting code parallel encoding method and device Pending CN103401566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103409167A CN103401566A (en) 2013-08-06 2013-08-06 Parameterization BCH (broadcast channel) error-correcting code parallel encoding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103409167A CN103401566A (en) 2013-08-06 2013-08-06 Parameterization BCH (broadcast channel) error-correcting code parallel encoding method and device

Publications (1)

Publication Number Publication Date
CN103401566A true CN103401566A (en) 2013-11-20

Family

ID=49565123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103409167A Pending CN103401566A (en) 2013-08-06 2013-08-06 Parameterization BCH (broadcast channel) error-correcting code parallel encoding method and device

Country Status (1)

Country Link
CN (1) CN103401566A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929211B (en) * 2014-04-30 2017-02-15 中国科学院微电子研究所 Self-adaptive adjustment method and system of BCH coding scheme
CN108400787A (en) * 2018-03-07 2018-08-14 中山大学 A kind of parallel FIR filter fault-tolerance approach based on Bose-Chaudhuri-Hocquenghem Code
CN109756235A (en) * 2018-12-07 2019-05-14 天津津航计算技术研究所 A kind of configurable parallel BCH error correction/encoding method
CN111192624A (en) * 2019-12-30 2020-05-22 深圳市芯天下技术有限公司 System and method for testing performance of BCH (broadcast channel) error correcting code

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5040179A (en) * 1989-08-18 1991-08-13 Loral Aerospace Corp. High data rate BCH encoder
CN101068113A (en) * 2007-06-21 2007-11-07 炬力集成电路设计有限公司 Circuit, coder and device for parallel BCH coding
CN101931415A (en) * 2009-06-19 2010-12-29 成都市华为赛门铁克科技有限公司 Encoding device and method, decoding device and method as well as error correction system
CN102882534A (en) * 2012-10-12 2013-01-16 烽火通信科技股份有限公司 Parallel implementation method and device for reed-solomon (RS) code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5040179A (en) * 1989-08-18 1991-08-13 Loral Aerospace Corp. High data rate BCH encoder
CN101068113A (en) * 2007-06-21 2007-11-07 炬力集成电路设计有限公司 Circuit, coder and device for parallel BCH coding
CN101931415A (en) * 2009-06-19 2010-12-29 成都市华为赛门铁克科技有限公司 Encoding device and method, decoding device and method as well as error correction system
CN102882534A (en) * 2012-10-12 2013-01-16 烽火通信科技股份有限公司 Parallel implementation method and device for reed-solomon (RS) code

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑星宇: "DVB_C2中高速并行BCH编码器的设计与实现", 《电视技术》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929211B (en) * 2014-04-30 2017-02-15 中国科学院微电子研究所 Self-adaptive adjustment method and system of BCH coding scheme
CN108400787A (en) * 2018-03-07 2018-08-14 中山大学 A kind of parallel FIR filter fault-tolerance approach based on Bose-Chaudhuri-Hocquenghem Code
CN108400787B (en) * 2018-03-07 2021-04-13 中山大学 Parallel FIR filter fault-tolerant method based on BCH coding
CN109756235A (en) * 2018-12-07 2019-05-14 天津津航计算技术研究所 A kind of configurable parallel BCH error correction/encoding method
CN111192624A (en) * 2019-12-30 2020-05-22 深圳市芯天下技术有限公司 System and method for testing performance of BCH (broadcast channel) error correcting code

Similar Documents

Publication Publication Date Title
JP5913560B2 (en) Encoding and decoding techniques using low density parity check codes
CN101902228B (en) Rapid cyclic redundancy check encoding method and device
CN103516476A (en) Encoding method and device
CN102799495B (en) For generating the device of School Affairs
CN107239362B (en) Parallel CRC (Cyclic redundancy check) code calculation method and system
EP3182601B1 (en) Data processing method and system based on quasi-cyclic ldpc
US11245423B2 (en) Interleaving method and apparatus
CN103401566A (en) Parameterization BCH (broadcast channel) error-correcting code parallel encoding method and device
CN102751995A (en) FPGA (field programmable gate array)-based multiple bit upset resisting RS code error detection and correction system
CN101507120A (en) Parallel residue arthmetic operation unit and parallel residue arthmetic operating method
CN101834615B (en) Implementation method of Reed-Solomon encoder
US8332731B1 (en) Error-correcting code and process for fast read-error correction
CN102761340B (en) Broadcast channel (BCH) parallel coding circuit
CN112332857B (en) Cyclic shift network system and cyclic shift method for LDPC code
CN100384116C (en) High-speed coding chip
CN103401650A (en) Blind identification method for (n, 1 and m) convolutional code with error codes
CN102045073A (en) Method and device for decoding broadcast channel (BCH) code
CN100459438C (en) Reed-solomon decoder key equation and error value solving-optimizing circuit
CN103152059A (en) Device and method of generating of constant coefficient matrix of radio sonde (RS) of consultative committee for space data system (CCSDS)
WO2019137231A1 (en) Decoding method and device
CN202856718U (en) Multiple bits up set resistant RS code error detection and correction system based on FPGA
CN1561005B (en) Quick double-error correction BCH code decoder
CN204347817U (en) The pseudorandom number generator of integrated CRC check circuit
CN103092816A (en) Generating device and generating method of constant coefficient matrixes in parallel reed solomon (RS) codes
CN102811066B (en) Syndrome calculating device and decoder

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131120

WD01 Invention patent application deemed withdrawn after publication