Error correction code encoding circuit and semiconductor device including same

By using a parity check matrix encoding circuit in a semiconductor device and using a block matrix structure to generate encoding codewords, the problem of increased bit errors in semiconductor devices is solved, and the efficiency and error floor characteristics of the error correction code are improved.

CN118779145APending Publication Date: 2024-10-15SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311655814.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-04-06
Filing Date
2023-12-05
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The reduction of semiconductor device manufacturing design rules has led to an increase in bit errors and reduced the productivity of semiconductor devices. The existing error correction code (ECC) operation efficiency is insufficient and needs to be improved.

Method used

Using a coding circuit based on the parity check matrix, by dividing the information part and the parity part, and using the structure of the block matrix T, B, D, E for coding, the coded codeword including the information bits and parity bits is generated, which improves the coding efficiency. Low complexity and error floor properties.

Benefits of technology

The efficiency of the error correction code is improved, the computational complexity is reduced, the error floor characteristics and waterfall characteristics are improved, and the data reading accuracy and productivity of semiconductor devices are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779145A_ABST
    Figure CN118779145A_ABST
Patent Text Reader

Abstract

A semiconductor device may include an error correction code (ECC) encoder that encodes a codeword based on a parity check matrix, and generates an encoded codeword including information bits and parity bits. The parity check matrix is divided into an information portion corresponding to the information bits and a parity portion corresponding to the parity bits. The odd-even part comprises a block matrix T, and the block matrix T comprises a plurality of first sub-matrixes arranged according to a double diagonal structure; the block matrix B comprises a first sub-matrix and a (1-a) th sub-matrix; a block matrix D, wherein the block matrix D is composed of the first sub-matrix; and a block matrix E, the block matrix E comprising the first sub-matrix and a masked 1-(a + 1) th sub-matrix. The position of the first sub-matrix in the block matrix B is earlier than the position of the masked 1-(a + 1) th sub-matrix in the block matrix E.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure described herein relate to an error correcting code (ECC) encoding circuit and a semiconductor device including the ECC encoding circuit, and more particularly, to an ECC encoder that encodes a codeword to generate an encoded codeword. Background Art

[0002] Semiconductor devices may include volatile memory devices and non-volatile memory devices. Volatile memory devices may refer to memory devices that lose data stored therein when power is cut off. Volatile memory devices may include static random access memory (SRAM), dynamic RAM (DRAM), synchronous DRAM, etc. Non-volatile memory devices may refer to memory devices that retain data stored therein even when power is cut off. Non-volatile memory devices may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory devices, phase change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), ferroelectric RAM (FRAM), etc. Flash memory devices are mainly classified into NOR type flash memory devices and NAND type flash memory devices.

[0003] When reading data programmed in a memory device, an error may occur. When an error occurs during a read operation, the read data may include an error. In order to correct errors in the read data, coded modulation such as Bose-Chaudhuri-Hocquenghem (BCH) code, Reed-Solomon (RS) code, Low Density Parity Check (LDPC) code and Turbo code may be used to perform error correction code (ECC) operations. However, due to the continuous contraction of manufacturing design rules for semiconductor devices, bit errors may increase rapidly, and the productivity of semiconductor devices may decrease. Therefore, it is useful to improve the efficiency of ECC operations. Summary of the invention

[0004] An embodiment of the present disclosure provides a coding circuit, which includes an ECC encoder. The ECC encoder uses a parity check matrix structure and can perform low-complexity coding while improving an error floor and waterfall characteristics.

[0005] According to an embodiment, an error correction code (ECC) encoder encodes a codeword based on a parity check matrix and generates an encoded codeword (ECW) including information bits and parity bits. The parity check matrix is ​​divided into an information part corresponding to the information bit and a parity part corresponding to the parity bit. The parity part includes: a block matrix T, the block matrix T includes a plurality of first sub-matrices arranged in a dual diagonal structure; a block matrix B, the block matrix B includes a first sub-matrix and a 1-a sub-matrix; a block matrix D, the block matrix D is composed of the first sub-matrix; and a block matrix E, the block matrix E includes the first sub-matrix and a masked 1-(a+1) sub-matrix. The block matrix B and the block matrix D are located in the same sub-column. The block matrix T and the block matrix E are located in the same sub-column. The position of the first sub-matrix in the block matrix B precedes the position of the masked 1-(a+1) sub-matrix in the block matrix E. The position of the 1-a submatrix in the block matrix B precedes the position of the first submatrix in the block matrix E. The first submatrix is ​​defined as a unit matrix of size Z×Z. The 1-a submatrix is ​​defined as a matrix obtained by performing a left cyclic shift "a" times on the first submatrix. The masked 1-(a+1)th submatrix is ​​defined as a matrix that masks the first row in a matrix obtained by performing a left cyclic shift "a+1" times on the first submatrix.

[0006] According to an embodiment, a semiconductor device may include an ECC encoder configured to encode a codeword based on a parity check matrix and generate an encoded codeword (ECW) including information bits and parity bits. The parity check matrix is ​​divided into an information part corresponding to the information bits and a parity part corresponding to the parity bits. The parity part includes: a plurality of sub-rows and a plurality of sub-columns; a block matrix T, the block matrix T includes a plurality of first sub-matrices arranged in a dual diagonal structure; a block matrix B, the block matrix B includes: a first column vector, the first column vector is located in a first sub-column of the plurality of sub-columns and includes the 1st to a1st sub-matrices, and a second column vector, the second column vector is located in a second sub-column of the plurality of sub-columns and includes the 1st to a2nd sub-matrices; a block matrix C, the block matrix includes: a first column vector, the first column vector is located in a first sub-column of the plurality of sub-columns and includes the 1st to a1st sub-matrices, and a second column vector, the second column vector is located in a second sub-column of the plurality of sub-columns and includes the 1st to a2nd sub-matrices; a block matrix E , the block matrix E includes: a first row vector, the first row vector is located in the first sub-row of the plurality of sub-rows and includes the first sub-matrix, and a second row vector, the second row vector is located in the second sub-row of the plurality of sub-rows and includes the first sub-matrix; and a block matrix D, the block matrix D includes: a masked 1-(a1+1)th sub-matrix, the masked 1-(a1+1)th sub-matrix is ​​located in the first sub-column and the first sub-row; a 1-(a1-2)th sub-matrix, the 1-(a1-2)th sub-matrix is ​​located in the first sub-column and the second sub-row; and a masked 1-(a2+1)th sub-matrix, the masked 1-(a2+1)th sub-matrix is ​​located in the second sub-column and the second sub-row. The position of the 1-a1th sub-matrix in the first column vector precedes the position of the first sub-matrix in the first row vector. The position of the 1-a2th sub-matrix of the block matrix B in the second column vector precedes the position of the first sub-matrix of the block matrix E in the second row vector. The first submatrix is ​​defined as a unit matrix of size Z×Z. Each of the 1-aj submatrices is defined as a matrix obtained by performing a left cyclic shift "aj" times on the first submatrix. The masked 1-(aj+1) submatrix is ​​defined as a matrix masking the first row in a matrix obtained by performing a left cyclic shift "aj+1" times on the first submatrix. The 1-(aj-2) submatrix is ​​defined as a matrix obtained by performing a left cyclic shift "aj-2" times on the first submatrix.

[0007] According to an embodiment, a semiconductor device may include an ECC encoder configured to generate an encoding codeword including information bits and parity bits based on a parity check matrix. The ECC encoder may include a bit accumulator that generates intermediate bits by performing an operation of multiplying a lower triangular matrix by input bits; and a first shifter that generates the parity bits by performing an operation of multiplying a 1-(Z-ai)th submatrix by the intermediate bits. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The above and other objects and features of the present disclosure will become apparent by describing embodiments of the present disclosure in detail with reference to the accompanying drawings.

[0009] Figure 1 is a diagram illustrating an example of a memory system including an ECC encoder according to example embodiments.

[0010] Figure 2 is a diagram illustrating an exemplary embodiment of the Figure 1 A block diagram of an embodiment of an ECC encoder.

[0011] Figure 3 is a diagram illustrating the operation according to an example embodiment Figure 2 A flow chart of an example of a method of an ECC encoder.

[0012] Figure 4 is a diagram showing a method of performing Figure 2 FIG. 1 is a diagram of an example of a parity check matrix generated by a PCM generator.

[0013] Figure 5 is a diagram illustrating a case where “M′=1” according to an example embodiment. Figure 4 Figure 3 is an example of an even and odd part of a graph.

[0014] Figure 6 is a diagram showing a method according to an example embodiment Figure 5 A graph of the components of the even and odd parts of .

[0015] Figure 7 is a diagram showing the case where "M'=2" according to an exemplary embodiment. Figure 4 Figure 3 is an example of an even and odd part of a graph.

[0016] Figure 8 is a diagram showing a method according to an example embodiment Figure 7 A graph of the components of the even and odd parts of .

[0017] Fig. 9 is a diagram showing a method according to an example embodiment Figure 2 A block diagram of an example of a PCM generator.

[0018] Fig.10 is a diagram illustrating an exemplary embodiment of the Fig. 9 Flowchart of the method of operation of the PCM generator.

[0019] Fig.11 is a diagram briefly illustrating transformation of a base matrix into a parity part of a parity check matrix according to an example embodiment.

[0020] Fig.12 FIG. 1 is a diagram showing a case where “Mb′=1” according to an exemplary embodiment. Fig.11 Figure 3 shows an example of a basis matrix for .

[0021] Fig.13 is a diagram showing a method according to an example embodiment Fig.12 A graph of the components of the block matrix Tb of .

[0022] Fig.14 is a diagram showing a method according to an example embodiment Fig.12 A graph of the components of the block matrix Bb of .

[0023] Fig.15 is a diagram showing a method according to an example embodiment Fig.12 A graph of the components of the block matrix Eb of .

[0024] Fig.16 is a diagram illustrating mapping data stored in a mapping table in case of 'Mb'=1' according to an example embodiment.

[0025] Fig.17 is a diagram showing a method according to an example embodiment Fig.12 A graph of the parity part of the parity check matrix whose basis matrix is ​​transformed.

[0026] Fig.18 is a diagram showing the case where “Mb′≥2” according to an example embodiment Fig.11 Figure 3 shows an example of a basis matrix for .

[0027] Fig.19 is a diagram illustrating an example of a base matrix in the case of 'Mb'=2' according to an exemplary embodiment.

[0028] Fig. 20 is a diagram showing a method according to an example embodiment Fig.19 A graph of the components of the block matrix Tb of .

[0029] Fig.21 is a diagram showing a method according to an example embodiment Fig.19 A graph of the components of the block matrix Db.

[0030] Fig. 22 is a diagram showing a method according to an example embodiment Fig.19 A graph of the components of the block matrix Bb of .

[0031] Fig.23 is a diagram showing a method according to an example embodiment Fig.19 A graph of the components of the block matrix Eb of .

[0032] Fig.24 is a diagram illustrating mapping data stored in a mapping table in a case of 'Mb' ≥ 2' according to an example embodiment.

[0033] Fig.25 is a diagram showing a method according to an example embodiment Fig.19 A graph of the parity part of the parity check matrix whose basis matrix is ​​transformed.

[0034] Fig.26 is a diagram illustrating an exemplary embodiment of the Figure 2 A diagram of an example of a computational unit.

[0035] Fig. 27 is a diagram illustrating an example of a calculation unit in a case of “M′=1” according to an example embodiment.

[0036] Fig.28 is a diagram showing a method for performing a Fig. 27 A diagram of the operation bits in the computational unit of .

[0037] Fig.29 is a diagram illustrating an example of a calculation unit in a case of “M′≥2” according to an example embodiment.

[0038] Fig.30 is a diagram showing a method for performing a Fig.29 A diagram of the operation bits in the computational unit of .

[0039] Fig.31 is a diagram illustrating an example of a calculation unit when all values ​​'aj' are 0 according to an example embodiment.

[0040] Fig.32 is a diagram illustrating an example of a memory system including an ECC encoder according to example embodiments.

[0041] Fig.33 is a diagram illustrating an example of a communication system including an ECC encoder according to an example embodiment. DETAILED DESCRIPTION

[0042] Hereinafter, embodiments of the present disclosure may be described in detail and clearly so that those skilled in the art can easily implement the present disclosure.

[0043] As used in this specification, the term "device" or "unit" refers to any combination of software, firmware, and / or hardware configured to provide the functionality described in this specification. For example, software may be implemented as a software package, code, and / or instruction set or instructions. For example, hardware may include a single or any combination or assembly of firmware that stores instructions executed by hardwired circuits, state machine circuits, and / or programmable circuits.

[0044] Figure 1 is a diagram illustrating an example of a memory system including an ECC encoder according to example embodiments.

[0045] refer to Figure 1 , the memory system 1000 includes a controller 1100 and a memory device 1200. The memory device 1200 includes a flash memory. The memory device 1200 is configured to store data by adjusting a threshold voltage of a memory cell. In this document, one of the memory system 1000, the controller 1100, and the memory device 1200 may be referred to as a semiconductor device.

[0046] The controller 1100 is connected to the host and the storage device 1200. The controller 1100 is configured to access the storage device 1200 in response to a request from the host. For example, the controller 1100 is configured to control a read operation, a write operation, an erase operation, and a background operation of the storage device 1200. The controller 1100 is configured to provide an interface between the storage device 1200 and the host. The controller 1100 is configured to drive firmware for controlling the storage device 1200.

[0047] For example, the controller 1100 is configured to provide a control signal and an address to the memory device 1200. In addition, the controller 1100 is configured to exchange data with the memory device 1200.

[0048] The controller 1100 includes an ECC encoder 100. The ECC encoder 100 performs encoding on data provided from a host using ECC. For example, the controller 1100 may be configured to receive data from the host in the form of a codeword.

[0049] The ECC encoder 100 is configured to perform encoding on a codeword and provide the encoded codeword to a memory device. The ECC encoder 100 performs encoding using an LDPC code.

[0050] The controller 1100 communicates with the host according to a specific communication standard. For example, the controller 1100 can communicate with the host through at least one of various communication protocols, such as but not limited to Universal Serial Bus (USB), Multimedia Card (MMC), Peripheral Component Interconnect (PCI), PCI Express (PCI-E), Advanced Technology Attachment (ATA), Serial ATA, Parallel ATA, Small Computer Mini Interface (SCSI), Enhanced Minidisk Interface (ESDI), Integrated Drive Electronics (IDE), and FireWire.

[0051] The controller 1100 and the storage device 1200 may be integrated in a single semiconductor device. For example, the controller 1100 and the storage device 1200 are integrated in a single semiconductor device to form a solid state drive (SSD). The controller 110 and the storage device 1200 may be integrated in a single semiconductor device to form a memory card. For example, the controller 1100 and the storage device 1200 are integrated in a single semiconductor device to form a memory card such as, but not limited to, a PC card (Personal Computer Memory Card International Association (PCMCIA) card), a compact flash card (CF), a smart media card (SM, SMC), a memory stick, a multimedia card (MMC, RS-MMC or MMCmicro), an SD card (SD, miniSD, microSD or SDHC), and a universal flash storage (UFS).

[0052] As another example, the memory system 1000 forms an ultra mobile PC (UMPC), a workstation, a netbook, a personal digital assistant (PDA), a portable computer, a web tablet, a tablet computer, a wireless phone, a mobile phone, a smart phone, an e-book, a portable multimedia player (PMP), a portable game console, a navigation device, a black box, a digital camera, a digital multimedia broadcasting (DMB) player, a three-dimensional television, a digital recorder, a digital audio player, a digital video recorder (digital photo recorder), a digital photo player, a digital video recorder, a digital video player, a storage device constituting a data center, a device for sending and receiving information in a wireless environment, one of various electronic devices constituting a home network, one of various electronic devices constituting a computer network, one of various electronic devices constituting a telematics network, an RFID device, or one of various components constituting a computing system.

[0053] For example, the memory device 1200 or the memory system 1000 may be packaged according to any of a variety of different packaging technologies. For example, the memory device 1200 or the memory system 1000 may be packaged according to any of such packaging technologies including: package on package (PoP), ball grid array (BGA), chip scale package (CSP), plastic lead chip carrier (PLCC), plastic dual in-line package (PDIP), waffle package die, wafer form die, chip on board (COB), ceramic dual in-line package (CERDIP), plastic metric quad flat package (MQFP), small outline package (SOIC), shrink small outline package (SSOP), thin small outline package (TSOP), thin quad flat package (TQFP), system in package (SIP), multi-chip package (MCP), wafer level manufacturing package (WFP), and wafer level processing stacked package (WSP).

[0054] Figure 2 is a diagram illustrating an exemplary embodiment of the Figure 1 A block diagram of an embodiment of an ECC encoder.

[0055] refer to Figure 2 , the ECC encoder 100 may be configured to encode a codeword CW based on a parity check matrix PCM, and may then generate an encoded codeword ECW.

[0056] The codeword CW received by the ECC encoder 100 may include information bits. The encoded codeword ECW may include information bits and parity bits, and may be expressed as in the following Equation 1.

[0057] [Formula 1]

[0058]

[0059] In Formula 1, "s" represents an information bit and "p" represents a parity bit. Both the information bit and the parity bit can be expressed in a vector format including a plurality of bits. In other words, the encoding codeword ECW can include an information bit consisting of a plurality of bits and a parity bit consisting of a plurality of bits.

[0060] The ECC encoder 100 may include a parity check matrix (PCM) generator 110 and an encoding unit 120 .

[0061] The PCM generator 110 may be configured to generate a parity check matrix PCM. The parity check matrix PCM may be a low density parity check (LDPC) code consisting of components of "1" or "0".

[0062] The parity check matrix PCM can be expressed as the following Equation 2.

[0063] [Formula 2]

[0064]

[0065] In Formula 2, "H" represents the parity check matrix PCM. As in Formula 2, the parity check matrix PCM can be divided into an information part Hinfo and a parity part Hpar. The information part Hinfo can include a block matrix A and a block matrix C. The parity part Hpar can include a block matrix B, a block matrix T, a block matrix D, and a block matrix E. Figures 4 to 8 Describe the detailed arrangement of the parity check matrix PCM.

[0066] The encoding unit 120 may be configured to generate an encoding codeword ECW including parity bits based on the parity check matrix PCM. In other words, the encoding unit 120 may be configured to calculate the parity bits based on the parity check matrix PCM and the information bits.

[0067] The relationship between the parity check matrix PCM and the encoding codeword ECW can be expressed in the following Equation 3.

[0068] [Formula 3]

[0069]

[0070] As in Equation 3, the information part Hinfo of the parity check matrix PCM may operate with the information bit (s), and the parity part Hpar may operate with the parity bit (p).

[0071] The encoding unit 120 may be configured to perform an operation for calculating the parity bit. The operation for calculating the parity bit may be expressed as in the following Equation 4.

[0072] [Formula 4]

[0073] p = Hpar -1 (Hinfo·s)

[0074] The parity bits may include a first parity bit and a second parity bit. The first parity bit may be operated with the block matrix B and / or the block matrix D of the parity part. The second parity bit may be operated with the block matrix T and / or the block matrix E of the parity part.

[0075] The encoding unit 120 may include a calculation unit 121. The calculation unit 121 is configured to calculate a first parity bit based on Equation 4.

[0076] In this specification, the components of all matrices or all submatrices are "1" or "0", and the "+" operation (or sum operation) between all matrices or all submatrices may mean an XOR (exclusive OR) operation. For example, when the components of "1" whose number is an even number are added by the "+" operation (or sum operation), the result of the XOR operation becomes "0". When the components of "1" whose number is an odd number are added by the "+" operation, the result of the XOR operation becomes "1".

[0077] Will refer to it later Figure 26 to Figure 31 The detailed configuration and operation method of the calculation unit 121 are described.

[0078] at the same time, Figure 2 The PCM generator 110 is shown to be included in the ECC encoder 100. Figure 2 Unlike the illustration of , the PCM generator 110 may be provided outside the controller. For example, the PCM generator 110 may be included in the host. The host may generate a parity check matrix PCM and then provide the parity check matrix PCM to the encoding unit 120 of the ECC encoder 100.

[0079] In an embodiment of the present disclosure, a parity check matrix PCM including a parity part Hpar designed to calculate parity bits with a small amount of calculation is provided. Therefore, the amount of calculation required in the encoding unit 120 that encodes the codeword CW can be reduced.

[0080] In addition, in the case of the present disclosure, it is possible to provide a coding unit 120 having a structure that can easily implement an operation of calculating a parity bit using hardware. Figure 26 to Figure 31 The detailed configuration and operation of the encoding unit 120 are described.

[0081] In an embodiment of the present disclosure, a parity part Hpar designed to simultaneously improve an error floor characteristic and a waterfall characteristic may be provided.

[0082] Figure 3 is a diagram illustrating the operation according to an example embodiment Figure 2 A flow chart of an example of a method of an ECC encoder.

[0083] refer to Figure 2 and Figure 3 In operation S100, the encoding unit 120 may receive a codeword CW from a host. The codeword CW may include information bits.

[0084] In operation S200, the PCM generator 110 may generate a parity check matrix PCM. The parity check matrix PCM may be a low density parity check code consisting of components of "1" or "0".

[0085] In operation S300, the encoding unit 120 may generate an encoded codeword ECW obtained by encoding a codeword CW using a parity check matrix PCM. The encoded codeword ECW may include information bits and parity bits.

[0086] In operation S400, the encoding unit 120 may provide the encoding codeword ECW to the memory device. The memory device may store the encoding codeword ECW.

[0087] Figure 4 is a diagram showing a method of performing Figure 2 FIG. 1 is a diagram of an example of a parity check matrix generated by a PCM generator.

[0088] refer to Figure 4 , the parity check matrix may include block matrix A, block matrix B, block matrix T, block matrix C, block matrix D and block matrix E.

[0089] In the parity check matrix PCM, the block matrix A and the block matrix C may be classified as the information part Hinfo, and the block matrix B, the block matrix T, the block matrix D, and the block matrix E may be classified as the parity part Hpar. Referring to Formula 3, the block matrix A and the block matrix C of the information part Hinfo may be operated with the information bit (s), and the block matrix B, the block matrix T, the block matrix D, and the block matrix E of the parity part Hpar may be operated with the parity bit (p). The present disclosure relates to the parity part Hpar of the parity check matrix PCM, and the parity part Hpar will be described in detail below.

[0090] The parity part Hpar may be an M×M matrix (“M” is a natural number). “M” may have sub-row units or sub-column units. In other words, the parity part Hpar may be a matrix identified by “M” sub-rows and “M” sub-columns. The sub-matrices may be arranged at positions where the sub-rows intersect the sub-columns, respectively.

[0091] In the present specification, a 0th sub-matrix SM0, a 1st sub-matrix SM1, a 1-ath sub-matrix SM1_a, and a masked 1-ath sub-matrix MSM1_a may be defined as sub-matrices.

[0092] In the present specification, the 0th sub-matrix SM0 may be defined as a zero matrix having Z×Z (“Z” is a natural number), and may be expressed as in the following Formula 5.

[0093] [Formula 5]

[0094]

[0095] In the present specification, the first sub-matrix may be defined as a unit matrix having Z×Z (“Z” is a natural number), and may be expressed as in the following Formula 6.

[0096] [Formula 6]

[0097]

[0098] In the present specification, a 1-ath sub-matrix is ​​defined as a matrix obtained by performing a left cyclic shift 'a' times on the first sub-matrix, and may be expressed as in the following Equation 7.

[0099] [Formula 7]

[0100]

[0101] In Formula 7, "a" may be a natural number greater than or equal to "1" and less than or equal to "Z". That is, the 1-ath sub-matrix may be a quasi-circulant matrix.

[0102] In the present specification, the masked 1-ath sub-matrix is ​​defined as a matrix that masks the first row in the 1-ath sub-matrix, and can be expressed as in the following Equation 8.

[0103] [Formula 8]

[0104]

[0105] In this specification, as in Equation 8, the first row in the masked sub-matrix means setting all components of the first row of the matrix to 0.

[0106] The parity part Hpar may be divided into a block matrix B, a block matrix T, a block matrix D, and a block matrix E. The block matrix B and the block matrix T may be arranged in the same sub-row of the parity part Hpar, and the block matrix D and the block matrix E may be arranged on the same sub-row thereof. The block matrix B and the block matrix D may be arranged in the same sub-column of the parity part Hpar, and the block matrix T and the block matrix E may be arranged on the same sub-column thereof.

[0107] The block matrix B may be a matrix of size (M-M') x M'. In other words, the block matrix B may be composed of (M-M') x M' sub-matrices.

[0108] The block matrix T may be a matrix of size (M-M') x (M-M'). In other words, the block matrix T may be composed of (M-M') x (M-M') sub-matrices. The block matrix T may include a plurality of first sub-matrices arranged in a dual diagonal structure.

[0109] The block matrix D may be a matrix of size M'×M'. In other words, the block matrix D may be composed of M'×M' sub-matrices. For example, when M' is 1, the block matrix D may be composed of one sub-matrix (the first sub-matrix). When M' is 2, the block matrix D may be composed of four sub-matrices.

[0110] The block matrix E may be a matrix of size M'×(M-M'). In other words, the block matrix E may be composed of M'×(M-M') sub-matrices.

[0111] In an embodiment, when M' is 1, the block matrix B may include a first submatrix and a 1-a submatrix, and the block matrix E may include the first submatrix and a masked 1-(a+1) submatrix. The position of the first submatrix in the block matrix B may precede the position of the masked 1-(a+1) submatrix in the block matrix E. The position of the 1-a submatrix in the block matrix B may precede the position of the first submatrix in the block matrix E.

[0112] In the embodiment of the present disclosure, it will be later passed Figure 5 and Figure 6 The detailed arrangement of the parity part Hpar in the case where M' is 1 is described.

[0113] In another embodiment, when M'≥2, the block matrix B may include the first column vector to the M'th column vector. The i-th column vector ("i" is a natural number greater than or equal to 1 and less than or equal to M') may include the 1st-ai sub-matrices (ai is one of a1, a2, ... and aM', and a1, a2, ... and aM' are independent integers greater than or equal to 0) and multiple 0th sub-matrices. The block matrix E may include the first row vector to the M'th row vector. Each row vector may include the first sub-matrix and multiple 0th sub-matrices. The position of the 1-a1 sub-matrix in the first column vector of the block matrix B may precede the position of the first sub-matrix in the first row vector of the block matrix E. The position of the 1-a2 sub-matrix in the second column vector of the block matrix B may precede the position of the first sub-matrix in the second row vector of the block matrix E. In the block matrix D, the masked 1-(a1+1)th sub-matrix and the 1-(a1-2)th sub-matrix may be in the same sub-column as the first column vector. In the block matrix D, the masked 1-(a2+1)th sub-matrix and the 0th sub-matrix may be in the same sub-column as the second column vector.

[0114] In the embodiment of the present disclosure, when M'≥2, the detailed arrangement of the parity part Hpar will be described later. Figure 7 and Figure 8 Give a description.

[0115] The parity part Hpar may be a matrix identified by a plurality of rows and a plurality of columns. Each row may correspond to a check node. Each column may correspond to a variable node. A component of "1" or "0" may be located at a position where a row intersects a column, respectively. That is, the parity check matrix PCM may be an LDPC matrix.

[0116] In this specification, the weight of each variable node may be defined as the number of "1"s arranged in the column corresponding to the variable node. For example, when the number of "1"s arranged in the first column is 3, the weight of the first variable node is 3. When the number of "1"s arranged in the fourth column is 2, the weight of the fourth variable node is 2.

[0117] In an embodiment, the parity part Hpar may include a variable node having a weight of 3. In an embodiment, the weight of at least one variable node divided into the block matrix B and the block matrix D may be 3. The weight of at least one variable node divided into the block matrix T and the block matrix E may be 3. In an embodiment, the weights of the remaining variable nodes except the variable node having a weight of 3 may be 2 or 1.

[0118] In order to have a good waterfall characteristic, it is desirable that the parity check matrix PCM is composed of variable nodes with a weight of 2. In this case, the error floor characteristic may be degraded. The error floor characteristic means that the error rate reduction rate decreases at a certain level of signal-to-noise ratio (SNR). The degradation of the error floor characteristic means that the error rate reduction rate decreases at a low SNR.

[0119] In an embodiment of the present disclosure, at least two variable nodes having a weight of 3 may be included in the parity part Hpar. Therefore, in the case of the present disclosure, compared with a case where all weights of the parity part Hpar are 2, the error floor characteristic of the parity check matrix PCM may be improved, and at the same time may have a high waterfall characteristic.

[0120] Figure 5 is a diagram illustrating a case where “M′=1” according to an example embodiment. Figure 4 Figure 3 is an example of an even and odd part of a graph. Figure 6 is a diagram showing a method according to an example embodiment Figure 5 A graph of the components of the even and odd parts of .

[0121] refer to Figure 5 , in the embodiment, M' in the parity part Hpar is 1. Hereinafter, an example of the parity part Hpar in the case where M is 5 will be described in detail.

[0122] The parity part Hpar may be identified by the first to fifth sub-rows and the first to fifth sub-columns.

[0123] The block matrix B may be arranged in the first to fourth sub-rows and the first sub-column. The block matrix B may include the first sub-matrix SM1, the 1-a sub-matrix SM1_a, and a plurality of 0th sub-matrices SM0. For example, in the block matrix B, the first sub-matrix SM1 may be arranged in the first sub-row and the first sub-column. For example, in the block matrix B, the 1-a sub-matrix SM1_a may be arranged in the third sub-row and the first sub-column. For example, a plurality of 0th sub-matrices SM0 may be arranged at the remaining positions of the block matrix B.

[0124] The block matrix T may be arranged in the first to fourth sub-rows and the second to fifth sub-columns. The block matrix T may include a plurality of first sub-matrices SM1 and a plurality of 0th sub-matrices SM0. In the block matrix T, the plurality of first sub-matrices SM1 may be arranged in a dual diagonal structure. The plurality of 0th sub-matrices SM0 may be arranged at positions other than the dual diagonal components in the block matrix T.

[0125] The block matrix D may be arranged in the fifth sub-row and the first sub-column. The block matrix D may be composed of the first sub-matrix SM1. For example, one first sub-matrix SM1 may be arranged in the block matrix D.

[0126] The block matrix E may be arranged in the fifth sub-row and the second to fifth sub-columns. The block matrix E may include a first sub-matrix SM1, a masked 1-(a+1)th sub-matrix MSM1_(a+1), and a plurality of 0th sub-matrices SM0.

[0127] The positions of the first to fourth sub-rows in the block matrix B may correspond to the positions of the second to fifth sub-columns in the block matrix E. For example, the position of the first sub-row in the block matrix B may correspond to the position of the second sub-column in the block matrix E; the position of the second sub-row in the block matrix B may correspond to the position of the third sub-column in the block matrix E; the position of the third sub-row in the block matrix B may correspond to the position of the fourth sub-column in the block matrix E; and the position of the fourth sub-row in the block matrix B may correspond to the position of the fifth sub-column in the block matrix E.

[0128] In an embodiment, the position of the first submatrix SM1 in the block matrix B may be prior to the position of the masked 1-(a+1)th submatrix (MSM1_(a+1)) in the block matrix E. For example, when the first submatrix SM1 is located in the first subrow in the block matrix B, the masked 1-(a+1)th submatrix (MSM1_(a+1)) in the block matrix E may be in one of the third to fifth subcolumns. For example, the masked 1-(a+1)th submatrix (MSM1_(a+1)) in the block matrix E may not be in the second subcolumn.

[0129] In an embodiment, the position of the 1-ath submatrix SM1_a in the block matrix B may be prior to the position of the first submatrix SM1 in the block matrix E. For example, when the 1-ath submatrix SM1_a is located in the third subrow in the block matrix B, the first submatrix SM1 may be located in the fifth subcolumn in the block matrix E. For example, the first submatrix SM1 may not be located in the second to fourth subcolumns in the block matrix E.

[0130] refer to Figure 6 , it can be assumed that Z is 3 and "a" is 1 in the parity part Hpar.

[0131] The parity part Hpar may be a matrix identified by the first to fifteenth rows and the first to fifteenth columns. For example, the first to fifteenth rows may correspond to the first to fifteenth check nodes CN1 to CN15, respectively. The first to fifteenth columns may correspond to the first to fifteenth variable nodes VN1 to VN15, respectively.

[0132] In an embodiment, the parity part Hpar may include a variable node DG3 having a weight of 3. In an embodiment, among the variable nodes divided into the block matrix B and the block matrix D, the first variable node VN1, the second variable node VN2, and the third variable node VN3 may have a weight of 3. Among the variable nodes divided into the block matrix T and the block matrix E, the seventh variable node VN7 and the ninth variable node VN9 may have a weight of 3. In an embodiment, the weights of the remaining variable nodes except the variable node DG3 having a weight of 3 may be 2.

[0133] Figure 7 is a diagram showing the case where "M'=2" according to an exemplary embodiment. Figure 4 Figure 3 is an example of an even and odd part of a graph. Figure 8 is a diagram showing a method according to an example embodiment Figure 7 A graph of the components of the even and odd parts of .

[0134] refer to Figure 7 , in the embodiment, M' in the parity part Hpar is 2. Hereinafter, an example of the parity part Hpar in the case where M is 5 will be described in detail.

[0135] The parity part Hpar may be identified by the first to fifth sub-rows and the first to fifth sub-columns.

[0136] The block matrix B may be arranged in the first to third sub-rows and the first and second sub-columns. The block matrix B may include a first column vector Bc1 and a second column vector Bc2. The first column vector Bc1 may be in the first sub-column. The second column vector Bc2 may be in the second sub-column. The first column vector Bc1 may include a 1-a1 sub-matrix SM1_a1 and a plurality of 0th sub-matrices SM0. For example, in the first column vector Bc1, the 1-a1 sub-matrix SM1_a1 may be arranged in the first sub-row and the first sub-column. For example, a plurality of 0th sub-matrices SM0 may be arranged at the remaining positions in the first column vector Bc1. The second column vector Bc2 may include a 1-a2 sub-matrix SM1_a2 and a plurality of 0th sub-matrices SM0. For example, in the second column vector Bc2, the 1-a2 sub-matrix SM1_a2 may be arranged in the second sub-row and the second sub-column. For example, in the second column vector Bc2, a plurality of 0th sub-matrices SM0 may be arranged at the remaining positions. In an embodiment, a1 and a2 may have values ​​independent of each other. For example, a1 and a2 may have values ​​that are the same as or different from each other.

[0137] The block matrix T may be arranged in the first to third sub-rows and the third to fifth sub-columns. The block matrix T may include a plurality of first sub-matrices SM1 and a plurality of 0th sub-matrices SM0. In the block matrix T, the plurality of first sub-matrices SM1 may be arranged in a dual diagonal structure. The plurality of 0th sub-matrices SM0 may be arranged at positions other than the dual diagonal components in the block matrix T.

[0138] The block matrix D may be arranged in the fourth sub-row and the fifth sub-row and the first sub-column and the second sub-column. The block matrix D may include sub-matrices arranged in a dual diagonal structure. The 1-(a1+1)th sub-matrix MSM1_(a1+1) is masked in the same sub-column (first sub-column) with the first column vector Bc1, and the 1-(a1-2)th sub-matrix may be arranged in the block matrix D. The 1-(a2+1)th sub-matrix MSM1_(a2+1) is masked in the same sub-column with the second column vector Bc2, and the 0th sub-matrix SM0 may be in the block matrix D.

[0139] The block matrix E may be arranged in the fourth and fifth sub-rows and the third to fifth sub-columns. The block matrix E may include a first row vector Er1 and a second row vector Er2. Each row vector may include a first sub-matrix SM1 and a plurality of 0th sub-matrices SM0.

[0140] The positions of the first to third sub-rows in the block matrix B may correspond to the positions of the third to fifth sub-columns in the block matrix E. For example, the position of the first sub-row in the block matrix B may correspond to the position of the third sub-column in the block matrix E; the position of the second sub-row in the block matrix B may correspond to the position of the fourth sub-column in the block matrix E; and the position of the third sub-row in the block matrix B may correspond to the position of the fifth sub-column in the block matrix E.

[0141] In an embodiment, the position of the 1-a1th submatrix SM1_a1 in the first column vector Bc1 of the block matrix B may precede the position of the first submatrix SM1 in the first row vector Er1 of the block matrix E. For example, when the 1-a1th submatrix SM1_a1 in the first column vector Bc1 is in the first subrow, the first submatrix SM1 may be in one of the fourth subcolumn and the fifth subcolumn in the first row vector Er1. For example, in the first row vector Er1, the first submatrix SM1 may not be in the third subcolumn.

[0142] In an embodiment, the position of the 1-a2th submatrix SM1_a2 in the second column vector Bc2 of the block matrix B may precede the position of the first submatrix SM1 in the second row vector Er2 of the block matrix E. For example, when the 1-a2th submatrix SM1_a2 in the second column vector Bc2 is located in the second subrow, the first submatrix SM1 may be located in the fifth subcolumn in the second row vector Er2. For example, in the first row vector Er1, the first submatrix SM1 may not be located in the third subcolumn and the fourth subcolumn.

[0143] refer to Figure 8 , in the parity part Hpar, it can be assumed that Z is 3, and a1 and a2 are both 0 (i.e., "a1=a2=0"). As described above, when M' is not less than 2, the values ​​of a1 to aM' can be set independently, and thus can be set to 0 (i.e., "a1=a2=...=aM'=0").

[0144] The parity part Hpar may be a matrix identified by the first to fifteenth rows and the first to fifteenth columns. For example, the first to fifteenth rows may correspond to the first to fifteenth check nodes CN1 to CN15, respectively. The first to fifteenth columns may correspond to the first to fifteenth variable nodes VN1 to VN15, respectively.

[0145] In an embodiment, the parity part Hpar may include a variable node DG3 having a weight of 3. In an embodiment, among the variable nodes divided into the block matrix B and the block matrix D, the first variable node VN1 and the second variable node VN2 may each have a weight of 3. Among the variable nodes divided into the block matrix T and the block matrix E, the tenth variable node VN10, the eleventh variable node VN11, and the twelfth variable node VN12 may each have a weight of 3. In an embodiment, the weights of the remaining variable nodes except the variable node DG3 having a weight of 3 may be 2 or 1.

[0146] Fig. 9 is a diagram showing a method according to an example embodiment Figure 2 A block diagram of an example of a PCM generator. Fig.10 is a diagram illustrating an exemplary embodiment of the Fig. 9 Flowchart of the method of operation of the PCM generator.

[0147] refer to Fig. 9 , the PCM generator 110 may include a base matrix generator 111, a mapping table 112, and a matrix conversion unit 113. The PCM generator 110 may be configured to generate a parity check matrix PCM for encoding a codeword.

[0148] The base matrix generator 111 may be configured to generate a base matrix BM for generating a parity part. The base matrix BM may include a block matrix Bb, a block matrix Tb, a block matrix Db, and a block matrix Eb, corresponding to the block matrix B, the block matrix T, the block matrix D, and the block matrix E of the parity part Hpar. The block matrix Bb, the block matrix Tb, the block matrix Db, and the block matrix Eb may all be matrices composed of components, each component having "1" or "0".

[0149] The mapping table 112 may be configured to store mapping data Data_M. The mapping data Data_M may include submatrix data, and components of "1" or "0" in the submatrix data will be substituted into block matrices Bb, Tb, Db, and Eb of the base matrix BM.

[0150] The matrix transformation unit 113 is configured to generate a parity check matrix PCM including a parity part based on the base matrix BM and the mapping data Data_M.

[0151] Reference together Fig.10In operation S210, the base matrix generator 111 may generate a base matrix BM for generating a parity part. In operation S220, the matrix transformation unit 113 may receive mapping data Data_M from the mapping table 112. In operation S230, the matrix transformation unit 113 may generate a parity check matrix PCM based on the base matrix BM and the mapping data Data_M.

[0152] Reference will be made below Figures 11 to 25 The transformation of the parity check matrix PCM by using the mapping data Data_M stored in the mapping table 112 is described in detail.

[0153] Fig.11 is a diagram briefly illustrating transformation of a base matrix into a parity part of a parity check matrix according to an example embodiment.

[0154] refer to Fig.11 , the base matrix BM can be used to generate the parity part Hpar of the parity check matrix PCM.

[0155] The base matrix BM may be a matrix of size Mb×Mb (Mb is a natural number). For example, the base matrix BM may be a matrix identified by Mb rows and Mb columns. Components of “1” or “0” may be arranged at positions where rows and columns intersect, respectively.

[0156] The base matrix BM can be divided into a block matrix Bb, a block matrix Tb, a block matrix Db and a block matrix Eb. The block matrix Bb and the block matrix Tb can be arranged in the same row. The block matrix Db and the block matrix Eb can be arranged in the same row. The block matrix Bb and the block matrix Db can be arranged in the same column. The block matrix Tb and the block matrix Eb can be arranged in the same column.

[0157] The block matrix Bb may be a matrix of size (Mb-Mb') x Mb'. Mb' may be a number less than Mb. For example, the block matrix Bb may be composed of (Mb-Mb') x Mb' components.

[0158] The block matrix Tb may be a matrix of size (Mb-Mb') x (Mb-Mb'). For example, the block matrix Tb may be composed of (Mb-Mb') x (Mb-Mb') components.

[0159] The block matrix Db may be a matrix of size Mb'×Mb'. For example, the block matrix Db may consist of Mb'xMb' components. For example, when Mb' is 1, the block matrix Db may consist of one component of "1". When Mb' is 2, the block matrix Db may consist of four components.

[0160] The block matrix Eb may be a matrix of size Mb' x (Mb-Mb'). For example, the block matrix Eb may be composed of Mb' x (Mb-Mb') components.

[0161] The weight of each column in the base matrix BM can be defined as the number of "1"s arranged in each column. For example, when the number of "1"s arranged in the first column is 3, the weight of the first column is 3. When the number of "1"s arranged in the fourth column is 2, the weight of the fourth column is 2.

[0162] In an embodiment, when Mb' is 1, the weight of the first column divided into the block matrix Bb and the block matrix Db may be 3, and the weight of at least one column divided into the block matrix Tb and the block matrix Eb may be 3. In an embodiment, the weights of the remaining columns except the columns with a weight of 3 may be 2. In an embodiment of the present disclosure, this will be described later by Figures 12 to 15 Describes a specific arrangement of the basis matrix when Mb' is 1.

[0163] In another embodiment, when Mb'≥2, the weight of at least one column divided into the block matrix Bb and the block matrix Db may be 3, and the weight of at least one column divided into the block matrix Tb and the block matrix Eb may be 3. In an embodiment, the weights of the remaining columns except the columns with a weight of 3 may be 2. In the embodiment of the present disclosure, this will be described later by Figures 18 to 25 Describes a specific arrangement of the basis matrix in the case where Mb' ≥ 2.

[0164] Fig.12 FIG. 1 is a diagram showing the case where “Mb′=1” according to an exemplary embodiment. Fig.11 Figure 3 shows an example of a basis matrix for . Fig.13 is a diagram showing a method according to an example embodiment Fig.12 A graph of the components of the block matrix Tb of . Fig.14 is a diagram showing a method according to an example embodiment Fig.12 A graph of the components of the block matrix Bb of . Fig.15 is a diagram showing a method according to an example embodiment Fig.12 A graph of the components of the block matrix Eb of .

[0165] refer to Fig.12 , in the embodiment, Mb' in the base matrix BM is 1. Hereinafter, an example of the base matrix BM in the case where Mb is 10 will be described in detail.

[0166] The base matrix BM may be divided into first to tenth rows r1 to r10 and first to tenth columns c1 to c10.

[0167] The block matrix Bb may be arranged in the first to ninth rows (r1 to r9) and the first column c1. The block matrix Bb may include two components of "1" and multiple components of "0". For example, in the block matrix Bb, one component of "1" may be arranged in the first row r1 and the first column c1, and another component of "1" may be arranged in the seventh row r7 and the first column c1. In the block matrix Bb, components of "0" may be arranged at the remaining positions.

[0168] The block matrix Tb may be arranged in the first row r1 to the ninth row r9 and the second column c2 to the tenth column c10. The block matrix Tb may include multiple components of "1" and multiple components of "0". The multiple components of "1" in the block matrix Tb may be arranged in a dual diagonal structure. The multiple components of "0" may be arranged at the remaining positions in the block matrix Tb except the dual diagonal components.

[0169] The block matrix Db may be arranged in the tenth row r10 and the first column c1. The block matrix Db may be composed of one component of "1".

[0170] The block matrix Eb may be arranged in the tenth row r10 and the second column c2 to the tenth column c10. The block matrix Eb may include two components of "1" and multiple components of "0". For example, in the block matrix Eb, one component of "1" may be arranged in the tenth row and the fourth column, and another component of "1" may be arranged in the tenth row and the tenth column. In the block matrix Eb, the component of "0" may be arranged at the remaining positions.

[0171] refer to Fig.13 , the components of the block matrix Tb can be expressed as in the following Equation 9.

[0172] [Formula 9]

[0173]

[0174] refer to Fig.13 And formula 9, "i" can represent the position of the row in the block matrix Tb, and "j" can represent the position of the column in the block matrix Tb. For example, Tb_1,2 represents the element located at (1,2) in the block matrix Tb. In the following, in each of the block matrix Bb and the block matrix Eb, "i" can represent the position of the row in the corresponding block matrix, and "j" can represent the position of the column in the corresponding block matrix.

[0175] In the present specification, in the block matrix Bb, a k-th component of "1" ("k" is 1 or 2) may be defined. The first component of "1" refers to a component of "1" arranged high in the block matrix Bb among the two components of "1" of the block matrix Bb. The second component of "1" refers to a component of "1" arranged low in the block matrix Bb among the two components of "1" of the block matrix Bb.

[0176] In this specification, the position value (i(Bb,k)) of the kth component ("k" is 1 or 2) of "1" in the block matrix Bb may be defined. The position value (i(Bb,k)) of the kth component of "1" may refer to the value "i" of the kth component of "1".

[0177] refer to Fig.14 , for example, the first component of "1" refers to the "1" located at "i" ("i" = 1) in the block matrix Bb, and the second component of "1" refers to the component of "1" located at "i" ("i" = 7) in the block matrix Bb. For example, in the block matrix Bb, the position value of the first component of "1" (i(Bb, 1)) is 1, and the position value of the second component of "1" (i(Bb, 2)) is 7.

[0178] In this specification, in the block matrix Eb, a k-th component of "1" ("k" is 1 or 2) may be defined. The first component of "1" refers to a component arranged as "1" on the left in the block matrix Eb among the two components of "1" of the block matrix Eb. The second component of "1" refers to a component arranged as "1" on the right in the block matrix Bb among the two components of "1" of the block matrix Eb.

[0179] In this specification, in the block matrix Eb, the position value (j(Eb,k)) of the kth component of "1" ("k" is 1 or 2) can be defined. The position value (j(Eb,k)) of the kth component of "1" can refer to the value "j" of the kth component of "1".

[0180] Reference together Fig.15 , for example, the first component of "1" refers to the component of "1" located at "j" ("j" = 3) in the block matrix Eb, and the second component of "1" refers to the component of "1" located at "j" ("j" = 9) in the block matrix Bb. For example, in the block matrix Eb, the position value of the first component of "1" (j(Eb, 1)) is 3, and the position value of the second component of "1" (j(Eb, 2)) is 9.

[0181] In an embodiment, the position value of the first component of "1" in the block matrix Bb may be smaller than the position value of the first component of "1" in the block matrix Eb. For example, when the first component of "1" is at position "i" ("i" = 1) in the block matrix Bb (see Fig.14 ), the first component of "1" can be at "j" ("j" = 2, ..., 9) in the block matrix Eb (see Fig.15 ). For example, in the block matrix Eb, the first component of "1" may not be located at "j" ("j"=1).

[0182] In an embodiment, the position value of the second component of "1" in the block matrix Bb may be smaller than the position value of the second component of "1" in the block matrix Eb. For example, when the second component of "1" is at position "i" ("i" = 7) in the block matrix Bb (see Fig.14 ), the second component of "1" can be located at "j" ("j" = 8, 9) in the block matrix Eb (see Fig.15 ). For example, in the block matrix Eb, the second component of "1" may not be located at "j" ("j"=1, ..., 7).

[0183] Fig.16 is a diagram illustrating mapping data stored in a mapping table in case of 'Mb'=1' according to an example embodiment. Fig.17 is a diagram showing a method according to an example embodiment Fig.12 A graph of the parity part of the parity check matrix whose basis matrix is ​​transformed.

[0184] refer to Fig.16 , the mapping data Data_M may include data for converting the base matrix BM into the parity part Hpar. The mapping data Data_M may include data of sub-matrices whose components of "1" or "0" are to be substituted into the block matrix Bb, the block matrix Tb, the block matrix Db, and the block matrix Eb of the base matrix BM.

[0185] As in the following equation 10, the components of the block matrix Bb of the base matrix BM can be replaced with sub-matrices.

[0186] [Formula 10]

[0187]

[0188] In Formula 10, B_i represents a submatrix arranged in the i-th subrow of the block matrix B. In Formula 10, in the block matrix Bb of the base matrix, the first component of "1" can be replaced with the first submatrix SM1; the second component of "1" can be replaced with the 1-a-th submatrix SM1_a; and the remaining components of "0" can be replaced with the 0-th submatrix SM0.

[0189] As in the following equation 11, the components of the block matrix Tb of the base matrix BM can be replaced with sub-matrices.

[0190] [Formula 11]

[0191]

[0192] In Formula 11, T_i,j represents a submatrix arranged in the i-th sub-row and the j-th sub-column of the block matrix T. According to Formula 11, in the block matrix Tb of the base matrix BM, the components of "1" can be replaced by the first sub-matrix SM1. The remaining components of "0" can be replaced by the 0th sub-matrix SM0.

[0193] As in the following equation 12, the components of the block matrix Eb of the base matrix BM can be replaced with sub-matrices.

[0194] [Formula 12]

[0195]

[0196] In Formula 12, E_j represents a submatrix arranged in the j-th subcolumn of the block matrix E. According to Formula 12, in the block matrix Eb of the base matrix BM, the first component of "1" can be replaced with the masked 1-(a+1)-th submatrix MSM1_(a+1); the second component of "1" can be replaced with the first submatrix SM1; and the remaining components of "0" can be replaced with the 0-th submatrix SM0.

[0197] One component of "1" of the block matrix Db of the base matrix BM may be replaced with the first sub-matrix SM1.

[0198] refer to Fig.17 , a parity part Hpar of the parity check matrix PCM transformed based on the mapping data Data_M can be provided.

[0199] Fig.18 is a diagram showing the case where “Mb′≥2” according to an example embodiment Fig.11 Figure 3 shows an example of a basis matrix for . Fig.19 is a diagram illustrating an example of a base matrix in the case of 'Mb'=2' according to an exemplary embodiment. Fig. 20 is a diagram showing a method according to an example embodiment Fig.19 A graph of the components of the block matrix Tb of . Fig.21 is a diagram showing a method according to an example embodiment Fig.19 A graph of the components of the block matrix Db. Fig. 22 is a diagram showing a method according to an example embodiment Fig.19 A graph of the components of the block matrix Bb of . Fig.23 is a diagram showing a method according to an example embodiment Fig.19A graph of the components of the block matrix Eb of .

[0200] refer to Fig.18 In an embodiment, in the base matrix BM, Mb' may be 2 or greater. Hereinafter, an example of the parity part Hpar in the case where Mb' is 2 will be described in detail.

[0201] refer to Fig.19 , the base matrix BM can be divided into the first row r1 to the tenth row r10 and the first column c1 to the tenth column c10.

[0202] The block matrix Bb may be arranged in the first row r1 to the eighth row r8 and the first column c1 and the second column c2. The block matrix Bb may include a first basis column vector Bbc1 and a second basis column vector Bbc2. The first basis column vector Bbc1 may be arranged in the first column c1 and may include a component of "1" and multiple components of "0". The second basis column vector Bbc2 may be arranged in the second column c2 and may include a component of "1" and multiple components of "0". For example, in the first basis column vector Bbc1, a component of "1" may be arranged in the first row r1 and the first column c1, and a component of "0" may be arranged at the remaining positions. For example, in the second basis column vector Bbc2, a component of "1" may be arranged in the fifth row r5 and the second column c2, and a component of "0" may be arranged at the remaining positions.

[0203] The block matrix Tb may be arranged in the first row r1 to the eighth row r8 and the third column c3 to the tenth column c10. The block matrix Tb may include multiple components of "1" and multiple components of "0". The multiple components of "1" in the block matrix Tb may be arranged in a dual diagonal structure. The multiple components of "1" may be arranged at the remaining positions in the block matrix Tb except the dual diagonal components.

[0204] The block matrix Db may be arranged in the ninth row r9 and the tenth row r10 and the first column c1 and the second columns c1 and c2. The block matrix Db may consist of a component of "1". The block matrix Db may include multiple components of "1". The multiple components of "1" in the block matrix Db may be arranged in a dual diagonal structure. In the block matrix Db, the components of "0" may be arranged at the remaining positions except the dual diagonal components.

[0205] The block matrix Eb may be arranged in the ninth row r9 and the tenth row r10 and the third column c3 to the tenth column c10. The block matrix Eb may include a first basis row vector Ebr1 and a second basis row vector Ebr2. The first basis row vector Ebr1 may correspond to the first basis column vector Bbc1, and the second basis row vector Ebr2 may correspond to the second basis column vector Bbc2.

[0206] The first base row vector Ebr1 is arranged in the ninth row r9 and may include one component of "1" and multiple components of "0". The second base row vector Ebr2 is arranged in the tenth row r10 and may include one component of "1" and multiple components of "0". For example, in the first base row vector Ebr1, one component of "1" may be arranged in the ninth row r9 and the fifth column c5, and components of "0" may be arranged at the remaining positions. For example, in the second base row vector Ebr2, one component of "1" may be arranged in the tenth row r10 and the tenth column c10, and components of "0" may be arranged at the remaining positions.

[0207] Reference together Fig. 20 , the components of the block matrix Tb can be expressed as in Equation 9 above. Fig. 20 And Equation 9, “i” may represent the position of a row in the block matrix Tb, and “j” may represent the position of a column in the block matrix Tb.

[0208] In this specification, the position value i(Bbci) of the component of "1" may be defined in each basis column.

[0209] refer to Fig.21 , for example, the position value i(Bbc1) of the component of “1” in the first basis column vector Bbc1 is 1, and the position value i(Bbc2) of the component of “1” in the second basis column vector Bbc2 is 5.

[0210] In this specification, the position value j(Ebri) of the component of "1" may be defined in each basis column vector.

[0211] Reference together Fig. 22 For example, the position value j(Ebr1) of the component of “1” in the second basis vector Ebr2 is 3, and the position value j(Ebr2) of the component of “1” in the second basis vector Ebr2 is 8.

[0212] In an embodiment, the position value of the component of "1" in the first basis column vector Bbc1 of the block matrix Bb may be smaller than the position value of the component of "1" in the first basis row vector Ebr1 of the block matrix Eb. For example, when the component of "1" of the first basis column vector Bbc1 is at "i" ("i" = 1) (see Fig.21 ), the component of "1" in the first basis row vector Ebr1 can be at "j" ("j" = 2, ..., 9) (see Fig. 22 ). The component of "1" in the first basis row vector Ebr1 may not be located at "j" ("j"=1).

[0213] In an embodiment, the position value of the component of "1" in the second basis column vector Bbc2 of the block matrix Bb may be smaller than the position value of the component of "1" in the second basis row vector Ebr2 of the block matrix Eb. For example, when the component of "1" in the second basis column vector Bbc2 is at "i" ("i" = 5) (see Fig.21 ), the component of "1" in the second basis row vector Ebr2 can be at "j" ("j" = 6, ..., 9) (see Fig. 22 ). The component of "1" in the second basis row vector Ebr2 may not be located at "j" ("j"=1, ..., 5).

[0214] Reference together Fig.23 , the components of the block matrix Db may be arranged as in the block matrix Tb. For example, multiple components of "1" in the block matrix Db may be arranged in a dual diagonal structure, and components of "0" may be arranged at the remaining positions except for the dual diagonal components.

[0215] Fig.24 is a diagram illustrating mapping data stored in a mapping table in a case of 'Mb' ≥ 2' according to an example embodiment. Fig.25 is a diagram showing a method according to an example embodiment Fig.19 A graph of the parity part of the parity check matrix whose basis matrix is ​​transformed.

[0216] refer to Fig.24 , the mapping data Data_M may include sub-matrix data, and the "1" or "0" components in the sub-matrix data will be substituted into the block matrix Bb, block matrix Tb, block matrix Db and block matrix Eb of the base matrix BM.

[0217] As in the following equation 13, the components of the block matrix Bb of the base matrix BM can be replaced with sub-matrices.

[0218] [Formula 13]

[0219]

[0220] In Formula 13, B_i,j represents a submatrix arranged in the i-th subrow and the j-th subcolumn of the block matrix B. According to Formula 13, in the block matrix Bb of the base matrix BM, the components of "1" in the j-th column can be replaced with the 1-aj-th submatrix SM1_aj, and the remaining components of "0" can be replaced with the 0-th submatrix SM0.

[0221] The 1-aj submatrix SM1_aj is a matrix obtained by performing a left cyclic shift "aj" times on the first submatrix SM1. For example, in the block matrix B, the 1-a1 submatrix SM1_a1 may be arranged in the first subcolumn, and the 1-a2 submatrix SM1_a2 may be arranged in the second subcolumn.

[0222] The components of the block matrix Tb of the base matrix may be replaced with sub-matrices as in the following equation 14. In other words, in the block matrix Tb of the base matrix, the components of "1" may be replaced with the first sub-matrix SM1, and the remaining components of "0" may be replaced with the 0th sub-matrix SM0.

[0223] As in the following Equation 14, the components of the block matrix Db of the base matrix BM can be replaced with sub-matrices.

[0224] [Formula 14]

[0225]

[0226] In Formula 14, D_i,j represents a submatrix arranged in the i-th subrow and the j-th subcolumn of the block matrix D. According to Formula 14, in the block matrix Db of the base matrix, the "1" components of the j-th column among the diagonal components can be replaced with the masked 1-(aj+1)-th submatrix MSM1_(aj+1); the "1" components of the j-th column among the remaining components can be replaced with the 1-(aj-2)-th submatrix SM1_(aj-2); and the remaining components can be replaced with the 0-th submatrix SM0.

[0227] As in the following equation 15, the components of the block matrix Eb of the base matrix BM can be replaced by sub-matrices.

[0228] [Formula 15]

[0229]

[0230] In Formula 15, E_i,j represents a submatrix arranged in the i-th sub-row and the j-th sub-column of the block matrix E. According to Formula 15, the components of "1" in the block matrix Eb of the base matrix BM can be replaced with the first sub-matrix SM1, and the remaining components of "0" can be replaced with the 0th sub-matrix SM0.

[0231] refer to Fig.25 , a parity part Hpar of the parity check matrix PCM transformed based on the mapping data Data_M can be provided.

[0232] Fig.26 is a diagram illustrating an exemplary embodiment of the Figure 2 A diagram of an example of a computational unit.

[0233] The calculation unit 121 may be configured to generate the first parity bit p1 based on the input bit X. Hereinafter, the relationship between the input bit X and the first parity bit p1 will be described first.

[0234] Referring to Equation 2 and Equation 4, the operation for calculating the parity bit can be expressed by the following Equation 16.

[0235] [Formula 16]

[0236]

[0237] In Equation 16, Pi is defined as “ET -1 B+D". The parity bits may include a first parity bit p1 and a second parity bit p2. Both the first parity bit p1 and the second parity bit p2 may be expressed in a vector format including a plurality of bits. The first parity bit p1 may be operated with the block matrix B and the block matrix D. The second parity bit p2 may be operated with the block matrix T and the block matrix E.

[0238] The block matrix T -1 is the inverse matrix of the block matrix T. -1 It can be a lower triangular block matrix of the same size as the block matrix T and arranged in a lower triangular pattern with the first sub-matrix SM1. For example, the block matrix T of size 4×4 -1 It can be expressed as the following formula 17.

[0239] [Formula 17]

[0240]

[0241] Block matrix A, block matrix B, block matrix C, block matrix D, block matrix T, block matrix T -1 Both the block matrix E and the block matrix E are sparse matrices composed of components of "1" or "0" and composed of quasi-circular (QC) sub-matrices, so the matrix multiplication operation between the block matrices can be simply performed. Therefore, the complexity and amount of calculation of the parity bit can be reduced by Pi -1 and (ET -1 A multiplication operation of A+C)s is determined, which is an operation of calculating the shape of Pi and calculating the first parity bit p1 based on the shape of Pi.

[0242] In formula 16, (ET -1 A+C)s may be defined as an input bit X. The input bit X may be expressed in a vector format including a plurality of bits.

[0243] The operation of calculating the first parity bit p1 in the calculation unit 121 can be simply expressed as the following Formula 18.

[0244] [Formula 18]

[0245] p 1 =Pi -1 x

[0246] In the following, reference will be made to Fig. 27 and Fig.28 An embodiment of the calculation unit 121 in the case of M'=1 is described, and reference will be made to Fig.29 and Fig.30 An embodiment of the calculation unit 121 is described in the case where M′≥2.

[0247] Fig. 27 is a diagram illustrating an example of a calculation unit in a case of “M′=1” according to an example embodiment. Fig.28 is a diagram showing a method for performing a Fig. 27 A diagram of the operation bits in the computational unit of .

[0248] In the embodiment, when M′=1, Pi is expressed as the following Formula 19.

[0249] [Formula 19]

[0250] Pi=SMd x SM1_a

[0251] In Equation 19, SMd is a diagonal matrix of size Z×Z and is expressed as the following Equation 20.

[0252] [Formula 20]

[0253]

[0254] That is, Pi means a matrix obtained by performing a left cyclic shift 'a' times on a diagonal matrix having a size of Z×Z.

[0255] The inverse matrix of Pi can be expressed as the following formula 21.

[0256] [Formula 21]

[0257] Pi -1 =SM1_(Za)xSMt

[0258] SM1_(Za) is a 1-(Za)th submatrix obtained by performing a left cyclic shift "Za" times on the first submatrix SM1. In Formula 21, SMt is a lower triangular matrix of size Z×Z, and is expressed as the following Formula 22.

[0259] [Formula 22]

[0260]

[0261] Referring to Equations 18 and 21, the operation of calculating the first parity bit p1 may include sequentially performing a first operation of multiplying the input bit X by the lower triangular matrix SMt, and a second operation of multiplying the intermediate bit generated as a result of the first operation by the 1st-(Za) submatrix SM1_(Za).

[0262] refer to Fig. 27 and Fig.28 , the calculation unit 121 may include a bit accumulator 121a and a first shifter 121b.

[0263] The bit accumulator 121a may be configured to receive an input bit X. The input bit X may be expressed in a vector format including a plurality of input bits. For example, the input bit X may include a first input bit x_1 to a Zth input bit x_Z (see Fig.28 ).

[0264] The bit accumulator 121a may be configured to generate an intermediate bit Y by performing a first operation of multiplying the input bit X and the lower triangular matrix SMt. The intermediate bit Y may be expressed in a vector format including a plurality of intermediate bits. Each intermediate bit Y may be generated by sequentially accumulating the plurality of input bits thus received. For example, the intermediate bit Y may include the first intermediate bit to the Zth intermediate bit (see Fig.28 ). The first intermediate bit is the first input bit x_1, and the second intermediate bit is obtained by accumulating the first input bit x_1 and the second input bit x_2. Similarly, the kth intermediate bit ("k" = 1 to Z) is obtained by accumulating the 1st input bit x_1 to the kth input bit x_k.

[0265] The intermediate bits Y generated by the bit accumulator 121 a may be provided to the first shifter 121 b .

[0266] The first shifter 121b may be connected to the bit accumulator 121a. The first shifter 121b may be configured to generate a first parity bit p1 by performing a second operation of multiplying the middle bit by the 1-(Za)th sub-matrix SM1_(Za). The first parity bit p1 may be a bit obtained by performing an upward cyclic shift "Za" times on the middle bit (see Fig.28 ).

[0267] Fig.29 is a diagram illustrating an example of a calculation unit in a case of “M′≥2” according to an example embodiment. Fig.30 is a diagram showing a method for performing a Fig.29 A diagram of the operation bits in the computational unit of .

[0268] In the embodiment, for ease of description, it is assumed that M' is 3. It should be understood that even when M' has a value other than 1, the same method can be applied.

[0269] Pi is a matrix of size 3×3 and can be expressed as the following Equation 23.

[0270] [Formula 23]

[0271]

[0272] In Formula 23, Pi_i,j represents a sub-matrix arranged in the i-th sub-row and j-th sub-column of the matrix Pi.

[0273] Based on the definition of Pi "ET -1 B+D”, Pi is expressed as the following formula 24.

[0274] [Equation 24]

[0275]

[0276] In Equation 24, SMd is a bidiagonal matrix expressed as in Equation 20 above.

[0277] Referring to Formula 24, the matrix obtained by performing a left cyclic shift "aj" times on a dual diagonal matrix of size Z×Z can be arranged in the diagonal components of the j-th subcolumn of Pi; the 1-(aj-2)-th submatrix (SM1_(aj-2)) of size Z×Z can be arranged directly below the diagonal components of the j-th subcolumn of Pi; and the 0-th submatrix SM0 can be arranged at the remaining positions. The submatrix arranged directly below the diagonal components of the j-th subcolumn of Pi can be the same as the submatrix arranged directly below the diagonal components of the j-th subcolumn of the block matrix D. For example, Pi_2,1 can be the same as D_2,1. Pi_3,2 can be the same as D_3,2.

[0278] The inverse matrix of Pi can be expressed as the following formula 25.

[0279] [Formula 25]

[0280]

[0281] In formula 25, Pi -1 _i,j represents the matrix Pi -1 The submatrix arranged in the i-th sub-row and j-th sub-column of .

[0282] Because Pi×Pi -1 is the identity matrix, so the inverse matrix of Pi can be based on Pi×Pi -1 It is expressed as the following formula 26.

[0283] [Equation 26]

[0284]

[0285] In Equation 26, SMt is the lower triangular matrix SMt expressed as in Equation 22 above.

[0286] Referring to Equation 18 and Equation 26, the first parity bit p1 can be expressed as in the following Equation 27.

[0287] [Formula 27]

[0288]

[0289] In Formula 27, X represents an input bit X, and p1 represents a first parity bit. The input bit X may include a first bit X_1, a second bit X_2, and a third bit X_3. The first parity bit p1 may include a 1-1st parity bit p1_1, a 1-2nd parity bit p1_2, and a 1-3rd parity bit p1_3.

[0290] Referring to Formula 27, the 1-1 parity bit p1_1 may be generated by multiplying the first bit X_1 and the lower triangular matrix SMt and then multiplying the multiplication result by the 1-(Z-a1) sub-matrix SM1_(Z-a1). The 1-2 parity bit p1_2 may be generated by multiplying the 1-1 parity bit p1_1 by Pi_2,1, summing the multiplication result and the second bit X_2, multiplying the summed result by the lower triangular matrix SMt, and multiplying the multiplication result by the 1-(Z-a2) sub-matrix SM1_(Z-a2). The 1-3 parity bit p1_3 may be generated by multiplying the 1-2 parity bit p1_2 by Pi_3,2, summing the multiplication result and the third bit X_3, multiplying the summed result by the lower triangular matrix SMt, and multiplying the multiplication result by the 1-(Z-a3) sub-matrix SM1_(Z-a3).

[0291] In the same method, when M' is greater than 2, the 1-i parity bit can be generated by multiplying the (1-(i-1)) parity bit by Pi_i,(i-1), summing the multiplication result and the i-th bit, multiplying the summation result by the lower triangular matrix SMt, and multiplying the multiplication result by the 1-(Z-ai) sub-matrix ("i" is a natural number greater than or equal to 2). In other words, the 1-i parity bit can be calculated by performing a recursive operation based on the 1-(i-1) parity bit.

[0292] In Equation 27, Pi_2,1 and Pi_3,2 are the same submatrices as D_2,1 and D_3,2 of the block matrix D, respectively. D_2,1 is the 1-(a1-2)th submatrix, and D_3,2 is the 1-(a2-2)th submatrix. In other words, Pi_i,(i-1) is the 1-(a(i-1)-2)th submatrix (see Figure 7 ).

[0293] Referring to Formula 27, the operation of calculating the first parity bit p1 may include a first operation of multiplying the first bit X_1 by the lower triangular matrix SMt, a second operation of multiplying by the 1-(Z-a1)th submatrix SM1_(Z-a1), a third operation of multiplying by the 1-(a(i-1)-2)th submatrix, and a fourth operation of summing the i-th bit. The first operation to the fourth operation may be repeatedly performed until all first parity bits are calculated.

[0294] refer to Fig.29 and Fig.30 , the calculation unit 121 may include a bit accumulator 121a, a first shifter 121b, a delay unit 121c, a second shifter 121d, and an adder 121e.

[0295] The bit accumulator 121a may be configured to receive an input bit X_i or a sum bit X'_i. When the 1-1 parity bit p1_1 is calculated, the bit accumulator 121a may receive the input bit X_i. When the 1-i parity bit p1_i ("i" is a natural number greater than or equal to 2) is calculated, the bit accumulator 121a may receive the sum bit X'_i.

[0296] The input bit X_i and the sum bit X′_i may be expressed in a vector format including a plurality of bits.

[0297] The bit accumulator 121a may be configured to generate the intermediate bits Y_i by performing a first operation of multiplying the input bits X_i and the lower triangular matrix SMt. The operation of the bit accumulator 121a may be combined with the reference Fig. 27 and Fig.28 The operations described are essentially the same.

[0298] The intermediate bit Y_i may be expressed in a vector format including a plurality of bits.

[0299] The first shifter 121b may be configured to generate the 1-ith parity bit p1_i by performing a second operation of multiplying the intermediate bit Y_i by the 1-(Z-ai)th sub-matrix. The operation of the first shifter 121b may be the same as the reference Fig. 27 and Fig.28 The described operations are substantially the same. The first shifter 121b may be configured to generate first parity bits p1_i by performing a second operation of multiplying the intermediate bits Y_i by the 1-(Z-ai)th sub-matrix SM1_(Z-ai).

[0300] The delay unit 121c may be configured to receive and delay the 1-ith parity bit p1_i. Therefore, the 1-ith parity bit delayed by the delay unit 121c is expressed as the 1-(i-1)th parity bit p1_(i-1).

[0301] The second shifter 121d may be configured to generate a transformed bit Z_i by performing a third operation of multiplying the 1-(i-1)th parity bit by the 1-(a(i-1)-2)th sub-matrix. The transformed bit Z_i may be a bit obtained by performing an up-cyclic shift "a(i-1)-2" times on the 1-(i-1)th parity bit p1_(i-1) (see Fig.30 ).

[0302] The transformed bits Zi may be expressed in a vector format including a plurality of bits.

[0303] The adder 121e may be configured to generate a summed bit X'_i by performing a fourth operation of adding the i-th bit to the transformed bit Z_i. The summed bit X'_i may be the sum of each bit of the transformed bit Z_i and each bit of the i-th bit (see Fig.30 ). The adder 121e may be configured to provide the summed bits X′_i as input to the bit accumulator 121a.

[0304] Fig.31 is a diagram illustrating an example of a calculation unit when all values ​​'aj' are 0 according to an example embodiment.

[0305] refer to Fig.31 , when all "aj" = 0, an embodiment of the calculation unit 121 is provided. Because all "aj" are independent of each other and have no constraints, it does not matter when all "aj" are set to 0. In this case, Fig.29 Different from the illustration in FIG. 1 , the calculation unit 121 may not provide the first shifter 121 b , and the output of the bit accumulator 121 a may be output as the 1-i th parity bit p1_i.

[0306] Fig.32 is a diagram illustrating an example of a memory system including an ECC encoder according to example embodiments.

[0307] refer to Fig.32 , the memory system 2000 includes a controller 2100 and a memory device 2200. Herein, one of the memory system 2000, the controller 2100, and the memory device 2200 may be referred to as a semiconductor device.

[0308] like Figure 1 As illustrated, the controller 2100 is connected to a host and a memory device 2200. The controller 2100 is configured to access the memory device 2200 in response to a request from the host.

[0309] The memory device 2200 includes an ECC encoder 200. The ECC encoder 200 performs encoding using an error correction code on data provided from the controller 2000. For example, the memory device 2200 may be configured to receive data from the controller 2100 in the form of a codeword CW.

[0310] The ECC encoder 200 may have a Figures 2 to 31 The configuration described is basically the same configuration and can be performed with reference Figures 2 to 31 The functions described are essentially the same functions.

[0311] Fig.33 is a diagram illustrating an example of a communication system including an ECC encoder according to an example embodiment.

[0312] refer to Fig.33 , the communication system 3000 includes a PCM generator 3100, a transmitter 3200, a channel 3300, and a receiver 3400. The communication system 3000 may encode a codeword CW by using LDPC.

[0313] The PCM generator 3100 may be configured to generate a parity check matrix PCM. The parity check matrix PCM generated by the PCM generator 3100 may be divided into an information part Hinfo and a parity part Hpar, and the parity part Hpar may be Figures 5 to 8 The parity part Hpar described in is the same.

[0314] The transmitter 3200 may be configured to encode the codeword CW based on the parity check matrix PCM and generate a transmission signal Tx. The transmission signal Tx may include information about the encoded codeword.

[0315] The transmitter 3200 may include an encoding unit 320 configured to encode a codeword. The encoding unit 320 may be configured to Figure 2 The ECC encoder 100 has substantially the same configuration and performs the same function.

[0316] The transmission signal Tx generated by the transmitter 3200 may be provided to the receiver 3400 through the channel 3300. When the transmission signal Tx passes through the channel 3300, an error may occur in an encoded codeword.

[0317] The receiver 3400 may be configured to receive a signal (hereinafter referred to as a "received signal Rx") through the channel 3300 and the parity check matrix PCM. The receiver 3400 may be configured to correct errors of the received signal Rx based on the received received signal Rx and the parity check matrix PCM. For example, the receiver 3400 may include an ECC decoder that corrects errors of the received signal Rx.

[0318] The above description refers to the detailed embodiments for practicing the present disclosure. Embodiments that simply change the design or easily change the design may be included in the present disclosure as well as the above embodiments. In addition, technologies that are easily changed and implemented by using the above embodiments may be included in the present disclosure. Although the present disclosure has been described with reference to the above embodiments, it will be clear to those of ordinary skill in the art that various changes and modifications may be made thereto without departing from the spirit and scope of the present disclosure as set forth in the appended claims.

[0319] In an embodiment of the present disclosure, a parity part in a parity check matrix has a characteristic structure, and the corresponding structure provides an ECC encoder capable of encoding a codeword with a small amount of calculation by utilizing the structural characteristics and excellent correction capability.

[0320] While the present disclosure has been described with reference to the embodiments thereof, it will be apparent to those skilled in the art that various changes and modifications may be made thereto without departing from the spirit and scope of the present disclosure as set forth in the appended claims.

Claims

1. A coding circuit, the coding circuit include: an error correction code encoder configured to encode a codeword based on a parity check matrix and generate an encoded codeword including information bits and parity bits, wherein the parity check matrix is ​​divided into an information part corresponding to the information bit and a parity part corresponding to the parity bit, and Wherein, the odd-even part includes: A block matrix T, wherein the block matrix T includes a plurality of first sub-matrices arranged in a dual diagonal structure; A block matrix B, wherein the block matrix B includes a first submatrix and a 1-a submatrix, where a is a natural number greater than or equal to 1; A block matrix D, wherein the block matrix D is composed of the first sub-matrices; and A block matrix E, the block matrix E comprising the first sub-matrix and a masked 1-(a+1)th sub-matrix, Wherein, the block matrix B and the block matrix D are located in the same subcolumn, Wherein, the block matrix T and the block matrix E are located in the same subcolumn, The position of the first submatrix in the block matrix B is before the position of the masked 1-(a+1)th submatrix in the block matrix E. The position of the 1-ath submatrix in the block matrix B is earlier than the position of the first submatrix in the block matrix E. wherein the first submatrix of each of the block matrices T, B, D and E is defined as an identity matrix of size Z×Z, where Z is a natural number, wherein the 1-ath submatrix is ​​defined as a matrix obtained by performing a left cyclic shift "a" times on the first submatrix, and Herein, the masked 1-(a+1)th sub-matrix is ​​defined as a matrix that masks the first row in a matrix obtained by performing a left cyclic shift "a+1" times on the first sub-matrix.

2. The encoding circuit according to claim 1, in, The error correction code encoding circuit comprises: a parity check matrix generator configured to generate the parity check matrix; and an encoding unit configured to generate the encoded codeword based on the codeword and the parity check matrix, The relationship between the parity check matrix and the encoding codeword is expressed based on Formula 1: [Formula 1] and Wherein, in Formula 1, "H" represents the parity check matrix, ECW represents the encoded codeword, Hinfo represents the information part of the parity check matrix, Hpar represents the parity part of the parity check matrix, "s" represents the information bit of the encoded codeword, and "p" represents the parity bit of the encoded codeword.

3. The encoding circuit according to claim 2, in, The encoding unit is further configured to perform an operation for calculating the parity bit, and The operation for calculating the parity bit is expressed based on Formula 2: [Formula 2] p=Hpar -1 (Hinfo·s)。 4. The encoding circuit according to claim 3, in, The parity bits include a first parity bit operated with the block matrix B and the block matrix D and a second parity bit operated with the block matrix T and the block matrix E, and The encoding unit includes a calculation unit configured to calculate the first parity bit.

5. The encoding circuit according to claim 2, in, The parity check matrix generator comprises: A base matrix generator, the base matrix generator is configured to generate a base matrix, the base matrix includes a block matrix Bb, a block matrix Tb, a block matrix Db and a block matrix Eb, the block matrix Bb, the block matrix Tb, the block matrix Db and the block matrix Eb correspond to the block matrix B, the block matrix T, the block matrix D and the block matrix E of the parity part respectively, and are all composed of components of "1" or "0"; a mapping table configured to store mapping data including data of sub-matrices to be used to replace components corresponding to the block matrix Bb, the block matrix Tb, the block matrix Db, and the block matrix Eb of the base matrix, respectively; and A matrix transformation unit is configured to generate the parity check matrix including the parity part based on the base matrix and the mapping data.

6. The encoding circuit according to claim 5, in, The weight of the columns divided into the block matrix Bb and the block matrix Db is 3, and Among them, the weight of at least one column divided into the block matrix Tb and the block matrix Eb is 3.

7. The encoding circuit according to claim 5, in, The block matrix Bb includes a first component and a second component of "1" and a plurality of components of "0", The block matrix Eb includes a first component and a second component of "1" and multiple components of "0", Wherein, the block matrix Tb includes multiple components of "1" arranged in a dual diagonal structure, and Wherein, the block matrix Db consists of a component of "1".

8. The encoding circuit according to claim 7, in, The position value of the first component of "1" of the block matrix Bb is less than the position value of the first component of "1" of the block matrix Eb, and Among them, the position value of the second component of "1" of the block matrix Bb is smaller than the position value of the second component of "1" of the block matrix Eb.

9. The encoding circuit according to claim 8, in, The matrix transformation unit is configured to generate the parity part by: Replace the first component of "1" of the block matrix Bb with the first sub-matrix, Replace the second component of "1" of the block matrix Bb with the 1-ath submatrix, replacing the first component of "1" of the block matrix Eb with the masked 1-(a+1)th submatrix, and The second component of "1" of the block matrix Eb is replaced by the first sub-matrix.

10. The encoding circuit according to claim 1, in, The rows of the parity part correspond to check nodes, Wherein, the columns of the odd and even parts correspond to variable nodes, The weight of at least one variable node divided into the block matrix B and the block matrix D is 3, and Among them, the weight of at least one variable node divided into the block matrix T and the block matrix E is 3.

11. A semiconductor device, the semiconductor device include: an error correction code encoder configured to encode a codeword based on a parity check matrix and generate an encoded codeword including information bits and parity bits, wherein the parity check matrix is ​​divided into an information part corresponding to the information bit and a parity part corresponding to the parity bit, and Wherein, the odd-even part includes: Multiple sub-rows and multiple sub-columns; A block matrix T, wherein the block matrix T includes a plurality of first sub-matrices arranged in a dual diagonal structure; The block matrix B comprises: a first column vector, the first column vector being located in a first subcolumn of the plurality of subcolumns and comprising a 1-a1 th submatrix, where a1 is an integer greater than or equal to 0; and a second column vector, the second column vector being located in a second subcolumn of the plurality of subcolumns and including a 1-a2 th submatrix, where a2 is an integer greater than or equal to 0; The block matrix E comprises: a first row vector located in a first sub-row of the plurality of sub-rows and comprising a first sub-matrix; and a second row vector located in a second sub-row of the plurality of sub-rows and including the first sub-matrix; and The block matrix D comprises: a masked 1-(a1+1)th submatrix, wherein the masked 1-(a1+1)th submatrix is ​​located in the first subcolumn and the first subrow; A 1-(a1-2)th sub-matrix, the 1-(a1-2)th sub-matrix is ​​located in the first sub-column and the second sub-row; and a masked 1-(a2+1) submatrix, the masked 1-(a2+1) submatrix being located in the second subcolumn and the second subrow, The position of the 1-a1th submatrix of the block matrix B in the first column vector is prior to the position of the first submatrix of the block matrix E in the first row vector. The position of the 1-a2th submatrix of the block matrix B in the second column vector is prior to the position of the first submatrix of the block matrix E in the second row vector. The first submatrix is ​​defined as a unit matrix of size Z×Z, where Z is a natural number. Wherein, the 1-aj sub-matrix is ​​defined as a matrix obtained by performing a left cyclic shift "aj" times on the first sub-matrix, j is 1 or 2, wherein the masked 1-(aj+1)th sub-matrix is ​​defined as a matrix that masks the first row in a matrix obtained by performing a left cyclic shift "aj+1" times on the first sub-matrix, and Herein, the 1-(aj-2)th sub-matrix is ​​defined as a matrix obtained by performing a left cyclic shift "aj-2" times on the first sub-matrix.

12. The semiconductor device according to claim 11, in, The error correction code encoder comprises: a parity check matrix generator configured to generate the parity check matrix; and an encoding unit configured to generate the encoded codeword based on the codeword and the parity check matrix, The relationship between the parity check matrix and the encoding codeword is expressed based on Formula 1: [Formula 1] and Wherein, in Formula 1, "H" represents the parity check matrix, ECW represents the encoded codeword, Hinfo represents the information part of the parity check matrix, Hpar represents the parity part of the parity check matrix, "s" represents the information bit of the encoded codeword, and "p" represents the parity bit of the encoded codeword.

13. The semiconductor device according to claim 12, in, The parity check matrix generator comprises: A base matrix generator, the base matrix generator is configured to generate a base matrix, the base matrix includes a block matrix Bb, a block matrix Tb, a block matrix Db and a block matrix Eb, the block matrix Bb, the block matrix Tb, the block matrix Db and the block matrix Eb correspond to the block matrix B, the block matrix T, the block matrix D and the block matrix E of the parity part respectively, and are all composed of components of "1" or "0"; a mapping table configured to store mapping data including data of sub-matrices to be used to replace components corresponding to the block matrix Bb, the block matrix Tb, the block matrix Db, and the block matrix Eb of the base matrix, respectively; and A matrix transformation unit is configured to generate the parity check matrix including the parity part based on the base matrix and the mapping data.

14. The semiconductor device according to claim 13, in, The block matrix Bb includes: a first basis column vector, the first basis column vector including a component of "1" and a plurality of components of "0"; and a second basis vector, the second basis vector including a component of "1" and a plurality of components of "0", Wherein, the block matrix Eb includes: a first basis row vector, the first basis row vector including a component of "1" and a plurality of components of "0", and a second basis row vector, the second basis row vector including a component of "1" and a plurality of components of "0", Wherein, the block matrix Db and the block matrix Tb both include multiple components of "1" arranged in a dual diagonal structure, wherein the position value of the component of "1" in the first basis column vector of the block matrix Bb is smaller than the position value of the component of "1" in the first basis row vector of the block matrix Eb, and Among them, the position value of the component of "1" in the second basis column vector of the block matrix Bb is smaller than the position value of the component of "1" in the second basis row vector of the block matrix Eb.

15. The semiconductor device according to claim 14, in, The matrix transformation unit is configured to generate the parity part by: Replace the "1" components of the first basis column vector with the 1-a1th submatrix, replacing the "1" components of the second basis column vector with the 1-a2th submatrix, and The components of "1" of each of the first basis row vector and the second basis row vector are replaced with the first sub-matrix.

16. A semiconductor device, the semiconductor device include: An error correction code encoder, the error correction code encoder is configured to generate an encoding codeword including information bits and parity bits based on a parity check matrix, the error correction code encoder comprising: a bit accumulator configured to generate intermediate bits by performing an operation of multiplying a lower triangular matrix by input bits; and a first shifter configured to generate the parity bits by performing an operation of multiplying a 1-(Z-ai)th submatrix by the intermediate bits, Z being a natural number and ai being an integer, Wherein, the parity check matrix is ​​expressed based on Formula 1: [Formula 1] and Wherein, in Formula 1, "H" represents the parity check matrix, Hinfo represents the information part corresponding to the information bit, Hpar represents the parity part corresponding to the parity bit, the information part includes a block matrix A and a block matrix C, and the parity part includes a block matrix B, a block matrix T, a block matrix D and a block matrix E, Wherein, the input bit is expressed based on Formula 2: [Formula 2] (ET -1 A+C)s, and In Formula 2, T -1 is defined as the inverse matrix of the blocking matrix T, and "s" is defined as the information bits of the encoded codeword, The lower triangular matrix is ​​expressed based on Formula 3: [Formula 3] and Wherein, in Formula 3, SMt represents the lower triangular matrix, wherein the 1-(Z-ai)th submatrix is ​​defined as a matrix obtained by performing a left cyclic shift "Z-ai" times on the first submatrix, and The first submatrix is ​​defined as a unit matrix of size Z×Z.

17. The semiconductor device according to claim 16, in, The error correction code encoder also includes: a delay unit connected to the first shifter and configured to generate a delayed parity bit in response to the parity bit; a second shifter configured to generate transformed bits by performing an operation of multiplying the delayed parity bits by a 1-(a(i-1)-2 th sub-matrix; and an adder configured to add the input bit to the transformed bit and provide the addition result to the bit accumulator, Herein, the 1-(a(i-1)-2th submatrix is ​​defined as a matrix obtained by performing a left cyclic shift "a(i-1)-2" times on the first submatrix.

18. The semiconductor device according to claim 17, in, "ai" and "a(i-1)-2" are both 0.

19. The semiconductor device according to claim 17, in, The input bits, the intermediate bits, and the transformed bits are all expressed in a vector format including a plurality of bits.

20. The semiconductor device according to claim 16, in, The "ai" is 0.