Error correction device, control circuit, storage medium, and error correction method
The error correction device addresses the challenge of increasing circuit scale in BCH code-based systems by employing a syndrome generation unit and a degenerate normalized root table to reduce table size, enabling efficient 2-bit error correction in wireless communication systems.
Patent Information
- Application Number
- PCT/JP2023/006766
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2024-08-29
Smart Images

Figure JP2023006766_29082024_PF_FP_ABST
Abstract
Description
Error correction device, control circuit, storage medium, and error correction method
[0001] The present disclosure relates to an error correction device, a control circuit, a storage medium, and an error correction method for correcting errors that occur in wireless communication.
[0002] Conventionally, in double-bit error correction using block error correction codes such as BCH (Bose Chaudhuri Hocquenghem) codes, a syndrome pattern S obtained by syndrome calculation is 1 = α i +α j , S 3 = α 3i +α 3j From the second-order error locator polynomial X 2 +σ 1 X + σ 2 and construct a quadratic error locator polynomial X 2 +σ 1 X + σ 2 The root of α is found. i , α j is an element of the Galois field that corresponds one-to-one to the error position, i≠j, and "+" is addition on the Galois field. 1 = α i +α j and σ 2 = α i ・α j and "." is multiplication over a Galois field.
[0003] For example, in Patent Document 1, when finding a root, a quadratic error locator polynomial X 2 +σ 1 X + σ 2 is normalized to obtain the normalized polynomial Y 2 +Y+P is calculated, the root y is calculated by table lookup using the parameter P as an address, and the root y is multiplied or added to obtain α i , α j A technique for determining P = σ is disclosed. 2 / σ 1 2 and " / " is division on the Galois field. Here, the parameter P is P=(α i ・α j ) / (αi +α j ) 2 = S 3 / S 1 3 +1, and the root y is y=α i / (α i +α j ) is calculated by
[0004] WO 01 / 084719
[0005] However, according to the above conventional technique, the normalized polynomial Y 2 In the table lookup to find the root y from the parameter P of +Y+P, the parameter P is used as an address to output the root y. 8 In a BCH code with a code length of 255 bits and an information bit length of 239 bits, which is constructed over an extension field on the Galois field GF(2), the parameter P is 8 bits and the root y is 8 bits, so a table of 256 words of 8 bits is required. 16 In a BCH code with a code length of 65,535 bits and an information bit length of 65,503 bits, which is constructed over an extension field on the arithmetic unit (A), the parameter P is 16 bits, the root y is 16 bits, and a table of 16 bits, 65,536 words, is required. As such, the table size required for table lookup becomes large, which causes a problem of an increase in the circuit scale of the device.
[0006] The present disclosure has been made in view of the above, and aims to provide an error correction device that can suppress an increase in circuit size.
[0007] In order to solve the above-mentioned problems and achieve the object, the present disclosure provides an error correction device that performs double-bit error correction decoding using a block error correction code. The error correction device is characterized by comprising: a syndrome generation unit that generates a syndrome pattern from a received sequence; an error number determination unit that determines the number of bit errors in the received sequence based on the syndrome pattern; and a double-bit error candidate error correction unit that, when the error number determination unit determines that there are double-bit errors and that correction is possible, calculates, based on the syndrome pattern, a first parameter that is a normalized parameter and a constant term of a normalized polynomial obtained by normalizing a quadratic error locator polynomial, excludes from the first parameters the first parameter that is determined to be uncorrectable for double-bit errors, and uses a second parameter obtained by degenerating the first parameter by one bit to find a normalized root for the double-bit errors.
[0008] The error correction device according to the present disclosure has an advantage that it is possible to suppress an increase in circuit size.
[0009] FIG. 1 shows an example of the configuration of an error correction device according to the first embodiment. FIG. 2 shows an example of a table required for table lookup when finding a root from normalization parameters as a comparative example. FIG. 3 shows an example of a degenerate normalized root table used in a degenerate normalized root acquisition unit provided in the error correction device according to the first embodiment. FIG. 4 shows an example of the configuration of a processing circuit that realizes the error correction device according to the first embodiment when the processing circuit is configured with a processor and a memory. FIG. 5 shows an example of a processing circuit that realizes the error correction device according to the first embodiment when the processing circuit is configured with dedicated hardware.
[0010] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An error correction device, a control circuit, a storage medium, and an error correction method according to embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0011] Embodiment 1. Figure 1 shows an example of the configuration of an error correction device 20 according to embodiment 1. The error correction device 20 is a device that performs double-bit error correction decoding using a block error correction code such as a BCH code, and corrects errors of two bits or less in an input received sequence. The error correction device 20 includes a syndrome generation unit 1, an error number determination unit 2, a determination result processing unit 3, a double-bit error candidate error correction unit 5, a selection unit 10, an error position conversion unit 11, a delay unit 12, and a correction unit 13. The determination result processing unit 3 includes a single-bit error correction calculation unit 4. The double-bit error candidate error correction unit 5 includes a double-bit error correction normalization calculation unit 6, a correction unacceptability determination unit 7, a degenerate normalization root acquisition unit 8, and a double-bit error position calculation unit 9.
[0012] The syndrome generator 1 generates a syndrome pattern S from one of the branched received sequences input to the error correction device 20. 1 , S 3 The received sequence is, for example, a received sequence received by wireless communication by a receiving device (not shown) that includes the error correction device 20, but is not limited to this.
[0013] The error number determination unit 2 determines the syndrome pattern S generated by the syndrome generation unit 1. 1 , S 3 Based on the syndrome pattern S 1 , S 3 Based on the result, it is determined whether there is no error, a single-bit error, an uncorrectable error, or a double-bit error candidate. As will be described later, a double-bit error candidate is a determination result in which the double-bit error candidate error correction unit 5 determines that a double-bit error is correctable or uncorrectable, that is, a determination result that there is a double-bit error and that there is a possibility of correction.
[0014] The determination result processing unit 3 processes the determination results other than double-bit error candidates from the error number determining unit 2, specifically, the determination results of no error, single-bit error, and uncorrectable error.
[0015] The single-bit error correction calculation unit 4 calculates an element indicating the single-bit error position based on the single-bit error determination result from the error number determination unit 2.
[0016] If the double-bit error candidate error correction unit 5 determines that the double-bit error candidate is correctable based on the result of the double-bit error candidate determination by the error number determination unit 2, it performs the original calculation indicating the double-bit error position, or determines that the double-bit error is not correctable.
[0017] The 2-bit error correction normalization calculation unit 6 is a Galois field GF(2 8 ) primitive polynomial X of an extension field 8 +X 4 +X 3 +X 2 +1 is used to calculate a normalization parameter P, which is a constant term of a normalization polynomial obtained by normalizing the quadratic error locator polynomial. In the following description, the normalization parameter P may be referred to as a first parameter.
[0018] The uncorrectable determining unit 7 determines whether or not the double-bit error candidate is uncorrectable based on the normalization parameter P calculated by the double-bit error correction normalization calculating unit 6 .
[0019] If the result of the determination by the correction unacceptability determination unit 7 is that correction is possible, the degenerate normalized root acquisition unit 8 converts the normalized parameter P into a degenerate parameter P 1 The root y is obtained from the degenerate normalized root table 8a whose address is 1 is sometimes referred to as the second parameter.
[0020] The 2-bit error location calculation unit 9 calculates the Galois field element α, which indicates a 2-bit error, from the root y acquired from the degenerate normalized root acquisition unit 8. i , α j Ask for.
[0021] The selector 10 selects an output to the error location converter 11 based on the state of each error number.
[0022] If the output from the selection unit 10 is a 1-bit error or a 2-bit error, the error position conversion unit 11 converts the Galois field element indicating the error position into an error position using an error position conversion table 11a that converts a Galois field element indicating the error position into an error position.
[0023] The delay unit 12 delays the other branched received sequence of the received sequence input to the error correction device 20 by the processing time from the syndrome generation unit 1 to the error location conversion unit 11 .
[0024] The correction unit 13 corrects the corresponding bit in the received sequence delayed by the delay unit 12 based on the error position acquired from the error position conversion unit 11 .
[0025] Next, the operation of the error correction device 20 will be described. FIG. 2 is a flowchart showing the operation of the error correction device 20 according to the first embodiment. FIG. 2 shows an example of the operation of the error correction device 20 in a Galois field GF(2 8 ) in the extension field on which the primitive polynomial X 8 +X 4 +X 3 +X 2 2 is a diagram showing the operation of the error correction device 20 when using a BCH code having a code length of 255 bits and an information bit length of 239 bits, each consisting of +1. In FIG. 2, steps ST1 to ST13 are separated by five dotted-line boxes, and the symbols assigned to each box are the same as the symbols of each component of the error correction device 20 shown in FIG. 1. That is, the symbols shown in FIG. 2 indicate the components of the error correction device 20 that perform the operation of each step.
[0026] In the error correction device 20, the syndrome generator 1 generates a syndrome pattern S from one of the branched received sequences input to the error correction device 20. 1 , S 3 (Step ST1). The syndrome generator 1 generates the syndrome pattern S 1 , S 3 is output to the error number determination unit 2.
[0027] The error number determination unit 2 determines the syndrome pattern S generated by the syndrome generation unit 1. 1 , S 3 Specifically, the error number determining unit 2 determines the number of errors based on S 1 = S 3 = 0 (step ST2: Yes), the syndrome pattern S 1 , S3 The judgment result processor 3 outputs the judgment result that there is no error to the judgment result processor 3. Since the judgment result acquired from the error number judger 2 is that there is no error (step ST3), the judgment result processor 3 outputs the syndrome pattern S 1 , S 3 The result of the determination that there is no error is output to the selection unit 10 as is.
[0028] The error number determination unit 2 1 , S 3 At least one of the values is not 0 (step ST2: No), and S 1 = 0, i.e., S 1 = 0 and S 3 If ≠ 0 (step ST4: Yes), the syndrome pattern S 1 , S 3 The error number determining unit 2 outputs the judgment result that the error is uncorrectable to the judgment result processing unit 3. Since the judgment result obtained from the error number determining unit 2 is that the error is uncorrectable (step ST5), the judgment result processing unit 3 outputs the syndrome pattern S 1 , S 3 The result of the determination that correction is impossible is output to the selection unit 10 as it is.
[0029] The error number determination unit 2 1 ≠0 (step ST4: No), and S 1 3 +S 3 = 0, i.e., S 1 ≠0 and S 3 ≠0 and S 1 3 +S 3 = 0 (step ST6: Yes), the syndrome pattern S 1 , S 3 and outputs the 1-bit error determination result to the determination result processing unit 3. Note that "+" represents addition on the Galois field. In the determination result processing unit 3, the 1-bit error correction calculation unit 4 calculates a Galois field element indicating the 1-bit error position for the 1-bit error determination result from the error number determination unit 2. Specifically, the 1-bit error correction calculation unit 4 calculates a Galois field element X1=S 1 (step ST7) and outputs it to the selection unit 10.
[0030] The error number determination unit 21 3 +S 3 If ≠ 0, that is, S 1 ≠0 and S 3 ≠0 and S 1 3 +S 3 If ≠ 0 (step ST6: No), the syndrome pattern S 1 , S 3 The double-bit error candidate determination result is output to the double-bit error candidate error correction unit 5 .
[0031] The double-bit error candidate error correction unit 5 generates a syndrome pattern S 1 , S 3 However, for example, in the Galois field GF(2 8 ) in the extension field on which the primitive polynomial X 8 +X 4 +X 3 +X 2 In the case of a BCH code having a code length of 255 bits and an information bit length of 239 bits, the double-bit error candidate error correction unit 5 needs a table of 65,536 words of 16-bit output. 1 , S 3 Compared with the case where a 2-bit error position is obtained using the above as an input parameter, the size of the table required for table lookup is reduced by performing normalization.
[0032] In the double-bit error candidate error correction unit 5, first, when the error number determination unit 2 determines that the error is a double-bit error candidate, the double-bit error correction normalization calculation unit 6 calculates the syndrome pattern S obtained from the error number determination unit 2. 1 , S 3 Based on this, a normalization parameter P=S is a constant term of a normalization polynomial obtained by normalizing the quadratic error locator polynomial. 3 / S 1 3 The double-bit error correction normalization calculation unit 6 calculates +1 based on the syndrome pattern S 1 , S 3, and the normalization parameter P obtained by the calculation is output to the correction unacceptability determination unit 7. Note that " / " indicates division on the Galois field. In addition, in FIG. 2, the normalization parameter P is represented by "Adr[7:0]".
[0033] The double-bit error candidate error correction unit 5 can also find the root y using the normalization parameter P as an address. For example, 8 +X 4 +X 3 +X 2 For +1, a table like that shown in FIG. 3 is required. FIG. 3 is a diagram showing, as a comparative example, an example of a table required for table lookup when finding the root y from the normalization parameter P. In FIG. 3, the normalization parameter P is used as an address, which is represented by address (P). In FIG. 3, the vertical direction of the address (P) indicates the most significant bits, and the horizontal direction of the address (P) indicates the least significant four bits. Here, the address (P) of an input value that outputs 0, i.e., the normalization parameter P, is uncorrectable. In this embodiment, focusing on the address (P) that outputs 0, i.e., the normalization parameter P, the uncorrectable determination unit 7 determines whether or not a double-bit error candidate is uncorrectable based on the normalization parameter P.
[0034] In the example of Fig. 3, when P = 0, or when the normalization parameter P is an 8-bit address and the LSB (Least Significant Bit) is set as the 0th bit, and the 5th bit from the LSB is 1, correction is impossible. Therefore, when P = 0, or when the normalization parameter P is an 8-bit address and the 5th bit from the LSB is 1 (step ST9: Yes), the correction impossible determination unit 7 determines that correction is impossible (step ST10), and generates the syndrome pattern S 1 , S 3and outputs the result of the determination that the normalization parameter P is uncorrectable to the selection unit 10. Note that in FIG. 2, the case where P=0 is represented by "Adr[7:0]=0", and the case where the fifth bit from the LSB is 1 is represented by "Adr[5]=1". As a result, the uncorrectable determination unit 7 excludes in advance from the 2-bit correction process the normalization parameter P when the fifth bit from the LSB is 1, as being uncorrectable, assuming that the normalization parameter P is an 8-bit address. In other words, the uncorrectable determination unit 7 can exclude from the normalization parameter P the normalization parameter P for which it is determined that a 2-bit error is uncorrectable. In the following description, the LSB may be referred to as the least significant bit.
[0035] If P≠0 and the fifth bit from the LSB of the normalization parameter P as an 8-bit address is not 1 (step ST9: No), the uncorrectable determination unit 7 determines that the double-bit error candidate is correctable. 1 , S 3 If the uncorrectable judging unit 7 judges that the double-bit error candidate is correctable, the degenerate normalization root acquiring unit 8 outputs the result of the judgment that the double-bit error candidate is correctable to the degenerate normalization root acquiring unit 8. 1 The root y is obtained from the degenerate normalized root table 8a having the address:
[0036] 4 is a diagram showing an example of a degenerate normalized root table 8a used in the degenerate normalized root acquisition unit 8 included in the error correction device 20 of the first embodiment. The degenerate normalized root table 8a shown in FIG. 4 is a 7-bit parameter P obtained by excluding the fifth bit from the LSB of the normalized parameter P from the table shown in FIG. 1 The degenerate normalized root acquisition unit 8 outputs the root y from the degenerate normalized root table 8a shown in FIG. 4 (step ST11). In FIG. 2, the degenerate normalized root table 8a is stored in the 7-bit address (P 1 The degenerate normalized root acquisition unit 8 obtains the root y and the syndrome pattern S 1 , S 3is output to the double-bit error position calculation unit 9. When the uncorrectable decision unit 7 decides that the double-bit error candidate is correctable, the root y output from the degenerate normalized root acquisition unit 8 is expressed as y=α i / (α i +α j ) in this way. The degenerate normalized root acquisition unit 8 obtains the parameter P by degenerating the normalized parameter P by one bit. 1 can be used to find the normalized root y for a 2-bit error.
[0037] The 2-bit error position calculation unit 9 calculates the root y obtained from the degenerate normalized root acquisition unit 8 and the syndrome pattern S 1 , S 3 Specifically, the two-bit error position calculation unit 9 calculates the Galois field element X1=α i = y.S. 1 , X2=α j = X1 + S 1 (step ST12) and outputs it to the selection unit 10. Note that "•" is multiplication on the Galois field.
[0038] The selection unit 10 performs a selection process on the calculation result obtained from the decision result processing unit 3 or the double-bit error candidate error correction unit 5 (step ST13). The selection unit 10 selects the Galois field element X1=S indicating the single-bit error position from the single-bit error correction calculation unit 4 of the decision result processing unit 3. 1 When the above is obtained, the element X1 of the Galois field indicating the 1-bit error position is obtained. 1 to the error position conversion unit 11. The selection unit 10 selects the Galois field element X1=α indicating the double-bit error position from the double-bit error position calculation unit 9 of the double-bit error candidate error correction unit 5. i = y.S. 1 , X2=α j = X1 + S 1 When the above is obtained, the Galois field element X1 = α indicating the 2-bit error position is obtained. i = y.S. 1 , X2=α j = X1 + S 1 to the error position converter 11.
[0039] The error position converter 11 receives from the selector 10 the Galois field element X1=S 1 , or Galois field element X1=α indicating the 2-bit error position i = y.S. 1 , X2=α j = X1 + S 1 When the error position conversion unit 11 acquires the error position, it converts the element of the Galois field indicating the error position into an error position using the error position conversion table 11a, and outputs the error position obtained by the conversion to the correction unit 13. Note that even when it is determined that there is no error or that correction is impossible, the error position conversion unit 11 can perform conversion processing on positions other than the error position target using the error position conversion table 11a.
[0040] The correction unit 13 corrects the corresponding bits of the received series delayed by the delay unit 12 based on the error position obtained from the error position conversion unit 11, i.e., inverts the corresponding bits to complete the correction and output the result.
[0041] In this way, in the error correction device 20, when the error number determination unit 2 determines that the error is a double-bit error candidate, the double-bit error candidate error correction unit 5 generates the syndrome pattern S 1 , S 3 The double-bit error candidate error correction unit 5 calculates a normalization parameter P, which is a constant term of a normalization polynomial obtained by normalizing the quadratic error locator polynomial, based on the normalization parameter P. The double-bit error candidate error correction unit 5 excludes the normalization parameter P for which it is determined that a double-bit error cannot be corrected from the normalization parameter P, and calculates a parameter P obtained by degenerating the normalization parameter P by one bit. 1 Specifically, the double-bit error candidate error correction unit 5 calculates a normalized root y for a double-bit error using a primitive polynomial X 8 +X 4 +X 3 +X 2 When +1 is used, if the 5th bit from the LSB is 1 when the LSB is set as the 0th bit in the normalized 8-bit normalized parameter P, it is determined that a 2-bit error cannot be corrected, and the 5th bit from the LSB is deleted from the normalized parameter P to obtain a degenerated parameter P 1 The normalized root y is found using
[0042] Next, the hardware configuration of the error correction device 20 will be described. In the error correction device 20, the syndrome generation unit 1, error number determination unit 2, determination result processing unit 3, double-bit error candidate error correction unit 5, selection unit 10, error position conversion unit 11, delay unit 12, and correction unit 13 are realized by processing circuits. The processing circuit may be a processor and memory that executes a program stored in memory, or may be dedicated hardware. The processing circuit is also called a control circuit.
[0043] FIG. 5 is a diagram showing an example of the configuration of a processing circuit 90 that implements the error correction device 20 according to the first embodiment, where the processing circuit is configured with a processor 91 and a memory 92. The processing circuit 90 shown in FIG. 5 is a control circuit and includes a processor 91 and a memory 92. When the processing circuit 90 is configured with the processor 91 and the memory 92, each function of the processing circuit 90 is implemented by software, firmware, or a combination of software and firmware. The software or firmware is written as a program and stored in the memory 92. The processor 91 reads and executes the program stored in the memory 92 to implement each function of the processing circuit 90. That is, the processing circuit 90 includes the memory 92 for storing a program that results in the processing of the error correction device 20 being executed. This program can also be said to be a program that causes the error correction device 20 to execute each function implemented by the processing circuit 90. This program may be provided by a storage medium on which the program is stored, or by other means such as a communication medium.
[0044] The above program is a program in which the syndrome generator 1 generates a syndrome pattern S from a received sequence. 1 , S 3 The first step is to generate a syndrome pattern S 1 , S 3 a second step of determining the number of bit errors in the received sequence based on the error number determination unit 2; and a double-bit error candidate error correction unit 5, when the error number determination unit 2 determines that the received sequence is a double-bit error candidate, corrects the syndrome pattern S1 , S 3 Normalization parameters P are calculated as constant terms of a normalization polynomial obtained by normalizing the quadratic error locator polynomial, and normalization parameters P are calculated. Normalization parameters P for which it is determined that 2-bit errors cannot be corrected are excluded from the normalization parameters P. Normalization parameters P are calculated as parameters P degenerated by 1 bit. 1 and a third step of finding a normalized root y for a 2-bit error using the above formula.
[0045] Here, the processor 91 is, for example, a CPU (Central Processing Unit), a processing device, an arithmetic unit, a microprocessor, a microcomputer, or a DSP (Digital Signal Processor), etc. The memory 92 is, for example, a non-volatile or volatile semiconductor memory such as a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable ROM), or an EEPROM (Electrically EPROM), a magnetic disk, a flexible disk, an optical disk, a compact disk, a minidisk, or a DVD (Digital Versatile Disc).
[0046] FIG. 6 is a diagram illustrating an example of a processing circuit 93 that implements the error correction device 20 according to the first embodiment and is configured with dedicated hardware. The processing circuit 93 illustrated in FIG. 6 may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a combination thereof. The processing circuit may be partially implemented with dedicated hardware and partially implemented with software or firmware. In this way, the processing circuit can implement each of the above-described functions using dedicated hardware, software, firmware, or a combination thereof.
[0047] As described above, according to this embodiment, in processing double-bit error correction candidates, the error correction device 20 determines in advance that correction is impossible using the normalization parameter P, and calculates the parameter P by reducing the input address by one bit from the normalization parameter P through simple processing. 1 and generate a parameter P 1 As a result, the error correction device 20 can obtain the root y using a table that is half the size of the table required to obtain the root y using the normalization parameter P, thereby reducing the circuit scale.
[0048] In this embodiment, a BCH code with a code length of 255 bits and an information bit length of 239 bits is used as an example, but similar processing can also be performed on a 2-bit correction, 3-bit error detection BCH code with an information bit length of 238 bits by adding one bit of parity.
[0049] Furthermore, similar processing is possible for an extended BCH code with 2-bit correction and 3-bit error detection, with a code length of 256 bits and an information bit length of 239 bits, by increasing the parity by one bit.
[0050] Furthermore, even with shortened codes in which the information bit length is shortened, the error position conversion unit 11 needs to perform additional processing to determine whether correction is possible, but similar processing is possible.
[0051] Second Embodiment In the first embodiment, the error correction device 20 is a Galois field GF(2 8 ) in the extension field on which the primitive polynomial X 8 +X 4 +X 3 +X 2 For the double-bit error correction candidates in the BCH code with a code length of 255 bits and an information bit length of 239 bits, which are composed of +1, it is determined in advance that the normalized parameter P is uncorrectable, and the parameter P is degenerated by 1 bit by simple processing. 1The root y is obtained from the degenerate normalized root table 8a with the table size halved, which has the address of . The error correction device 20 can also use the degenerate normalized root table with the table size halved for other primitive polynomials. However, the error correction device 20 cannot use the degenerate normalized root table with the table size halved for other primitive polynomials. 1 When generating, whether it can be generated with simple processing depends on the primitive polynomial used.
[0052] For example, the extension field GF(2 16 ) primitive polynomial X 16 +X 12 +X 3 +X+1. When the normalization parameter P = 0 and P is a 16-bit address, the table outputting the root y has a 16-bit output of 65,536 words. However, when the hexadecimal representation is 2000-2FFF, 3000-3FFF, 6000-6FFF, 7000-7FFF, 8000-8FFF, 9000-9FFF, C000-CFFF, or D000-DFFF, the 16-bit root y becomes all 0, making it uncorrectable. Therefore, the uncorrectable determination unit 7 of the error correction device 20 performs an exclusive OR operation on the MSB (Most Significant Bit) and the second bit from the MSB, i.e., the 13th bit from the LSB when the LSB is set to bit 0. If the result is 1, it is deemed uncorrectable and is excluded from the 2-bit correction process in advance. In the following description, the MSB may be referred to as the most significant bit.
[0053] The degenerate normalized root acquisition unit 8 of the error correction device 20 uses a degenerate normalized root table 8a in which the root y data of A000 to BFFF, where the root y is non-zero with the normalization parameter P, is moved to the root y output of 2000 to 3FFF, and the root y data of E000 to FFFF, where the root y is non-zero with the normalization parameter P, is moved to the root y output of 6000 to 7FFF, and the degenerate normalized root table 8a is used to obtain a 15-bit parameter P excluding the MSB of the normalization parameter P. 1 The root y can be found from
[0054] In this way, the double-bit error candidate error correction unit 5 corrects the double-bit error candidate in the extension field GF(2 16 ) primitive polynomial X 16 +X 12 +X 3 When +X+1 is used, if the exclusive OR of the 13th bit from the LSB and the MSB is 1 when the LSB is set as the 0th bit in the normalized 16-bit normalized parameter P, it is determined that the 2-bit error cannot be corrected, and the MSB is deleted from the normalized parameter P to obtain a degenerated parameter P 1 The normalized root y is found using
[0055] As described above, according to this embodiment, the error correction device 20 is configured to correct the error in the extension field GF(2 16 ) primitive polynomial X 16 +X 12 +X 3 In the process of the 2-bit error correction candidate of +X+1, the normalization parameter P is used to determine in advance that the error is uncorrectable, and the parameter P is obtained by reducing the input address by 1 bit from the normalization parameter P by simple processing. 1 and generate a parameter P 1 As a result, the error correction device 20 can obtain the root y using a table that is half the size of the table required to obtain the root y using the normalization parameter P, thereby reducing the circuit scale.
[0056] The error correction device 20 can be used in various extension fields GF(2 n ) is used, the normalization parameter P is used to determine in advance whether correction is possible, and the parameter P is obtained by reducing the input address by one bit from the normalization parameter P by simple processing. 1 and generate a parameter P 1 By calculating the root y based on the above, it is possible to calculate the root y using a table that is half the size of the table when compared with the case where the root y is calculated using the normalization parameter P, and the circuit scale can be reduced.
[0057] The configurations shown in the above embodiments are merely examples, and may be combined with other known technologies, or different embodiments may be combined with each other. It is also possible to omit or modify parts of the configurations as long as they do not deviate from the gist of the invention.
[0058] 1 syndrome generation unit, 2 error number determination unit, 3 determination result processing unit, 4 1-bit error correction calculation unit, 5 2-bit error candidate error correction unit, 6 2-bit error correction normalization calculation unit, 7 correction uncorrectable determination unit, 8 degenerate normalization root acquisition unit, 8a degenerate normalization root table, 9 2-bit error position calculation unit, 10 selection unit, 11 error position conversion unit, 11a error position conversion table, 12 delay unit, 13 correction unit, 20 error correction device, 90, 93 processing circuit, 91 processor, 92 memory.
Claims
1. An error correction device that performs double-bit error correction decoding using a block error correction code, comprising: a syndrome generation unit that generates a syndrome pattern from a received sequence; an error number determination unit that determines the number of bit errors in the received sequence based on the syndrome pattern; and a double-bit error candidate error correction unit that, when the error number determination unit determines that there are two bit errors and that correction is possible, calculates a first parameter, which is a normalized parameter and is a constant term of a normalized polynomial obtained by normalizing a second-order error locator polynomial, based on the syndrome pattern, excludes from the first parameters the first parameter that is determined to be uncorrectable for the two-bit errors, and uses a second parameter obtained by degenerating the first parameter by one bit to find a normalized root for the two-bit errors.
2. The two-bit error candidate error correction unit is a primitive polynomial X 8 +X 4 +X 3 +X 2 2. The error correction device according to claim 1, wherein, when +1 is used, if the 5th bit from the least significant bit in the normalized 8-bit first parameter is 1 when at least the least significant bit is set to bit 0, the 2-bit error is determined to be uncorrectable, and the normalized root is found using the second parameter degenerated by deleting the 5th bit from the least significant bit from the first parameter.
3. The two-bit error candidate error correction unit is a primitive polynomial X 16 +X 12 +X 3 2. The error correction device according to claim 1, wherein, when +X+1 is used, when an exclusive OR between the 13th bit from the least significant bit and the most significant bit in the normalized 16-bit first parameter is 1 when at least the least significant bit is set to bit 0, the 2-bit error is determined to be uncorrectable, and the normalized root is found using the second parameter obtained by degenerating the first parameter by deleting the most significant bit.
4. A control circuit for controlling an error correction device that performs double-bit error correction decoding using a block error correction code, comprising: a control circuit that causes the error correction device to perform the following: generate a syndrome pattern from a received sequence; determine the number of bit errors in the received sequence based on the syndrome pattern; if it is determined that there is a double-bit error and that correction is possible, calculate a first parameter, which is a normalized parameter and is a constant term of a normalized polynomial obtained by normalizing a quadratic error locator polynomial, based on the syndrome pattern; exclude from the first parameters the first parameter that is determined to be uncorrectable for the double-bit error; and use a second parameter obtained by degenerating the first parameter by one bit to find a normalized root for the double-bit error.
5. A storage medium having stored therein a program for controlling an error correction device that performs double-bit error correction decoding using a block error correction code, the program causing the error correction device to perform the following: generate a syndrome pattern from a received sequence; determine the number of bit errors in the received sequence based on the syndrome pattern; if it is determined that there is a double-bit error and that correction is possible, calculate a first parameter, which is a normalized parameter and is a constant term of a normalized polynomial obtained by normalizing a quadratic error locator polynomial, based on the syndrome pattern; exclude from the first parameters the first parameter that is determined to be uncorrectable for the double-bit error; and use a second parameter obtained by degenerating the first parameter by one bit to find a normalized root for the double-bit error.
6. An error correction method for an error correction device that performs double-bit error correction decoding using a block error correction code, comprising: a first step in which a syndrome generation unit generates a syndrome pattern from a received sequence; a second step in which an error number determination unit determines the number of bit errors in the received sequence based on the syndrome pattern; and a third step in which a double-bit error candidate error correction unit calculates a first parameter, which is a constant term of a normalized polynomial obtained by normalizing a quadratic error locator polynomial, based on the syndrome pattern if the error number determination unit determines that there are two bit errors and that correction is possible, excludes from the first parameters the first parameter that is determined to be uncorrectable for the two-bit errors, and uses a second parameter obtained by degenerating the first parameter by one bit to find a normalized root for the two-bit errors.
Citation Information
Patent Citations
Device and method code error correction
JP1999312982A
Error correction device, error correction method, and program
JP2015106872A
Error correction method, error correction device and recording medium in which error correction program is recorded
WO2001084719A1
