System and method for generating an optimized combinatorial set for error correction in data transmission

Iterative optimization of matrices in data transmission systems addresses error correction failures by minimizing incident cycles and encoder gates, enhancing reliability and throughput.

JP2026540012APending Publication Date: 2026-11-27SK HYNIX NAND PRODUCT SOLUTIONS CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2026526538
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-13
Filing Date
2024-10-25
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing data transmission systems face issues with increased error correction code failures due to randomly generated matrices with excessive incident cycles and encoder gates, leading to higher error floors and increased power consumption.

Method used

Iteratively generating and optimizing matrices to reduce incident cycles and encoder gates, using processes like Faussolier condition evaluation and matrix swapping to minimize errors and hardware requirements.

Benefits of technology

Reduces error floors and power consumption, improving data transmission reliability and throughput by optimizing matrices for incident cycles and encoder gates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026540012000001_ABST
    Figure 2026540012000001_ABST
Patent Text Reader

Abstract

A non-temporary computer-readable medium, method, and system, the system including a processing circuit. The processing circuit generates a first matrix, performs an incident cycle optimization process using the first matrix to generate a modified first matrix, and performs an encoder gate optimization process using the modified first matrix to generate a further modified first matrix. The processing circuit then generates a second matrix including the further modified first matrix as a submatrix of the second matrix, performs the incident cycle optimization process using the second matrix to generate a modified second matrix, and performs the encoder gate optimization process using the further modified first matrix and the modified second matrix to generate a further modified second matrix. The processing circuit then constitutes a transmitting device that receives transmission data, encodes the transmission data using the further modified first matrix and the further modified second matrix, and transmits the encoded transmission data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to systems and methods for encoding data with an error-correcting code constructed using iteratively generated combinatorial sets of optimized matrices. Summary of the Invention

[0002] In accordance with the present disclosure, systems, non-transitory computer readable media, and methods are provided for enabling a transmitting device to perform data encoding with an error-correcting code based on a set of iteratively generated matrices optimized for a number of incident cycles and encoder gates required to encode data. The systems, non-transitory computer readable media, and methods disclosed herein enable generating and optimizing matrices (representing error-correcting codes) to configure a transmitting device (e.g., a solid state drive (SSD) storage device or a network transmitting device) to receive transmitting data, encode the transmitting data with an error-correcting code based on one of the optimized matrices (selected based on the size configuration of the data to be transmitted), and transmit the encoded transmitting data over a channel. The transmitting device is configured to encode the transmitting data with an error-correcting code based on one of the optimized matrices of combinatorial sets, and the transmitting device selects the optimized matrix based on size of the data being transmitted, size of the channel, or an amount of memory available.

[0003] In some approaches, the transmitting device (e.g., an SSD device) consists of either a set of random matrices or a set of matrices, each independently optimized. Problems that may arise from constructing the transmitting device with a set of random matrices include a certain number of incident cycles within the set of random matrices that cause an increase in error correction code failures in the encoded transmitted data, and an excess of encoder gates required to encode the data using each randomly generated matrix. The excess of encoder gates is also a problem in approaches using a set of independently optimized matrices, where each matrix does not necessarily have any duplicate entries at its respective position and value within the matrix.

[0004] The optimized matrix can be used to construct an error correction code used to encode the transmitted data with any suitable form of error correction code (e.g., a low-density parity-check (LDPC) code). Each generated matrix is ​​optimized using an incident cycle optimization process to reduce the number of incident cycles in each generated matrix, and an encoder gate optimization process to reduce the number of encoder gates required to encode the transmitted data with each matrix. The incident cycle optimization process is used to improve the error floor when constructing the error correction code by reducing the number of incident cycles of up to a given length that can cause failures in the error correction code. The encoder gate optimization process reduces the amount of hardware required to encode the transmitted data for a given matrix. Furthermore, reducing the number of encoder gates reduces the amount of silicon area and power consumption of the transmitting device. This also allows the transmitting device (e.g., an SSD device) to provide more power to perform read and write operations at higher throughput.

[0005] A matrix containing many incident cycles can cause an unexpected increase in the failure rate of the error correction code, even when transmitted over a low-noise bus or channel, thereby raising the error floor of the constructed error correction code. To reduce the error floor of bit errors during error correction code construction by the transmitting device, incident cycles of up to a predetermined length should be avoided or removed from the matrix by matrix operations. In some embodiments, the predetermined length corresponds to the length of incident cycles that cause a higher error correction code failure rate than lengths longer than the predetermined length. In some embodiments, the encoder gate optimization process can reduce the number of encoder gates required to encode the transmitted data in each matrix by performing matrix operations.

[0006] In some embodiments, the system is provided with a set of fixed processing circuits that correspond to a set of constructed matrices. In such embodiments, the system selects which matrices to use to determine the error correction code based on the channel size and the size of the data to be transmitted. The processing circuits may be implemented as a system on a chip (SoC), a field programmable gate array (FPGA), or updatable firmware. In some embodiments, the system includes a matrix generation device comprising memory and processing circuits that are communicatively coupled to each other. In some embodiments, the matrix generation device is the same transmitting device configured to receive data, encode the data, and transmit the encoded data using the generated and optimized matrices. In some embodiments, the processing circuit of the matrix generation device generates a first matrix and performs an incident cycle optimization process using the first matrix to generate a modified first matrix having fewer incident cycles than the first matrix. The processing circuit then performs an encoder gate optimization process to generate a further modified first matrix that requires fewer encoder gates to encode the data using the further modified first matrix than when using the modified first matrix. In some embodiments, the processing circuit generates a second matrix which includes a further modified first matrix as a submatrix of the second matrix. The processing circuit then performs an incident cycle optimization process using the second matrix to generate a modified second matrix having fewer incident cycles than the second matrix, and then performs an encoder gate optimization process using each of the further modified first matrix and the modified second matrix to generate a further modified second matrix which requires fewer encoder gates to encode data than that of the modified second matrix. The processing circuit then uses the further modified first matrix and the further modified second matrix to configure a transmitting device (e.g., an SSD device) which is communicatively coupled to the matrix generating device.In some embodiments, the transmitting device may generate and optimize a further modified first matrix and a further modified second matrix itself. The transmitting device may be any suitable device configured by processing circuitry to receive transmit data (e.g., data from SSD memory or data from an external host), encode the transmit data with the further modified first matrix and the further modified second matrix, and transmit the encoded transmit data over a channel. For example, the channel may be a bus interface or network cable that communicatively connects the transmitting device to an external receiving device that decodes the encoded transmit data. In some embodiments, the error correction code (e.g., an LDPC code) used to encode the transmit data is used to detect channel reliability issues.

[0007] In one approach, a matrix generation device generates and optimizes each matrix in a set of matrix combinations at an appropriate point in time before configuring the transmitting devices (e.g., an SSD device). This improves the memory utilization efficiency of each configurable transmitting device and ensures that only one matrix generation device is required for dedicated matrix generation and optimization. In some embodiments, multiple transmitting devices (e.g., SSD devices) may receive the constructed set of matrices and determine an error correction code based on one optimized matrix from the constructed set of matrices to encode transmit data of varying sizes. This allows the system to distribute the constructed set of matrices among multiple transmitting devices, each of which can be reconfigured by another set of matrices generated and optimized by the matrix generation device. In some embodiments, the processing circuitry of a transmitting device is configured based on the constructed set of matrices (e.g., as in an SSD controller device) and selects an error correction code based on one of the constructed sets of matrices to encode transmit data of varying sizes. [Brief explanation of the drawing]

[0008] The following description includes a discussion of drawings, which are given as examples of implementations of embodiments of the embodiments of this disclosure. The drawings should be understood as examples, not limitations. As used herein, references to one or more “embodiments” should be understood as describing specific features, structures, and / or characteristics contained in at least one implementation. Thus, phrases such as “in one embodiment” or “in an alternative embodiment” appearing herein describe various embodiments and implementations, not all of which necessarily refer to the same embodiment. However, they are not necessarily mutually exclusive.

[0009] [Figure 1] According to some embodiments of this disclosure, an exemplary diagram shows a system of a transmitting device communicatively coupled to a matrix generating device comprising processing circuits and memory.

[0010] [Figure 2A] A flowchart illustrating exemplary steps for constructing a set of error correction codes is shown according to some embodiments of this disclosure. [Figure 2B] A flowchart illustrating exemplary steps for constructing a set of error correction codes is shown according to some embodiments of this disclosure. [Figure 3] A flowchart illustrating exemplary steps for constructing a set of error correction codes is shown according to some embodiments of this disclosure.

[0011] [Figure 4] According to several embodiments of this disclosure, flowcharts illustrating exemplary steps of subprocesses for generating the first and second matrices are shown. [Figure 5] According to several embodiments of this disclosure, flowcharts illustrating exemplary steps of subprocesses for generating the first and second matrices are shown.

[0012] [Figure 6]According to some embodiments of this disclosure, a flowchart shows exemplary steps of a subprocess that performs an incident cycle optimization process to generate a modified matrix based on each matrix in a set of matrix combinations.

[0013] [Figure 7] According to several embodiments of the present disclosure, flowcharts illustrate the exemplary steps of subprocesses that perform an encoder gate optimization process to generate a further modified first matrix and a further modified second matrix, respectively. [Figure 8] According to several embodiments of the present disclosure, flowcharts illustrate the exemplary steps of subprocesses that perform an encoder gate optimization process to generate a further modified first matrix and a further modified second matrix, respectively.

[0014] [Figure 9] According to some embodiments of the present disclosure, flowcharts are provided illustrating the steps of a subprocess that generates further modified matrices and performs an encoder gate optimization process based on each modified matrix.

[0015] [Figure 10] According to some embodiments of this disclosure, flowcharts illustrate the exemplary steps of a subprocess that constitutes a transmitting device using a further modified first matrix and a further modified second matrix.

[0016] [Figure 11] According to some embodiments of this disclosure, a flowchart shows exemplary steps of a subprocess for configuring a transmitting device using a set of matrix combinations.

[0017] [Figure 12] A flowchart illustrating the exemplary steps for constructing a set of error correction codes using a set of iteratively constructed matrix combinations is shown.

[0018] [Figure 13] Fig. 2 illustrates a diagram of a Forney factor graph for a low-density parity-check (LDPC) code. [Description of Embodiments]

[0019] In accordance with the present disclosure, systems, non-transitory computer readable media, and methods are provided for iteratively constructing a set of error correcting codes at least one transmission device, each transmission device configured by a matrix generation device. Error correcting codes (e.g., low-density parity-check (LDPC) codes) are data signal schemas that add redundant data to the transmission data transmitted over a channel. The system of the present disclosure includes at least one transmission device, and a matrix generation device used to generate and optimize a matrix used to configure the at least one transmission device to receive transmission data, encode the transmission data with one of the optimized matrices, and transmit the encoded transmission data over a channel. Each transmission device transmits the encoded transmission data to a reception device that ensures the integrity of the originally transmitted transmission data using the redundant data (e.g., error correcting codes) and recovers or corrects corrupted data during transmission over the channel. In some embodiments, the redundant data (e.g., error correcting codes) includes parity bits or check bits generated by each transmission device using an error correcting code engine constructed using an optimized matrix generated by the matrix generation device. Transmission devices (e.g., storage devices such as SSDs) may use error correcting codes to detect any irregularities that may be suffered by signals after transmission over a network bus or channel. In some embodiments, the transmission device may be any suitable device that transmits signals, and uses error correcting codes to improve the reliability of the network bus, or channel used by the transmission device.

[0020] (The) error correction code may be constructed by an error correction code engine of a transmitting device configured with an optimized matrix from a matrix generation device. In some embodiments, the optimized matrix is formed by the matrix generation device performing an incident cycle optimization process to reduce a number of incident cycles of up to a predetermined length in a generated matrix, and performing an encoder gate optimization process to reduce a number of encoder gates required to encode transmission data with the optimized matrix. The generated matrix of the matrix generation device may be optimized by processing circuitry of the matrix generation device to remove irregularities such as incident cycles and a total number of encoder gates required to encode data corresponding to the respective matrix.

[0021] During the incident cycle optimization process, the matrix can be evaluated for incident cycles by using the Faussolier condition. In some embodiments, the Faussolier condition may be used to evaluate for each instantiation of each matrix an incident cycle of a specific length (e.g., 4 cycles, 8 cycles, 12 cycles, etc.). An incident cycle may be represented by a sequence of nodes connected by edges in the Tanner graph corresponding to each matrix. The Tanner graph corresponding to the matrix instantiation includes nodes used to represent state constraints or expressions of the error correction code. An edge may be defined as a connection between two nodes in the Tanner graph. The length of each incident cycle may be defined as the number of nodes in the sequence of nodes for each incident cycle. An incident cycle may be defined as a sequence of nodes, where each node in the sequence of nodes is connected to its respective successor node by its respective edge, and the sequence of nodes may be traversed along the edges of the sequence of nodes from the first node of the sequence to the last node of the sequence without repeating any previously traversed edges. As discussed herein, the processing circuit generates each correction matrix from each matrix using the incident cycle optimization process.

[0022] During the encoder gate optimization process, the processing circuit generates each further modified first matrix using each modified matrix, where fewer encoder gates are required to encode data using each further modified matrix than when using each modified matrix. In some embodiments, the processing circuit causes at least one swap between the first and second rows for each modified matrix to generate each further modified matrix. In some embodiments, when generating each further modified matrix, the processing circuit also causes at least one swap between the first and second columns for each modified matrix. In some embodiments, each further modified matrix includes a data submatrix and a parity check submatrix. To generate each further modified matrix, the processing circuit may generate the inverse of each parity check submatrix of each further modified matrix. In some embodiments, the processing circuit evaluates the inverse of the parity check submatrix for the number of encoder gates required to encode data using each further modified second matrix. In some embodiments, the processing circuit evaluates the inverse of the matrix for the number of encoder gates required to encode data using the corresponding matrix, based on the number of non-zero values ​​in the inverse matrix.

[0023] For the purposes of brevity and clarity, the features of the disclosure described herein are in the context of a system comprising a matrix generation device having processing circuitry for constructing a transmitting device (e.g., an SSD). However, the principles of the disclosure may be applied to any other suitable context in which error correction codes are constructed on a transmitting device. Furthermore, the matrix generation device may include processing circuitry and memory, where the processing circuitry and memory are communicably coupled by a network bus or interface. In some embodiments, the processing circuitry generates and optimizes a plurality of matrices as a set of matrix combinations and stores the set of matrix combinations in memory.

[0024] In some embodiments, the processor of the processing circuit may be a highly parallelized processor capable of rapidly processing high-bandwidth data (for example, simultaneously generating and optimizing sets of multiple matrix combinations).

[0025] In some embodiments, the systems and methods of this disclosure may refer to a transmitting device which may be a storage device such as an SSD.

[0026] An SSD is a data storage device that uses an integrated circuit assembly as memory for permanently storing data. SSDs have no moving mechanical components, a feature that distinguishes them from conventional electromechanical magnetic disks such as hard disk drives (HDDs) or floppy disks, which include rotating disks and moving read / write heads. Compared to electromechanical disks, SSDs are typically more resistant to physical shock, operate quietly, and have lower access times and lower latency.

[0027] Many types of SSDs use NAND-based flash memory, including certain types of non-volatile storage technologies, to retain data without power. The quality of service (QoS) of an SSD can relate to low latency predictability and high consistency in input / output operations per second (IOPS) while handling read / write input / output (I / O) workloads. This means that latency or I / O command completion times must be within a specified range without unexpected outliers. Throughput or I / O rate may also need to be tightly controlled without causing abrupt performance drops.

[0028] Herein, one or more embodiments or configurations will be described with reference to the accompanying drawings. While specific configurations and arrangements are discussed, it should be understood that these are for illustrative purposes only. Those skilled in the art will recognize that other configurations and arrangements may be adopted without departing from the spirit and scope of the description. Those skilled in the relevant art will also see that the techniques and / or arrangements described herein may be adopted in a wide variety of other systems and applications not described herein.

[0029] The following description outlines various implementations that may be realized in architectures such as a system-on-a-chip (SoC) architecture. However, the implementation of the technologies and / or arrangements described herein is not limited to any particular architecture and / or computing system, but may be implemented in any architecture and / or computing system for similar purposes. For example, various architectures employing multiple integrated circuit (IC) chips and / or packages, and / or various computing devices and / or consumer electronic (CE) devices may implement the technologies and / or arrangements described herein. Furthermore, the following description may include numerous specific details, such as logic implementations, types and interrelationships of system components, and logical partitioning / integration choices. However, the claimed subject matter may be implemented without such specific details. In other examples, some matters, such as control structures and complete software instruction sequences, may not be shown in detail so as not to obscure the matters disclosed herein.

[0030] The matters disclosed herein may be implemented in hardware, firmware, software, or any combination thereof. The materials disclosed herein may also be implemented as instructions stored on a machine-readable medium that can be read and executed by one or more processors. A machine-readable medium may include any medium and / or mechanism for storing or transmitting information in a form readable by a machine (e.g., a computing device). For example, a machine-readable medium may include read-only memory (ROM); random access memory (RAM); magnetic disk storage media; optical storage media; flash memory devices; electrically, optically, acoustically, or otherwise propagating signals (e.g., carrier waves, infrared signals, digital signals, etc.), and others.

[0031] The subject matter of this disclosure can be better understood by referring to Figures 1 to 13.

[0032] Figure 1 shows an exemplary diagram of a system 100 of a transmitting device 107 (e.g., an SSD device or a network transmitting device) communicatively coupled to a matrix generating device 102 having a processing circuit 104 and memory 106, according to some embodiments of the present disclosure. In some embodiments, the transmitting device 107 may be a server device or a solid-state storage device (e.g., an SSD device). In some embodiments, the matrix generating device 102 may be a controller (e.g., a memory controller). In some embodiments, the matrix generating device 102 and the transmitting device 107 are communicatively coupled via a data bus interface 115, a network channel, or a wireless connection. The processing circuit 104 may include a processor or any suitable processing unit, and in some embodiments, the memory 106 may be non-volatile memory. It will be understood that embodiments of the system 100 of the present disclosure are not limited to a server device or an SSD device. For example, in some embodiments, the transmitting device 107 may include a hard disk drive (HDD) device in addition to or instead of an SSD.

[0033] The transmitting device 107 may be a storage device (e.g., an SSD device) which may include one or more packages of memory dies in device memory, where each die includes a storage cell. In some embodiments, the storage cells are organized into pages, and the pages are organized into blocks. Each storage cell can store one or more bits of information. The transmitting device 107 is configured to receive and encode the transmit data 108. In some embodiments, the transmit data 108 is from an external source. In some embodiments, the transmit data encoded by the processing circuit 112 is from an internal source (e.g., transmit data from memory 114). For example, transmit data 116 is sent from a set of SSD NAND memory cells in memory 114 to the I / O circuit 113. In some embodiments, the transmitting device 107 may be any suitable device (e.g., a storage device) that transmits the encoded transmit data over channel 110 (e.g., a communication channel, bus, or interface) to improve the reliability of signal communication from the transmitting device 107. In some embodiments, the transmitting device 107 includes a processing circuit 112 and a memory 114. In some embodiments, the memory 114 stores appropriate firmware for the transmitting device 107. Furthermore, the memory 114 is configured to store matrices used for error correction codes. The processing circuit 112 of the transmitting device 107 is configured to consist of optimized matrices of a set of matrices generated by the matrix generation device 102. In some embodiments, the transmitting device 107 includes an input / output (I / O) circuit 113 for receiving transmit data 108 and transmitting encoded transmit data 110. In some embodiments, the I / O circuit 113 receives signals from the processing circuit 104 of the matrix generation device 102 to configure the transmitting device 107. When transmitting data over a channel (e.g., channel 110), the data may be lost or corrupted during transmission over channel 110.In some embodiments, channel 110 is a data interface or network configured to transport encoded transmission data. If the data is encoded with error correction codes (e.g., low-density parity check (LDPC) codes) before transmission over the channel, the encoded error correction codes may be used to detect or recover any lost or corrupted portions of the data.

[0034] In some embodiments, the matrix generation device 102 may be any suitable controller for generating and optimizing matrices to construct a set of error correction codes. For example, according to the technique in Figures 2A and 2B below, the matrix generation device 102 generates and optimizes a set of matrix combinations containing at least two optimized matrices. The matrix generation device 102 uses each matrix in the set of matrix combinations to configure the transmission device 107. In some embodiments, the transmission device 107 is configured to encode the received transmission data 108 using one of the matrices in the set of matrix combinations, and then transmit the encoded transmission data over channel 110. In some embodiments, the processing circuit 112 of the transmission device 107 may be configured to generate and optimize each matrix in the set of matrix combinations, as disclosed herein.

[0035] In some embodiments, the processing circuit 104 is communicatively coupled to a memory 106. The processing circuit 104 is configured to access and store data in the memory 106. The data stored in the memory 106 may be any intermediate matrix data or optimized matrix data used when the processing circuit 104 generates and optimizes a set of matrix combinations. In some embodiments, the processing circuit 104 may read matrix data from or write matrix data to the memory 106. There may also be a temporary memory (e.g., a cache or queue) located within the processing circuit 104, which is configured to store any unprocessed data processed by the processing circuit 104 when generating and optimizing each matrix in the set of matrix combinations. In some embodiments, the set of matrix combinations includes at least two matrices, each optimized for an incident cycle in each matrix and for the number of encoder gates required to encode the transmitted data in each matrix.

[0036] In some embodiments, a data bus is used to transport data related to iterative error correction code construction. The data bus between memory 106 and processing circuit 104 provides a network bus for accessing or writing data to memory 106. In some embodiments, the processor or processing unit of processing circuit 104 may include a hardware processor, a software processor (e.g., a processor emulated using a virtual machine), or any combination thereof. The processor, also referred to herein as processing circuit 104, may include any suitable software, hardware, or both for controlling memory 106, processing circuit 104, and communicating with the transmission device 107. In some embodiments, the matrix generation device 102 may further include a multicore processor. Memory 106 may also include hardware elements for non-temporary storage of instructions, commands, or requests, which, when executed, cause the methods shown in Figures 2A and 2B to be executed in the non-temporary memory.

[0037] In some embodiments, the transmitting device 107 may include a device memory comprising one or more non-volatile memories such as Phase Change Memory (PCM), PCM and switch (PCMS), Ferroelectric Random Access Memory (FeRAM) or Ferroelectric Transistor Random Access Memory (FeTRAM), memristors, Spin-Transfer Torque Random Access Memory (STT-RAM), and Magnetoresistive Random Access Memory (MRAM), any other suitable memory, or any combination thereof. In some embodiments, the device memory may also include a rotating magnetic hard disk drive (HDD). In some embodiments, the device memory may also include any one or more volatile memories such as dynamic random access memory (DRAM) and static random access memory (SRAM).

[0038] As the processing circuit 104 optimizes the matrix combination set for the incident cycles and encoder gates required to encode the transmit data 108 using each matrix in the combination set, each matrix in the combination set may be used to encode the transmit data 108 with fewer encoder gates, thereby reducing the silicon area cost and power consumption of the transmitting device 107. In some embodiments, the reduced power consumption results in a transmitting device 107 that can allocate more power to execute instructions (e.g., read and write) at a higher throughput. By optimizing each matrix for incident cycles, the processing circuit 104 reduces the likelihood of errors in constructing error-corrected codes, thereby reducing the overall error floor of error-corrected code construction. Once the matrix combination set is generated and optimized, the processing circuit 104 configures the transmitting device 107 with each matrix in the matrix combination set. The transmitting device 107 is configured to receive the transmit data 108, encode the transmit data 108 using one of the matrices in the combination set, and transmit the encoded transmit data over channel 110. In some embodiments, the matrix generation device 102 may be communicably coupled to more than one device (e.g., a transmitting device 107) via a data bus interface 115 to configure multiple devices using a set of matrix combinations. In some embodiments, the matrix generation device 102 may generate and optimize more than one set of matrix combinations, and as a result, each of the matrix combinations is used to configure each of the multiple devices (e.g., a transmitting device 107).

[0039] In some embodiments, the matrix generation device 102 generates and optimizes each matrix in the matrix combination set at any point before it is communicatively coupled to the transmitting device 107 via the data bus interface 115. Thus, the matrix combination set is generated and optimized by the processing circuit 104 of the matrix generation device 102 and can be stored in memory 106. Once the matrix generation device 102 is communicatively coupled to the transmitting device 107, the matrix generation device 102 can configure the transmitting device 107 using each of the optimized matrices in the matrix combination set at any point after the matrix generation device 102 has been communicatively coupled to the transmitting device 107.

[0040] For example, the set of matrix combinations includes a further modified first matrix, a further modified second matrix, and a further modified second matrix, so that the further modified first matrix is ​​a submatrix of the further modified third matrix, and a submatrix of the further modified second matrix. When the transmitting device 107 receives the data to be transmitted 108, the transmitting device 107 encodes the data to be transmitted 108 using one of the matrices in the set of combinations (for example, the further modified first matrix, the further modified second matrix, or the further modified third matrix). In some embodiments, the transmitting device 107 selects one of the matrices in the set of matrix combinations to encode the data to be transmitted 108 based on at least one of the size of the data to be transmitted, the size of the channel, and the size of the available memory. Finally, the transmitting device 107 transmits the encoded data to be transmitted over channel 110.

[0041] System 100 illustrates one embodiment in which a matrix generating device 102 constitutes a transmitting device 107 capable of transmitting a set of matrix combinations optimized for an incident cycle and the transmitted data 108 encoded using encoder gates necessary to encode the transmitted data 108, in accordance with this disclosure. However, it will be understood that any other suitable matrix generating devices and devices may be implemented in a similar manner.

[0042] For clarity and brevity, and not by limitation, this disclosure is provided in the context of constructing error-corrected codes using iteratively generated optimized matrices for configuring a transmitting device that encodes transmit data and transmits the encoded transmit data over a channel. The process of constructing error-corrected codes using iteratively generated optimized matrices may consist of any suitable software, hardware (e.g., a system-on-a-chip (SoC) or a field-programmable gate array (FPGA)) or both to implement such features and functions. The iterative generation of optimized matrices for constructing error-corrected codes may be implemented, for example, at least in part in a matrix generation device 102 (e.g., as part of a processing circuit 104 or as any other suitable device). Encoding of transmit data 108 using the constructed error-corrected codes, and transmission of the error-corrected encoded transmit data may be implemented, for example, at least in part in a transmitting device 107 (e.g., as part of a processing unit or as any other suitable device). For example, with respect to a storage device (i.e., a transmitting device 107), the encoding of the transmission data 108 and the transmission of error-corrected encoded data can be implemented in the processing circuit 112 (e.g., a processing unit) of the storage device.

[0043] Figures 2A and 2B show flowcharts of exemplary steps of a process 200 for constructing a set of error correction codes according to some embodiments of the present disclosure. In some embodiments, the referenced matrix generator, processing circuit, memory, transmit data, transmit device, and channel are implemented as the matrix generator 102, processing circuit 104, memory 106, transmit data 108, transmit device 107, and channel 110 in Figure 1, respectively. In some embodiments, the memory 106 stores instructions that, when executed by the processing circuit 104, cause steps 202 through 214 to be executed. In some embodiments, the process 200 may be modified, for example, by rearranging, changing, adding, and / or deleting each step.

[0044] In step 202, a processing circuit (e.g., processing circuit 104) generates a first matrix 201. In some embodiments, the processing circuit generates the first matrix 201 based on either a random matrix or a previously generated matrix stored in memory. In some embodiments, the random matrix is ​​generated using a random number generator implemented on the processing circuit. In some embodiments, the first matrix 201 has a first size, including the number of rows and columns.

[0045] In step 204, the processing circuit performs an incident cycle optimization process using the first matrix 201 to generate a modified first matrix 207 having fewer incident cycles than the first matrix. In some embodiments, the processing circuit generates a plurality of matrix instantiations 203 based on the first matrix 201. In some embodiments, the processing circuit generates a plurality of matrix instantiations 203 using a plurality of additive matrices 205. In some embodiments, each additive matrix 205 has the same number of rows as the first matrix 201. In some embodiments, the number of columns in each additive matrix 205 is smaller than the number of columns in the first matrix 201. Each additive matrix 205 has the same number of columns as the first matrix 201, and the number of rows in each additive matrix 205 is smaller than the number of rows in the first matrix 201. In some embodiments, the processing circuit evaluates each of the matrix instantiations 203 for a number of incident cycles of a predetermined length, up to a maximum. In some embodiments, the processing circuit calculates the number of incident cycles for each matrix instantiation 203 by generating a Tanner graph that corresponds to each matrix and determines the maximum number of incident cycles of a given length in the generated Tanner graph. Once each matrix instantiation 203 has been evaluated for the maximum number of incident cycles of a given length, the processing circuit selects one matrix instantiation from among several matrix instantiations based on the corresponding number of incident cycles in each matrix instantiation 203. For example, the processing circuit selects the matrix instantiation that has the fewest number of incident cycles of a given length among several matrix instantiations. The matrix instantiation with the fewest incident cycles of a given length is selected to prioritize error code construction with a highly extensible matrix. By selecting a matrix instantiation that constructs a reliable error correction code, this process reduces the likelihood of errors in constructing the error correction code, thereby reducing the overall error floor of error correction code construction in the configured transmitting device. The matrix instantiation selected by the processing circuit is referred to as the modified first matrix 207.The corrected first matrix 207 is of size 1.

[0046] A matrix containing many incident cycles can cause an unexpected increase in the failure rate of the error correction code, even when transmitted over a low-noise bus or channel, thereby raising the error floor of the constructed error correction code. To reduce the error floor of bit errors during the construction of the error correction code, incident cycles of up to a predetermined length should be avoided or removed from the matrix by matrix operations. In some embodiments, the predetermined length corresponds to the length of incident cycles that cause a higher error correction code failure rate than lengths longer than the predetermined length. The iterative error correction code construction of this disclosure is dependent on the predetermined length, and as a result, incident cycles of up to a predetermined length are evaluated and reduced or avoided within each matrix of the matrix combination set.

[0047] In step 206, the processing circuit performs an encoder gate optimization process using the modified first matrix 207 to generate a further modified first matrix 213, where fewer encoder gates are required to encode data using the further modified first matrix 213 than when using the modified first matrix 207. In some embodiments, the processing circuit causes at least one swap between the first row 209 and the second row 211 of the modified first matrix 207 to generate the further modified first matrix 213. In some embodiments, the processing circuit causes a series of row swaps, each of which is performed between the first row (e.g., the first row 209) and the second row (e.g., the second row 211) of the rows of the modified first matrix 207. The processing circuit may also cause at least one swap between the first column and the second column of the modified first matrix 207 to generate the further modified first matrix 213. In some embodiments, the processing circuit causes a series of column swaps, each involving a column swap performed on the first and second columns of the modified first matrix 207. The processing circuit may cause one or more row and column swaps to generate a further modified first matrix 213. In some embodiments, the processing circuit simultaneously performs a series of row and column swaps on each copy of the modified first matrix 207 to generate a series of swapped matrices. In some embodiments, each swapped matrix includes its respective data submatrix and its respective parity check submatrix. To generate a further modified first matrix, the processing circuit may generate the respective inverses of each parity check submatrix for each of the series of swapped matrices. In some embodiments, for each swapped matrix, the processing circuit evaluates the inverse of each parity check submatrix for the number of encoder gates required to encode data using the respective swapped matrix. In some embodiments, the processing circuit evaluates each inverse for the number of encoder gates required to encode data using the corresponding swapped matrix, based on the number of non-zero values ​​in the respective inverse.In some embodiments, the processing circuit selects one of several swapped matrices that requires the fewest number of encoder gates to encode the transmitted data. The selected swapped matrix that requires the fewest number of encoder gates to encode the transmitted data may be referred to as the further modified first matrix 213.

[0048] In step 208, the processing circuit generates a second matrix 215 that includes the further modified first matrix 213 as a submatrix. In some embodiments, each of the further modified first matrix 213 and the second matrix 215 is part of a set of matrix combinations 216. In some embodiments, the further modified first matrix 213 has a first size including a first number of rows, and the second matrix has a second size including a second number of rows greater than the first number of rows. In some embodiments, the second matrix 215 includes a number of new submatrices at positions in the second matrix that are not populated by the further modified first matrix.

[0049] In step 210, the processing circuit performs an incident cycle optimization process using the second matrix 215 to generate a modified second matrix 219 having fewer incident cycles than the second matrix 215. The processing circuit generates a modified second matrix 219 having fewer incident cycles than the second matrix 215 by the same incident cycle optimization process used in step 204. In some embodiments, the processing circuit generates multiple matrix instantiations 217 based on the second matrix 215 and multiple additive matrices 218, and evaluates each matrix instantiation 217 for a certain number of incident cycles. In such embodiments, the processing circuit selects the matrix instantiation with the fewest number of incident cycles, and the selected matrix instantiation is referred to as the modified second matrix 219.

[0050] In step 212, the processing circuit performs an encoder gate optimization process using each of the further modified first matrix 213 and the modified second matrix 219 to generate a further modified second matrix 223, where fewer encoder gates are required to encode data using the further modified second matrix 223 than when using the modified second matrix 219. The processing circuit performs the same encoder gate optimization process on the further modified first matrix 213 and the modified second matrix 219, as shown in step 206. In some embodiments, when the processing circuit causes a row swap between each first row 220 and second row 221 on the modified second matrix 219, the processing circuit also causes the same row swap on the further modified first matrix 213. Furthermore, when the processing circuit causes a column swap between each first column and second column on the modified second matrix 219, the processing circuit also causes the same column swap on the further modified first matrix 213. In some embodiments, the processing circuit generates a number of swapped matrices based on the modified second matrix 219. If the processing circuit selects a swapped matrix as a further modified second matrix 223 that requires the fewest number of encoder gates to encode the data, then a further modified first matrix, which is a submatrix of the selected swapped matrix, may be used as a further modified first matrix 222 in the matrix combination set 216. Thus, when the encoder gate optimization process is performed on a matrix N of the matrix combination set, each previously generated and optimized matrix (e.g., matrix 1, matrix 2, ..., matrix N-1) of the matrix combination set (e.g., combination set 216) may be modified.

[0051] In step 214, the processing circuit configures the transmitting device using the further modified first matrix 222 and the further modified second matrix 223. In some embodiments, the processing circuit of the matrix generation device configures the transmitting device via a data bus interface (e.g., data bus interface 115) which communicatively couples the processing circuit 104 to the I / O circuit 113 of the transmitting device. Furthermore, the transmitting device is configured to receive the transmission data via the I / O circuit, encode the transmission data using one of the further modified first matrix and the further modified second matrix, and transmit the encoded transmission data over the channel. In some embodiments, each of the further modified first matrix 222 and the further modified second matrix 223 is part of a matrix combination set 216. As previously discussed, the matrix combination set 216 may contain more than two optimized matrices (e.g., the further modified first matrix 222 and the further modified second matrix 223). In some embodiments, the processing circuit configures the transmitting device using each matrix in the matrix combination set. Therefore, the transmitting device is configured to receive the data to be transmitted, encode the data using one optimized matrix from the matrix combination set 216, and transmit the encoded data over the channel. In some embodiments, the processing circuit also configures the transmitting device to select one optimized matrix from the matrix combination set 216 (e.g., a further modified first matrix 222 and a further modified second matrix 223) based on at least one of the size of the data to be transmitted and the size of the available memory. For each transmitting device commutably coupled to the matrix generating device, the processing circuit configures each transmitting device to generate an error correction code engine based at least partially on the matrix combination set 216. In some embodiments, the matrix generating device may construct multiple matrix combination sets 216, each of which is used to configure each transmitting device to generate its own error correction code engine.

[0052] Figure 3 shows a flowchart of exemplary steps of a process 300 for constructing a set of error correction codes according to some embodiments of the present disclosure. In some embodiments, the referenced matrix generation device, processing circuit, memory, transmit data, transmit device, and channel are implemented as the matrix generation device 102, processing circuit 104, memory 106, transmit data 108, transmit device 107, and channel 110 in Figure 1, respectively. In some embodiments, memory 106 stores instructions that, when executed by processing circuit 104, cause steps 302 to 308 to be executed. In some embodiments, the process 300 can be modified, for example, by rearranging, changing, adding, and / or deleting steps. Exemplary steps of the process 300 are, for example, extensions of Figures 2A and 2B, where the process 300 will be performed in one embodiment of a set of matrix combinations having three generated and optimized matrices.

[0053] In step 302, the processing circuit (e.g., processing circuit 104) generates a third matrix that includes the further modified second matrix as a submatrix. Thus, the further modified first matrix is ​​also a submatrix of the third matrix. In some embodiments, each of the further modified first matrix, the further modified second matrix, and the third matrix is ​​part of a set of matrix combinations. In some embodiments, the further modified second matrix is ​​of a second size with a second number of rows, and the third matrix is ​​of a third size with a third number of rows greater than the second number of rows. In some embodiments, the third matrix includes several new submatrices at the positions of the third matrix that are not populated by the further modified second matrix.

[0054] In step 304, the processing circuit performs an incident cycle optimization process using the third matrix to generate a modified third matrix having fewer incident cycles than the third matrix. In some embodiments, the processing circuit generates multiple matrix instantiations based on the third matrix and evaluates each matrix instantiation for a certain number of incident cycles. In such embodiments, the processing circuit selects the matrix instantiation with the fewest number of incident cycles, and the selected matrix instantiation is referred to as the modified third matrix. In some embodiments, the processing circuit generates and optimizes N matrices. In such embodiments, the processing circuit uses the same incident cycle optimization process for each of the N matrices to reduce the failure rate of the error correction code in the transmitting device configured by the processing circuit.

[0055] In step 306, the processing circuit performs an encoder gate optimization process using each of the further modified first matrix, the further modified second matrix, and the modified third matrix to generate a further modified third matrix, where fewer encoder gates are required to encode data using the further modified third matrix than when using the modified third matrix. The processing circuit performs the same encoder gate optimization process shown in steps 206 and 212 of Figures 2A and 2B on the further modified first matrix, the further modified second matrix, and the modified third matrix. In some embodiments, when the processing circuit causes a row swap between each first and second row on the modified third matrix, the processing circuit also performs the same row swap on each of the further modified first matrix and the further modified second matrix. Furthermore, when the processing circuit causes a column swap between each first and second column on the modified third matrix, the processing circuit also causes the same column swap on each of the further modified first matrix and the further modified second matrix. In some embodiments, the set of matrix combinations includes a further modified first matrix, a further modified second matrix, and a third matrix. In some embodiments, the processing circuit generates a plurality of swapped matrices based on the modified third matrix. The processing circuit then selects the swapped matrix from the plurality of swapped matrices that requires the fewest number of encoder gates to encode the data as the further modified third matrix. In some embodiments, the processing circuit may use the further modified first matrix and the further modified second matrix, which are submatrices of the selected swapped matrix, as the further modified first matrix and the further modified second matrix in the set of matrix combinations. Thus, when the encoder gate optimization process is performed on a matrix N of the set of matrix combinations, each previously generated and optimized matrix in the set of matrix combinations (e.g., matrix 1, matrix 2, ..., matrix N-1) may be modified.

[0056] In step 308, the processing circuit configures a transmitting device using the further modified first matrix, the further modified second matrix, and the further modified third matrix. The transmitting device is configured to receive the data to be transmitted, encode the data using one of the further modified first matrix, the further modified second matrix, and the further modified third matrix, and transmit the encoded data over the channel. In some embodiments, each of the further modified first matrix, the further modified second matrix, and the further modified third matrix is ​​part of a set of matrix combinations. In some embodiments, the set of matrix combinations may include N optimized matrices. In some embodiments, the processing circuit configures a transmitting device using each matrix in the set of matrix combinations. Thus, the transmitting device is configured to receive the data to be transmitted, encode the data using one of the optimized matrices in the set of matrix combinations, and transmit the encoded data over the channel. In some embodiments, the processing circuit also configures the transmitting device to select one of the optimized matrices in the set of matrix combinations based on at least one of the size of the data to be transmitted, the size of the channel, and the size of the available memory. For each transmitting device communicatively coupled to a matrix generating device, the processing circuit configures each transmitting device to generate an error correction code engine based at least partially on a set of matrix combinations. In some embodiments, the matrix generating device may construct multiple sets of matrix combinations, each of which is used to configure each transmitting device to generate its own error correction code engine.

[0057] Figure 4 shows a flowchart of exemplary steps of a subprocess 400 for generating a first matrix, according to some embodiments of the present disclosure. In some embodiments, the referenced matrix generation device, processing circuit, memory, transmit data, transmit device, and channel are implemented as the matrix generation device 102, processing circuit 104, memory 106, transmit data 108, transmit device 107, and channel 110 in Figure 1, respectively. In some embodiments, the subprocess 400 may be modified, for example, by rearranging, changing, adding, and / or deleting steps. In some embodiments, the memory 106 stores instructions that, when executed by the processing circuit 104, cause steps 402 to 406 to be executed. In some embodiments, the subprocess 400 may correspond to step 202 shown in Figure 2A.

[0058] In step 402, a processing circuit (e.g., processing circuit 104) generates random numbers using a random number generator. In some embodiments, the random number generator is implemented within the processing circuit. The generated random numbers may be stored in the memory of a matrix generation device so that they are used to generate a random matrix in step 404. In some embodiments, the processing circuit receives data from an external source, which includes data used to generate random numbers or random matrices, as shown in step 404.

[0059] In step 404, the processing circuit generates a random matrix based on random numbers. In some embodiments, the processing circuit generates the random matrix by using a random matrix generator and random numbers. In some embodiments, the random matrix is ​​of a predetermined size.

[0060] In step 406, the processing circuit generates a first matrix based on a random matrix. In some embodiments, the random matrix is ​​used as the first matrix. In some embodiments, the processing circuit may manipulate or modify the random matrix to generate the first matrix. The first matrix generated by the processing circuit has a predetermined size and includes a data submatrix and a parity check submatrix.

[0061] Figure 5 shows a flowchart of exemplary steps of a subprocess 500 for generating a second matrix, according to some embodiments of the present disclosure. In some embodiments, the referenced matrix generation device, processing circuit, memory, transmit data, transmit device, and channel are implemented as the matrix generation device 102, processing circuit 104, memory 106, transmit data 108, transmit device 107, and channel 110 in Figure 1, respectively. In some embodiments, the subprocess 500 may be modified, for example, by rearranging, changing, adding, and / or deleting steps. In some embodiments, memory 106 stores instructions that, when executed by processing circuit 104, cause step 502 to be executed. In some embodiments, the subprocess 500 may correspond to step 208 shown in Figure 2A.

[0062] In step 502, the processing circuit (e.g., processing circuit 104) generates the second matrix such that the second matrix contains a number of new submatrices at positions in the second matrix that are not populated by the further modified first matrix. In some embodiments, the processing circuit randomly generates a number of new submatrices at positions in the second matrix that are not populated by the further modified first matrix. The second matrix generated by the processing circuit is larger in size than the further modified first matrix. In some embodiments, the processing circuit generates each subsequent matrix (e.g., the third matrix) in the set of matrix combinations in a manner similar to that shown in process 500. In such embodiments, the processing circuit generates the third matrix which contains the further modified second matrix as a submatrix. Thus, the further modified first matrix is ​​also a submatrix of the third matrix generated by the processing circuit. For any matrix entry position of the third matrix that is not populated by the further modified second matrix, the processing circuit generates a number of new submatrices to generate the third matrix.

[0063] Figure 6 shows a flowchart of exemplary steps of a subprocess 600 that performs an incident cycle optimization process for generating a modified matrix based on each matrix of a set of matrix combinations, according to some embodiments of the present disclosure. In some embodiments, the referenced matrix generation device, processing circuit, memory, transmit data, transmit device, and channel are implemented as the matrix generation device 102, processing circuit 104, memory 106, transmit data 108, transmit device 107, and channel 110 in Figure 1, respectively. In some embodiments, the subprocess 600 may be modified, for example, by rearranging, changing, adding, and / or deleting each step. In some embodiments, memory 106 stores instructions that, when executed by processing circuit 104, cause steps 602 through 606 to be executed. In some embodiments, the subprocess 600 is used to perform steps 204 and 210, respectively, as shown in Figures 2A and 2B.

[0064] In step 602, the processing circuit (e.g., processing circuit 104) generates multiple matrix instantiations based on each matrix (e.g., the first matrix and the second matrix) of the matrix combination set. In some embodiments, the processing circuit generates multiple matrix instantiations using multiple additive matrices. In some embodiments, each additive matrix has the same number of rows as each matrix in the matrix combination set. In some embodiments, the number of columns in each additive matrix is ​​smaller than the number of columns in each matrix. In some embodiments, each additive matrix has the same number of columns as each matrix in the matrix combination set, and the number of rows in each additive matrix is ​​smaller than the number of rows in each matrix in the matrix combination set.

[0065] In step 604, the processing circuit evaluates each of the multiple matrix instantiations for a given number of incident cycles. In some embodiments, the processing circuit evaluates each of the multiple matrix instantiations for a given number of incident cycles up to a predetermined length. In some embodiments, the predetermined length is determined based on the incident cycle length corresponding to a particular error correction code construction failure rate. In some embodiments, the processing circuit calculates the number of incident cycles for each matrix instantiation by generating a Tanner graph that corresponds to each matrix instantiation and determines the number of incident cycles up to a predetermined length in the generated Tanner graph. In some embodiments, the processing circuit generates a Tanner graph representing each of the multiple matrix instantiations. In some embodiments, the Tanner graph corresponding to a matrix instantiation includes nodes used to represent state constraints or expressions of the error correction code. In some embodiments, the processing circuit determines the number of incident cycles up to a predetermined length in the Tanner graph representing the matrix. An incident cycle can be defined as a sequence of nodes, where each node in the sequence is connected to its successor by its respective edge, and the sequence of nodes can be traversed along the edges of the sequence from the first node to the last node of the sequence without repeating any previously traversed edges. An incident cycle can be represented in the Tanner graph corresponding to each matrix by a sequence of nodes connected by edges. In some embodiments, the processing circuit evaluates the Tanner graph for incident cycles of up to a given length by using the Faussolier condition.

[0066] In step 606, the processing circuit selects a correction matrix based on the matrix instantiation of multiple matrix instantiations having the fewest number of incident cycles. Once each matrix instantiation has been evaluated for up to a given length of incident cycles, the processing circuit selects a matrix instantiation from the multiple matrix instantiations based on the number of corresponding incident cycles within each matrix instantiation. For example, the processing circuit selects the matrix instantiation from the multiple matrix instantiations that has the fewest number of incident cycles for up to a given length. The matrix instantiation with the fewest incident cycles for up to a given length is selected to prioritize error code construction with a highly extensible matrix. Matrices with many incident cycles for up to a given length may cause error correction code failures at a higher rate than matrices with fewer or no incident cycles for up to a given length. By selecting a matrix instantiation that constructs a reliable error correction code, this process 600 reduces the likelihood of errors in error correction code construction, thereby reducing the overall error floor of error correction code construction in the configured transmitting device. The matrix instantiations selected by the processing circuit are referred to as the modification matrices (e.g., the first modification matrix and the second modification matrix) of each matrix (e.g., the first matrix and the second matrix) in the set of matrix combinations.

[0067] Figure 7 shows a flowchart of exemplary steps of a subprocess 700 that performs an encoder gate optimization process to generate a further modified first matrix, according to some embodiments of the present disclosure. In some embodiments, the referenced matrix generation device, processing circuit, memory, transmit data, transmit device, and channel are implemented as the matrix generation device 102, processing circuit 104, memory 106, transmit data 108, transmit device 107, and channel 110 in Figure 1, respectively. In some embodiments, the subprocess 700 may be modified, for example, by rearranging, changing, adding, and / or deleting steps. In some embodiments, memory 106 stores instructions that, when executed by processing circuit 104, cause step 702 to be executed. In some embodiments, the subprocess 700 may correspond to step 206 shown in Figure 2A.

[0068] In step 702, the processing circuit (e.g., processing circuit 104) causes at least one of (a) at least one swap between the first and second rows of the modified first matrix, and (b) at least one swap between the first and second columns of the modified first matrix, in order to generate a further modified first matrix, where fewer encoder gates are required to encode data using the further modified first matrix than when using the modified first matrix. In some embodiments, the processing circuit causes at least one swap between the first and second rows of the modified first matrix in order to generate a further modified first matrix. In some embodiments, the processing circuit causes a series of row swaps, each row swap performed on the first row and each second row of the modified first matrix. When generating the further modified first matrix, the processing circuit may also cause at least one swap between the first and second columns of the modified first matrix. In some embodiments, the processing circuit causes a series of column swaps, each of which is performed on the first and second columns of the modified first matrix. In some embodiments, the processing circuit simultaneously performs a series of row and column swaps on each copy of the modified first matrix to generate a series of swapped matrices. In some embodiments, each swapped matrix includes its respective data submatrix and its respective parity check submatrix. Thus, subprocess 700 of the encoder gate optimization process may be executed simultaneously to determine a further modified first matrix.

[0069] Figure 8 shows a flowchart of exemplary steps of a subprocess 800 that performs an encoder gate optimization process to generate a further modified second matrix, according to some embodiments of the present disclosure. In some embodiments, the referenced matrix generation device, processing circuit, memory, transmit data, transmit device, and channel are implemented as the matrix generation device 102, processing circuit 104, memory 106, transmit data 108, transmit device 107, and channel 110 in Figure 1, respectively. In some embodiments, the subprocess 800 may be modified, for example, by rearranging, changing, adding, and / or deleting steps. In some embodiments, memory 106 stores instructions that, when executed by processing circuit 104, cause step 802 to be executed. In some embodiments, the subprocess 800 may correspond to step 212 shown in Figure 2B.

[0070] In step 802, the processing circuit (e.g., processing circuit 104) causes at least one of (c) at least one swap between the first and second rows for each of the further modified first and modified second matrices, and (d) at least one swap between the first and second columns for each of the further modified first and modified second matrices, where fewer encoder gates are required to encode data using the further modified second matrices than when using the modified second matrices. In some embodiments, when the processing circuit causes row swaps between each first and second row on the modified second matrices, the processing circuit also performs the same row swaps on the further modified first matrices. Furthermore, when the processing circuit causes column swaps between each first and second column on the modified second matrices, the processing circuit also performs the same column swaps on the further modified first matrices. In some embodiments, the processing circuit generates a plurality of swapped matrices based on the modified second matrices. When the processing circuit selects a swapped matrix that requires the fewest encoder gates to encode the data as a further modified second matrix, the further modified first matrix, which is a submatrix of the selected swapped matrix, can be used as the further modified first matrix in the matrix combination set. Thus, when the encoder gate optimization process is performed on matrix N of the matrix combination set, the subprocess 800 of the encoder gate optimization process can modify each of the previously generated and optimized matrices in the matrix combination set (e.g., matrix 1, matrix 2, ..., matrix N-1). In some embodiments, the subprocess 800 may be executed simultaneously to determine a further modified second matrix that requires fewer encoder gates to encode the data to be transmitted than the modified second matrix.

[0071] Figure 9 shows a flowchart of exemplary steps of a subprocess 900 for performing an encoder gate optimization process to generate further modified matrices (e.g., a further modified first matrix and a further modified second matrix) based on each modified matrix (e.g., a modified first matrix and a modified second matrix), according to some embodiments of the present disclosure. In some embodiments, the referenced matrix generation device, processing circuit, memory, transmit data, transmit device, and channel are implemented as matrix generation device 102, processing circuit 104, memory 106, transmit data 108, transmit device 107, and channel 110, respectively. In some embodiments, the subprocess 900 may be modified, for example, by rearranging, changing, adding, and / or deleting each step. In some embodiments, memory 106 stores instructions that, when executed by processing circuit 104, cause steps 902 to 904 to be executed. In some embodiments, the subprocess 900 is used to perform steps 206 and 212, respectively, as shown in Figures 2A and 2B.

[0072] In step 902, the processing circuit (e.g., processing circuit 104) generates the inverse of the parity check submatrix for each of the modified matrices (e.g., modified first matrix and modified second matrix). In some embodiments, there may be multiple swapped matrices for the processing circuit to evaluate, as shown in process 700 of Figure 7. In some embodiments, each swapped matrix includes a data submatrix and a parity check submatrix. For each of the multiple swapped matrices, the processing circuit generates the inverse of each of the parity check submatrices, and then, in step 904, evaluates the inverse of each parity check submatrix for each swapped matrix, for the number of encoder gates required to encode data using each swapped matrix.

[0073] In step 904, the processing circuit evaluates the parity check submatrix of each modified matrix for the number of encoder gates required to encode the data using each modified matrix, based on the number of non-zero values ​​in the inverse matrix. In some embodiments, the processing circuit evaluates each inverse matrix for the number of encoder gates required to encode the data using the corresponding swapped matrix, based on the number of non-zero values ​​in each inverse matrix. In some embodiments, the processing circuit selects one of several swapped matrices that requires the fewest number of encoder gates to encode the data to be transmitted. The selected swapped matrix that requires the fewest number of encoder gates to encode the data to be transmitted may be referred to as a further modified matrix for each modified matrix.

[0074] In some embodiments, the processing circuit can evaluate the number of gates required to encode the data using each modified matrix in any suitable way. For example, the processing circuit can determine the generator matrix (e.g., the inverse of the parity check submatrix) of each modified matrix and evaluate the size of the encoder required to encode the data using each modified matrix.

[0075] Figure 10 shows a flowchart of exemplary steps of a subprocess 1000 for configuring a transmitting device using a further modified first matrix and a further modified second matrix, according to some embodiments of the present disclosure. In some embodiments, the referenced matrix generation device, processing circuit, memory, transmit data, transmitting device, and channel are implemented as the matrix generation device 102, processing circuit 104, memory 106, transmit data 108, transmitting device 107, and channel 110 in Figure 1, respectively. In some embodiments, the subprocess 1000 may be modified, for example, by rearranging, changing, adding, and / or deleting steps. In some embodiments, memory 106 stores instructions that, when executed by processing circuit 104, cause step 1002 to be executed. In some embodiments, the subprocess 1000 may correspond to step 214 shown in Figure 2B.

[0076] In step 1002, the processing circuit (e.g., processing circuit 104) configures the transmitting device to encode the data by selecting one of the further modified first matrix and the further modified second matrix based on at least one of the size of the data to be transmitted, the size of the channel, and the size of the available memory. In some embodiments, the size of the data to be transmitted determines which of the further modified first matrix and the further modified second matrix is ​​selected to encode the data to be transmitted. In some embodiments, if the processing circuit generates N optimized matrices, each of which has a unique size, using an incident cycle optimization process and an encoder gate optimization process, the processing circuit configures the transmitting device to encode the data by selecting one of the N optimized matrices based on the size of the data to be transmitted. In some embodiments, the processing circuit configures the transmitting device to encode the data by selecting one of the further modified first matrix and the further modified second matrix based on the number of rows in the data to be transmitted. For example, the transmitting device may determine whether one of the further modified first matrix and the further modified second matrix has a number of rows that matches the number of rows in the data to be transmitted, and then encode the data to be transmitted using the determined optimized matrix.

[0077] Figure 11 shows a flowchart of exemplary steps of a subprocess 1100 for configuring a transmitting device using a set of matrix combinations, according to some embodiments of the present disclosure. In some embodiments, the referenced system, matrix generating device, processing circuit, memory, transmit data, transmitting device, and channel are implemented as system 100, matrix generating device 102, processing circuit 104, memory 106, transmit data 108, transmitting device 107, and channel 110 in Figure 1, respectively. In some embodiments, the subprocess 1100 may be modified, for example, by rearranging, changing, adding, and / or deleting steps. In some embodiments, memory 106 stores instructions that, when executed by processing circuit 104, cause steps 1102 through 1104 to be executed. In some embodiments, the subprocess 1100 may correspond to step 214 shown in Figure 2B.

[0078] In step 1102, the processing circuit (e.g., processing circuit 104) configures the transmitting device to encode the transmitted data using a set of matrix combinations, including a further modified first matrix and a further modified second matrix. In some embodiments, each matrix in the set of matrix combinations shares a number of optimized matrix entries, where each optimized matrix entry is a position and value shared for each respective matrix. In some embodiments, the set of matrix combinations includes N matrices optimized using an incident cycle optimization process and an encoder gate optimization process, where each of the N matrices is of its own unique size. In some embodiments, the processing circuit performs encoder gate optimization on each matrix in the set of matrix combinations (e.g., a further modified first matrix and a further modified second matrix). Once each matrix in the set of matrix combinations is optimized using the encoder gate optimization process, each matrix shares a number of optimized matrix entries, where each optimized entry is a position within each respective matrix and a value shared for each respective matrix in the set of combinations.

[0079] In step 1104, the processing circuit configures the transmitting device to generate an error correction code engine based at least partially on a set of matrix combinations. In some embodiments, the system may include more than one transmitting device, and the processing circuit of the matrix generating device configures each transmitting device to generate its own error correction code engine based at least partially on a set of matrix combinations. In some embodiments, the processing circuit generates and optimizes a plurality of matrix combinations and configures each of the plurality of transmitting devices to generate its own error correction code engine based at least partially on each matrix combination.

[0080] Figure 12 shows a flowchart of exemplary steps of process 1200 for constructing a set of error correction codes using a set of iteratively constructed matrix combinations, according to some embodiments of the present disclosure. In some embodiments, the referenced matrix generation device, processing circuit, memory, transmit data, transmit device, and channel are implemented as matrix generation device 102, processing circuit 104, memory 106, transmit data 108, transmit device 107, and channel 110 in Figure 1, respectively. In some embodiments, memory 106 stores instructions that, when executed by processing circuit 104, cause steps 1202 to 1208 to be executed. In some embodiments, process 1200 may be modified, for example, by rearranging, changing, adding, and / or deleting steps. Exemplary steps of process 1200 are, for example, extensions of Figures 2A and 2B, where process 1200 is performed in one embodiment of a set of matrix combinations having N generated and optimized matrices.

[0081] In step 1202, the processing circuit (e.g., processing circuit 104) generates the Nth matrix from a plurality of previously generated matrices. In some embodiments, each of the plurality of previously generated matrices is optimized to reduce the number of incident cycles for each matrix and to reduce the number of encoder gates required to encode data using each matrix. Furthermore, each of the previously generated matrices is a submatrix of the Nth matrix. For example, if N=5, the previously generated matrices include a further modified 1st matrix, a further modified 2nd matrix, a further modified 3rd matrix, and a further modified 4th matrix. In such an example, each of the previously generated matrices is a submatrix of the 5th matrix. In some embodiments, each of the previously generated matrices and the 5th matrix are part of a set of matrix combinations. In some embodiments, if the processing circuit generates N matrices, including the generation of the Nth matrix, then the (N-1)th previously generated and optimized matrices (e.g., a further modified (N-1)th matrix) are submatrices of the Nth matrix. Thus, the submatrices of the Nth matrix are populated by the (N-1)th matrix. In such embodiments, the Nth matrix includes a number of new submatrices at positions in the Nth matrix where the (N-1)th matrix is ​​not populated.

[0082] In step 1204, the processing circuit performs an incident cycle optimization process using the Nth matrix to generate a modified Nth matrix having fewer incident cycles than the Nth matrix. In some embodiments, the processing circuit generates multiple matrix instantiations based on the Nth matrix and evaluates each matrix instantiation for a certain number of incident cycles. In such embodiments, the processing circuit selects the matrix instantiation with the fewest number of incident cycles, and the selected matrix instantiation is referred to as the modified Nth matrix.

[0083] In step 1206, the processing circuit performs an encoder gate optimization process using each of the previously generated matrices and the modified Nth matrix to generate a further modified Nth matrix, where fewer encoder gates are required to encode data using the further modified Nth matrix than when using the modified Nth matrix. The processing circuit performs the same encoder gate optimization process shown in steps 206 and 212 of Figures 2A and 2B and 306 of Figure 3 on each of the previously generated matrices and the modified Nth matrix. In some embodiments, if the processing circuit causes a row swap between each first and second row of the modified Nth matrix, the processing circuit also performs the same row swap on each of the previously generated matrices. Furthermore, if the processing circuit causes a column swap between each first and second column of the modified Nth matrix, the processing circuit also performs the same column swap on each of the previously generated matrices. In some embodiments, the processing circuit generates a plurality of swapped matrices based on the modified Nth matrix. Next, the processing circuit selects the swapped matrix from among several swapped matrices that requires the fewest encoder gates to encode the data as the further modified Nth matrix.

[0084] In step 1208, the processing circuit configures a transmitting device using either a previously generated matrix or a further modified Nth matrix. The transmitting device is configured to receive the data to be transmitted, encode the data using either the previously generated matrix or the further modified Nth matrix, and transmit the encoded data over the channel. In some embodiments, the previously generated matrix and the further modified Nth matrix are part of a set of matrix combinations. In some embodiments, the processing circuit also configures the transmitting device to select an optimized matrix from the set of matrix combinations based on at least one of the size of the data to be transmitted, the channel size, and the size of the available memory. For each transmitting device commutatively coupled to the matrix generating device, the processing circuit configures each transmitting device to generate an error correction code engine based at least partially on the set of matrix combinations. In some embodiments, the matrix generating device may construct multiple sets of matrix combinations, each of which is used to configure each transmitting device to generate its own error correction code engine.

[0085] Figure 13 shows a graph of Forney factor graph 1300 for each parity check matrix of a low-density parity check (LDPC) code. This graph 1300 corresponds to a linear code, specifically an LDPC code having 3 rows and 6 columns. In some embodiments, each matrix is ​​generated and optimized by a matrix generation device 102, so that each matrix includes a parity check submatrix. In some embodiments, the coding matrix is ​​generated using the parity check submatrix of each matrix by an error correction coding engine on a transmitting device 107 (as shown in Figure 1), which is a transmitting device configured based on the generation and optimized set of matrix combinations. Once the coding matrix is ​​generated, the processing circuit 112 of the transmitting device 107 is configured to encode the transmission data using the coding matrix. In some embodiments, the transmitting device 107 multiplies the transmission data by the coding matrix to determine the encoded transmission data. Graph 1300 includes N variable nodes 1304 corresponding to the number of columns in the generated LDPC code, where the parity check submatrix of the generated LDPC code contains K rows. Graph 1300 also contains NK factor nodes 1306. In some embodiments, the bits of a valid signal 1302 must satisfy graph constraints defined by the parity check submatrix of the LDPC code. For example, the lines connecting each variable node 1304 must have the same value (e.g., 0 or 1); all values ​​connecting each factor node 1306 must sum to 0 modulo 2. In some embodiments, if these constraints are not met, the signal may be invalid and not protected by the generated LDPC code.

[0086] The terms “one embodiment,” “embodiment,” “multiple embodiments,” “the embodiment,” “the multiple embodiments,” “one or more embodiments,” “several embodiments,” and “one embodiment” mean “one or more (but not all) embodiments” unless otherwise explicitly defined.

[0087] The terms “include,” “equip,” “possess,” and variations thereof mean “include, but not limited to,” unless otherwise explicitly stated.

[0088] Unless otherwise explicitly stated, the enumerated list of items does not imply that any or all of the items are mutually exclusive.

[0089] The terms "a," "an," and "the" mean "one or more" unless otherwise explicitly stated.

[0090] Devices communicating with each other do not need to communicate with each other continuously unless otherwise explicitly specified. Furthermore, devices communicating with each other may communicate directly or indirectly through one or more intermediaries.

[0091] A description of an embodiment having multiple components communicating with each other does not imply that all such components are necessary. On the contrary, a variety of optional components are described to illustrate the wide variety of possible embodiments. Furthermore, process steps, method steps, algorithms, or the like may be described in a sequential order, but such processes, methods, and algorithms may be configured to operate in alternative orders. In other words, any sequence or order of steps that may be described does not necessarily imply that those steps must be performed in that order. The steps of the processes described herein may be performed in any executable order. Furthermore, some steps may be performed simultaneously.

[0092] Where a single device or article is described herein, it is readily apparent that more than one device / article (whether they work together or not) may be used in place of that single device / article. Similarly, where more than one device or article is described herein (whether they work together or not), it is readily apparent that a single device / article may be used in place of more than one device or article, or that a different number of devices / articles may be used instead of the number of devices or programs indicated. The functions and / or features of a device may be embodied by one or more other devices not explicitly described as having such functions / features. Therefore, other embodiments do not necessarily have to include the device itself.

[0093] At a minimum, certain operations that may be illustrated in the drawings indicate that certain events occur in a specific order. In alternative embodiments, certain operations may be performed in a different order, modified, or omitted. Furthermore, steps may be added to the logic described above and still conform to the embodiments described. Moreover, the operations described herein may occur sequentially, or certain operations may be processed in parallel. Furthermore, operations may be performed by a single processing unit or by distributed processing units.

[0094] The descriptions of the various embodiments described above are presented for illustrative and explanatory purposes only. They are not intended to be exhaustive or to limit the user to the exact forms disclosed. Many modifications and variations are possible in light of the teachings above.

[0095] Various embodiments described herein may include memory components and / or interfaces to memory components. Such memory components may include volatile and / or nonvolatile (NV) memory. Volatile memory may be a storage medium that requires power to maintain the state of data stored in that medium. Non-limiting examples of volatile memory may include various types of random access memory (RAM), such as dynamic RAM (DRAM) or static RAM (SRAM). One particular type of DRAM that may be used in a memory module may be synchronous dynamic RAM (SDRAM). In certain embodiments, the DRAM memory component may conform to standards published by the Joint Electron Device Engineering Council (JEDEC), such as JESD79F for double data rate (DDR) SDRAM, JESD79-2F for DDR2 SDRAM, JESD79-3F for DDR3 SDRAM, JESD79-4A for DDR4 SDRAM, JESD209 for low power DDR (LPDDR), JESD209-2 for LPDDR2, JESD209-3 for LPDDR3, and JESD209-4 for LPDDR4 (these standards are available at jedec.org). Such standards (and similar standards) may be referred to as DDR-based standards, and the communication interfaces of electronic devices implementing such standards may be referred to as DDR-based interfaces.

[0096] NV memory (NVM) can be a storage medium that does not require power to maintain the state of data stored in that medium. In one embodiment, the memory device may include a block-addressable memory device, such as one based on NAND or NOR technology. The memory device may also include future-generation non-volatile devices, such as a three-dimensional (3D) crosspoint memory device or other byte-addressable in-place write non-volatile memory devices. In one embodiment, the memory device may be, or may include, a memory device using chalcogenide glass, multi-threshold level NAND flash memory, NOR flash memory, single or multi-level phase-change memory (PCM), resistive memory, nanowire memory, ferroelectric transistor RAM (FeTRAM), antiferroelectric memory, magnetoresistive RAM (MRAM) memory incorporating memristor technology, resistive memory including metal oxide-based, oxygen vacancy-based and conductive bridge RAM (CB-RAM), or spin transfer torque (STT)-MRAM, spintronic magnetic junction memory-based devices, magnetic tunneling junction (MTJ)-based devices, DW (domain wall) and SOT (spin-orbit transfer)-based devices, thyristor-based memory devices, or any combination of the above or other memory. The memory device may refer to the die itself and / or a packaged memory product. In certain embodiments, a memory component having non-volatile memory may conform to one or more standards published by JEDEC, such as JESD218, JESD219, JESD220-1, JESD223B, JESD223-1, or other appropriate standards (JEDEC standards referenced herein are available at jedec.org).

Claims

1. A method for iteratively constructing a set of error correction codes, the method is The first step involves generating the first matrix using a processing circuit; The processing circuit performs an incident cycle optimization process using the first matrix to generate a modified first matrix having fewer incident cycles than the first matrix; The processing circuit then performs an encoder gate optimization process using the modified first matrix to generate a further modified first matrix, wherein fewer encoder gates are required to encode the data using the modified first matrix than when the modified first matrix is ​​used; The processing circuit generates a second matrix, where the further modified first matrix is ​​a submatrix of the second matrix; The process circuit then performs the incident cycle optimization process using the second matrix to generate a modified second matrix having fewer incident cycles than the second matrix; The processing circuit then performs the encoder gate optimization process using the further modified first matrix and the modified second matrix, respectively, in order to generate a further modified second matrix, wherein fewer encoder gates are required to encode the data using the further modified second matrix than when the modified second matrix is ​​used; and The step of configuring a transmitting device using the further modified first matrix and the further modified second matrix, wherein the transmitting device is Receiving transmitted data; Encoding the transmitted data using either the further modified first matrix or the further modified second matrix; and The encoded transmission data is transmitted over the channel. Configured to do A method that includes [a certain feature].

2. The method according to claim 1, wherein the step of generating the second matrix comprises the step of generating the second matrix, wherein the second matrix includes a plurality of new submatrices at positions of the second matrix that are not populated by the further modified first matrix.

3. The step of configuring the transmitting device to encode the transmitted data using one of the further modified first matrix and the further modified second matrix is ​​the step of configuring the transmitting device to encode the transmitted data using a set of matrix combinations, where, The set of combinations of the aforementioned matrices includes the further modified first matrix and the further modified second matrix, and Each matrix in the aforementioned set of matrix combinations shares multiple optimized matrix entries, where each optimized matrix entry is the shared position and value of each matrix. including The method according to claim 1.

4. The step of configuring the aforementioned transmitting device is, Generate an error correction code engine that is at least partially based on the aforementioned set of matrix combinations. The step of configuring the transmitting device in this manner. Having, The method according to claim 3.

5. The step of configuring the aforementioned transmitting device is, Based on at least one of the size of the transmitted data, the size of the channel, and the size of the available memory, one of the further modified first matrix and the further modified second matrix is ​​selected to encode the transmitted data. The step of configuring the transmitting device in this manner. Having, The method according to claim 1.

6. The step of generating the first matrix is, The stage of generating random numbers using a random number generator; The step of generating a random matrix based on the aforementioned random numbers; and The step of generating the first matrix based on the aforementioned random matrix. Having, The method according to claim 1.

7. The third matrix is ​​generated, where the further modified second matrix is ​​a submatrix of the third matrix; A step of performing the incident cycle optimization process using the third matrix in order to generate a modified third matrix having fewer incident cycles than the third matrix; A further step of performing the encoder gate optimization process using each of the further modified first matrix, the further modified second matrix, and the modified third matrix in order to generate a further modified third matrix, wherein fewer encoder gates are required to encode the data using the further modified third matrix than when using the modified third matrix; and The step of configuring the transmitting device using the further modified first matrix, the further modified second matrix, and the further modified third matrix, wherein the transmitting device is Receiving transmitted data; Encoding the transmitted data using one of the further modified first matrix, the further modified second matrix, and the further modified third matrix; and The encoded transmission data is transmitted over the TH channel. Configured to do The method according to claim 1, further comprising:

8. The step of generating the Nth matrix from a plurality of previously generated matrices, wherein each of the previously generated matrices is optimized to reduce the number of incident cycles of each of the matrices and to reduce the number of encoder gates required to encode data using each of the matrices, where each of the previously generated matrices is a submatrix of the Nth matrix; A step of performing the incident cycle optimization process using the N matrix in order to generate a modified N matrix having fewer incident cycles than the aforementioned N matrix; A further step of performing the encoder gate optimization process using each of the previously generated matrices and the modified Nth matrix in order to generate a further modified Nth matrix, wherein fewer encoder gates are required to encode the data using the further modified Nth matrix than when using the modified Nth matrix; and The step of configuring the transmitting device using either the previously generated matrix or the further modified Nth matrix, wherein the transmitting device Receiving transmitted data; Encoding the transmitted data using either the previously generated matrix or the further modified Nth matrix; and The encoded transmission data is transmitted over the TH channel. Configured to do The method according to claim 1, further comprising:

9. The step of using the first matrix to perform the incident cycle optimization process in order to generate a modified first matrix is: A step of generating multiple matrix instantiations based on the first matrix; A step of evaluating each of the multiple matrix instantiations for each number of incident cycles; and The step of selecting the modified first matrix based on the matrix having the fewest number of incident cycles among the plurality of matrix instantiations. Having; and The step of using the second matrix to perform the incident cycle optimization process in order to generate a modified second matrix is: A step of generating multiple matrix instantiations based on the second matrix; A step of evaluating each of the multiple matrix instantiations for each number of incident cycles; and The step of selecting the modified second matrix based on the matrix having the fewest number of incident cycles among the plurality of matrix instantiations. Having, The method according to claim 1.

10. Furthermore, in order to generate a modified first matrix, the step of performing the encoder gate optimization process using the modified first matrix is ​​as follows: To generate the further modified first matrix, the steps include: (a) causing at least one exchange between the first and second rows of the modified first matrix and (b) causing at least one exchange between the first and second columns of the modified first matrix, wherein fewer encoder gates are required to encode the data using the further modified first matrix than when using the modified first matrix; It has and The step of performing the encoder gate optimization process using the further modified first matrix and the modified second matrix, in order to generate a further modified second matrix, To generate the further modified second matrix, the steps include: (c) causing at least one exchange between the first and second rows of each of the further modified first matrix and the modified second matrix, and (d) causing at least one exchange between the first and second columns of each of the further modified first matrix and the modified second matrix, wherein fewer encoder gates are required to encode the data using the further modified second matrix than when using the modified second matrix. Having, The method according to claim 1.

11. The method according to claim 1, wherein the step of performing the encoder gate optimization process using each of the further modified first matrix and the modified second matrix is ​​the step of performing the encoder gate optimization process using each of the further modified first matrix and the modified second matrix, wherein the encoder gate optimization process optimizes at least one of the further modified first matrix and the modified second matrix to generate the further modified second matrix.

12. Each of the first matrix, the modified first matrix, the further modified first matrix, the second matrix, the modified second matrix, and the further modified second matrix is, Data submatrix; and Parity Inspection Submatrix including, The method according to claim 1.

13. Furthermore, in order to generate a modified first matrix, the step of performing the encoder gate optimization process using the modified first matrix is ​​as follows: The steps include generating the inverse matrix of the parity check submatrix of the modified first matrix, and The step of evaluating the parity check submatrix of the modified first matrix for the number of encoder gates required to encode the data using the modified first matrix, based on the number of non-zero values ​​in the inverse matrix. Having; and The step of performing the encoder gate optimization process using the further modified first matrix and the modified second matrix is ​​as follows: The steps include generating the inverse of the parity check submatrix of the modified second matrix, and The step of evaluating the parity check submatrix of the modified second matrix for the number of encoder gates required to encode the data using the modified second matrix, based on the number of non-zero values ​​in the inverse matrix. Having, The method according to claim 12.

14. For each of the above-mentioned first matrix, the modified first matrix, the further modified first matrix, the second matrix, the modified second matrix, and the further modified second matrix, The aforementioned data submatrix includes a plurality of rows and a plurality of data columns, The parity check submatrix includes the plurality of rows and the plurality of parity check columns, The method according to claim 12.

15. The method according to claim 12, wherein each of the data submatrices of the first matrix, the modified first matrix, the further modified first matrix, the second matrix, the modified second matrix, and the further modified second matrix contains the same number of data columns.

16. A system comprising a matrix generation device, wherein the matrix generation device is To generate the first matrix; To generate a modified first matrix having fewer incident cycles than the first matrix, an incident cycle optimization process is performed using the first matrix; To generate a further modified first matrix, an encoder gate optimization process is performed using the modified first matrix, wherein fewer encoder gates are required to encode the data using the modified first matrix than when the modified first matrix is ​​used; To generate a second matrix, where the further modified first matrix is ​​a submatrix of the second matrix; To generate a modified second matrix having fewer incident cycles than the second matrix, the incident cycle optimization process is performed using the second matrix; To generate a further modified second matrix, the encoder gate optimization process is performed using the further modified first matrix and the modified second matrix, wherein fewer encoder gates are required to encode the data using the further modified second matrix than when using the modified second matrix; and Using the further modified first matrix and the further modified second matrix, a transmitting device is configured to be communicatively coupled to the system, wherein the transmitting device is Receiving transmitted data; Encoding the transmitted data using either the further modified first matrix or the further modified second matrix; and The encoded transmission data is transmitted over the channel. Configured to do Processing circuit for performing this task Having, system.

17. The system according to claim 16, wherein, in order to generate the second matrix, the processing circuit generates the second matrix, wherein the second matrix includes a plurality of new submatrices at positions of the second matrix that are not populated by the further modified first matrix.

18. In order to configure the transmitting device to encode the transmitted data using one of the further modified first matrix and the further modified second matrix, the processing circuit configures the transmitting device to encode the transmitted data using a set of matrix combinations, where, The set of combinations of the aforementioned matrices includes the further modified first matrix and the further modified second matrix, and Each matrix in the aforementioned set of matrix combinations shares multiple optimized matrix entries, where each optimized matrix entry is the shared position and value of each matrix. The system according to claim 16.

19. To configure the aforementioned transmitting device, the processing circuit is configured Generate an error correction code engine that is at least partially based on the aforementioned set of matrix combinations. The transmitting device is configured as follows: The system according to claim 18.

20. To configure the aforementioned transmitting device, the processing circuit is configured Based on at least one of the size of the transmitted data, the size of the channel, and the size of the available memory, one of the further modified first matrix and the further modified second matrix is ​​selected to encode the transmitted data. The transmitting device is configured as follows: The system according to claim 16.

21. In order to generate the first matrix, the processing circuit, Generating random numbers using a random number generator; Generating a random matrix based on the aforementioned random numbers; and The first matrix is ​​generated based on the aforementioned random matrix. To do The system according to claim 16.

22. The aforementioned processing circuit further, To generate a third matrix, where the further modified second matrix is ​​a submatrix of the aforementioned third matrix; To generate a modified third matrix having fewer incident cycles than the third matrix, the incident cycle optimization process is performed using the third matrix; To generate a further modified third matrix, the encoder gate optimization process is performed using each of the further modified first matrix, the further modified second matrix, and the modified third matrix, wherein fewer encoder gates are required to encode the data using the further modified third matrix than when using the modified third matrix; and Using the further modified first matrix, the further modified second matrix, and the further modified third matrix, a transmitting device is configured to be communicatively coupled to the system, wherein the transmitting device is Receiving transmitted data; Encoding the transmitted data using one of the further modified first matrix, the further modified second matrix, and the further modified third matrix; and The encoded transmission data is transmitted over the TH channel. Configured to do To do The system according to claim 16.

23. The aforementioned processing circuit further, To generate the Nth matrix from a plurality of previously generated matrices, each of the previously generated matrices being optimized to reduce the number of incident cycles of each of the matrices and to reduce the number of encoder gates required to encode data using each of the matrices, where each of the previously generated matrices is a submatrix of the Nth matrix; To generate a modified Nth matrix having fewer incident cycles than the aforementioned N matrix, the incident cycle optimization process is performed using the N matrix; To generate a further modified Nth matrix, the encoder gate optimization process is performed using each of the previously generated matrices and the modified Nth matrix, wherein fewer encoder gates are required to encode the data using the further modified Nth matrix than when using the modified Nth matrix; and The transmitting device is configured using either the previously generated matrix or the further modified Nth matrix, wherein the transmitting device is Receiving transmitted data; Encoding the transmitted data using either the previously generated matrix or the further modified Nth matrix; and The encoded transmission data is transmitted over the TH channel. Configured to do To do The system according to claim 16.

24. In order to generate a modified first matrix, and to execute the incident cycle optimization process using the first matrix, the processing circuit, To generate multiple matrix instantiations based on the first matrix; Evaluating each of the multiple matrix instantiations for each number of incident cycles; and Select the modified first matrix based on the matrix having the fewest number of incident cycles among the plurality of matrix instantiations. do; and In order to generate a modified second matrix, and to execute the incident cycle optimization process using the second matrix, the processing circuit, To generate multiple matrix instantiations based on the second matrix; Evaluating each of the multiple matrix instantiations for each number of incident cycles; and Select the modified second matrix based on the matrix having the fewest number of incident cycles among the aforementioned multiple matrix instantiations. To do The system according to claim 16.

25. To generate a further modified first matrix, the processing circuit executes the encoder gate optimization process using the modified first matrix, To generate the further modified first matrix, at least one of (a) at least one swap between the first row and the second row of the modified first matrix and (b) at least one swap between the first column and the second column of the modified first matrix is ​​performed, wherein fewer encoder gates are required to encode data using the further modified first matrix than when using the modified first matrix; And In order to generate a further modified second matrix, the processing circuit executes the encoder gate optimization process using the further modified first matrix and the modified second matrix, To generate the further modified second matrix, (c) at least one swap between the first and second rows of each of the further modified first matrix and the modified second matrix, and (d) at least one swap between the first and second columns of each of the further modified first matrix and the modified second matrix, wherein fewer encoder gates are required to encode data using the further modified second matrix than when using the modified second matrix. To do The system according to claim 16.

26. The system according to claim 16, wherein the processing circuit performs the encoder gate optimization process using each of the further modified first matrix and the modified second matrix, where the encoder gate optimization process optimizes at least one of the further modified first matrix and the modified second matrix in order to generate the further modified second matrix.

27. Each of the first matrix, the modified first matrix, the further modified first matrix, the second matrix, the modified second matrix, and the further modified second matrix is, Data submatrix; and Parity Inspection Submatrix including, The system according to claim 16.

28. To generate a further modified first matrix, the processing circuit executes the encoder gate optimization process using the modified first matrix, To generate the inverse of the parity check submatrix of the modified first matrix, and Evaluate the parity check submatrix of the modified first matrix for the number of encoder gates required to encode the data using the modified first matrix, based on the number of non-zero values ​​in the inverse matrix. do; and In order to perform the encoder gate optimization process using the further modified first matrix and the modified second matrix, the processing circuit shall To generate the inverse of the parity check submatrix of the modified second matrix, and Evaluate the parity check submatrix of the modified second matrix for the number of encoder gates required to encode the data using the modified second matrix, based on the number of non-zero values ​​in the inverse matrix. To do The system according to claim 27.

29. For each of the above-mentioned first matrix, the modified first matrix, the further modified first matrix, the second matrix, the modified second matrix, and the further modified second matrix, The aforementioned data submatrix includes a plurality of rows and a plurality of data columns, The parity check submatrix includes the plurality of rows and the plurality of parity check columns, The system according to claim 27.

30. The system according to claim 27, wherein each of the data submatrices of the first matrix, the modified first matrix, the further modified first matrix, the second matrix, the modified second matrix, and the further modified second matrix contains the same number of data columns.

31. In the processing circuit, Procedure for generating the first matrix; A procedure for performing an incident cycle optimization process using the first matrix in order to generate a modified first matrix having fewer incident cycles than the first matrix; A further step to generate a modified first matrix is ​​to perform an encoder gate optimization process using the modified first matrix, wherein fewer encoder gates are required to encode the data using the modified first matrix than when the modified first matrix is ​​used; A procedure for generating a second matrix, where the further modified first matrix is ​​a submatrix of the second matrix; A procedure for performing the incident cycle optimization process using the second matrix in order to generate a modified second matrix having fewer incident cycles than the second matrix; A procedure for performing the encoder gate optimization process using the further modified first matrix and the modified second matrix, respectively, in order to generate a further modified second matrix, wherein fewer encoder gates are required to encode the data using the further modified second matrix than when the modified second matrix is ​​used; and A procedure for configuring a transmitting device using the further modified first matrix and the further modified second matrix, wherein the transmitting device is Receiving transmitted data; Encoding the transmitted data using either the further modified first matrix or the further modified second matrix; and The encoded transmission data is transmitted over the channel. Configured to do A computer program designed to execute something.

32. A method for transmitting data, the method The stage of receiving transmitted data; The step of encoding the transmission data using either the further modified first matrix or the further modified second matrix, where the further modified first matrix and the further modified second matrix are The first matrix is ​​generated by the processing circuit; The processing circuit performs an incident cycle optimization process using the first matrix in order to generate a modified first matrix having fewer incident cycles than the first matrix; The processing circuit performs an encoder gate optimization process using the modified first matrix to generate the further modified first matrix, wherein fewer encoder gates are required to encode the data using the further modified first matrix than when using the modified first matrix; The processing circuit generates a second matrix, where the further modified first matrix is ​​a submatrix of the second matrix; The processing circuit executes the incident cycle optimization process using the second matrix to generate a modified second matrix having fewer incident cycles than the second matrix; and The processing circuit performs the encoder gate optimization process using the further modified first matrix and the modified second matrix, respectively, in order to generate the further modified second matrix, wherein fewer encoder gates are required to encode data using the further modified second matrix than when using the modified second matrix. Produced by; and The step of transmitting the encoded transmission data over the channel. A method that includes [a certain feature].