Semiconductor memory device with improved error correction circuit
By introducing ECC memory and ECC engine into DRAM devices, and using ECC represented by a generator matrix to generate parity data, the problem of increased bit errors in DRAM devices is solved, thereby improving the reliability and performance of the memory system.
Patent Information
- Application Number
- CN202010488607.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-06-12
- Filing Date
- 2020-06-02
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2040-06-02
AI Technical Summary
As manufacturing design rules for DRAM devices decrease, bit errors in memory cells increase, leading to reduced reliability of DRAM devices. Existing technologies struggle to effectively detect and correct these errors.
It employs an Error Correction Code (ECC) memory and an ECC engine to generate parity data by generating a matrix representation of ECC, detect and correct error bits in the memory cell array, and perform error correction in conjunction with control logic circuits and a memory controller.
It improves the error detection and correction capabilities of DRAM devices, enhances the reliability and performance of memory systems, and can effectively correct multiple error bits.
Smart Images

Figure CN112084059B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Korean Patent Application No. 10-2019-0069150, filed on Jun. 12, 2019, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0003] Exemplary embodiments of the present disclosure relate to a memory device, and more particularly, to a semiconductor memory device supporting error detection and correction (EDC) and a memory system including the semiconductor memory device. Background Art
[0004] Semiconductor memory devices can be divided into non-volatile memory devices (such as flash memory devices having non-volatile memory cells (e.g., EEPROM cells) therein) and volatile memory devices (such as dynamic random access memory (DRAM) devices and static random access memory (SRAM) devices). Due to the advantages of DRAM devices such as high operation speed, small size, and low cost, they are often used for system memory (such as cache memory). Nevertheless, due to the continuous reduction of manufacturing design rules of DRAM devices, bit errors of memory cells in DRAM devices may increase, and the yield of DRAM devices having sufficient error-free memory cells therein may decrease. Summary of the invention
[0005] Exemplary embodiments of the present disclosure provide an error correction circuit of a semiconductor memory device capable of improving performance and reliability, a semiconductor memory device including the error correction circuit, and a memory system including the error correction circuit.
[0006] According to an exemplary embodiment of the present disclosure, an error correction circuit of a semiconductor memory device includes an error correction code (ECC) memory and an ECC engine. The ECC memory stores an ECC represented at least in part by a generator matrix. The ECC engine generates parity data based on main data using the ECC, and then uses the parity data to detect and / or correct at least one error bit in the main data read from a memory cell array. The main data includes a plurality of data bits divided into a plurality of sub-data units, the ECC includes a plurality of column vectors divided into a plurality of code groups corresponding to the sub-data units, the column vector has an element configured to collect an error correction bit and a plurality of error bits in one symbol, and an error correction bit is generated due to the plurality of error bits in the main data.
[0007] According to an exemplary embodiment of the present disclosure, a semiconductor memory device includes a memory cell array having a plurality of bank arrays, an error correction circuit, and a control logic circuit. Each of the plurality of bank arrays includes a normal cell area storing main data and a redundant cell area storing first parity data associated with the main data. In some of these embodiments, each of the plurality of bank arrays may include a plurality of dynamic memory cells coupled to word lines and bit lines. The error correction circuit is configured to generate parity data based on the main data using an error correction code (ECC) represented by a generator matrix, and to correct at least one error bit in the main data using the parity data. The control logic circuit may control the error correction circuit based on a command and an address. The main data includes a plurality of data bits divided into a plurality of sub-data units, the ECC includes a plurality of column vectors divided into a plurality of code groups corresponding to the sub-data units, the column vector has an element configured to collect an error correction bit and a plurality of error bits in one symbol, and an error correction bit is generated due to the plurality of error bits in the main data.
[0008] According to an exemplary embodiment of the present disclosure, a memory system includes a semiconductor memory device and a memory controller configured to control the semiconductor memory device. The semiconductor memory device includes a memory cell array having a plurality of block arrays, an error correction circuit, and a control logic circuit. Each of the plurality of block arrays includes a normal cell area storing main data and a redundant cell area storing first parity data associated with the main data, and each of the plurality of block arrays includes a plurality of dynamic memory cells coupled to word lines and bit lines. The error correction circuit generates parity data based on the main data using an error correction code (ECC) represented by a generator matrix, and corrects at least one error bit in the main data using the parity data. The control logic circuit controls the error correction circuit based on a command and an address provided from the memory controller. The main data includes a plurality of data bits divided into a plurality of sub-data units, the ECC includes a plurality of column vectors divided into a plurality of code groups corresponding to the sub-data units, the column vector has an element that collects an error correction bit and a plurality of error bits in one symbol, and an error correction bit is generated due to the plurality of error bits in the main data.
[0009] According to an additional embodiment of the present disclosure, the ECC includes a plurality of column vectors corresponding to data bits, the column vectors are divided into a plurality of code groups, and have elements configured to collect an error correction bit and a plurality of error bits in one symbol. In addition, the error correction bit is generated due to the plurality of error bits in the main data, and the one symbol includes one or two sub-data units. Therefore, when there are a plurality of error bits that the error correction circuit cannot correct and / or detect, the error correction circuit of the memory controller can correct the sub-data unit including the plurality of error bits and the error correction bit because the plurality of error bits and the error correction bit are collected in the same sub-data unit. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The above and other features of the present disclosure will become more apparent by describing in detail exemplary embodiments of the present disclosure with reference to the attached drawings.
[0011] Figure 1 is a block diagram illustrating a memory system according to an exemplary embodiment of the present disclosure;
[0012] Figure 2 The corresponding Figure 1 a primary data configuration of the plurality of burst lengths in a memory system;
[0013] Figure 3 is a diagram showing an exemplary embodiment according to the present disclosure Figure 1 A block diagram of an example of a memory controller in;
[0014] Figure 4 is a diagram showing an exemplary embodiment according to the present disclosure Figure 3 A block diagram of an example of an ECC decoder in;
[0015] Figure 5 is a diagram showing an exemplary embodiment according to the present disclosure Figure 1 A block diagram of a semiconductor memory device in;
[0016] Figure 6 The exemplary embodiment according to the present disclosure is shown Figure 5 An example of a first block array in a semiconductor memory device;
[0017] Figure 7 is a diagram showing an exemplary embodiment according to the present disclosure Figure 5 A block diagram of an error correction circuit in a semiconductor memory device;
[0018] Figure 8 is a diagram showing an exemplary embodiment according to the present disclosure Figure 7 A block diagram of an ECC decoder in an error correction circuit;
[0019] Fig. 9 shows a first ECC and Figure 7 The relationship between the parity bits used in the error correction circuit;
[0020] Fig.10 An example of a first ECC according to an exemplary embodiment of the present disclosure is shown;
[0021] Fig.11A and Fig. 11B Shows Fig.10 The first to eighth code groups shown in ;
[0022] Fig.12 It is shown Fig.11A A table of results of exclusive OR (XOR) operations of three column vectors in the first code group in ;
[0023] Fig.13 shows an example of another first ECC according to an exemplary embodiment of the present disclosure;
[0024] FIG. 14A to FIG. 14C Shows Fig.13 The first to twelfth code groups in;
[0025] Fig.15 The exemplary embodiment according to the present disclosure is shown Figure 5 a first block array, an I / O gating circuit, and an error correction circuit in a semiconductor memory device;
[0026] Fig.16 shows an example of main data when a sub-data unit in the main data includes three error bits;
[0027] Fig.17 is a flowchart illustrating a method of operating a semiconductor memory device according to an exemplary embodiment of the present disclosure;
[0028] Fig.18 is a flowchart illustrating a method of operating a memory system according to an exemplary embodiment of the present disclosure;
[0029] Fig.19 is a block diagram illustrating a semiconductor memory device according to an exemplary embodiment of the present disclosure;
[0030] Fig. 20 According to the exemplary embodiment of the present disclosure, Fig.19 A cross-sectional view of a 3D chip structure of a semiconductor memory device;
[0031] Fig.21 is a diagram illustrating a semiconductor package including a stacked memory device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0032] Exemplary embodiments of the present disclosure will be described more fully below with reference to the accompanying drawings.In the accompanying drawings, the same reference numerals may indicate the same elements.
[0033] Figure 1 is a block diagram showing a memory system according to an exemplary embodiment of the present disclosure. Figure 1 , the memory system 20 may include a memory controller 100 (e.g., an external memory controller) and a semiconductor memory device 200. The memory controller 100 may control the overall operation of the memory system 20. The memory controller 100 may control the overall data exchange between the external host and the semiconductor memory device 200. For example, the memory controller 100 may write data into the semiconductor memory device 200 or read data from the semiconductor memory device 200 in response to a request from the host. In addition, the memory controller 100 may issue an operation command to the semiconductor memory device 200 to control the semiconductor memory device 200.
[0034] In an exemplary embodiment, the number of data memories may be 8 or 16. However, the number of data memories is not limited thereto. In an exemplary embodiment, the semiconductor memory device 200 is a memory device including a plurality of dynamic memory cells such as a dynamic random access memory (DRAM), a double data rate 4 (DDR4) synchronous DRAM (SDRAM) or a stacked memory device such as a high bandwidth memory (HBM).
[0035] The memory controller 100 transmits a clock signal CLK, a command CMD, and an address (signal) ADDR to the semiconductor memory device 200, and exchanges main data MD with the semiconductor memory device 200. The memory controller 100 may include an error correction circuit 130.
[0036] The error correction circuit 130 can generate system parity data to be sent to the semiconductor memory device 200 based on the main data MD, can store the system parity data, can generate a check bit based on the main data MD received from the semiconductor memory device 200, and can correct at least one error bit in the main data MD by sign based on a comparison of the system parity data and the check bit.
[0037] The semiconductor memory device 200 includes a memory cell array 300 storing main data MD, an error correction circuit 400, and a control logic circuit 210. The error correction circuit 400 can generate parity data by performing ECC encoding on the main data MD using an error correction code (ECC) represented by a generator matrix, and can detect and / or correct at least one error bit in the main data MD read from the memory cell array 300 using the parity data by performing ECC decoding on the main data MD.
[0038] The main data MD includes a plurality of data bits, and the plurality of data bits may be divided into a plurality of sub-data units. The ECC may include a plurality of column vectors divided into a plurality of code groups corresponding to the sub-data units, and the column vector may have an element that collects an error correction bit and a plurality of error bits in one symbol, and the error correction bit is generated due to the plurality of error bits in the main data. Therefore, when the read main data includes a plurality of error bits that the error correction circuit 400 cannot correct, the memory controller 100 may correct the sub-data unit including the plurality of error bits. The control logic circuit 210 may control the error correction circuit 400 to perform ECC encoding and ECC decoding.
[0039] The semiconductor memory device 200 may perform a burst operation. Here, the burst operation refers to an operation of writing or reading a large amount of data by sequentially increasing or decreasing an initial address provided from the memory controller 100. A basic unit of the burst operation may be referred to as a burst length BL. In an exemplary embodiment, the burst length BL refers to the number of operations of continuously reading or writing data by sequentially increasing or decreasing an initial address.
[0040] Figure 2 The corresponding Figure 1 The main data of the multiple burst lengths in the memory system. Figure 2 , main data MD corresponding to the plurality of burst lengths is input to / output from the semiconductor memory device 200. The main data MD includes data segments MD_SG1 to MD_SGt (t is a natural number equal to or greater than 8), each corresponding to each of the plurality of burst lengths. Figure 2 In the example embodiment, it is assumed that the burst length is 8. However, exemplary embodiments of the present disclosure are not limited thereto. Main data MD corresponding to the plurality of burst lengths may be stored in the memory cell array 300 of the semiconductor memory device 200.
[0041] In an exemplary embodiment, the burst length may be 8 or 12.
[0042] Figure 3 is a diagram showing an exemplary embodiment according to the present disclosure Figure 1 A block diagram of an example memory controller in FIG. Figure 3 , the memory controller 100 may include a central processing unit (CPU) 110, a data buffer 120, an error correction circuit 130, a command buffer 180, and an address buffer 190. The error correction circuit 130 may include a parity generator 140, a buffer 145, a memory 150 storing a second ECC 155, and an ECC decoder 160. The CPU 110 receives a request REQ and data DTA from a host, and provides the data DTA to the data buffer 120 and the parity generator 140. The data buffer 120 buffers the data DTA to provide the first main data MD1 to the semiconductor memory device 200.
[0043] The parity generator 140 is coupled to the memory 150, performs ECC encoding on the data DTA using the second ECC 155 to generate system parity data PRTc, and stores the system parity data PRTc in the buffer 145. In a read operation of the semiconductor memory device 200, the ECC decoder receives the second main data MD2 from the semiconductor memory device 200, performs ECC decoding on the second main data MD2 by symbol using the second ECC 155 and the system parity data PRTc, and may provide the corrected main data C_MD2 to the CPU 110. The CPU 110 provides the corrected main data C_MD2 to the host.
[0044] The command buffer 180 stores a command CMD corresponding to the request REQ under the control of the CPU 110 and transmits the command CMD to the semiconductor memory device 200. The address buffer 190 stores an address ADDR under the control of the CPU 110 and transmits the address ADDR to the semiconductor memory device 200.
[0045] Figure 4 is a diagram showing an exemplary embodiment according to the present disclosure Figure 3 A block diagram of an example of an ECC decoder in FIG. Figure 4, the ECC decoder 160 may include a check bit generator 161, a syndrome generator 163, and a data corrector 165. The check bit generator 161 receives the second main data MD2 and generates a check bit CHBc corresponding to the second main data MD2 using the second ECC 155. The syndrome generator 163 compares the system parity data PRTc with the check bit CHBc by symbol to generate syndrome data SDRc indicating whether the second main data MD2 includes at least one error bit and indicating the position of the at least one error bit. The data corrector 165 receives the second main data MD2 and corrects the error bits in the second main data MD2 by symbol based on the syndrome data SDRc to output the corrected main data C_MD2. A plurality of odd error bits in the second main data MD2 provided from the semiconductor memory device 200 and the miscorrected bits generated due to the plurality of error bits are collected in one symbol, and the data corrector 165 may correct the error bits in the second main data MD2 by symbol.
[0046] Figure 5 is a diagram showing an exemplary embodiment according to the present disclosure Figure 1 Block diagram of a semiconductor memory device in FIG. Figure 5 The semiconductor memory device 200 includes a control logic circuit 210, an address register 220, a block control logic 230, a row address multiplexer 240, a column address latch 250, a row decoder 260, a column decoder 270, a memory cell array 300, a sense amplifier unit 285, an input / output (I / O) gating circuit 290, a data input / output (I / O) buffer 295, a refresh counter 245 and an error correction circuit 400.
[0047] The memory cell array 300 includes a first block array 310 to an eighth block array 380. The row decoder 260 includes a first block row decoder 260a to an eighth block row decoder 260h respectively coupled to the first block array 310 to the eighth block array 380. The column decoder 270 includes a first block column decoder 270a to an eighth block column decoder 270h respectively coupled to the first block array 310 to the eighth block array 380. The sense amplifier unit 285 includes a first block sense amplifier 285a to an eighth block sense amplifier 285h respectively coupled to the first block array 310 to the eighth block array 380. The first to eighth block arrays 310 to 380, the first to eighth block row decoders 260a to 260h, the first to eighth block column decoders 270a to 270h, and the first to eighth block sense amplifiers 285a to 285h may form the first to eighth blocks. Each of the first to eighth block arrays 310 to 380 includes a plurality of memory cells MC coupled to word lines WL and bit lines BTL. Although Figure 5 2 and 3. It is shown that the semiconductor memory device 200 includes eight banks, but exemplary embodiments of the present disclosure are not limited thereto, and the semiconductor memory device 200 may include any number of banks.
[0048] The address register 220 receives an address ADDR including a block address BANK_ADDR, a row address ROW_ADDR, and a column address COL_ADDR and a command CMD from the memory controller 100. The address register 220 may provide the received block address BANK_ADDR to the block control logic 230, provide the received row address ROW_ADDR to the row address multiplexer 240, and provide the received column address COL_ADDR to the column address latch 250.
[0049] The block control logic 230 may generate a block control signal in response to the block address BANK_ADDR. One of the first to eighth block row decoders 260a to 260h corresponding to the block address BANK_ADDR may be activated in response to the block control signal, and one of the first to eighth block column decoders 270a to 270h corresponding to the block address BANK_ADDR may be activated in response to the block control signal.
[0050] The row address multiplexer 240 may receive the row address ROW_ADDR from the address register 220, and may receive the refresh row address REF_ADDR from the refresh counter 245. The row address multiplexer 240 may selectively output one of the row address ROW_ADDR and the refresh row address REF_ADDR as the row address RA. The row address RA output from the row address multiplexer 240 may be applied to the first to eighth block row decoders 260a to 260h. The activated one of the first to eighth block row decoders 260a to 260h may decode the row address RA output from the row address multiplexer 240, and may activate the word line corresponding to the row address RA. For example, the activated block row decoder may apply a word line drive voltage to the word line corresponding to the row address RA.
[0051] The column address latch 250 may receive the column address COL_ADDR from the address register 220 and may temporarily store the received column address COL_ADDR. In an exemplary embodiment, in a burst mode, the column address latch 250 may generate a column address incremented from the received column address COL_ADDR. The column address latch 250 may apply the temporarily stored or generated column address to the first to eighth block column decoders 270a to 270h.
[0052] The activated one of the first to eighth block column decoders 270a to 270h may decode the column address COL_ADDR output from the column address latch 250, and may control the input / output gating circuit 290 to output data corresponding to the column address COL_ADDR or the mapped column address MCA. The I / O gating circuit 290 includes a circuit for gating input / output data. The I / O gating circuit 290 also includes a read data latch for storing data output from the first to eighth block arrays 310 to 380 and a write driver for writing data to the first to eighth block arrays 310 to 380.
[0053] Data to be read from one of the first to eighth block arrays 310 to 380 may be read through a sense amplifier coupled to the one block array from which the data is to be read, and may be stored in a read data latch. The data stored in the read data latch is ECC-decoded by the error correction circuit 400 and may be provided to the memory controller 100 via the data I / O buffer 295.
[0054] Data (or main data) MD to be written in one of the first to eighth block arrays 310 to 380 may be provided from the memory controller 100 to the data I / O buffer 295. The main data MD is provided to the error correction circuit 400. The error correction circuit 400 performs ECC encoding on the main data MD to generate parity data, and provides a codeword CW including the main data MD and the parity data to the I / O gating circuit 290. The I / O gating circuit 290 may write the main data MD and the parity data into a normal cell area (first memory area) and a redundant cell area (second memory area) in one block array, respectively, through a write driver.
[0055] When the error correction circuit 400 performs ECC encoding and ECC decoding, the error correction circuit 400 can use the ECC represented by the generator matrix. For example, the data structure / data format of the ECC can be the generator matrix. The ECC may include a plurality of column vectors corresponding to the data bits of the data (or main data) MD, and the column vectors may be divided into a plurality of code groups corresponding to a plurality of sub-data units. The data bits may be divided into a plurality of sub-data units.
[0056] In addition, the column vector may have an element that collects an error correction bit and a plurality of error bits in one symbol, and the error correction bit is generated due to the plurality of error bits in the main data. The one symbol may include one sub-data unit or two adjacent sub-data units among the plurality of sub-data units. Therefore, when the main data MD includes a plurality of error bits that the error correction circuit 400 cannot correct / detect, because the plurality of error bits and the error correction bit are collected in one symbol, the memory controller 100 can correct the plurality of error bits in the main data MD by symbol at the system level.
[0057] The control logic circuit 210 may control the operation of the semiconductor memory device 200. For example, the control logic circuit 210 may generate a control signal for the semiconductor memory device 200 to perform a write operation or a read operation. The control logic circuit 210 may include a command decoder 211 that decodes a command CMD received from the memory controller 100, and a mode register 212 that sets an operation mode of the semiconductor memory device 200. For example, the command decoder 211 may generate a control signal corresponding to the command CMD by decoding a write enable signal, a row address strobe signal, a column address strobe signal, a chip select signal, etc. The control logic circuit 210 may generate a first control signal CTL1 for controlling the I / O gating circuit 290 and a second control signal CTL2 for controlling the error correction circuit 400.
[0058] Figure 6 The exemplary embodiment according to the present disclosure is shown Figure 5An example of a first block array in a semiconductor memory device. Figure 6 In the first block array 310, there are a plurality of word lines WL1 to WLm (where m is a natural number greater than 2) and a plurality of bit lines BTL1 to BTLn (where n is a natural number greater than 2), and a plurality of memory cells MC are arranged at intersections between the word lines WL1 to WLm and the bit lines BTL1 to BTLn. Each of the memory cells MC includes an access (cell) transistor coupled to each of the word lines WL1 to WLm and each of the bit lines BTL1 to BTLn and a storage (cell) capacitor coupled to the cell transistor.
[0059] Figure 7 is a diagram showing an exemplary embodiment according to the present disclosure Figure 5 A block diagram of an error correction circuit in a semiconductor memory device. Figure 7 , the error correction circuit 400 includes an ECC memory 410, an ECC encoder 430, and an ECC decoder 450. The ECC memory 410 stores a first ECC 415. The first ECC 415 may be represented by a generation matrix (e.g., the data format / structure of the first ECC 415 may be a generation matrix) and may include a plurality of column vectors corresponding to data bits in the main data (e.g., MD).
[0060] The ECC encoder 430 is coupled to the ECC memory 410 and may perform ECC encoding on the main data MD using the first ECC 415 stored in the ECC memory 410 to generate parity data PRT in a write operation of the semiconductor memory device 200. The ECC encoder 430 may provide the codeword CW including the main data MD and the parity data PRT to the I / O gating circuit 290. The ECC decoder 450 is coupled to the ECC memory 410, may receive the codeword CW including the main data MD and the parity data PRT, may perform ECC decoding on the main data MD based on the parity data PRTR using the first ECC 415 to correct and / or detect error bits in the main data MD, and may output the corrected main data C_MD.
[0061] The first ECC 415 may be a single error correction and double error detection (SECDED) code capable of correcting an error bit in the main data MD and detecting two error bits in the main data MD. Figure 7 It is described that the ECC memory 410 is coupled to the ECC encoder 430 and the ECC decoder 450 , but in an exemplary embodiment, the ECC memory 410 may be implemented by an XOR gate in the ECC encoder 430 and the ECC decoder 450 .
[0062] Figure 8is a diagram showing an exemplary embodiment according to the present disclosure Figure 7 A block diagram of the ECC decoder in the error correction circuit. Figure 8 , the ECC decoder 450 includes a check bit generator 451, a syndrome generator 453, and a data corrector 455. The check bit generator 451 generates a check bit CHB based on the data bit in the main data MD using the first ECC 415. The syndrome generator 453 generates syndrome data SDR based on the comparison of the check bit CHB with the parity bit of the parity data PRT, and the syndrome data SDR indicates whether an error bit occurs and the position of the error bit. The data corrector 455 receives the main data MD and the syndrome data SDR, corrects the error bit in the main data MD, and outputs the corrected main data C_MD.
[0063] exist Figure 7 and Figure 8 The main data MD includes 2 p bits (where p is an integer greater than or equal to 6), and the parity data PRT includes a parity check bit of (p+2) bits. In other exemplary embodiments, the main data MD includes 3×2 q bits (where q is an integer greater than or equal to 6), and the parity data PRT includes a parity bit of (q+2) bits.
[0064] Fig. 9 The exemplary embodiment according to the present disclosure is shown Figure 7 The relationship between the first ECC and parity bits used in the error correction circuit. Fig. 9 In FIG. 1 , it is assumed that the main data MD includes a plurality of sub-data units SDU1 to SDUx, and the parity data PRT includes 8-bit parity bits PB1 to PB8. Fig. 9 In , assume that x is a natural number greater than or equal to six. Fig. 9 , the first ECC 415 may be divided into a plurality of code groups CG1 to CGx corresponding to the plurality of sub-data units SDU1 to SDUx.
[0065] Fig.10 An example of a first ECC according to an exemplary embodiment of the present disclosure is shown. Fig.10 In FIG. 1 , it is assumed that the main data MD includes 64 bits of data d0 to d63. In other words, it is assumed that Fig.10 , x is six (6). Fig.10, data bits d0 to d63 of the main data MD can be divided into the first sub-data unit SDU11 to the eighth sub-data unit SDU18. Each of the first sub-data unit SDU11 to the eighth sub-data unit SDU18 includes 8 bits of data. The first ECC ECC1a includes first code groups CG11 to eighth code groups CG18 corresponding to the first sub-data unit SDU11 to the eighth sub-data unit SDU18.
[0066] Fig.11A and Fig. 11B Shows Fig.10 The first to eighth code groups in .
[0067] Reference Fig.11A and Fig. 11B , the first code group CG11 includes column vectors CV11 to CV18 corresponding to data bits d0 to d7 of the first sub-data unit SDU11, the second code group CG12 includes column vectors CV21 to CV28 corresponding to data bits d8 to d15 of the second sub-data unit SDU12, the third code group CG13 includes column vectors CV31 to CV38 corresponding to data bits d16 to d23 of the third sub-data unit SDU13, and the fourth code group CG14 includes column vectors CV41 to CV48 corresponding to data bits d24 to d31 of the fourth sub-data unit SDU14.
[0068] In addition, the fifth code group CG15 includes column vectors CV51 to CV58 corresponding to data bits d32 to d39 of the fifth sub-data unit SDU15, the sixth code group CG16 includes column vectors CV61 to CV68 corresponding to data bits d40 to d47 of the sixth sub-data unit SDU16, the seventh code group CG17 includes column vectors CV71 to CV78 corresponding to data bits d48 to d55 of the seventh sub-data unit SDU17, and the eighth code group CG18 includes column vectors CV81 to CV88 corresponding to data bits d56 to d63 of the eighth sub-data unit SDU18.
[0069] Reference Fig.11A , each of the first to fourth code groups CG11 to CG14 may include a common submatrix SMC1 and an individual submatrix SMI 1, the common submatrix SMC1 of each of the first to fourth code groups CG11 to CG14 has the same elements, and the individual submatrix SMI 1 of each of the first to fourth code groups CG11 to CG14 has different elements.
[0070] Reference Fig. 11B, each of the fifth code group CG15 to the eighth code group CG18 may include a common sub-matrix and an individual sub-matrix, the common sub-matrix of each of the fifth code group CG15 to the eighth code group CG18 has the same elements, and the individual sub-matrix of each of the fifth code group CG15 to the eighth code group CG18 has different elements.
[0071] Therefore, each of the first code group CG11 to the eighth code group CG18 includes a common sub-matrix having the same elements, and the individual sub-matrix of each of the first code group CG11 to the eighth code group CG18 includes elements having the same logic level in rows. Therefore, when the main data MD includes a plurality of error bits that cannot be corrected and / or detected by the first ECC ECC1a, the miscorrected bits generated due to the plurality of error bits can be collected in one or two sub-data units together with the plurality of error bits.
[0072] Fig.12 It is shown Fig.11A The table of the XOR operation results of the three column vectors in the first code group in . Fig.12 , a first result of an exclusive OR operation of column vectors CV11 and CV12 and a second result of an exclusive OR operation of the first result and each of column vectors CV13 to CV18 are shown. Fig.12 , when an XOR operation is performed on the first result and each of the column vectors CV13 to CV18, the second result matches a corresponding one of the column vectors CV14, CV13, CV18, CV17, CV16, and CV15.
[0073] That is, when an XOR operation is performed on three different column vectors in the first code group CG11, the result of the XOR operation matches one column vector other than the three different column vectors in the first code group CG11, because the column vectors CV11 to CV18 in the first code group CG1 include high-level elements 3, 3, 5, 5, 3, 3, 5, and 5, respectively, and this pattern is repeated in other code groups. Therefore, when the main data MD in the codeword includes a plurality of odd error bits, the miscorrection bits generated due to the plurality of odd error bits may be included in the sub-data unit including the above-mentioned odd error bits. Therefore, the column vector of the first ECC ECC1a may have an element that collects the miscorrection bit and the plurality of error bits in one symbol, and the miscorrection bit is generated due to the plurality of error bits. The one symbol may include one or two adjacent sub-data units.
[0074] Although the results of the XOR operation of three vectors in the first code group CG11 are described for ease of explanation, it should be understood that the results of the bitwise XOR operation of any different three column vectors in each of the second code group CG12 to the fourth code group CG14 may be similar.
[0075] Fig.13 FIG. 2 shows an example of another first ECC ECC1b according to an exemplary embodiment of the present disclosure. Fig.13 In FIG. 1 , it is assumed that the main data MD includes 96 bits of data d0 to d95. That is, in Fig.10 In the example, assume that x is 12. Fig.13 , data bits d0 to d95 of the main data MD can be divided into the first sub-data unit SDU21 to the twelfth sub-data unit SDU212. Each of the first sub-data unit SDU21 to the twelfth sub-data unit SDU212 includes 8 bits of data. The first ECC ECC1b includes first code groups CG21 to twelfth code groups CG212 corresponding to the first sub-data unit SDU21 to the twelfth sub-data unit SDU212.
[0076] FIG. 14A to FIG. 14C Shows Fig.13 The first to twelfth code groups in . FIG. 14A to FIG. 14C The first code group CG21 includes column vectors CVb11 to CVb18 corresponding to data bits d0 to d7 of the first sub-data unit SDU21, the second code group CG22 includes column vectors CVb21 to CVb28 corresponding to data bits d8 to d15 of the second sub-data unit SDU22, the third code group CG23 includes column vectors CVb31 to CVb38 corresponding to data bits d16 to d23 of the third sub-data unit SDU23, and the fourth code group CG24 includes column vectors CVb41 to CVb48 corresponding to data bits d24 to d31 of the fourth sub-data unit SDU24.
[0077] In addition, the fifth code group CG25 includes column vectors CVb51 to CVb58 corresponding to data bits d32 to d39 of the fifth sub-data unit SDU25, the sixth code group CG26 includes column vectors CVb61 to CVb68 corresponding to data bits d40 to d47 of the sixth sub-data unit SDU26, the seventh code group CG27 includes column vectors CVb71 to CVb78 corresponding to data bits d48 to d55 of the seventh sub-data unit SDU27, and the eighth code group CG28 includes column vectors CVb81 to CVb88 corresponding to data bits d56 to d63 of the eighth sub-data unit SDU28.
[0078] In addition, the ninth code group CG29 includes column vectors CVb91 to CVb98 corresponding to data bits d64 to d71 of the ninth sub-data unit SDU29, the tenth code group CG210 includes column vectors CVb101 to CVb108 corresponding to data bits d72 to d79 of the tenth sub-data unit SDU10, the eleventh code group CG211 includes column vectors CVb111 to CVb118 corresponding to data bits d80 to d87 of the eleventh sub-data unit SDU111, and the twelfth code group CG212 includes column vectors CVb121 to CVb128 corresponding to data bits d88 to d95 of the twelfth sub-data unit SDU212.
[0079] Reference Fig.14A , each of the first code group CG21 to the fourth code group CG24 may include a common submatrix SMC2 and an individual submatrix SMI2, the common submatrix SMC2 of each of the first code group CG21 to the fourth code group CG24 has the same elements, and the individual submatrix SM21 of each of the first code group CG21 to the fourth code group CG24 has different elements.
[0080] Reference Fig. 14B and Fig. 14C , each of the fifth code group CG25 to the eighth code group CG28 and each of the ninth code group CG29 to the twelfth code group CG212 may include a common submatrix having the same elements and individual submatrices having different elements. Therefore, each of the first code group CG21 to the twelfth code group CG212 includes a common submatrix having the same elements, and the individual submatrices in each of the first code group CG21 to the twelfth code group CG212 include elements having the same logic level by row. Therefore, when the main data MD includes a plurality of error bits that cannot be corrected and / or detected by the first ECC ECC1b, the miscorrected bits generated due to the plurality of error bits may be collected in one or two sub-data units together with the plurality of error bits.
[0081] Fig.15 The exemplary embodiment according to the present disclosure is shown Figure 5 A first block array, an I / O gating circuit, and an error correction circuit in a semiconductor memory device. Fig.15, the first block array 310 of the semiconductor memory device 200 includes a normal cell area 311 and a redundant cell area 313. The I / O gating circuit 290 includes a plurality of switches 291a, 291b, and 291d. For example, the plurality of switches 291a, 291b, and 291d may be a multiplexer. The switches 291a and 291b are connected to the normal cell area 311, and the switch 291d is connected to the redundant cell area 313. The I / O gating circuit 290 receives main data MD and parity data PRT associated with the main data MD from the error correction circuit 400, stores the main data MD in the normal cell area 311, and stores the parity data PRT in the redundant cell area 313. The I / O gating circuit 290 performs the above-mentioned operation based on the first control signal CTL1 received from the control logic circuit 210, and the error correction circuit 400 performs ECC encoding and ECC decoding based on the second control signal CTL2 received from the control logic circuit 210.
[0082] Fig.16 An example of main data when a sub-data unit in the main data includes three error bits is shown. Fig.16 , the main data MD read from the normal cell area 311 includes the first sub-data unit DU1 to the eighth sub-data unit SDU8, and the first sub-data unit SUD1 includes the first error bit EB1, the second error bit EB2 and the third error bit EB3. In addition, the first sub-data unit SUD1 also includes the miscorrection bit MEB generated by the first error bit EB1, the second error bit EB2 and the third error bit EB3.
[0083] Due to the reference Figures 10 to 11B The first ECC ECC1a explained is a SECDED code, so when the main data MD includes a plurality of odd error bits, the error correction circuit 400 cannot correct and cannot detect the odd error bits, and may generate an error correction bit MEB. However, since the first ECC ECC1a includes a column vector having an element that collects the error correction bit MEB and the first error bit EB1, the second error bit EB2, and the third error bit EB3 in one symbol, the error correction circuit 130 in the memory controller 100 may correct the error correction bit MEB and the first error bit EB1, the second error bit EB2, and the third error bit EB3 in the first sub-data unit SDU1 by symbol.
[0084] Fig.17 is a flowchart illustrating a method of operating a semiconductor memory device according to an exemplary embodiment of the present disclosure. Figures 5 to 17In the method of operating the semiconductor memory device 200 including the memory cell array 300, the error correction circuit 400 generates parity data PRT based on the main data MD using the first ECC 415 (S110). The main data MD includes 2 p The data bits of the main data MD may be divided into first to eighth sub-data units, each of which includes (p+2) bits. The first ECC 415 may be represented by a generator matrix, which may include a plurality of column vectors, and the column vectors may be divided into first to eighth code groups corresponding to the first to eighth sub-data units, respectively. The column vectors may have elements that collect an error correction bit and a plurality of odd error bits in the main data into one symbol, and the error correction bit is generated by the plurality of odd error bits.
[0085] The error correction circuit 400 stores the main data MD and the parity data PRT in the memory cell array 300 via the I / O gating circuit 290 (S220). The error correction circuit 400 reads the main data MD and the parity data PRT from the memory cell array 300 via the I / O gating circuit 290 (S230). The error correction circuit 400 generates a check bit CHB based on the main data MD using the first ECC 415 (S140). The error correction circuit 400 corrects an error bit in the main data MD based on a comparison of the parity data PRT and the check bit CHB (S150).
[0086] Although the main data MD includes odd error bits that the error correction circuit 400 cannot correct and / or detect, the first ECC 415 has a column vector that collects odd error bits and miscorrection bits caused by the odd error bits in one symbol, and the memory controller 100 can correct the odd error bits and miscorrection bits by symbol.
[0087] Fig.18 is a flowchart illustrating a method of operating a memory system according to an exemplary embodiment of the present disclosure. Figures 1 to 16 and Fig.18In an operating method of a memory system 20 including a semiconductor memory device 200 and a memory controller 100 controlling the semiconductor memory device 200, an error correction circuit 130 in a memory controller 30 generates system parity data PRTc based on write data to be transmitted to the semiconductor memory device 200 by using a second ECC 155 (S210), and stores the system parity data PRTc in a buffer 145. The memory controller 100 transmits the write data to the semiconductor memory device 200 (S220). The error correction circuit 400 in the semiconductor memory device 200 performs ECC encoding on the write data using a first ECC 415 to generate parity data, and stores the write data and the parity data in a memory cell array 300.
[0088] The error correction circuit 400 in the semiconductor memory device 200 reads the data and parity data from the memory cell array 300 in response to the read command, performs ECC decoding on the read data using the first ECC 415, and sends the read data to the memory controller 100. The memory controller 100 receives the read data in response to the read command from the semiconductor memory device 200 (S230). The ECC decoder 160 in the memory controller 100 generates a check bit CHBc based on the read data using the second ECC 155 (S240). The ECC decoder 160 corrects a plurality of error bits in the read data by sign based on a comparison of the system parity data PRTc with the check bit CHBc.
[0089] Fig.19 is a block diagram showing a semiconductor memory device according to an exemplary embodiment of the present disclosure. Fig.19 , the semiconductor memory device 600 may include a first group of chips 610 and a second group of chips 620 that provide soft error analysis and correction functions in a stacked chip structure. The second group of chips 620 may be a high bandwidth memory (HBM). The first group of chips 610 may include at least one buffer chip 611. The second group of chips 620 may include a plurality of memory chips 620-1 to 620-u (u is a natural number greater than 2), which are stacked on the first group of chips 610 and transmit data through a plurality of through silicon via (TSV) lines.
[0090] Each of the memory chips 620-1 to 620-p may include a unit core 622, and the unit core 622 may include a memory cell array having a data area and a parity area, an I / O gating circuit, and a control logic circuit. The buffer chip 611 may include an error correction circuit 612, and when a transmission error is detected from the transmission data received through the TSV line, the error correction circuit 612 uses the transmission parity bit to correct the transmission error and generates error-corrected data. The error correction circuit 612 may be referred to as a via error correction circuit. The semiconductor memory device 600 may be a stacked chip memory device or a stacked memory device, which transmits data and control signals through TSV lines. TSV lines are also referred to as through electrodes.
[0091] A transmission error may occur in the transmission data due to noise occurring at the TSV line. Because the data failure caused by the noise occurring at the TSV line is distinguishable from the data failure caused by the misoperation of the memory chip, it is regarded as a soft data error (or soft error). Soft data errors may be caused by transmission failures on the transmission path and can be detected and corrected by ECC operations. For example, when the transmission data is 64 bits of data, the transmission parity bit may be set to 8 bits. However, the scope and spirit of the present disclosure are not limited to this. The number of transmission parity bits may be increased or decreased. Through the above description, the TSV line group 632 formed in a memory chip 620-u may include 64 TSV lines L1 to Lu, and the parity TSV line group 634 may include 8 TSV lines L10 to Lv. The TSV lines L1 to Lu of the data TSV line group 632 and the parity TSV lines L10 to Lv of the parity TSV line group 634 may be connected to micro bumps MCB formed correspondingly between the memory wafers 620-1 to 620-u. Each of the memory wafers 620-1 to 620-u may include a DRAM cell, each of which includes at least one access transistor and one storage capacitor.
[0092] The semiconductor memory device 600 may have a three-dimensional (3D) chip structure or a 2.5D chip structure to communicate with the host through the data bus B10. The buffer chip 610 may be connected to the host through the data bus B10. The error correction circuit 612 may determine whether a transmission error occurs in the transmission data received through the data TSV line group 632 based on the transmission parity bit received through the parity TSV line group 634. When a transmission error is detected, the error correction circuit 612 may correct the transmission error for the transmission data using the transmission parity bit. When the transmission error is uncorrectable, the error correction circuit 612 may output information indicating that an uncorrectable data error has occurred.
[0093] The error correction circuit 612 may be used Figure 7 The error correction circuit 400 of FIG. Therefore, the error correction circuit 612 may include an ECC memory storing a first ECC, an ECC encoder, and an ECC decoder. The error correction circuit 612 may perform ECC encoding and ECC decoding by using the first ECC, and the first ECC may include a plurality of column vectors, and when the read main data includes a plurality of odd error bits, the column vectors collect the plurality of odd error bits and the miscorrected bits caused by the plurality of odd error bits in one symbol.
[0094] Fig. 20 According to the exemplary embodiment of the present disclosure, Fig.19 A cross-sectional view of a 3D chip structure of a semiconductor memory device. Fig. 20 FIG. 7 shows a 3D chip structure 700 in which the host and the HBM are directly connected without an intermediate layer. Fig. 20 , a host wafer 710 such as a system chip (SoC), a central processing unit (CPU), or a graphics processing unit (GPU) may be arranged on a printed circuit board (PCB) 720 using flip chip bumps FB. The memory wafers D11 to D14 may be stacked on the host wafer 720 to implement the HBM structure 620 as Fig.19 The memory chip in Fig. 20 In, omitted Fig.19 The buffer chip 610 or the logic chip of the host chip 720. However, the buffer chip 610 or the logic chip may be arranged between the memory chip D11 and the host chip 720. The buffer chip may include an error correction circuit, and the error correction circuit may perform ECC encoding and ECC decoding using the first ECC. The first ECC may include a plurality of column vectors to collect a plurality of odd error bits and miscorrected bits caused by the plurality of odd error bits in one symbol when the read main data includes the plurality of odd error bits. In order to realize the HBM (620) structure, TSV lines may be formed at the memory chips D11 and D14. The TSV lines may be electrically connected to the micro-bumps MCB located between the memory chips.
[0095] Fig.21 is a diagram showing a semiconductor package including a stacked memory device according to an exemplary embodiment of the present disclosure. Fig.21 , the semiconductor package 900 may include one or more stacked memory devices 910 and memory controllers 920. The stacked memory devices 910 and memory controllers 920 may be mounted on an interposer 930, and the interposer on which the stacked memory devices 910 and memory controllers 920 are mounted may be mounted on a package substrate 940. The memory controller 920 may be mounted using Figure 11. The memory controller 100 in the embodiment of the present invention. Each of the stacked memory devices 910 may be implemented in various forms, and may be a memory device in the form of a high bandwidth memory (HBM) in which a plurality of layers are stacked. Therefore, each of the stacked memory devices 910 may include a buffer die and a plurality of memory dies. The buffer die may include an error correction circuit, and each of the memory dies may include a memory cell array.
[0096] The error correction circuit may perform ECC encoding and ECC decoding using the first ECC. The first ECC may include a plurality of column vectors to collect a plurality of odd error bits and miscorrected bits caused by the plurality of odd error bits in one symbol when read main data includes the plurality of odd error bits.
[0097] The plurality of stacked memory devices 910 may be mounted on the interposer 930, and the memory controller 920 may communicate with the plurality of stacked memory devices 910. For example, each of the stacked memory devices 910 and the memory controller 920 may include a physical area, and communication may be performed between the stacked memory devices 910 and the memory controller 920 through the physical area. Meanwhile, when each of the stacked memory devices 910 includes a direct access area, a test signal may be provided to each of the stacked memory devices 910 through a conductive device (e.g., a solder ball 950) mounted under the package substrate 940 and the direct access area.
[0098] As described above, according to an exemplary embodiment, the ECC includes a plurality of column vectors corresponding to data bits, the column vectors are divided into a plurality of code groups corresponding to sub-data units of main data, and the column vectors have elements that collect a plurality of odd error bits and miscorrection bits due to the plurality of odd error bits in one symbol when the main data includes the plurality of odd error bits. The one symbol includes one or two adjacent sub-data units.
[0099] Therefore, although the main data includes multiple error bits that the error correction circuit cannot correct and / or detect, the error correction circuit in the memory controller can correct the multiple error bits and miscorrection bits in the sub-data unit because the multiple error bits and miscorrection bits are collected in the sub-data unit.
[0100] The exemplary embodiments of the present disclosure may be applied to semiconductor memory devices and memory systems that employ the ECC described herein. Although the present disclosure is specifically shown and described with reference to the exemplary embodiments of the present disclosure, it should be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the present disclosure as defined in the claims.
Claims
1. An error correction circuit, include: an error correction code memory configured to store an error correction code represented by a generator matrix; as well as an error correction code engine configured to generate parity data from primary data using an error correction code, and to detect and / or correct at least one error bit in the primary data using the parity data; Wherein, the main data includes a plurality of data bits divided into a plurality of sub-data units; wherein the error correction code comprises a plurality of column vectors divided into a plurality of code groups corresponding to respective sub-data units in the sub-data units; wherein the plurality of column vectors have elements configured to collect miscorrected bits and a plurality of error bits in one symbol; wherein each of the plurality of code groups comprises a common sub-matrix and an individual sub-matrix, the common sub-matrix of each of the plurality of code groups is the same, the individual sub-matrix of each of the plurality of code groups has different elements, and a column vector associated with each of the plurality of code groups comprises error correction code data in a corresponding common sub-matrix and error correction code data in a corresponding individual sub-matrix, The miscorrected bits are generated when the plurality of error bits exist in the main data.
2. The error correction circuit according to claim 1, in, The one symbol includes one of the sub-data units or two adjacent sub-data units among the sub-data units; wherein the multiple error bits include odd error bits; and wherein the column vector has elements configured to arrange the miscorrection bits in the sub-data unit including the multiple error bits.
3. The error correction circuit according to claim 1, in, The multiple error bits include a first error bit, a second error bit and a third error bit; wherein when a first sub-data unit of the sub-data unit includes the first error bit, the second error bit and the third error bit, a first code group corresponding to the first sub-data unit includes a plurality of first column vectors; and wherein the plurality of first column vectors are configured so that a result of a bitwise exclusive OR operation on three different column vectors of the first column vector matches one of the column vectors of the first column vector other than the three different column vectors.
4. The error correction circuit according to claim 1, in, The plurality of error bits include a first error bit, a second error bit, and a third error bit; wherein, when a first sub-data unit and a second sub-data unit of the sub-data unit include the first error bit, the second error bit, and the third error bit, a first code group of the plurality of code groups corresponding to the first sub-data unit includes a plurality of first column vectors, and a second code group of the plurality of code groups corresponding to the second sub-data unit includes a plurality of second column vectors; and The plurality of first column vectors and the plurality of second column vectors are configured such that a result of a bitwise XOR operation on three different column vectors of the first column vector and the second column vector matches one column vector of the first column vector and the second column vector other than the three different column vectors.
5. The error correction circuit according to claim 1, in, The main data include 2 p bits, wherein p is an integer greater than or equal to 6; wherein the parity data includes a parity check bit of p+2 bits; wherein the error correction code is a single error correction and double error detection code; wherein the sub-data unit includes a first sub-data unit to an eighth sub-data unit, and each of the first sub-data unit to the eighth sub-data unit includes p+2 bits; and wherein the code group includes a first code group to an eighth code group corresponding to the first sub-data unit to the eighth sub-data unit, respectively.
6. The error correction circuit according to claim 5, in, Each of the first to eighth code groups includes a first to p+2th column vector; and wherein each of the first to p+2th column vectors includes p+2 elements.
7. The error correction circuit according to claim 1, in, The main data includes 3×2 q bits, wherein q is an integer greater than or equal to 6; wherein the parity data includes q+3 bits of parity check bits; wherein the error correction code is a single error correction and double error detection code; wherein the sub-data unit includes a first sub-data unit to a twelfth sub-data unit, and each of the first sub-data unit to the twelfth sub-data unit includes q+3 bits; and wherein the plurality of code groups include a first code group to a twelfth code group corresponding to the first sub-data unit to the twelfth sub-data unit, respectively.
8. The error correction circuit according to claim 7, in, Each of the first to twelfth code groups includes a first to q+3th column vector; and wherein each of the first to q+3th column vectors includes q+3 elements.
9. The error correction circuit according to claim 1, in, The error correction code engine comprises: an ECC encoder configured to perform an ECC encoding operation on the primary data using the ECC code during a memory write operation to generate the parity data; and An ECC decoder is configured to perform an ECC decoding operation on the main data based on the parity data using the ECC code during a memory read operation.
10. The error correction circuit according to claim 9, in, The error correction code decoder comprises: a check bit generator configured to generate a check bit based on the main data using the error correction code; a syndrome generator configured to generate syndrome data based on a comparison of the check bit and the parity data; and A data corrector is configured to correct at least one erroneous bit in the primary data.
11. A semiconductor memory device, include: a memory cell array comprising a plurality of block arrays respectively including a normal cell area and a redundant cell area, the normal cell area storing primary data, the redundant cell area storing first parity data associated with the corresponding primary data, and each of the plurality of block arrays comprising a plurality of dynamic memory cells coupled to word lines and bit lines; an error correction circuit configured to generate parity data based on the main data using an error correction code, and to correct at least one error bit in the main data using the parity data, wherein the error correction code is represented by a generator matrix; and a control logic circuit configured to control the error correction circuit based on commands and addresses; Wherein, the main data includes a plurality of data bits divided into a plurality of sub-data units; wherein the error correction code comprises a plurality of column vectors divided into a plurality of code groups corresponding to the sub-data units; wherein each of the plurality of code groups comprises a common sub-matrix and an individual sub-matrix, the common sub-matrix of each of the plurality of code groups is the same, the individual sub-matrix of each of the plurality of code groups has different elements, and a column vector associated with each of the plurality of code groups comprises error correction code data in a corresponding common sub-matrix and error correction code data in a corresponding individual sub-matrix; and The column vector has elements configured to collect an error correction bit and a plurality of error bits in one symbol, wherein the error correction bit is generated due to the plurality of error bits in the main data.
12. The semiconductor memory device according to claim 11, in: The one symbol includes one of the sub-data units or two adjacent sub-data units among the sub-data units; The plurality of error bits include odd error bits; and The column vector has elements configured to arrange the miscorrection bits in a sub-data unit including the plurality of erroneous bits.
13. The semiconductor memory device according to claim 11, in, The multiple error bits include a first error bit, a second error bit, and a third error bit; wherein, when a first sub-data unit of the sub-data unit includes the first error bit, the second error bit, and the third error bit, a first code group corresponding to the first sub-data unit includes a plurality of first column vectors; and wherein the plurality of first column vectors are configured so that a result of a bitwise exclusive OR operation on three different column vectors of the first column vector matches a column vector of the first column vector other than the three different column vectors.
14. The semiconductor memory device according to claim 11, in, The main data include 2 p bits, wherein p is an integer greater than or equal to 6; wherein the parity data includes a parity check bit of p+2 bits; wherein the error correction code is a single error correction and double error detection code; wherein the sub-data unit includes a first sub-data unit to an eighth sub-data unit, and each of the first sub-data unit to the eighth sub-data unit includes p+2 bits; and wherein the code group includes a first code group to an eighth code group corresponding to the first sub-data unit to the eighth sub-data unit, respectively.
15. The semiconductor memory device according to claim 11, include: at least one buffer wafer; as well as a plurality of memory chips, the plurality of memory chips being stacked on the at least one buffer chip and transmitting data through a plurality of through silicon vias; Each of the plurality of memory chips comprises the memory cell array, and Wherein, the at least one buffer chip includes the error correction circuit.
16. A memory system, include: Semiconductor memory devices; as well as a memory controller configured to control the semiconductor memory device; Wherein, the semiconductor memory device comprises: A memory cell array comprising a plurality of block arrays, wherein each of the plurality of block arrays comprises a normal cell area and a redundant cell area, the normal cell area stores primary data, the redundant cell area stores first parity data associated with the primary data, and wherein each of the plurality of block arrays comprises a plurality of dynamic memory cells coupled to word lines and bit lines; an error correction circuit configured to generate the parity data based on the main data using a first error correction code, and to correct at least one error bit in the main data using the parity data, wherein the first error correction code is represented by a generator matrix; and a control logic circuit configured to control the error correction circuit based on commands and addresses provided from the memory controller; Wherein, the main data includes a plurality of data bits divided into a plurality of sub-data units; wherein the first error correction code comprises a plurality of column vectors divided into a plurality of code groups corresponding to the sub-data units, wherein each of the plurality of code groups comprises a common sub-matrix and an individual sub-matrix, the common sub-matrix of each of the plurality of code groups is the same, the individual sub-matrix of each of the plurality of code groups has different elements, and the column vector associated with each of the plurality of code groups comprises error correction code data in the corresponding common sub-matrix and error correction code data in the corresponding individual sub-matrix, and The column vector has elements configured to collect an error correction bit and a plurality of error bits in one symbol, wherein the error correction bit is generated due to the plurality of error bits in the main data.
17. The memory system according to claim 16, in: The one symbol includes one of the sub-data units or two adjacent sub-data units among the sub-data units; The plurality of error bits include odd error bits; The column vector has elements configured to arrange the miscorrection bits in a sub-data unit including the plurality of error bits; and The first error correction code is a single error correction and double error detection code.
18. The memory system according to claim 16, in, The memory controller includes a second error correction circuit; Wherein, the second error correction circuit comprises: a parity bit generator configured to generate system parity data based on main data to be transmitted to the semiconductor memory device using a second error correction code; a buffer configured to store the system parity data; and An error correction code decoder is configured to generate check bits based on read main data received from the semiconductor memory device using the second error correction code, and is configured to correct a plurality of error bits in the read main data based on a comparison of the check bits with the system parity data.
19. The memory system according to claim 18, in, The second error correction code is a code that corrects the plurality of error bits in the read main data by sign.
20. The memory system according to claim 19, in: The error correction code decoder is configured to allocate one or two of the plurality of sub-data units in the read main data as one symbol, and is also configured to correct the plurality of error bits in the one symbol.
