Storage controller, storage system, and method for operating a storage controller
By introducing error estimation, judgment, error correction and selection units into the memory controller, multiple memory data reception paths are optimized, solving the problem of difficulty in balancing data processing speed and reliability in the existing technology, and achieving efficient data reception. and correction.
Patent Information
- Application Number
- CN202011343822.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-01-17
- Filing Date
- 2020-11-25
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-11-25
AI Technical Summary
It is difficult for existing storage controllers to ensure high reliability and high speed at the same time when processing data in multiple memories. In particular, there is a problem of low error correction efficiency in time-sensitive data processing in artificial intelligence applications.
A memory controller is designed, which includes an error estimation unit, a decision unit, an error correction unit and a selection unit. It receives data simultaneously through multiple parallel input channels, estimates the error level, performs logical operations to generate operation data, and selects correction based on the error information. error data and optimize the data reception path to improve reliability and speed.
It achieves efficient reception of data from multiple memories, optimizes reliability and reception speed, is suitable for time-sensitive AI application fields, and improves the overall performance of data processing.
Smart Images

Figure CN113138948B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the priority of Korean Patent Application No. 10-2020-0006573 filed on January 17, 2020 in the Korean Intellectual Property Office (KIPO), the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0003] The present disclosure relates generally to semiconductor integrated circuits, and more particularly to a memory controller, a memory system, and a method of operating a memory controller. Background Art
[0004] Artificial intelligence (AI) technology refers to the use of computer systems to simulate human capabilities, such as perception, learning, reasoning, and / or natural language processing. AI technology is widely used in various industries. AI applications in fields such as security, transportation, protection, and healthcare may benefit from high speed and / or reliability, and the data covered in these AI applications may be particularly time-sensitive. Summary of the invention
[0005] Embodiments of the present disclosure may provide a memory controller, a memory system, and / or a method of operating a memory controller capable of having a high operating speed and / or high reliability.
[0006] According to an exemplary embodiment, a memory controller includes a plurality of parallel input channels, an error estimation unit, a decision unit, an error correction unit, and a selection unit, wherein the plurality of parallel input channels are configured to simultaneously receive a plurality of data from a plurality of memories, respectively. The error estimation unit generates error information by estimating error levels of the plurality of data. The decision unit performs a logical operation on the plurality of data to generate operation data. The error correction unit generates error correction data by correcting errors of the operation data. The selection unit selects one of the operation data and the error correction data based on the error information.
[0007] According to an exemplary embodiment, a storage system includes a storage memory and a storage controller, wherein the storage memory is configured to store a plurality of data in a plurality of basic redundant memories, respectively. The storage controller includes: an error estimation unit configured to generate error information by estimating error levels of the plurality of data; a decision unit configured to perform a logical operation on the plurality of data to generate operation data; an error correction unit configured to generate error correction data by correcting errors of the operation data; and a selection unit configured to select one of the operation data and the error correction data based on the error information.
[0008] According to an exemplary embodiment, a method of operating a storage controller includes: simultaneously receiving a plurality of data from basic redundant memory channels respectively; generating error information by estimating error levels of the plurality of data; performing a logical operation on the plurality of data to generate operation data; generating error correction data by correcting errors of the operation data; and selecting one of the operation data and the error correction data based on the error information.
[0009] The method may include performing a logical operation of a majority voting operation, a NAND operation, or an OR operation.
[0010] The method may include performing a logic operation on a plurality of data to generate hard decision error data, wherein performing the logic operation includes performing a majority voting operation, wherein the error correction data is generated based on the hard decision error data.
[0011] The method may include performing a second logic operation on the plurality of data to generate soft decision error data, wherein performing the second logic operation includes performing an XOR operation, and wherein the error correction data is generated based on the soft decision error data.
[0012] The storage controller, storage system and method for operating the storage controller according to the exemplary embodiment can efficiently receive multiple data corresponding to each of the multiple memories. In addition, the storage controller, storage system and method for operating the storage controller of the exemplary embodiment can efficiently receive multiple data through various paths, thereby optimizing at least one of reliability or reception speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Exemplary embodiments of the present disclosure will be more clearly understood through the following detailed description in conjunction with the accompanying drawings, in which:
[0014] Figure 1 is a schematic block diagram illustrating a storage controller according to an exemplary embodiment of the present disclosure;
[0015] Figure 2 is a schematic block diagram illustrating a storage controller according to an exemplary embodiment of the present disclosure;
[0016] Figure 3 It is shown Figure 2 A schematic circuit diagram of a gate circuit of an exemplary embodiment included in a hard decision unit of;
[0017] Figure 4 Is used to illustrate the Figure 3 Data graph of the logic operations performed by the gate circuits;
[0018] Figure 5 It is shown Figure 2A schematic circuit diagram of a gate circuit of an exemplary embodiment included in a hard decision unit of;
[0019] Fig. 6A Is used to describe Figure 5 A graph of a logical operation performed by a logical OR circuit included in a gate circuit of;
[0020] Figure 6B Is used to describe Figure 5 A data diagram of a logical operation performed by a logical OR circuit included in a gate circuit;
[0021] Fig. 7A Is used to illustrate the Figure 5 A graph of the logical operation performed by a logical AND circuit;
[0022] Figure 7B Is used to illustrate the Figure 5 A data diagram of the logical operation performed by a logical AND circuit;
[0023] Figure 8 is a schematic block diagram illustrating a storage controller according to an exemplary embodiment of the present disclosure;
[0024] Fig. 9 Is used to describe Figure 8 A data diagram of the logic operation performed by the soft decision unit;
[0025] Fig.10 is a schematic block diagram illustrating a storage controller according to an exemplary embodiment of the present disclosure;
[0026] Fig.11 is a schematic block diagram illustrating a storage controller according to an exemplary embodiment of the present disclosure;
[0027] Fig.12 is a flowchart illustrating a method of operating a storage controller according to an exemplary embodiment of the present disclosure;
[0028] Fig.13 is a schematic block diagram illustrating a memory system according to an exemplary embodiment of the present disclosure;
[0029] Fig.14 It is shown Fig.13 A schematic block diagram of an exemplary embodiment of a memory device included in a memory system of;
[0030] Fig.15A It is shown Fig.14 A perspective view of a memory cell array in FIG.
[0031] Fig. 15B It is shown Fig.15A A circuit diagram of an equivalent circuit of a memory block in;
[0032] Fig.16 is a schematic block diagram illustrating a memory system according to an exemplary embodiment of the present disclosure; and
[0033] Fig.17 is a schematic block diagram illustrating a solid state disk or solid state drive (SSD) according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0034] Hereinafter, exemplary embodiments will be described more fully with reference to the accompanying drawings, but exemplary embodiments are not limited thereto. In the accompanying drawings, the same reference numerals may always refer to the same elements. Repeated descriptions may be omitted.
[0035] Figure 1 A memory controller according to an exemplary embodiment is shown.
[0036] Reference Figure 1 , a storage system may include a storage controller 1000 , a host 2000 , and a storage memory 500 .
[0037] The storage system may constitute part of an artificial intelligence (AI) system that may be applied to fields such as security, transportation, protection, healthcare, or fields with similar speed and / or reliability specifications. The storage controller 1000 may store data used by the AI system in the storage memory 500 in response to a write command sent from the host 2000, and may receive data from the storage memory 500 in response to a read command sent from the host 2000.
[0038] Here, the storage memory 500 may include a plurality of memories, and data of the same content may be stored in each of the plurality of memories in a distributed, redundant and / or duplicated form. For example, the storage memory 500 may include a redundant array of independent disks (RAID), such as a RAID composed of an up flash memory channel, but is not limited thereto.
[0039] When reading the stored data, the storage controller 1000 can receive and utilize data from multiple memories at the same time. In this way, although some duplicate data may include errors, other duplicate data can be used to correct errors and thus maintain the reliability of data used for the AI system. The storage system can be referred to as a system to which hardware multiplexing technology is applied. The AI field to which the storage system is applied can be closely related to human life, for example, and maintains high reliability of data stored in and provided by the storage system.
[0040] In a storage system with high speed and / or high data reliability, the storage controller 1000 may include an error estimation unit (EEU) 100 , a decision unit (DU) 120 , an error correction unit (ECU) 140 , and a selection unit (SU) 160 .
[0041] The error estimation unit 100 and the decision unit 120 may simultaneously receive redundantly stored data from each of the multiple memories in the form of a bit stream through multiple channels (CH[0:M]; where M is a natural number). Hereinafter, data received from one of the multiple memories in the form of a bit stream may be referred to as "one data", and data received from all the multiple memories in the form of a bit stream may be referred to as "multiple data". Each of the multiple data generally includes corresponding bits located at the same bit position. When there is no error in the multiple data, the values of the corresponding bits have the same value. However, when there is an error in the multiple data, the values of the corresponding bits may be different from each other.
[0042] The error estimation unit 100 can estimate the error level of the plurality of data based on the plurality of data and generate error information ERRI as a result of the estimation. Errors in the plurality of data can increase as the number of repeated programming / erasing (P / E) cycles of a memory cell (e.g., a flash memory cell) increases, a memory cell in a programmed state is repeatedly read, or a memory cell is ignored for a long time after being programmed.
[0043] When the error level of the plurality of data is estimated to be higher than a preset level, the error information ERRI is set to have a first logic value; and when the error level of the plurality of data is estimated to be lower than a preset level, the error information ERRI is set to have a second logic value, but is not limited thereto.
[0044] The error estimation unit 100 may send error information ERRI to the error correction unit 140 and the selection unit 160. Figure 2 and Figure 8 The error message ERRI is further described.
[0045] The decision unit 120 may generate the operation data DTR by performing a logic operation on the plurality of data. The logic operation may be performed based on the corresponding bit of each of the plurality of data. When the error level of the plurality of data is relatively low, the logic operation may be performed to quickly correct the errors present in the plurality of data, so the error correction unit 140 does not need to perform a higher level of correction.
[0046] In addition, the decision unit 120 may generate decision error data ILE based on the plurality of data. The decision error data ILE may indicate a location in the operation data where an uncorrected error is relatively more likely to exist after or despite the execution of the logic operation. An exemplary embodiment of the configuration of the decision unit 120 may be further described below.
[0047] The error correction unit 140 may receive the operation data DTR from the decision unit 120. The error correction unit 140 may correct uncorrected errors present in the operation data DTR to generate error correction data CDTR. The error correction unit 140 may use various error correction codes (ECC) or similar schemes when correcting errors.
[0048] The error correction unit 140 may receive the decision error data ILE from the decision unit 120. The error correction unit 140 corrects errors existing in the operation data DTR according to positions where uncorrected errors may exist based on the decision error data ILE to generate error correction data CDTR.
[0049] The error correction unit 140 may receive the error information ERRI from the error estimation unit 100. The error correction unit 140 may be enabled or disabled based on the error correction information ERRI. According to an embodiment, when the error information ERRI has a first logic value, the error correction unit 140 may be enabled to generate the error correction data CDTR, and when the error information ERRI has a second logic value, the error correction unit 140 may be disabled so as not to generate the error correction data CDTR. However, the scope of the present disclosure is not limited thereto.
[0050] In other embodiments, the error information ERRI may be a digital signal instead of a logic value signal, and / or may have more than two possible values. For example, the first value of ERRI may indicate the unconditional use of DTR, the second value of ERRI may indicate the unconditional use of CDTR, and the third value of ERRI may indicate the use of DTR or CDTR based on the value of ILE. In such an embodiment, the ECU 140 may output DTR as CDTR based on ERRI and ILE, or output CDTR in other ways.
[0051] The selection unit 160 may receive the operation data DTR from the decision unit 120 , the error correction data CDTR from the error correction unit 140 , and the error information ERRI from the error estimation unit 100 .
[0052] The selection unit 160 may select one of the operation data DTR and the error correction data CDRR based on the error information ERRI, and output the selected data to the host 2000. According to an embodiment, when the error information ERRI has a first logic value, the selection unit 160 selects the error correction data CDTR, and when the error information ERRI has a second logic value, the selection unit 160 selects the operation data DTR. However, the scope of the present disclosure is not limited thereto.
[0053] Figure 2 A storage controller according to an embodiment of the present disclosure is shown.
[0054] Reference Figure 1 and Figure 2 , the storage controller 1000-1 includes an error estimation unit 100-1, a hard decision unit (HDU) 120-1, an error correction unit 140, and a selection unit 160-1. Figure 1 and Figure 2 Components with the same reference numerals perform similar functions, and repeated descriptions may be omitted.
[0055] The error estimation unit 100-1 and the hard decision unit 120-1 can simultaneously receive a plurality of data DTR0, DTR1, and DTR2 representing the same information in the form of data streams through a plurality of channels CH[0], CH[1], and CH[2]. Here, data DTR0 is data received through channel CH[0], data DTR1 is data received through channel CH[1], and data DTR2 is data received through channel CH[2]. Figure 2 Only three channels CH[0], CH[1], and CH[2] are shown in FIG. 1 , but for ease of description, the number of channels is exemplary, and the scope of the present disclosure is not limited thereto.
[0056] The error estimation unit 100 - 1 estimates error levels of the plurality of data DTR0 , DTR1 , and DTR2 based on the plurality of data DTR0 , DTR1 , and DTR2 , and provides error information ERRI as an estimation result.
[0057] When the error level of the plurality of data DTR0, DTR1, and DTR2 is estimated to be equal to or higher than a preset level, the error information ERRI is set to have a first logic value; when the error level is estimated to be less than the preset level, the error information ERRI is set to have a second logic value. According to an embodiment, the estimation of the error level may be performed by checking the corresponding bits of the data DTR0, DTR1, and DTR2 in units of one bit. However, according to another embodiment, the estimation of the error level may be performed by checking in units of a plurality of bits.
[0058] The error estimation unit 100-1 may further include other components for estimating the error level. According to an embodiment, the error estimation unit 100-1 may further include a syndrome operation unit (SOU) 102. In this case, the error estimation unit 100-1 may estimate the error level based on the syndrome data generated by the syndrome operation unit 102.
[0059] The hard decision unit 120-1 may perform a logic operation on the plurality of data DTR0, DTR1, and DTR2 to generate hard decision operation data HDTR. The logic operation may be performed based on the corresponding bit of each of the plurality of data DTR0, DTR1, and DTR2. The logic operation may be performed to quickly correct errors present in the plurality of data DTR0, DTR1, and DTR2, but the logic operation does not necessarily reach the correction level that the error correction unit 140 can perform.
[0060] The hard decision unit 120-1 may include a gate circuit including a plurality of logic gates for performing a logic operation. Figure 2 An embodiment of the hard decision unit 120-1 performs a process of logic operation.
[0061] Figure 3 shows that it can be included in Figure 2 An exemplary embodiment of a gate circuit in a hard decision unit of Figure 4 To illustrate the Figure 3 The logic operations performed by the gate circuits.
[0062] Reference Figure 3 , the gate circuit 120-1a may include a majority voting circuit that implements a Boolean logic majority function or a median operator. According to an embodiment, the majority voting circuit may include logic AND gates 120-11, 120-12, and 120-13 and a logic OR gate 120-14. In other embodiments, these gates may be replaced by NAND gates.
[0063] The gate 120-11 receives the data DTR0 and DTR1 to perform a logical AND operation, the gate 120-12 receives the data DTR1 and DTR2 to perform a logical AND operation, and the gate 120-13 receives the data DTR2 and DTR0 to perform a logical AND operation. The gate 120-14 may perform a logical OR operation by receiving the result of performing the logical AND operation of each of the gates 120-11, 120-12, and 120-13. According to an embodiment, the gate circuit 120-1a may perform a majority voting logic operation based on corresponding bits of a plurality of data DTR0, DTR1, and DTR2 (e.g., DTR0[k], DTR1[k], and DTR2[k], where k is an integer greater than or equal to 0). The majority voting logic operation is based on the following empirical fact: the probability of an error occurring in the majority of bits among the bits DTR0[k], DTR1[k], and DTR2[k] is small.
[0064] The bits DTR0[k], DTR1[k] and DTR2[k] may have a first value or a second value. According to an embodiment, the first value is "1" and the second value is "0". According to another embodiment, the first value may be "0" and the second value may be "1".
[0065] Figure 4 The result of the majority voting logic operation MJR performed by the gate circuit 120 - 1 based on the corresponding bits of the plurality of data is shown.
[0066] Reference Figure 3 and Figure 4 , when the number of bits having the first value among the corresponding bits DTR0[k], DTR1[k], and DTR2[k] exceeds the number of bits having the second value among the corresponding bits DTR0[k], DTR1[k], and DTR2[k], the gate circuit 120-1a sets the bit value of the hard decision operation data HDTR to the first value. When the number of bits having the second value among the corresponding bits DTR0[k], DTR1[k], and DTR2[k] exceeds the number of bits having the first value among the corresponding bits DTR0[k], DTR1[k], and DTR2[k], the gate circuit 120-1a sets the bit value of the hard decision operation data HDTR to the second value. That is, as a result of performing a majority voting logic operation on the corresponding bits DTR0[k], DTR1[k], and DTR2[k], the gate circuit 120-1a can partially correct errors existing in the plurality of data DTR0, DTR1, and DTR2.
[0067] Figure 5 Shows Figure 2 An exemplary embodiment of a gate circuit that may be included in a hard decision unit of .
[0068] Reference Figure 5 , the gate circuit 120-1b may include a logic OR circuit, a logic AND circuit, and a majority voting circuit. According to an embodiment, the logic OR circuit includes a logic OR gate 120-16; the logic AND circuit includes a logic AND gate 120-15; the majority voting circuit includes logic AND gates 120-11, 120-12, and 120-13, and a logic OR gate 120-14. Here, the gate 120-16 receives a plurality of data DTR0, DTR1, and DTR2 to perform a logic "OR" operation, and the gate 120-15 receives a plurality of data DTR0, DTR1, and DTR2 to perform a logic "AND" operation. As has been mentioned above Figure 3 and Figure 4 The majority voting logic operation is described, so repeated description may be omitted. According to an embodiment, the gate circuit 120-1b may further include a multiplexer 120-17. The multiplexer 120-17 may be configured to select one of the result of the logic OR operation performed by the gate 120-16, the result of the logic AND operation performed by the gate 12-15, and the result of the majority voting logic operation performed by the majority voting circuit, and generate the selected result as the hard decision operation data HDTR.
[0069] The gate circuit 120-1b can perform any one or more of a logical OR operation, a logical AND operation, and a majority voting logical operation based on corresponding bits in multiple data DTR0, DTR1, and DTR2 (e.g., DTR0[k], DTR1[k], and DTR2[k]); where k is an integer greater than or equal to 0.
[0070] When it is estimated that an error (hereinafter referred to as "first error") existing in multiple data DTR0, DTR1 and DTR2 may occur because the number of reprogrammable / erasable P / Es is exceeded or memory cells in a programmed state are continuously read, a logical OR operation can be performed.
[0071] When it is estimated that an error (hereinafter referred to as a "second error") existing in the plurality of data DTR0, DTR1, and DTR2 may occur because the limit of the ability of the memory cell to reliably store data after being programmed long ago is exceeded, a logical AND operation may be performed. Hereinafter, the logical OR operation and the logical AND operation may be described in more detail.
[0072] Fig. 6A and Figure 6B Used to describe Figure 5 The gate circuit includes a logical OR circuit that performs a logical operation. Fig. 7A and Figure 7B To illustrate the Figure 5 The logical AND circuit performs a logical operation.
[0073] Reference Fig. 6A , when a plurality of data DTR0, DTR1, and DTR2 are stored in the NAND cell, the distribution of the original erased state ERS0 of the NAND cell may change to the distribution of the degraded state ERS shifted to the right. Here, the horizontal axis represents the threshold voltage VTH of the NAND cell, and the vertical axis represents the number of NAND cells having the threshold voltage VTH. Such a change in the distribution of the NAND cell may occur when the P / E cycle is repeated, or when read disturbance occurs due to repeated read operations performed on the memory cell in the programmed state.
[0074] Figure 6B 1 shows a result of a logical OR operation when the gate circuit 120-1b performs a logical OR operation based on corresponding bits (e.g., DTR0[k], DTR1[k], and DTR2[k]) in the plurality of data DTR0, DTR1, and DTR2; wherein k is an integer greater than or equal to 0. As a result of performing a logical OR operation on the corresponding bits DTR0[k], DTR1[k], and DTR2[k], the gate circuit 120-1b can partially detect or correct a first error present in the plurality of data DTR0, DTR1, and DTR2.
[0075] Reference Fig. 7A , when multiple data DTR0, DTR1, and DTR2 are stored in a NAND cell, the distribution of the original programming state PGM0 of the NAND cell may change to the distribution of the degraded state PGM shifted to the left. Here, the horizontal axis represents the threshold voltage VTH of the NAND cell, and the vertical axis represents the number of NAND cells having the threshold voltage VTH. Such a change in the distribution of the NAND cell may occur when the memory cell exceeds the time limit of reliable data retention due to a long delay after the programming operation.
[0076] Figure 7B 1 shows a result of a logical AND operation when the gate circuit 120-1b performs a logical AND operation based on corresponding bits DTR0[k], DTR1[k], and DTR2[k] in the plurality of data DTR0, DTR1, and DTR2; wherein k is an integer greater than or equal to 0. That is, as a result of performing a logical AND operation on the corresponding bits DTR0[k], DTR1[k], and DTR2[k], the gate circuit 120-1b can partially detect or correct a second error existing in the plurality of data DTR0, DTR1, and DTR2.
[0077] Return to reference Figure 2 , the hard decision unit 120 - 1 may generate hard decision error data HILE based on the plurality of data DTR0 , DTR1 , and DTR2 .
[0078] The hard decision error data HILE may include data as bits corresponding to bits of the hard decision operation data HDTR, indicating locations where uncorrected errors may exist in the hard decision operation data HDTR despite the execution of a logic operation. According to an embodiment, when the corresponding bits DTR0[k], DTR1[k], and DTR2[k] have both a first value and a second value and when the difference between the number of bits having the first value among the corresponding bits DTR0[k], DTR1[k], and DTR2[k] and the number of bits having the second value among the corresponding bits DTR0[k], DTR1[k], and DTR2[k] is equal to or less than a predetermined value, the hard decision unit 120-1 may set the bit value of the hard decision error data HILE to a first logic value. For example, in Figure 4 In an exemplary embodiment, assuming that the first value is "1", the second value is "0", the predetermined value is "1", and the first logic value is "1", the bit value of the hard decision error data HILE may be set to HILE[0:13]=(1,1,1,0,1,1,0,0,1,0,1,1,1,1). That is, 10 of the 14 bits are not consistent between the three exemplary channels.
[0079] The error correction unit 140 may receive the hard decision operation data HDTR and the hard decision error data HILE from the hard decision unit 120. The error correction unit 140 may correct errors existing in the hard decision operation data HDTR using positions where uncorrected errors may exist based on the hard decision error data HILE, and generate error correction data CDTR.
[0080] The error correction unit 140 may receive error information ERRI from the error estimation unit 100-1. The error correction unit 140 may be enabled or disabled based on the error information ERRI. According to an embodiment, when the error information ERRI has a first logic value, the error correction unit 140 is enabled to generate error correction data CDTR; when the error information ERRI has a second logic value, the error correction unit 140 is disabled so as not to generate error correction data CDTR. However, the scope of the present disclosure is not limited thereto. In another embodiment, the SU 160 may use or ignore the output CDTR of the error correction unit 140 based on the error information ERRI as the selection signal SEL.
[0081] Figure 8 A storage controller according to an embodiment of the present disclosure is shown.
[0082] Reference Figure 1 , Figure 2 and Figure 8The storage controller 1000-2 includes an error estimation unit 100-1, a hard decision unit 120-1, a soft decision unit (SDU) 120-2, an error correction unit 140-1, and a selection unit 160-1. Figure 2 The storage controller 1000-1 shown is different. Figure 8 The illustrated memory controller 1000 - 2 may further include a soft decision unit 120 - 2 . Figure 2 and Figure 8 Components with the same reference numerals perform similar functions, and thus repeated descriptions may be omitted.
[0083] The soft decision unit 120 - 2 may simultaneously receive a plurality of data DTR0 , DTR1 , and DTR2 representing the same information through a plurality of channels CH[ 0 ], CH[ 1 ], and CH[ 2 ] in the form of bit streams.
[0084] The soft decision unit 120 - 2 may generate soft decision error data SILE by performing a logic operation on a plurality of data DTR0 , DTR1 , and DTR2 .
[0085] Even if the correction level that the error correction unit 140 - 1 can perform does not need to be reached, a logical operation may be performed to quickly correct errors present in the plurality of data DTR0 , DTR1 , and DTR2 .
[0086] The soft decision unit 120 - 2 may include a gate circuit including a plurality of gates for performing a logic operation. Hereinafter, a process in which the soft decision unit 120 - 2 performs a logic operation may be described in more detail.
[0087] Fig. 9 Used to describe Figure 8 The logical operation performed by the soft decision unit.
[0088] exist Fig. 9 , the result of the soft decision unit 120-2 performing a logic operation based on the corresponding bits in the plurality of data DTR0, DTR1, and DTR2 is shown. According to an embodiment, when the corresponding bits DTR0[k], DTR1[k], and DTR2[k] have both the first value and the second value, the soft decision unit 120-2 may set the bit value of the soft decision error data SILE to the first logic value. For example, Fig. 9 In an exemplary embodiment, assuming that the first value is "1", the second value is "0", and the first logic value is "1", the bit value of the soft decision error data SILE may be set to SILE[0:13]=(1,1,1,0,0,1,0,0,1,0,1,1,1,1). That is, the soft decision (SD) unit 120-2 may perform a logical XOR (exclusive OR) operation based on bits corresponding to a plurality of data, but is not limited thereto.
[0089] Return to reference Figure 8 The error correction unit 140-1 may receive the hard decision operation data HDTR and the hard decision error data HILE from the hard decision unit 120-1. The error correction unit 140-1 may also receive the soft decision error data SILE from the soft decision unit 120-2.
[0090] The error correction unit 140 - 1 may correct errors existing in the hard decision operation data HDTR at locations where uncorrected errors may exist based on the hard decision error data HILE and the soft decision error data SILE to generate error correction data CDTR.
[0091] Fig.10 A storage controller according to an embodiment of the present disclosure is shown.
[0092] Reference Figure 1 , Figure 8 and Fig.10 The storage controller 1000-3 includes an error estimation unit 100-2, a hard decision unit 120-1, a soft decision unit 120-2, an error correction unit 140-1, and a selection unit 160-1. Figure 8 Unlike the error estimation unit 100-1 shown, the error estimation unit 100-2 can also receive information ELEI for estimating error levels of the plurality of data DTR0, DTR1, and DTR2 from the host. Here, the information ELEI can be such information: the information is related to the storage memory and can be accumulated when the storage memory is running after the storage controller and the storage memory are established in the storage system.
[0093] Fig.11 A storage controller according to an embodiment of the present disclosure is shown.
[0094] Reference Fig.10 and Fig.11 , the storage controller 1000-4 includes an error estimation unit 100-2, a hard decision unit 120-1, a soft decision unit 120-2, an error correction unit 140-1, a selection unit 160-1 and a logic OR gate 160-2. Fig.10 The storage controller 1000-3 shown is different. Fig.11 The illustrated memory controller 1000-4 may also include a logic OR gate 160-2. Fig.10 and Fig.11 Components with the same reference numerals perform similar functions, and thus repeated descriptions may be omitted.
[0095] The logic OR gate 160-2 may receive the error information ERRI from the error estimation unit 100-2 and the attention information ATTI from the host. When the storage system including the host 2000, the storage controller 1000-4, and the storage memory 500 operates in an emergency situation requiring high speed or timeliness, the attention information ATTI may be information sensed by the host 2000 and transmitted to the storage controller 1000-4. According to an embodiment, when the attention information indicates that the error level or error rate of the plurality of data is lower than a reference value, the logic OR gate 160-2 may allow the selection unit 160-1 to select the hard decision operation data HDTR regardless of the error information ERRI.
[0096] Fig.12 A method of operating a memory controller according to an exemplary embodiment is shown.
[0097] Reference Figure 1 and Fig.12 , at function block S1000, the error estimation unit 100 may generate error information ERRI by estimating error levels of a plurality of data. At function block S2000, the decision unit 120 may perform a logic operation on a plurality of data to generate operation data DTR. At function block S3000, the error correction unit 140 may generate error correction data CDTR by correcting an error of the operation data DTR based on the decision error data ILE. At function block S4000, the selection unit 160 may select one of the operation data DTR or the error correction data CDTR based on the error information ERRI.
[0098] Fig.13 A memory system according to an exemplary embodiment is shown.
[0099] Reference Fig.13 , the memory system 2000 may include a memory controller 300 and at least one memory device 500 .
[0100] The memory device 500 may perform read, write and erase operations under the control of the memory controller 300. The memory device 500 may receive a control signal CTRL, a command CMD, an address ADDR and write data DATA from the memory controller 300, and transmit read data DATA to the memory controller 300.
[0101] The memory controller 300 may include an ECC engine 310. The ECC engine 310 may include an ECC encoder 320 and an ECC decoder 330, such as but not limited to Figure 4As shown, it is used to check and correct error bits or failed bits. The ECC engine 310 can perform ECC operations in data units of ECC sectors. For example, the data unit of a page can be 8KB to 64KB, and the data unit of an ECC sector can be 1KB to 4KB.
[0102] The ECC encoder 320 may perform error correction coding on the data to be provided to the storage device 500 to generate a codeword including a parity bit. The codeword may be transmitted to and stored in a plurality of storage areas of the storage device 500. The ECC encoder 320 may perform coding according to the data unit of the ECC sector. The ECC decoder 330 may perform error correction decoding on the data read out from the storage device 500, and determine the failure or success of the error correction decoding. The ECC decoder 330 may use the parity bit in the codeword to correct the error bit of the data. If the number of error bits exceeds the threshold number or the number of correctable bits, the ECC decoder 330 does not correct the error bit, and the error correction is not completed. According to an exemplary embodiment, the ECC decoder 330 may provide logic operation data by performing a logic operation on a plurality of read data read out from a plurality of storage areas, and perform combined ECC decoding based on the logic operation data.
[0103] As non-limiting examples, the ECC encoder 320 and the ECC decoder 330 may use coded modulation such as low-density parity-check (LDPC) codes, BCH (Bose, Chaudhuri, Hocquenghem) codes, turbo codes, Reed-Solomon (RSC) codes, convolutional codes, recursive systematic codes, trellis coded modulation (TCM), block coded modulation (BCM), etc. to check and correct bit errors.
[0104] Fig.14 Shows Figure 1 The storage memory or included in Fig.13 An exemplary embodiment of a memory device in a memory system of FIG.
[0105] Reference Fig.14 , the memory device 500 includes a memory cell array 510, an address decoder 520, a read / write circuit 530, a data input / output (I / O) circuit 540, a voltage generation circuit 550, and a control logic or control logic circuit 560. The memory device 500 includes a nonvolatile storage memory.
[0106] The memory cell array 510 is connected to the address decoder 520 through word lines WL and selection lines. For example, the selection lines may include string selection lines SSL and ground selection lines GSL. The memory cell array 510 is connected to the read / write circuit 530 through bit lines BL.
[0107] The memory cell array 510 may include a plurality of memory cells. For example, the memory cell array 510 may include memory cells arranged in row and column directions. For example, the memory cell array 510 may include a plurality of memory cells, each storing one or more data bits. The memory cell array may also have a vertical NAND (VNAND) flash memory structure.
[0108] The address decoder 520 is configured to operate in response to a control signal of the control logic 560. The address decoder 520 may receive an address ADDR from an external device such as a memory controller.
[0109] The address decoder 520 is configured to decode the row address among the received address ADDR. The address decoder 520 is configured to select a word line corresponding to the decoded row address among the word lines WL. The address decoder 520 is configured to select a selection line corresponding to the decoded row address among the selection lines including the string selection line SSL and the ground selection line GSL.
[0110] The address decoder 520 is configured to transfer various voltages received from the voltage generating circuit 550 to the selected word line, the unselected word lines, the selected selection line, and the unselected selection lines.
[0111] The address decoder 520 is configured to decode the column address from the received address ADDR and transmit the decoded column address DCA to the read / write circuit 530 .
[0112] In an exemplary embodiment, the address decoder 520 may include: a row decoder that decodes a row address; a column decoder that decodes a column address; and an address buffer that stores a received address ADDR.
[0113] The read / write circuit 530 is connected to the memory cell array 510 through the bit line BL and is connected to the data I / O circuit 540 through the data line DL. The read / write circuit 530 operates in response to the control of the control logic 560. The read / write circuit 530 receives the decoded column address DCA from the address decoder 520. Using the decoded column address DCA, the read / write circuit 530 selects the bit line BL.
[0114] The read / write circuit 530 receives data from the data I / O circuit 540 through the data lines DL, and writes the received data into the memory cell array 510 through the bit lines BL. The read / write circuit 530 reads data from the memory cell array 510 through the bit lines BL, and transmits the read data to the data I / O circuit 540 through the data lines DL.
[0115] In an exemplary embodiment, the read / write circuit 530 may include a page buffer or a page register and a column selection circuit. In an exemplary embodiment, the read / write circuit 530 may also include a sense amplifier, a write driver, and a column selection circuit.
[0116] The data I / O circuit 540 is connected to the read / write circuit 530 through the data line DL. The data I / O circuit 540 operates in response to the control signal of the control logic 560. The data I / O circuit 540 is configured to exchange data DATA with an external device or a network. The data I / O circuit 540 is configured to transfer the data DATA from the external device or the network to the read / write circuit 530 through the data line DL. The data I / O circuit 540 is configured to output the data DATA transferred from the read / write circuit 530 to the external device or the network through the data line DL. In an exemplary embodiment, the data I / O circuit 540 may include a data buffer.
[0117] The voltage generating circuit 550 is connected to the memory cell array 510, the address decoder 520, and the control logic or control logic circuit 560. The voltage generating circuit 550 receives power from an external power source. In an exemplary embodiment, the voltage generating circuit 550 receives a power supply voltage Vcc and a negative voltage or a ground voltage Vss from an external power source. The voltage generating circuit 550 is configured to generate voltages having various voltage levels from the power supply voltage Vcc and the negative voltage or the ground voltage Vss in response to a control signal of the control logic or the control logic circuit 560. In an exemplary embodiment, the voltage generating circuit 550 is configured to generate various voltages such as a high voltage VPP, a programming voltage Vpgm, a pass voltage Vpass, a read voltage Vread, and an erase voltage Vers.
[0118] Under the control of the control logic or control logic circuit 560, the voltage generated by the voltage generating circuit 550 is supplied to the address decoder 520 and the memory cell array 510. For example, during a program operation, a program voltage Vpgm and a pass voltage Vpass may be supplied to the address decoder 520. During a read operation, a read voltage Vread may be supplied to the address decoder 520. During an operation of erasing the memory cell array 510, an erase voltage Vers may be supplied to the memory cell array 510. The voltage generated by the voltage generating circuit 550 is not limited to the above-mentioned voltages.
[0119] The control logic or control logic circuit 560 is connected to the address decoder 520, the read / write circuit 530, and the data I / O circuit 540. The control logic or control logic circuit 560 may also be connected to or include a pass / fail check circuit. The control logic or control logic circuit 560 is configured to control the overall operation of the non-volatile memory device 500. The control logic or control logic circuit 560 operates in response to a control signal CTRL transmitted from an external device or a network.
[0120] Fig.15A Shows Fig.14 The memory cell array in Fig. 15B Shows Fig.15A Equivalent circuit of the memory block in .
[0121] Reference Fig.15A , the memory cell array 510 may include a plurality of memory blocks BLK1 to BLKz. In an exemplary embodiment, the memory blocks BLK1 to BLKz may be selected by the address decoder 520. For example, the address decoder 520 may select a specific memory block BLKi corresponding to a block address among the memory blocks BLK1 to BLKz.
[0122] In a three-dimensional structure such as a vertical NAND (VNAND) structure, Fig. 15B The memory block BLKi may be formed on a substrate. For example, a plurality of memory cell strings included in the memory block BLKi may be formed in a direction perpendicular to the substrate.
[0123] Reference Fig. 15B , the memory block BLKi may include memory cell strings NS11 to NS33 coupled between the bit lines BL1, BL2, and BL3 and the common source line CSL. The memory cell strings NS11 to NS33 may each include: a string selection transistor SST, whose gate is connected to the corresponding string selection line; and a ground selection transistor GST, whose gate is connected to the corresponding ground selection line; and a plurality of memory cells MC1 to MC8, which are connected between the string selection transistor SST and the ground selection transistor GST. Fig. 15B , each of the memory cell strings NS11 to NS33 is shown to include eight memory cells MC1 to MC8. However, the embodiment is not limited thereto. In other embodiments, each of the memory cell strings NS11 to NS33 may include any number of memory cells.
[0124] The string selection transistor SST may be connected to the corresponding string selection lines SSL1 to SSL3, and each string selection transistor SST defines a cell string of vertically arranged memory cells. A plurality of memory cells MC1 to MC8 may be connected to the corresponding word lines WL1 to WL8, respectively. A ground selection transistor GST may be connected to the corresponding ground selection lines GSL1 to GSL3. The string selection transistor SST may be connected to the corresponding bit lines BL1, BL2, and BL3, and the ground selection transistor GST may be connected to the common source line CSL.
[0125] Word lines (e.g., WL1) having the same height may be commonly connected, and ground selection lines GSL1 to GSL3 and string selection lines SSL1 to SSL3 may be separated. Ground selection lines GSL1 to GSL3 may also be commonly connected to each other, but are not limited thereto. In other embodiments, the memory cell array 510 may be coupled to any number of word lines and bit lines.
[0126] Fig.16 A memory system according to an exemplary embodiment is shown.
[0127] Reference Fig.16 , the memory system may include a memory controller 301 and at least one memory device 501 .
[0128] The memory device 501 may perform read, write and erase operations under the control of the memory controller 301. The memory device 501 may receive a control signal CTRL, a command CMD, an address ADDR and write data DATA from the memory controller 301, and send read data DATA to the memory controller 301.
[0129] The memory device 501 may include an on-chip ECC circuit 580. When data is written to the memory cell array, the on-chip ECC circuit 580 may encode the data to generate a parity bit. For example, the parity bit may be stored in a parity data area in the memory cell array. When data is read out from the memory cell array, the on-chip ECC circuit 580 may decode the read data and the parity bit to check and correct any bit errors. The on-chip ECC circuit 580 may include an encoder and a decoder for performing such encoding and decoding. According to an exemplary embodiment, similar to Fig.13 The decoder in the on-chip ECC circuit 580 may provide logic operation data by performing a logic operation on a plurality of read data read from a plurality of storage areas, and perform combined ECC decoding based on the logic operation data.
[0130] Fig.17 A solid state disk or solid state drive (SSD) according to an exemplary embodiment is shown.
[0131] Reference Fig.17 , the SSD includes a nonvolatile memory array 1100 having a plurality of channels of nonvolatile memory devices NVM connected to an SSD controller 1200 .
[0132] The SSD controller 1200 is connected to the non-volatile memory devices NVM of the array 1100 through a plurality of channels CH1 to CHi, respectively. The SSD controller 1200 includes one or more processors 1210, a buffer memory 1220, an ECC block 1230, a host interface 1250, and a non-volatile memory interface 1260. The buffer memory 1220 stores data for driving the SSD controller 1200. The buffer memory 1220 includes a plurality of memory lines, each of which receives data or commands. The ECC block 1230 calculates an error correction code value of the data to be programmed during a write operation, and uses the error correction code value to correct any error in the read data during a read operation. In a data recovery operation, the ECC block 1230 corrects errors in the data recovered from the non-volatile memory device NVM.
[0133] As described above, the storage controller, storage system and / or method for operating the storage controller can efficiently receive multiple data corresponding to each of the multiple memories. In addition, the storage controller, storage system and method for operating the storage controller can efficiently receive multiple data through various paths, thereby optimizing reliability and / or receiving speed.
[0134] The inventive concept can be applied to any device and system including a storage device with an error checking and correction function. For example, the inventive concept can be applied to systems such as mobile phones, smart phones, personal digital assistants (PDAs), portable multimedia players (PMPs), digital cameras, camcorders, personal computers (PCs), server computers, workstations, laptop computers, digital televisions (TVs), set-top boxes, portable game consoles, navigation systems, etc.
[0135] The foregoing is illustrative of exemplary embodiments and should not be construed as limiting thereof. Although exemplary embodiments have been described, those skilled in the relevant art will readily appreciate that many modifications may be made without materially departing from the inventive concept.
Claims
1. A storage controller, include: a plurality of parallel input channels, the plurality of parallel input channels being configured to respectively receive a plurality of data from a plurality of redundant memories at the same time; an error estimation unit configured to generate error information by estimating an error level of the plurality of data; a decision unit, the decision unit being configured to perform a logic operation on the plurality of data to generate operation data; an error correction unit configured to generate error correction data by correcting errors of the operation data, wherein the error correction unit is enabled or disabled based on the error information; as well as A selection unit is configured to select one of the operation data and the error correction data based on the error information.
2. The storage controller according to claim 1, in, The decision unit comprises: A hard decision unit is configured to generate hard decision operation data by performing a majority voting logic operation on corresponding bits of the plurality of data.
3. The storage controller according to claim 2, in, Each of the corresponding bits has a first value or a second value, and When the number of bits having the first value among the corresponding bits is greater than the number of bits having the second value among the corresponding bits, the hard decision unit sets the bit value of the hard decision operation data to the first value.
4. The storage controller according to claim 3, in, The hard decision unit generates hard decision error data based on the plurality of data, and Wherein, when the corresponding bit has both the first value and the second value, and when the difference between the number of bits having the first value among the corresponding bits and the number of bits having the second value among the corresponding bits is equal to or less than a predetermined value, the hard decision unit sets the bit value of the hard decision error data to a first logical value.
5. The storage controller according to claim 4, in, The hard decision error data indicates locations in the hard decision operation data where uncorrected errors may exist.
6. The storage controller according to claim 1, in, The decision unit comprises: a logic OR circuit configured to perform a logic OR operation on corresponding bits of the plurality of data; a logic AND circuit configured to perform a logic AND operation on the corresponding bits; a majority voting circuit configured to perform a majority voting logic operation on the corresponding bits; and A multiplexer configured to select one of a result of the logical OR operation, a result of the logical AND operation, and a result of the majority voting logical operation, and to generate the selected result as hard decision operation data.
7. The storage controller according to claim 1, in, The decision unit comprises: a hard decision unit configured to generate hard decision operation data by performing a first logic operation on corresponding bits of the plurality of data; and A soft decision unit is configured to generate soft decision error data by performing a second logic operation on the corresponding bits of the plurality of data.
8. The storage controller according to claim 7, in, Each of the corresponding bits has a first value or a second value, and The soft decision unit generates the soft decision error data based on the multiple data, and when the corresponding bit has both the first value and the second value, the soft decision unit sets the bit value of the soft decision error data to a first logic value.
9. The storage controller according to claim 8, in, The soft decision error data indicates locations in the hard decision operation data where uncorrected errors may exist.
10. The storage controller according to claim 7, in, The storage controller further includes: A logic OR gate configured to perform a logic OR operation on the error information from the error estimation unit and the attention information from the host, so that the selection unit selects one of the hard decision operation data and the error correction data based on an output of the logic OR gate.
11. The storage controller according to claim 10, in, When the attention information indicates that the error level of the plurality of data is lower than a reference value, the selection unit selects the hard decision operation data regardless of the error information.
12. The storage controller according to claim 1, in, The error estimation unit receives information indicating the error levels of the plurality of data from a host, and the information received from the host is information related to a storage memory and accumulated while the storage memory operates after the storage controller and the storage memory are built in a storage system.
13. A storage system, include: A storage memory, wherein the storage memory is configured to store a plurality of data in a plurality of redundant memories respectively; as well as A storage controller, the storage controller comprising: an error estimation unit configured to generate error information by estimating an error level of the plurality of data; a decision unit, the decision unit being configured to perform a logic operation on the plurality of data to generate operation data; an error correction unit configured to generate error correction data by correcting errors of the operation data, wherein the error correction unit is enabled or disabled based on the error information; and A selection unit is configured to select one of the operation data and the error correction data based on the error information.
14. The storage system according to claim 13, in, The decision unit comprises: A hard decision unit is configured to generate hard decision operation data by performing a majority voting logic operation on corresponding bits of the plurality of data.
15. The storage system according to claim 14, in, Each of the corresponding bits has a first value or a second value, and When the number of bits having the first value among the corresponding bits is greater than the number of bits having the second value among the corresponding bits, the hard decision unit sets the bit value of the hard decision operation data to the first value.
16. The storage system according to claim 15, in, The hard decision unit generates hard decision error data based on the plurality of data, and Wherein, when the corresponding bit has both the first value and the second value, and when the difference between the number of bits having the first value among the corresponding bits and the number of bits having the second value among the corresponding bits is equal to or less than a predetermined value, the hard decision unit sets the bit value of the hard decision error data to a first logical value.
17. The storage system according to claim 13, in, The decision unit comprises: a hard decision unit configured to generate hard decision operation data by performing a first logic operation on corresponding bits of the plurality of data; and A soft decision unit is configured to generate soft decision error data by performing a second logic operation on the corresponding bits of the plurality of data.
18. The storage system according to claim 17, in, Each of the corresponding bits has a first value or a second value, and The soft decision unit generates the soft decision error data based on the multiple data, and when the corresponding bit has both the first value and the second value, the soft decision unit sets the bit value of the soft decision error data to a first logic value.
19. The storage system according to claim 18, in, The soft decision error data indicates locations in the hard decision operation data where uncorrected errors may exist.
20. A storage controller, include: a plurality of parallel input channels, the plurality of parallel input channels being configured to respectively receive a plurality of data from a plurality of redundant memories at the same time; an error estimation unit configured to generate error information by estimating an error level of the plurality of data; a decision unit, the decision unit comprising a hard decision unit and a soft decision unit, the hard decision unit being configured to generate hard decision operation data by performing a majority voting logic operation on corresponding bits of the plurality of data, and the soft decision unit being configured to generate soft decision error data by performing a second logic operation on the corresponding bits of the plurality of data; an error correction unit configured to generate error correction data by correcting errors of the hard decision operation data, wherein the error correction unit is enabled or disabled based on the error information; as well as A selection unit is configured to select one of the hard decision operation data and the error correction data based on the error information.
