WO2020250091A1 - Efficient error correction of codewords encoded by binary symmetry-invariant product codes - Google Patents
Efficient error correction of codewords encoded by binary symmetry-invariant product codes Download PDFInfo
- Publication number
- WO2020250091A1 WO2020250091A1 PCT/IB2020/055248 IB2020055248W WO2020250091A1 WO 2020250091 A1 WO2020250091 A1 WO 2020250091A1 IB 2020055248 W IB2020055248 W IB 2020055248W WO 2020250091 A1 WO2020250091 A1 WO 2020250091A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- correction circuit
- product code
- array
- decoder
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/29—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
- H03M13/2906—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes using block codes
- H03M13/2909—Product codes
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/03—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
- H03M13/05—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
- H03M13/13—Linear codes
- H03M13/15—Cyclic codes, i.e. cyclic shifts of codewords produce other codewords, e.g. codes defined by a generator polynomial, Bose-Chaudhuri-Hocquenghem [BCH] codes
- H03M13/151—Cyclic codes, i.e. cyclic shifts of codewords produce other codewords, e.g. codes defined by a generator polynomial, Bose-Chaudhuri-Hocquenghem [BCH] codes using error location or error correction polynomials
- H03M13/152—Bose-Chaudhuri-Hocquenghem [BCH] codes
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/29—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
- H03M13/2903—Methods and arrangements specifically for encoding, e.g. parallel encoding of a plurality of constituent codes
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/29—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
- H03M13/2906—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes using block codes
- H03M13/2927—Decoding strategies
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/29—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
- H03M13/2948—Iterative decoding
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/61—Aspects and characteristics of methods and arrangements for error correction or error detection, not provided for otherwise
- H03M13/611—Specific encoding aspects, e.g. encoding by means of decoding
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/65—Purpose and implementation aspects
- H03M13/6502—Reduction of hardware complexity or efficient processing
Definitions
- This disclosure relates to data processing, and more specifically, to efficient error correction of data encoded utilizing binary symmetry-invariant product codes (e.g., half product codes), for example, in data storage systems or data communication systems.
- binary symmetry-invariant product codes e.g., half product codes
- Error-correction encoding is employed in data storage systems and data communication systems to improve the accuracy with which data can be recovered from a data channel.
- ECC error-correction code
- Numerous such ECC schemes are known.
- One well-known class of ECC scheme is based on product codes.
- a product code uses two component ECC codes to encode rows and columns of a notional two-dimensional array of input data.
- the basic structure of a conventional product code is illustrated schematically in Figure 1.
- the input data symbols (which in general may be q a
- k2*ki data symbols are assigned to respective locations in a k2 by ki subarray at the intersection of the first k2 rows and first ki columns of the n2 by array.
- the resulting array of input data symbols is encoded by separately encoding the rows and columns of the array.
- a first ECC code C1 is used to encode the ki-symbol data word in each row of the array into a length- C1 codeword.
- This example uses systematic encoding, whereby the input data is retained in the codeword.
- the code symbols of a C1 codeword are obtained by adding (m- ki) parity symbols after the ki-symbol data word in a given row.
- a second ECC code C2 is then used to encode the k2-symbols in each column of the array into a Iength-n2 C2 codeword, here by adding (n2-k2) parity symbols at the end of each column.
- the resulting mx code symbols in the array form the output codeword of the product code.
- an interleaved product code applies the C2 code over s>1 evenly spaced columns of the array, resulting in /s C2 codewords.
- Product codes can offer practical encoder/decoder implementations, their decoders being hard- decision based and thus avoiding the various complexity and latency issues associated with soft-decision decoding.
- Some decoders for interleaved product codes use the technique of iterative decoding based on a graph defined from the basic code structure. Briefly, a bipartite graph can be defined with n2 right nodes, each corresponding to a C1 codeword, and m/s left nodes corresponding to respective C2 codewords. Each right node is connected to each left node by s edges.
- the s edges connecting a pair of nodes represent the s common symbols at the intersections of the C1 and C2 codewords for those nodes in the notional array described above. Iterative decoding is performed based on the graph by decoding the C1 codewords one-by-one, then decoding the C2 codewords one-by-one. Each time a codeword is successfully decoded, the edges leaving the appropriate node are corrected. The process iterates until decoding is complete, that is, either no more errors are detected by the decoder or a predetermined maximum number of iterations has been reached, in which case, the decoder may declare a decoding failure.
- HPCs half product codes
- each component code C1 and C2 is a rate k/n code with a code length (i.e., number of symbols in a codeword) of n, and a dimension (i.e., number of data symbols encoded into each codeword) of k
- a codeword of C can be defined by an (n by n)-symbol matrix X corresponding to the notional array described above, where each row and column of X is a codeword of the row/column code.
- HPC 200 An exemplary prior art HPC 200 is illustrated in Figure 2.
- the original input data 204 is placed in a square array below zero major diagonal 202.
- Symmetrical duplicate data 206 is then formed by copying original input data 204, transposing the original input data, and placing the resulting data above zero major diagonal 202.
- Parity data 208 is then computed (e.g., utilizing a Bose-Chaudhuri-Hocquenghem (BCH) error correction function) separately for each row and column.
- BCH Bose-Chaudhuri-Hocquenghem
- HPC 200 When data is retrieved from memory or received via a data transmission, HPC 200 can be reconstructed by duplicating and transposing the retrieved/received data to fill the array. Any errors arising during the storage, retention, retrieval, and/or transmission of the data will therefore also be symmetric about the zero major diagonal of the reconstructed array, as shown in Figure 3.
- conventional decoding i.e., the error correction process in which rows and columns are iteratively processed to correct row and column errors
- data in the array is first accessed in a row format and then accessed in a columnar format.
- HPC decoding To achieve high performance decoding, hardware implementations of HPC decoding will typically form a full HPC array (including duplicate data 206) in memory and then iteratively decode each row one-by-one and then each column one-by-one. While this approach offers much higher performance than a conventional software implementation, the present disclosure appreciates that the circuitry that enables the data to be accessed in both row and column format is very expensive. The present disclosure also appreciates that conventional hardware implementations require both row and column data to be independently read and corrected, meaning that hardware HPC decoding implementations do not benefit from the array symmetry.
- a decoder performs, in hardware, iterative decoding of codewords encoded by a binary symmetry-invariant product code, such as a half product code (HPC).
- a binary symmetry-invariant product code such as a half product code (HPC).
- a symmetry-invariant product code buffered in a data array is accessed along only a first dimension of the data array, and errors in the data of the symmetry-invariant product code are detected and corrected by an error correction circuit.
- error locations for an orthogonal second dimension of the data array are stored in an error storage array, where the error locations are determined based on the known data symmetry of the symmetry-invariant product code. Based on the stored error locations, errors are corrected "on the fly” as data is accessed from the data array and sent to the error correction circuit.
- a decoder for decoding a binary symmetry-invariant product code
- the decoder comprising circuitry including: a data array having orthogonal first and second dimensions, wherein the data array is configured to access a binary symmetry-invariant product code buffered therein along only the first dimension;an error storage array for storing error locations; a first correction circuit configured to detect and correct errors in data accessed from the data array along the first dimension and to store error locations along the second dimension in the error storage array, wherein the first correction circuit determines the error locations based on data symmetry of the symmetry-invariant product code; and a second correction circuit that, prior to receipt by the first correction circuit of data accessed from the data array along the first dimension, corrects the data accessed from the data array based on the error locations stored in the error storage array.
- a method of decoding a binary symmetry-invariant product code comprising: accessing a binary symmetry-invariant product code buffered in a data array having orthogonal first and second dimensions along only the first dimension; a first correction circuit detecting and correcting errors in data accessed from the data array along the first dimension; the first correction circuit determining error locations along the second dimension in an error storage array based on data symmetry of the symmetry-invariant product code and storing the error locations in an error storage array; and prior to receipt by the first correction circuit of data accessed from the data array along the first dimension, a second correction circuit correcting the data accessed from the data array based on the error locations stored in the error storage array.
- a computer program comprising program code means adapted to perform the method of the preceding paragraph, when said program is run on a computer.
- Figure 1 illustrates a prior art product code
- FIG. 2 illustrates a prior art half product code (HPC)
- Figure 3 depicts a prior art HPC containing symmetrical data errors
- Figure 4 is a high-level block diagram of a data storage system in accordance with one embodiment
- FIG. 5 is a high-level block diagram of a data communication system in accordance with one embodiment
- Figures 6-7 illustrate an exemplary implementation of the data storage system of Figure 4.
- Figure 8 illustrates an exemplary decoder in accordance with one embodiment
- Figure 9 is a high-level logical flowchart of an exemplary process by which a decoder decodes a binary symmetry- invariant product code in accordance with one embodiment.
- Figures 10-13 depict correction of errors in an exemplary HPC by a decoder in accordance with one embodiment.
- the present application is directed to a decoder that performs, in hardware circuitry, iterative decoding of codewords encoded by a binary symmetry-invariant product code, such as a half product code (HPC).
- a binary symmetry-invariant product code such as a half product code (HPC).
- a symmetry-invariant product code buffered in a data array is accessed along only a first dimension of the data array, and errors in the data of the symmetry-invariant product code are detected and corrected by a first correction circuit.
- error locations for an orthogonal second dimension of the data array are stored in an error storage array, where the error locations are determined based on the known data symmetry of the symmetry-invariant product code.
- Based on the stored error locations errors are corrected "on the fly” by a second correction circuit as data is accessed from the data array and sent to the first correction circuit.
- the application is further directed to related methods and program products.
- Data storage system 400 includes a recording channel 402 including a memory 404 (e.g., a flash memory or other non-volatile random access memory (NVRAM)) and a read/write apparatus 406 for reading and writing data in memory 404.
- memory 404 may comprise any desired configuration of data storage units ranging, for example, from a single chip or die to a plurality of storage banks each including multiple packages of memory chips.
- Read/write apparatus 406 performs read and write operations in known manner, addressing memory cells for read and write purposes by applying appropriate voltages to an array of word and bit lines in memory 404.
- Data storage system 400 further includes an encoder 410 and a decoder 412.
- Encoder 410 encodes input data into code symbols in accordance with a binary symmetry-invariant product code (e.g., an HPC) and outputs the code symbols to recording channel 402.
- Decoder 412 processes the readback symbols obtained by read/write apparatus 406 from memory 404 to decode the symmetry-invariant product code and so recover and output the original input data.
- symmetry-invariant product codes such as HPCs also find application in data communication systems, such as data communication system 500.
- the transmitter of data communication system 500 includes an encoder 510 as described above with reference to Figure 4, a modulator 508, and a transmission device (TX) 506.
- Code symbols output by encoder 510 are supplied, via modulator 508, to transmission device 506, which generates a signal for transmitting the code symbols over a communications link 504.
- Communications link 504 may comprise a physical (wired or wireless) link or a logical link over one or more physical links.
- a receiver of the data communication system includes a receiving device (RX) 516 for receiving the signal transmitted over link 504, a demodulator 518 for demodulating the received signal, and a decoder 512 as described above for decoding the resulting code symbols received from demodulator 518.
- RX receiving device
- demodulator 518 for demodulating the received signal
- decoder 512 as described above for decoding the resulting code symbols received from demodulator 518.
- encoders 410, 510 and decoders 412, 512 are implemented in hardware circuitry (i.e., integrated circuitry) in order to achieve high performance. In other embodiments, however, the functionality of encoders 410, 510 and decoders 412, 512 can be implemented in hardware executing program instructions of software and/or firmware. For example, encoding and decoding can be performed in whole or in part through the execution of software that configures one or more processors as encoders and/or decoders to perform the encoding and decoding.
- FIG. 6 illustrates a data processing environment 600 including one or more hosts, such as a processor system 602 having one or more processors 604 that process instructions and data.
- a processor system 602 may additionally include local storage 606 (e.g., dynamic random access memory (DRAM) or disks) that may store program code, operands and/or execution results of the processing performed by processor(s) 604.
- a processor system 602 can be, for example, a mobile computing device (such as a smartphone or tablet), a laptop or desktop personal computer system, a server computer system (such as one of the POWER series of servers available from
- a processor system 602 can also be an embedded processor system using various processors such as ARM, POWER, Intel X86, or any other processor combined with any of memory caches, memory controllers, local storage, I/O bus hubs, etc.
- Each processor system 602 further includes an input/output (I/O) adapter 608 that is coupled directly (i.e., without any intervening device) or indirectly (i.e., through at least one intermediate device) to a data storage system 620 via an I/O channel 610.
- I/O channel 610 may employ any one or a combination of known or future developed communication protocols, including, for example, Fibre Channel (FC), FC over Ethernet (FCoE), Internet Small Computer System Interface (iSCSI), InfiniBand, Transport Control
- I/O requests communicated via I/O channel 610 include read requests by which a processor system 602 requests data from data storage system 620 and write requests by which a processor system 602 requests storage of data in data storage system 620.
- data storage system 620 includes multiple interface cards 622 through which data storage system 620 receives and responds to I/O requests of hosts via I/O channels 610.
- Each interface card 622 is coupled to each of multiple Redundant Array of Inexpensive Disks (RAID) controllers 624 in order to facilitate fault tolerance and load balancing.
- RAID controllers 624 is in turn coupled (e.g., by a PCIe bus) to non-volatile storage media, which in the illustrated example include multiple flash cards 626 bearing NAND flash memory.
- non-volatile storage media which in the illustrated example include multiple flash cards 626 bearing NAND flash memory.
- alternative and/or additional non-volatile storage devices can be employed.
- data storage system 620 is managed by redundant system management controllers (SMCs) 623, which are coupled to interface cards 622 and RAID controllers 624.
- SMCs system management controllers
- system management controller 623 can be implemented utilizing hardware or hardware executing firmware and/or software.
- FIG. 7 depicts a more detailed block diagram of an exemplary embodiment of a flash card 626 of data storage system 620 of Figure 6.
- Flash card 626 includes a gateway 730 that serves as an interface between flash card 626 and RAID controllers 624.
- Gateway 730 is coupled to a general-purpose processor (GPP) 732, which can be configured (e.g., by program code) to perform pre-processing on I/O requests received by gateway 730 and/or to schedule servicing of the I/O requests by flash card 626.
- GPP general-purpose processor
- GPP 732 is coupled to a GPP memory 734 (e.g., Dynamic Random Access Memory (DRAM)) that can conveniently buffer data created, referenced and/or modified by GPP 732 in the course of its processing or data flowing through the gateway 730 destined for one or more of the flash controllers 740.
- GPP memory 734 e.g., Dynamic Random Access Memory (DRAM)
- DRAM Dynamic Random Access Memory
- Gateway 730 is further coupled to multiple flash controllers 740, each of which controls a respective NAND flash memory system 750.
- Flash controllers 740 can be implemented, for example, by an Application Specific Integrated Circuit (ASIC) and/or a Field Programmable Gate Array (FPGA) and/or a microprocessor, and each have an associated flash controller memory 742 (e.g., DRAM).
- ASIC Application Specific Integrated Circuit
- FPGA Field Programmable Gate Array
- GPP 732 may program and configure flash controllers 740 during start-up of data storage system 620.
- flash controllers 740 receive read and write requests from gateway 730 that request to read data stored in NAND flash memory system 750 and/or to store data in NAND flash memory system 750. Flash controllers 740 service these requests, for example, by accessing NAND flash memory system 750 to read or write the requested data from or into NAND flash memory system 750 or by accessing a memory cache (not illustrated) associated with NAND flash memory system 750.
- Flash controllers 740 implement a flash translation layer (FTL) that provides logical-to-physical address translation to enable access to specific memory locations within NAND flash memory systems 750.
- FTL flash translation layer
- an I/O request received by a flash controller 740 from a host device, such as a processor system 602 contains the logical block address (LBA) at which the data is to be accessed (read or written) and, if a write request, the write data to be stored to data storage system 620.
- LBA logical block address
- the I/O request may also specify the amount (or size) of the data to be accessed. Other information may also be communicated depending on the protocol and features supported by data storage system 620.
- the flash translation layer translates LBAs received from a RAID controller 624 into physical addresses assigned to corresponding physical location in NAND flash memory systems 750.
- Flash controllers 740 may perform address translation and/or store mappings between logical and physical addresses in a logical-to-physical translation data structure, such as a logical-to-physical translation table (LPT), which may conveniently be stored in flash controller memory 742.
- LPT logical-to-physical translation table
- NAND flash memory systems 750 may take many forms in various embodiments.
- each NAND flash memory system 750 includes multiple (e.g., 32) individually addressable NAND flash memory storage devices 752.
- the flash memory storage devices 752 take the form of a board-mounted flash memory modules, for example, Single Level Cell (SLC), Multi-Level Cell (MLC), Three Level Cell (TLC), or Quad Level Cell (QLC) NAND flash memory modules.
- SLC Single Level Cell
- MLC Multi-Level Cell
- TLC Three Level Cell
- QLC Quad Level Cell
- the fidelity of data read from flash memory storage devices 752 is preferably enhanced through the implementation of ECC encoding, for example, by flash controllers 740 and/or high level controllers, such as GPPs 732 or RAID controllers 624.
- ECC encoding and decoding is implemented at least in flash controllers 740 by an encoder 744 and decoder 746.
- Decoder 800 which can be utilized to implement any of decoders 412, 512, or 746, decodes data that has been encoded utilizing a binary symmetry-invariant product code (e.g., an HPC).
- a binary symmetry-invariant product code e.g., an HPC
- decoder 200 includes a control circuit 802 that controls the decoding of uncorrected codewords encoded utilizing a binary symmetry-invariant product code.
- decoder 800 includes a data array 804 that buffers the binary symmetry-invariant product code as it is decoded.
- data array 804 includes orthogonal, equally sized first and second dimensions, referred to herein as rows and columns, respectively.
- data array 804 preferably includes circuitry that allows a binary symmetry-invariant product code buffered therein to be accessed for decoding along only one of its first and second dimensions, but not the other.
- decoder 800 in hardware circuitry.
- data array 804 is accessed only by rows and not by columns; it should be understood, however, that the choice of accessed dimension is entirely arbitrary given the data symmetry of the binary symmetry-invariant product code buffered in data array 804.
- Data array 804 is coupled to a column correction circuit 806 that is configured to correct individual bit location(s) within a row codeword read out from data array 804 as needed and "on the fly” based on error location information stored within an error storage array 810.
- the row codeword as possibly modified by column corrector circuit 806, is then fully decoded by row correction circuit 808.
- Row correction circuit 808 may implement, for example, a Bose-Chaudhuri-Flocquenghem (BCH) error correction function, as is known in the art. Based on the decoding of the row codeword, row correction circuit 808 records location(s) of any corrected errors within error storage array 810. In addition, row correction circuit 808 writes the decoded row codeword (with any corrections made by column correction circuit 806 and/or row correction circuit 808) back into data array 804.
- BCH Bose-Chaudhuri-Flocquenghem
- FIG. 9 there is illustrated a high-level logical flowchart of an exemplary process by which a decoder, such as decoder 800 of Figure 8, decodes a binary symmetry-invariant product code in one embodiment.
- the process of Figure 9 begins at block 900 and then proceeds to block 902, which illustrates decoder 800 receiving a portion of a binary symmetry-invariant product code, hereinafter assumed to be an HPC.
- the HPC can be received by decoder 800, for example, from a recording channel 402 of data storage system 400 or a transmission link 504 of a data communication system 500.
- control circuit 802 of decoder 800 fills a portion of data array 804 with the received portion of the HPC (e.g., the triangular portion of the array below the zero major diagonal) and duplicates the data within the received portion of the HPC to form a full data-symmetric HPC within data array 804.
- control circuit 802 directs the iterative decoding of the HPC along only a single dimension of data array 804.
- control circuit 802 causes the HPC to be accessed and decoded by row codewords, but not by column codewords.
- the latency of decoding the HPC is reduced by as much as half.
- Control circuit 802 begins the iterative decoding process at block 904 by determining whether or not all row codewords of the HPC buffered within data array 804 have been accessed for decoding. If so, the process passes to block 920, which is described below. If not, the process proceeds to block 910. At block 910, control circuit 802 causes the first or next row codeword of the HPC to be read out of data array 804. As shown at block 912, as the row codeword is transmitted to row correction circuit 808 for decoding, column correction circuit 806 corrects (i.e., inverts) "on the fly” any bits of the row codeword identified by error storage array 808 as containing errors and forwards the row codeword with any such corrections to row correction circuit 808.
- row correction circuit 808 decodes the codeword utilizing the parity portion of the codeword to correct any errors (block 914).
- row correction circuit 808 may utilize, for example, a convention BCH error correction function.
- row correction circuit 808 records the error location(s) in error storage array 810, thus permitting column correction circuit 806 to utilize the error location information to correct bits in one or more additional row codewords based upon the known data symmetry of the HPC.
- row correction circuit 808 writes the decoded row codeword back into its original location in data array 802. Thereafter, the process returns to block 904.
- control circuit 802 determines whether or not any errors were detected in any of the row codewords of the HPC during the last iteration through all of the row codewords. If no errors were detected in any of the row codewords during the last iteration, then the HPC was successfully decoded, and the process passes to block 922, which depicts control circuit 802 causing the row codewords of the decoded HPC to be output from data array 804, for example, to a processor system 602 or to a component of a data communication system 500. Thereafter, the process of Figure 9 ends at block 924.
- control circuit 802 determines at block 920 whether or not a maximum number of iterations (e.g., 3) through the row codewords of the HPC have been performed. If not, the process of Figure 9 returns through page connector A to block 910 and following blocks, which have been described. If, however, control circuit 802 determines at block 926 that the maximum number of iterations through all of the row codewords of the HPC have been performed, the process of Figure 9 terminates with an error at block 928, and decoder 800 initiates any required error handling.
- a maximum number of iterations e.g. 3
- data array 804 has 20 rows and 20 columns, which are numbered from R0 to R19 and CO to C19, respectively.
- HPCs are encoded utilizing a Bose-Chaudhuri-Hocquenghem (BCH) error correction function that is able to correct up to three errors in a given row (or column) at zero latency.
- BCH Bose-Chaudhuri-Hocquenghem
- error storage array 810 preferably includes the capacity to store up to three error locations per row. Error storage array is initialized to all "invalid” values (the empty state), so that column correction circuit 806 will not initially perform any corrections on a row codeword read out of data array 804.
- control circuit 802 causes row codewords to be iteratively and sequentially read out from data array 804 and passed through collection correction circuit 806 to row correction circuit 808 for BCH decoding, beginning with row R0.
- the row codewords in rows R0 and R1 do not contain any errors, but the row codeword in row R2 initially contains three errors in columns C10, C4 and C3.
- row correction circuit 808 updates error storage array 810, which can be represented as shown in Table I.
- error storage array 810 records three errors to be fixed, namely, the bits in column C2 in rows R3, R4, and R10. As should be observed, these three errors are symmetrical to the errors detected in columns C3, C4, and C10 of row R2.
- row correction circuit 808 updates data array 804, which will then become temporarily asymmetrical as depicted in Figure 11.
- the row codeword in row R3 is next read out from data array 804 and passed through column correction circuit 806 to row correction circuit 808.
- column correction circuit 806 corrects the error in column C2 and updates error storage array 810 to remove the "3” from the entry corresponding to column C2 in the error storage array 810.
- row correction circuit 808 performs BCH decoding for the row codeword of row R3, no errors are found because the only error has already been corrected by the column correction circuit 806 before the row codeword was received by row correction circuit 808. Accordingly, row correction circuit 808 does not store any new error locations into error storage array 810, which will then appear as shown in Table II, below. After row correction circuit 808 writes the corrected row codeword back into row R3, data array 804 will appear as shown in Figure 12.
- row codeword in row R4 is next read out from data array 804 and passes through column correction circuit 806 to row correction circuit 808.
- the row codeword for row R4 initially contains four errors, which is more than can be corrected by the BCH algorithm implemented by row correction circuit 808.
- column correction circuit 806 corrects the bit in column 2 of the row codeword prior to receipt of the row codeword by row correction circuit 808 based on the information provided by error storage array 810
- row correction circuit 808 is able to fully decode the row codeword, given the presence of only 3 rather than 4 errors after column correction.
- row correction circuit 808 decodes the row codeword and updates data array 802 and error storage array 810, data array 802 will appear as depicted in Figure 13 and error storage array 810 will have the state shown in Table III below.
- This decoding process will continue iteratively through row R19. Once the first iteration of through all rows of data array 802 is complete, error storage array 810 is not cleared, and the second iteration starts. This process will continue until one of two exit conditions is met: (1) the HPC contains no errors (i.e., all row codewords of the HPC are decoded by row correction circuit 808 without finding any errors) or (2) a maximum iteration limit is reached (i.e., HPC is not corrected).
- row correction circuit 808 will record corrections to column C2 of rows R3, R4, and R10 in error storage array 810 based on decoding row R2, the codewords of rows R3 and R4 will be received in row correction circuit 808 before this error location information becomes available.
- the row codeword of rows R3 and R4 which in the ideal zero-latency case can be column corrected "on the fly” by column correction circuit 806 during the same iteration through data array 804 in which the errors in row R2 are detected, are already processed by row correction circuit 808 by the time error storage array 810 reflects the error locations in these row codewords.
- column correction circuit 806 will utilize any error location information recorded in error storage array 810 to correct bits (e.g., the bits in column C2 of the row codewords of rows R3 and R4) on the next pass.
- Simulation and analysis demonstrate that latency, as described, does not lead to any significant loss of decoding performance versus the ideal zero-latency case.
- row correction circuit 808 is designed with knowledge of its decoding latency and orders the storage of error locations in error storage array in accordance with its decoding latency.
- row correction circuit 808 may intelligently order the storage, within error storage array 810, of the error location in column C2 of row R10 prior to the storage of the error location in column C2 of rows R3 and R4.
- This intelligent ordering of the storage of error locations in error storage array 810 ensures that, to the maximum extent possible, symmetric errors (e.g., the error in column C2 of row R10) can be corrected by column correction circuit 806 during the same iteration through the row codewords in which the corresponding error was detected.
- row correction circuit 808 may include four instances of decoding logic capable of decoding four codewords per clock cycle
- column correction circuit 806 may similarly include four instances of column correction logic capable of correcting bits within four codewords per clock cycle.
- a second instance of logic processes the row codewords of rows R1 , R5, R9, R13, etc. as determined by the dimension of the data array modulo the number of logic instances. It should be noted that the error locations corrected by any of the instances of column correction logic can be detected by any of the instances of decoding logic.
- a decoder for decoding a binary symmetry- invariant product code includes a data array having orthogonal first and second dimensions.
- the data array is configured to access a binary symmetry-invariant product code buffered therein along only the first dimension.
- the decoder also includes an error storage array for storing error locations and a first correction circuit configured to detect and correct errors in data accessed from the data array along the first dimension and to store error locations along the second dimension in the error storage array.
- the first correction circuit determines the error locations based on data symmetry of the symmetry-invariant product code.
- the decoder also includes a second correction circuit that, prior to receipt by the first correction circuit of data accessed from the data array along the first dimension, corrects the data accessed from the data array based on the error locations stored in the error storage array.
- the described embodiments can provide significant advantages over prior art decoders in both cost and performance. For example, by eliminating the requirement that the binary symmetry-invariant product code be accessed along both dimensions, significant circuitry expense and area is saved, particularly for larger binary symmetry-invariant product codes, which may be three hundred or more bits in each dimension. In addition, by eliminating the need to access the binary symmetry-invariant product code along both dimensions, decoding latency can be reduced by up to half. Further, the described embodiments leverage data symmetry to correct symmetric errors "on the fly” rather than waiting for such symmetric errors to be "rediscovered” and corrected during the decoding of a subsequent codeword.
- the present invention may be a system, a method, and/or a computer program product.
- the computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
- the computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device.
- the computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
- a non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing.
- a computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating
- electromagnetic waves electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
- Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network.
- the network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers.
- a network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
- Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
- the computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
- These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
- the computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
- each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s).
- the functions noted in the block may occur out of the order noted in the figures.
- two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
- NAND flash memory any other type of non volatile random access memory (NVRAM).
- NVRAM non volatile random access memory
Landscapes
- Physics & Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Algebra (AREA)
- General Physics & Mathematics (AREA)
- Pure & Applied Mathematics (AREA)
- Error Detection And Correction (AREA)
- Detection And Correction Of Errors (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
Claims
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202080035331.2A CN113812092B (en) | 2019-06-12 | 2020-06-03 | Efficient Error Correction of Codewords Encoded by Binary Symmetric Invariant Product Codes |
| JP2021571707A JP7479401B2 (en) | 2019-06-12 | 2020-06-03 | Efficient Error Correction of Codewords Encoded by Binary Symmetric Invariant Product Codes |
| GB2118254.8A GB2598526B (en) | 2019-06-12 | 2020-06-03 | Efficient error correction of codewords encoded by binary symmetry-invariant product codes |
| DE112020002794.5T DE112020002794B4 (en) | 2019-06-12 | 2020-06-03 | EFFICIENT ERROR CORRECTION OF CODEWORDS ENCODED BY BINARY SYMMETRY INVARIANT PRODUCT CODES |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US16/439,197 US10826538B1 (en) | 2019-06-12 | 2019-06-12 | Efficient error correction of codewords encoded by binary symmetry-invariant product codes |
| US16/439,197 | 2019-06-12 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020250091A1 true WO2020250091A1 (en) | 2020-12-17 |
Family
ID=73019717
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/IB2020/055248 Ceased WO2020250091A1 (en) | 2019-06-12 | 2020-06-03 | Efficient error correction of codewords encoded by binary symmetry-invariant product codes |
Country Status (6)
| Country | Link |
|---|---|
| US (1) | US10826538B1 (en) |
| JP (1) | JP7479401B2 (en) |
| CN (1) | CN113812092B (en) |
| DE (1) | DE112020002794B4 (en) |
| GB (1) | GB2598526B (en) |
| WO (1) | WO2020250091A1 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1555061A (en) * | 1998-02-25 | 2004-12-15 | ���µ�����ҵ��ʽ���� | error correction device |
| US20050172208A1 (en) * | 2004-01-29 | 2005-08-04 | Chan-Ho Yoon | Forward Chien search type Reed-Solomon decoder circuit |
| CN109542668A (en) * | 2018-10-29 | 2019-03-29 | 百富计算机技术(深圳)有限公司 | Method of calibration, terminal device and storage medium based on NAND FLASH memory |
Family Cites Families (21)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3328093B2 (en) * | 1994-07-12 | 2002-09-24 | 三菱電機株式会社 | Error correction device |
| JP3945602B2 (en) * | 1998-04-14 | 2007-07-18 | 富士通株式会社 | Correction inspection method and correction inspection apparatus |
| US8046660B2 (en) * | 2006-08-07 | 2011-10-25 | Marvell World Trade Ltd. | System and method for correcting errors in non-volatile memory using product codes |
| US7774688B1 (en) | 2006-10-11 | 2010-08-10 | Marvell International Ltd. | Hardware efficient decoding system for Bose, Ray-Chaudhuri, Hocquenghem (BCH) product codes |
| US8359518B2 (en) | 2009-10-27 | 2013-01-22 | Altera Canada Co. | 2D product code and method for detecting false decoding errors |
| US9166626B2 (en) | 2011-11-18 | 2015-10-20 | Korea Advanced Institute Of Science And Technology | Encoding, decoding, and multi-stage decoding circuits for concatenated BCH, and error correction circuit of flash memory device using the same |
| US8499219B2 (en) | 2011-12-13 | 2013-07-30 | Broadcom Corporation | Encoding methods and systems for binary product codes |
| US8762821B2 (en) | 2012-03-30 | 2014-06-24 | Intel Corporation | Method of correcting adjacent errors by using BCH-based error correction coding |
| US9203437B2 (en) | 2012-12-19 | 2015-12-01 | Infineon Technologies Ag | Circuitry and method for correcting 3-bit errors containing adjacent 2-bit error |
| JP5971670B2 (en) | 2013-12-09 | 2016-08-17 | 三菱電機株式会社 | Error correction decoding device |
| TWI528732B (en) | 2013-12-30 | 2016-04-01 | 衡宇科技股份有限公司 | Decoder having ldpc code and bch code and decoding method thereof |
| GB2525430B (en) | 2014-04-25 | 2016-07-13 | Ibm | Error-correction encoding and decoding |
| US9647694B2 (en) * | 2014-12-28 | 2017-05-09 | International Business Machines Corporation | Diagonal anti-diagonal memory structure |
| US10348335B2 (en) * | 2015-05-15 | 2019-07-09 | SK Hynix Inc. | Miscorrection avoidance for turbo product codes |
| US9760435B2 (en) | 2015-10-14 | 2017-09-12 | Intel Corporation | Apparatus and method for generating common locator bits to locate a device or column error during error correction operations |
| US10009043B2 (en) * | 2016-06-30 | 2018-06-26 | Intel Corporation | Technologies for providing efficient error correction with half product codes |
| US10348334B2 (en) * | 2016-10-25 | 2019-07-09 | International Business Machines Corporation | Reducing a decoding error floor by post-processing codewords encoded by binary symmetry-invariant product codes |
| US20180167088A1 (en) | 2016-12-09 | 2018-06-14 | Futurewei Technologies, Inc. | Error-Correcting Code Method and System with Hybrid Block Product Codes |
| US10389385B2 (en) | 2017-01-19 | 2019-08-20 | Samsung Electronics Co., Ltd. | BM-based fast chase decoding of binary BCH codes through degenerate list decoding |
| DE102017216264B4 (en) | 2017-09-14 | 2019-09-12 | Deutsches Zentrum für Luft- und Raumfahrt e.V. | Decoding method |
| US10693500B2 (en) * | 2017-09-15 | 2020-06-23 | Duke University | Systems and methods for decoding forward error correction codes based on component codes |
-
2019
- 2019-06-12 US US16/439,197 patent/US10826538B1/en active Active
-
2020
- 2020-06-03 JP JP2021571707A patent/JP7479401B2/en active Active
- 2020-06-03 CN CN202080035331.2A patent/CN113812092B/en active Active
- 2020-06-03 GB GB2118254.8A patent/GB2598526B/en active Active
- 2020-06-03 WO PCT/IB2020/055248 patent/WO2020250091A1/en not_active Ceased
- 2020-06-03 DE DE112020002794.5T patent/DE112020002794B4/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1555061A (en) * | 1998-02-25 | 2004-12-15 | ���µ�����ҵ��ʽ���� | error correction device |
| US20050172208A1 (en) * | 2004-01-29 | 2005-08-04 | Chan-Ho Yoon | Forward Chien search type Reed-Solomon decoder circuit |
| CN109542668A (en) * | 2018-10-29 | 2019-03-29 | 百富计算机技术(深圳)有限公司 | Method of calibration, terminal device and storage medium based on NAND FLASH memory |
Also Published As
| Publication number | Publication date |
|---|---|
| DE112020002794B4 (en) | 2023-07-20 |
| JP2022536065A (en) | 2022-08-12 |
| CN113812092A (en) | 2021-12-17 |
| GB2598526B (en) | 2022-06-15 |
| JP7479401B2 (en) | 2024-05-08 |
| GB2598526A (en) | 2022-03-02 |
| DE112020002794T5 (en) | 2022-03-31 |
| CN113812092B (en) | 2025-03-28 |
| US10826538B1 (en) | 2020-11-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10348334B2 (en) | Reducing a decoding error floor by post-processing codewords encoded by binary symmetry-invariant product codes | |
| US9996418B2 (en) | Error-correction encoding and decoding | |
| US10615824B2 (en) | Diagonal anti-diagonal memory structure | |
| US11074124B2 (en) | Method and system for enhancing throughput of big data analysis in a NAND-based read source storage | |
| US10417088B2 (en) | Data protection techniques for a non-volatile memory array | |
| US11385833B2 (en) | Method and system for facilitating a light-weight garbage collection with a reduced utilization of resources | |
| US11146293B2 (en) | System and method for optimizing Reed-Solomon decoder for errors and erasures | |
| JP6342013B2 (en) | Method, system and computer program for operating a data storage system including a non-volatile memory array | |
| EP4462434A1 (en) | High throughput polar codeword decoding by decoding bch sub-code in polar code structure | |
| US10826538B1 (en) | Efficient error correction of codewords encoded by binary symmetry-invariant product codes | |
| US11063612B1 (en) | Parallelizing encoding of binary symmetry-invariant product codes | |
| KR102681248B1 (en) | Half-size data array for encoding symmetric-invariant binary product codes | |
| US20200272583A1 (en) | Method and system for facilitating an improved storage system by decoupling the controller from the storage medium | |
| TWI893307B (en) | Storage unit, method of operating storage unit and computer-implemented system | |
| US11175978B2 (en) | Detection of an error generated within an electronic device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20823112 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2021571707 Country of ref document: JP Kind code of ref document: A |
|
| ENP | Entry into the national phase |
Ref document number: 202118254 Country of ref document: GB Kind code of ref document: A Free format text: PCT FILING DATE = 20200603 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 20823112 Country of ref document: EP Kind code of ref document: A1 |
|
| WWG | Wipo information: grant in national office |
Ref document number: 202080035331.2 Country of ref document: CN |


