Memory device for storing plurality of data bits and method of operating same

By dividing and storing multiple data bits in multiple memory cells, and using a code table to perform programming and decoding operations, the problem of reduced memory unit efficiency is solved and the efficiency of programming and reading operations of the memory device is improved.

CN118629466APending Publication Date: 2024-09-10SK HYNIX INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311309109.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-07
Filing Date
2023-10-10
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

As the number of data bits stored in a memory cell increases, the efficiency of the memory cell may decrease, making it difficult for existing technologies to effectively manage the programming and reading operations of multiple data bits, resulting in low efficiency.

Method used

A code table is generated using a code table generator by dividing and storing a plurality of data bits in a plurality of memory cells, an internal operation controller divides and stores a plurality of target data bits in a plurality of memory cells during a programming operation, and The data bits are read through code table decoding during the read operation.

Benefits of technology

The efficiency of programming and reading operations of the memory device is improved, the time required for programming operations is reduced, and the overall performance of the memory device is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629466A
    Figure CN118629466A
Patent Text Reader

Abstract

The invention relates to a memory device for storing a plurality of data bits and an operating method thereof. The present technology relates to a semiconductor device. According to the present technology, a memory device capable of dividing and storing a plurality of data bits in a plurality of memory cells may include: a plurality of memory cells each configured to have one state among a plurality of states; a code table generator configured to generate, based on the plurality of data bits, a code table indicating a plurality of states as a code pattern formed by portions of the data bits, the portions corresponding to respective memory cells; and an internal operation controller configured to divide and store the plurality of target data bits in the plurality of memory cells based on the code table during a program operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to a semiconductor device, and more particularly, to a program operation and a read operation of a memory device. Background Art

[0002] The memory device may be a device for storing data and may be classified into a volatile memory device and a nonvolatile memory device.

[0003] The memory device may include multiple memory cells storing multiple data bits. As the number of data bits stored in the memory cell increases, the number of states of the memory cell may also increase. Conversely, as the number of data bits stored in the memory cell decreases, the efficiency of the memory cell may decrease. Summary of the invention

[0004] Embodiments of the present disclosure provide a memory device and a method of operating the memory device, which are capable of dividing and storing a plurality of data bits in a plurality of memory cells.

[0005] According to one embodiment of the present disclosure, a memory device may include: a plurality of memory cells, each of the plurality of memory cells being configured to have one state among a plurality of states; a code table generator, the code table generator being configured to generate, based on a plurality of data bits, a code table indicating the plurality of states as code patterns formed by portions of the data bits, the portions corresponding to the corresponding memory cells; and an internal operation controller, the internal operation controller being configured to divide and store a plurality of target data bits in the plurality of memory cells based on the code table during a programming operation.

[0006] According to one embodiment of the present disclosure, a method of operating a memory device may include the following steps: during a programming operation, dividing a plurality of target data bits into one or more first data bits, one or more second data bits, and a common data bit indicating whether the first data bits and the second data bits are encoded; storing the common data bits and the first data bits in a first memory cell; and storing the common data bits and the second data bits in a second memory cell.

[0007] According to one embodiment of the present disclosure, a method of operating a memory device may include the following steps: during a programming operation, dividing a plurality of target data bits into one or more first data bits and a plurality of second data bits; generating additional data bits indicating whether the first data bits and the plurality of second data bits are encoded; storing the additional data bits and the first data bits in a first memory cell; and storing the plurality of second data bits in a second memory cell.

[0008] According to one embodiment of the present disclosure, a method for operating a memory device may include the following steps: combining OD number of data bits and a single additional bit to generate ED number of target bits, OD is an odd number, and the additional bit is a copy of a selected bit among the data bits; dividing the target bits into a first group and a second group, each of the first group and the second group is configured by HED number of bits, the additional bit belongs to the first group and the selected bit belongs to the second group; when any one of the first group and the second group has one of one or more prohibited bit patterns, performing a first inversion operation of inverting a predetermined bit within each of the first group and the second group and inverting the additional bit, the predetermined bit is different from the additional bit and the selected bit; when any one of the first group and the second group has one of the prohibited bit patterns due to the first inversion operation, performing a second inversion operation of inverting the additional bit and the selected bit; and programming the first group and the second group into a first memory cell and a second memory cell, respectively, wherein the number of prohibited bit patterns is defined as 2 HED -P, P is satisfied by P 2 >2 oD The smallest natural number and represents the configuration of 2 together with the prohibition bit pattern HED The number of bit patterns is the number of non-prohibited bit patterns, and the prohibited bit patterns are respectively from 2 HED The number of bit patterns corresponds to the highest programmed state among the possible programmed states. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 is a diagram illustrating a memory device according to one embodiment of the present disclosure.

[0010] Figure 2 is a diagram illustrating a structure of a memory cell according to one embodiment of the present disclosure.

[0011] Figure 3 is a diagram illustrating a plurality of states according to an embodiment of the present disclosure.

[0012] Figure 4 is a diagram illustrating an example of a code table according to an embodiment of the present disclosure.

[0013] Figure 5 is a diagram illustrating an example of encoding a plurality of data bits according to an embodiment of the present disclosure.

[0014] Figure 6 is a diagram illustrating one example of the number of read times required for a read operation according to one embodiment of the present disclosure.

[0015] Figure 7 is a diagram illustrating an example of a read operation according to an embodiment of the present disclosure.

[0016] Figure 8 is a diagram illustrating a mapping relationship between a data mode and a plurality of states according to an embodiment of the present disclosure.

[0017] Fig. 9 is a diagram illustrating an example of correcting a reading result according to an embodiment of the present disclosure.

[0018] Fig.10 is a diagram illustrating another example of a code table according to one embodiment of the present disclosure.

[0019] Fig.11 is a diagram illustrating another example of encoding a plurality of data bits according to one embodiment of the present disclosure.

[0020] Fig.12 is a diagram illustrating another example of the number of read times required for a read operation according to one embodiment of the present disclosure.

[0021] Fig.13 is a diagram illustrating another example of a read operation according to one embodiment of the present disclosure.

[0022] Fig.14 is a diagram illustrating the number of times a programming state is used in a code mode combination according to one embodiment of the present disclosure.

[0023] Fig.15 is a flowchart illustrating one example of a method of operating a memory device according to one embodiment of the present disclosure.

[0024] Fig.16 is a flowchart illustrating another example of a method of operating a memory device according to one embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] The specific structural or functional description of the embodiments of the concept disclosed in this specification is only exemplified to describe the embodiments of the concept according to the present disclosure. The embodiments of the concept according to the present disclosure can be implemented in various forms and should not be interpreted as being limited to the embodiments described in this specification.

[0026] Figure 1 is a diagram illustrating a memory device 100 according to one embodiment of the present invention.

[0027] Reference Figure 1 , the memory device 100 may include a memory cell array 110 , a voltage generator 120 , an address decoder 130 , an input / output circuit 140 , and a control logic 150 .

[0028] The memory cell array 110 may be connected to the address decoder 130 via row lines. The memory cell array 110 may be connected to the input / output circuit 140 via column lines. In one embodiment, the row lines may include word lines, source select lines, and drain select lines. In one embodiment, the column lines may include bit lines.

[0029] The memory cell array 110 may include a plurality of memory cells MC1 , MC2 , . . . storing data DATA. At this time, the data DATA may include a plurality of data bits.

[0030] Each of the memory cells MC1, MC2, ... can be configured as a cell capable of storing multiple data bits, such as a multi-level cell (MLC), a triple-level cell (TLC), and a quad-level cell (QLC). Among the multiple memory cells MC1, MC2, ..., the memory cells connected to the same word line can be defined as one physical page.

[0031] In one embodiment, the memory cells MC1, MC2, ... can divide and store multiple data bits. Figure 1 , the first memory cell MC1 and the second memory cell MC2 divide and store a plurality of data bits, but the present disclosure is not necessarily limited thereto. The number of memory cells that divide and store data bits may vary according to the implementation.

[0032] In one embodiment, each of the memory cells MC1, MC2, . . . may have one state among a plurality of states.

[0033] In one embodiment, the voltage generator 120, the address decoder 130, and the input / output circuit 140 may be collectively referred to as a peripheral circuit. The peripheral circuit may drive the memory cell array 110 under the control of the control logic 150. The peripheral circuit may drive the memory cell array 110 to perform write operations, read operations, and erase operations.

[0034] The voltage generator 120 may be configured to generate various voltages required by the memory device 100 using an external power supply voltage or an internal power supply voltage. For example, the voltage generator 120 may generate a plurality of erase voltages, a plurality of program voltages, a plurality of pass voltages, a plurality of read voltages, etc. The generated voltages may be supplied to the memory cell array 110 by the address decoder 130.

[0035] The address decoder 130 may receive an address ADDR from the control logic 150. The address decoder 130 may decode a row address among the received address ADDR. The address decoder 130 may select at least one word line among the word lines of the memory cell array according to the decoded row address. In one embodiment, the address decoder 130 may decode a column address among the received address ADDR. The address decoder 130 may connect the input / output circuit 140 and the memory cell array 110 according to the decoded column address.

[0036] The address decoder 130 may include components such as a row decoder, a column decoder, and an address buffer.

[0037] The input / output circuit 140 may include a plurality of page buffers. The plurality of page buffers may be connected to the memory cell array 110 through bit lines. During a program operation, data DATA may be stored in a memory cell selected according to the data DATA stored in the plurality of page buffers.

[0038] During a read operation, data stored in a selected memory cell may be sensed through a bit line, and the sensed data may be stored in a page buffer.

[0039] The control logic 150 may control the voltage generator 120, the address decoder 130, and the input / output circuit 140. The control logic 150 may operate in response to a command CMD transmitted from an external device. The control logic 150 may control peripheral circuits by generating various signals in response to the command CMD and the address ADDR.

[0040] In one implementation, the control logic 150 may include a code table generator 151 and an internal operation controller 152 .

[0041] The code table generator 151 may generate a code table based on a plurality of data bits. In one embodiment, the code table may indicate a plurality of states as a code pattern formed by a data bit corresponding to each of a plurality of memory cells MC1, MC2, ... That is, the code table may be information by which a data pattern formed by a plurality of data bits is mapped to a combination of code patterns between a plurality of states. Figure 4 and Fig.10 The method of generating the code table is described in detail.

[0042] During a program operation, the internal operation controller 152 may divide and store a plurality of target data bits in the plurality of memory cells MC1 , MC2 , . . . based on the code table.

[0043] In one embodiment, the internal operation controller 152 may generate data bits to be stored in each of the plurality of memory cells MC1, MC2, ... by encoding the plurality of target data bits based on a code table. The internal operation controller 152 may store each of the generated data bits in the plurality of memory cells MC1, MC2, ...

[0044] In one embodiment, during a read operation, the internal operation controller 152 may read data bits divided and stored in a plurality of memory cells MC1, MC2, ..., and obtain read data by decoding the read data bits based on a code table. The obtained read data may be transmitted to an external device through the input / output circuit 140.

[0045] Figure 2 is a diagram illustrating a structure of a memory cell according to one embodiment of the present disclosure.

[0046] exist Figure 2 In the embodiment, for the convenience of description, a structure in which the channel hole CHH is divided into two channel regions is described, but the present disclosure is not necessarily limited thereto. According to an embodiment, the channel hole may be divided into three or more channel regions.

[0047] Reference Figure 2 , one channel hole CHH can be divided into a first channel region CH1 and a second channel region CH2 by a cutting structure. Here, the channel region may mean a channel region of a memory cell string. At this time, the memory cell string may include at least one source selection transistor connected in series between a source line and a bit line, a plurality of memory cells MC1 and MC2, and at least one drain selection transistor.

[0048] The first memory cell MC1 may be connected to the first channel region CH1, and the second memory cell MC2 may be connected to the second channel region CH2. Thus, a plurality of memory cells may be formed in one layer.

[0049] Figure 3 is a diagram illustrating a plurality of states according to an embodiment of the present disclosure.

[0050] In one embodiment of the present disclosure, a state of a memory cell configured as TLC is described.

[0051] Reference Figure 3 , the horizontal axis represents the threshold voltage of the memory cell, and the vertical axis represents the number of memory cells.

[0052] Selected memory cells, which are memory cells connected to a selected word line, may have a threshold voltage distribution corresponding to an erase state E before a program operation is performed.

[0053] In one embodiment, the plurality of states E and PV1 to PV5 may have a number less than the maximum number of code patterns that can be formed by the data bits corresponding to each of the plurality of memory cells. For example, when the memory cell can store three data bits, the maximum number of code patterns that can be formed by the data bits may be eight. At this time, the plurality of states may be configured to be six states less than eight. Specifically, the memory cell may be programmed to have a threshold voltage corresponding to one of the erased state E, the first programming state PV1, the second programming state PV2, the third programming state PV3, the fourth programming state PV4, and the fifth programming state PV5.

[0054] The memory device 100 may read data stored in a selected memory cell by performing a read operation using the first to fifth read voltages R1 to R5 .

[0055] The first read voltage R1 may be a read voltage for distinguishing between the erase state E and the first programming state PV1, the second read voltage R2 may be a read voltage for distinguishing between the first programming state PV1 and the second programming state PV2, the third read voltage R3 may be a read voltage for distinguishing between the second programming state PV2 and the third programming state PV3, the fourth read voltage R4 may be a read voltage for distinguishing between the third programming state PV3 and the fourth programming state PV4, and the fifth read voltage R5 may be a read voltage for distinguishing between the fourth programming state PV4 and the fifth programming state PV5.

[0056] Figure 4 is a diagram illustrating an example of a code table according to an embodiment of the present disclosure. In the present disclosure, for ease of description, an embodiment in which two memory cells MC1 and MC2 divide and store five data bits is described. However, this is only an example, and the number of memory cells and the number of data bits may be set differently depending on the embodiment.

[0057] Reference Figure 4 , the five data bits may include a least significant bit (LSB), a most significant bit (MSB), a center significant bit (CSB), a fourth significant bit (QSB), and a fifth significant bit (PSB).

[0058] The code table may include a code table for each of the plurality of memory cells MC1 and MC2 .

[0059] In one embodiment, the code table generator 151 may divide the plurality of data bits into one or more first data bits, one or more second data bits, and a common data bit. At this time, the common data bit may indicate whether the first data bit and the second data bit are encoded.

[0060] For example, the common data bit may be the CSB, the one or more first data bits may be the QSB and the PSB, and the one or more second data bits may be the LSB and the MSB.

[0061] In one implementation, the code table generator 151 may assign the common data bit and the one or more first data bits to the code table of the first memory cell MC1 .

[0062] For example, the code table generator 151 may assign PSB, QSB, and CSB to the code table of the first memory cell MC1. That is, the first memory cell MC1 may store PSB, QSB, and CSB. In this case, the code table of the first memory cell MC1 may be information indicating a plurality of states E, PV1 to PV5 as code patterns formed by PSB, QSB, and CSB. When displayed in the order of PSB, QSB, and CSB, in the first memory cell MC1, the code pattern of the erase state E may be "1, 1, 1", the code pattern of the first programming state PV1 may be "0, 1, 1", the code pattern of the second programming state PV2 may be "0, 0, 1", the code pattern of the third programming state PV3 may be "1, 0, 1", the code pattern of the fourth programming state PV4 may be "1, 0, 0", and the code pattern of the fifth programming state PV5 may be "1, 1, 0".

[0063] In one implementation, the code table generator 151 may assign the common data bit and one or more second data bits to the code table of the second memory cell MC2 .

[0064] For example, the code table generator 151 may assign CSB, LSB, and MSB to the code table of the second memory cell MC2. That is, the second memory cell MC2 may store CSB, LSB, and MSB. In this case, the code table of the second memory cell MC2 may be information indicating a plurality of states E and PV1 to PV5 as code patterns formed by CSB, LSB, and MSB. When displayed in the order of CSB, MSB, and LSB, in the second memory cell MC2, the code pattern of the erase state E may be "1, 1, 1", the code pattern of the first programming state PV1 may be "1, 1, 0", the code pattern of the second programming state PV2 may be "1, 0, 0", the code pattern of the third programming state PV3 may be "1, 0, 1", the code pattern of the fourth programming state PV4 may be "0, 0, 1", and the code pattern of the fifth programming state PV5 may be "0, 1, 1".

[0065] Therefore, a data pattern formed of PSB, QSB, CSB, MSB, and LSB may be mapped to a code pattern combination between states of each of the first memory cell MC1 and the second memory cell MC2 according to the code table.

[0066] Since the first memory cell and the second memory cell do not have a threshold voltage higher than the fifth programming state PV5, a portion of the code pattern that can be formed by a plurality of data bits may correspond to an invalid code pattern. For example, "0, 0, 0" and "0, 1, 0" as code patterns that can be formed by PSB, QSB, and CSB, and "0, 0, 0" and "0, 1, 0" that can be formed by CSB, MSB, and LSB may be invalid code patterns. In this case, the code table generator 151 may set the corresponding code pattern to a preset code pattern and encode the corresponding code pattern as a valid code pattern. Referring to the code table generator 151 to be described later, Figure 5 An operation of generating a code table by encoding corresponding code patterns is described in detail.

[0067] Figure 5 is a diagram illustrating an example of encoding a plurality of data bits according to an embodiment of the present disclosure.

[0068] Reference Figure 5 , the table shown at the uppermost end may indicate a data pattern formed by PSB, QSB, CSB, MSB, and LSB. There may be a total of 32 data patterns formed by PSB, QSB, CSB, MSB, and LSB. Figure 5 The data patterns shown are merely examples and are not necessarily limited thereto. According to one embodiment, the order in which the PSB, QSB, CSB, MSB, and LSB are listed and the value of each data bit according to the order may be set differently.

[0069] In operation S51, the code table generator 151 may copy the CSB as a common data bit and assign the CSB to the code table of the first memory cell MC1 and the second memory cell MC2. At this time, the code pattern formed by the common data bit and one or more first data bits may correspond to the preset code pattern. Alternatively, the code pattern formed by the common data bit and one or more second data bits may correspond to the preset code pattern. The preset code pattern may mean an invalid mode.

[0070] For example, an invalid code pattern may be included in code patterns corresponding to the sixth data pattern, the eighth data pattern, the fourteenth data pattern, the sixteenth data pattern, the twenty-first data pattern to the twenty-fourth data pattern, and the twenty-ninth data pattern to the thirty-second data pattern.

[0071] Specifically, looking at the code pattern 501 corresponding to the sixth data pattern, the code pattern formed by the CSB, MSB and LSB corresponding to the second memory cell MC2 may be an invalid code pattern. In addition, looking at the code pattern 502 corresponding to the twenty-first data pattern, the code pattern formed by the PSB, QSB and CSB corresponding to the first memory cell MC1 may be an invalid code pattern. Hereinafter, for ease of description, the operation of encoding the code patterns corresponding to the sixth data pattern and the twenty-first data pattern is described, and can be equally applied to other invalid code patterns.

[0072] In operation S52, the code table generator 151 may perform an encoding operation of inverting a first data bit among the one or more first data bits and inverting a second data bit among the one or more second data bits.

[0073] For example, looking at the code pattern 501 corresponding to the sixth data pattern, the code table generator 151 may invert the PSB corresponding to the first memory cell MC1. Therefore, the logic value of the PSB may be inverted from '1' to '0'. At this time, the first logic value may refer to '0' and the second logic value may refer to '1'. In addition, the code table generator 151 may invert the LSB corresponding to the second memory cell MC2. Therefore, the logic value of the LSB may be inverted from '0' to '1'. In addition, the values ​​of the QSB and MSB that are not inverted may be maintained.

[0074] As another example, looking at the code pattern 502 corresponding to the twenty-first data pattern, the code table generator 151 may invert the PSB corresponding to the first memory cell MC1. Therefore, the logic value of the PSB may be inverted from '0' to '1'. In addition, the code table generator 151 may invert the LSB corresponding to the second memory cell MC2. Therefore, the logic value of the LSB may be inverted from '1' to '0'. In addition, the values ​​of the QSB and MSB that are not inverted may be maintained.

[0075] In addition, the code table generator 151 may invert any one of common data bits to be stored in the first memory cell MC1 and the second memory cell MC2 so that the common data bits have different values ​​from each other.

[0076] For example, looking at the code pattern 501 corresponding to the sixth data pattern, the code table generator 151 may invert the CSB corresponding to the first memory cell MC1. Therefore, the logic value of CSB may be inverted from '0' to '1'. In this case, the CSB to be stored in the first memory cell MC1 and the CSB to be stored in the second memory cell MC2 may have different values.

[0077] As another example, looking at the code pattern 502 corresponding to the 21st data pattern, the code table generator 151 may invert the CSB corresponding to the first memory cell MC1. Therefore, the logic value of CSB may be inverted from '0' to '1'. In this case, the CSB to be stored in the first memory cell MC1 and the CSB to be stored in the second memory cell MC2 may have different values.

[0078] In addition, after performing the above encoding operation, a new invalid code pattern may appear. For example, an invalid code pattern may appear in the code patterns corresponding to the 21st data pattern, the 23rd data pattern, the 29th data pattern, and the 31st data pattern.

[0079] In operation S53 , the code table generator 151 may perform a re-encoding operation of inverting a common data bit to be stored in each of the first memory cell MC1 and the second memory cell MC2 .

[0080] For example, looking at the code pattern 502 corresponding to the 21st data pattern, the code table generator 151 can invert the CSB corresponding to the first memory cell MC1 and the CSB corresponding to the second memory cell MC2. Therefore, the logic value of the CSB corresponding to the first memory cell MC1 can be inverted from '1' to '0', and the logic value of the CSB corresponding to the second memory cell MC2 can be inverted from '0' to '1'.

[0081] As described above, when the common data bit to be stored in the first memory cell MC1 and the common data bit to be stored in the second memory cell MC2 have different values, it may indicate information that the corresponding code pattern is inverted.

[0082] Therefore, the code table may include information in which data patterns of a plurality of data bits are mapped to combinations of valid code patterns.

[0083] Figure 6 is a diagram illustrating one example of the number of read times required for a read operation according to one embodiment of the present disclosure. Figure 7 is a diagram illustrating an example of a read operation according to an embodiment of the present disclosure. Specifically, Figure 7 The LSB read operation can be illustrated. Figure 7 , the horizontal axis represents the threshold voltage of each memory cell, and the vertical axis represents the number of memory cells.

[0084] Reference Figure 6, at least two data read operations (data read) may be required to read each of the data bits. The data read operation (data read) may be a general read operation, and may be a read operation for distinguishing a threshold voltage corresponding to a target data bit.

[0085] For example, the uncoded QSB and MSB may be read from the memory cell through two data read operations (data read).

[0086] When the CSB sensed from the plurality of memory cells have the same value, the internal operation controller 152 may determine the corresponding value as the read value of the CSB. Conversely, when the sensed CSB has different values, the internal operation controller 152 may determine the first logic value as the read value of the CSB. Thus, the CSB may be read from the memory cell through two data read operations (data read).

[0087] In the case of the encoded PSB and LSB, in addition to the data read operation (Data Read), a decoding read operation (Decoding Read) may be additionally performed. The decoding read operation (Decoding Read) may be an operation of reading a common data bit from each memory cell.

[0088] Reference Figure 7 , a data read operation (data read) using the first read voltage R1 and the third read voltage R3 may be performed to read the LSB. In addition, since it is necessary to read the CSB from the plurality of memory cells MC1 and MC2 in order to determine whether the read data bit has an inverted value by the encoding operation in the previous programming operation, a decoding read operation (decoding read) may be performed twice.

[0089] In one embodiment, the internal operation controller 152 may perform a decoding operation of inverting an encoded data bit (i.e., a read data bit having an inverted value by an encoding operation in a previous programming operation) among one or more first data bits and one or more second data bits based on the common data bit. For example, when it is determined by the result of the decoding read operation (decoding read) that the LSB is inverted by the encoding operation in the previous programming operation, the internal operation controller 152 may perform a decoding operation of inverting the LSB sensed by the data read operation (data read). On the contrary, when it is determined by the result of the decoding read operation (decoding read) that the LSB is not encoded (i.e., the LSB is determined to have a non-inverted value by the encoding operation in the previous programming operation), the internal operation controller 152 may determine the value sensed by the data read operation (data read) as the read value of the LSB.

[0090] Figure 8 is a diagram illustrating a mapping relationship between a data mode and a plurality of states according to an embodiment of the present disclosure. Figure 8In the example, the code mode can be indicated in the order of LSB, MSB, CSB, QSB and PSB.

[0091] Reference Figure 8 , 32 data patterns formed by LSB, MSB, CSB, QSB and PSB are mapped to the state E of each of the memory cells MC1 and MC2 and the code pattern combination between PV1 to PV5. Therefore, the memory device 100 can store five data bits (LSB, MSB, CSB, QSB and PSB) in the two memory cells MC1 and MC2 based on the code table.

[0092] In addition, a part of the code pattern combination may not be mapped to the data pattern. For example, a combination of a code pattern indicating the fourth programming state PV4 of the first memory cell MC1 and a code pattern indicating the erased state E of the second memory cell MC2 may not be mapped to the data pattern. In addition, a combination of a code pattern indicating the fourth programming state PV4 of the first memory cell MC1 and a code pattern indicating the third programming state PV3 of the second memory cell MC2 may not be mapped to the data pattern. In addition, a combination of a code pattern indicating the fifth programming state PV5 of the first memory cell MC1 and a code pattern indicating the erased state E of the second memory cell MC2 may not be mapped to the data pattern. In addition, a combination of a code pattern indicating the fifth programming state PV5 of the first memory cell MC1 and a code pattern indicating the third programming state PV3 of the second memory cell MC2 may not be mapped to the data pattern. That is, when the first memory cell MC1 has the fourth programming state PV4 or the fifth programming state PV5, the second memory cell MC2 may not have the erased state E or the third programming state PV3.

[0093] Fig. 9 FIG. 1 is a diagram illustrating an example of correcting a reading result according to an embodiment of the present disclosure. Fig. 9 , the horizontal axis represents the threshold voltage of the first memory cell MC1, and the vertical axis represents the number of memory cells.

[0094] As reference Figure 8As described, when the second memory cell MC2 has the erase state E or the third programming state PV3, the first memory cell MC1 may not have the fourth programming state PV4 or the fifth programming state PV5. In this case, when the second memory cell MC2 is sensed as the erase state E or the third programming state PV3 during the read operation, the internal operation controller 152 may correct the read result so that the first memory cell MC1 is sensed as another state other than the fourth programming state PV4 and the fifth programming state PV5. For example, when the read operation is performed using the fourth read voltage R4 and the first memory cell MC1 has a threshold voltage higher than the fourth read voltage R4, the read result may be corrected so that the first memory cell MC1 is sensed as the third programming state PV3.

[0095] Fig.10 is a diagram illustrating another example of a code table according to one embodiment of the present disclosure.

[0096] Fig.10 The code table shown in Figure 4 The code tables shown in the figure are generated by different methods.

[0097] In one embodiment, the code table generator 151 may divide the plurality of data bits into one or more first data bits and a plurality of second data bits. For example, the one or more first data bits may be PSB and QSB. In addition, the plurality of second data bits may be LSB, CSB and MSB.

[0098] In one embodiment, the code table generator 151 may generate additional data bits indicating whether the first data bits and the plurality of second data bits are encoded. The additional data bits may be encoding management bits (EMBs).

[0099] In one embodiment, the code table generator 151 may assign additional data bits and one or more first data bits to the code table of the first memory unit.

[0100] For example, the code table generator 151 may assign EMB, PSB, and QSB to the code table of the first memory cell MC1. That is, the first memory cell MC1 may store EMB, PSB, and QSB. In this case, the code table of the first memory cell MC1 may be information indicating a plurality of states E and PV1 to PV5 as code patterns formed by EMB, PSB, and QSB. When displayed in the order of EMB, PSB, and QSB, in the first memory cell MC1, the code pattern of the erase state E may be "1, 1, 1", the code pattern of the first programming state PV1 may be "1, 0, 1", the code pattern of the second programming state PV2 may be "1, 0, 0", the code pattern of the third programming state PV3 may be "1, 1, 0", the code pattern of the fourth programming state PV4 may be "0, 1, 0", and the code pattern of the fifth programming state PV5 may be "0, 0, 0".

[0101] In one implementation, the code table generator 151 may assign a plurality of second data bits to the code table of the second memory unit.

[0102] For example, the code table generator 151 may assign MSB, CSB and LSB to the code table of the second memory cell MC2. That is, the second memory cell MC2 may store MSB, CSB and LSB. In this case, the code table of the second memory cell MC2 may be information indicating a plurality of states E and PV1 to PV5 as code patterns formed by MSB, CSB and LSB. When displayed in the order of MSB, CSB and LSB, in the second memory cell MC2, the code pattern of the erase state E may be "1, 1, 1", the code pattern of the first programming state PV1 may be "1, 0, 1", the code pattern of the second programming state PV2 may be "1, 0, 0", the code pattern of the third programming state PV3 may be "1, 1, 0", the code pattern of the fourth programming state PV4 may be "0, 1, 0", and the code pattern of the fifth programming state PV5 may be "0, 0, 0".

[0103] Therefore, a data pattern formed of PSB, QSB, MSB, CSB, and LSB may be mapped to a code pattern combination between states of each of the first memory cell MC1 and the second memory cell MC2 according to the code table.

[0104] In addition, since the first memory cell and the second memory cell do not have a threshold voltage higher than the fifth programming state PV5, a portion of the code pattern that can be formed by a plurality of data bits may correspond to an invalid code pattern. For example, "0, 0, 1" and "0, 1, 1" as code patterns that can be formed by EMB, PSB, and QSB, and "0, 0, 1" and "0, 1, 1" as code patterns that can be formed by MSB, CSB, and LSB may be invalid code patterns. In this case, the code table generator 151 may set the corresponding code pattern to a preset code pattern and encode the corresponding code pattern as a valid code pattern. Referring to the method described later, Fig.11 An operation of generating a code table by encoding corresponding code patterns is described in detail.

[0105] Fig.11 is a diagram illustrating another example of encoding a plurality of data bits according to one embodiment of the present disclosure.

[0106] Reference Fig.11 , the table shown at the top may indicate a data pattern formed by PSB, QSB, MSB, CSB, and LSB. Fig.11 Can be exemplified with Figure 5 The table shown has a table of different data modes. There can be a total of 32 data modes formed by PSB, QSB, MSB, CSB and LSB.

[0107] In operation S111, the code table generator 151 may generate EMB as an additional data bit. The code table generator 151 may allocate EMB, PSB, and QSB to the code table of the first memory cell MC1. In addition, the code table generator 151 may allocate MSB, CSB, and LSB to the code table of the second memory cell MC2.

[0108] At this time, the code pattern formed by the plurality of second data bits may correspond to a preset code pattern. The preset code pattern may mean an invalid pattern.

[0109] For example, the invalid code pattern may be included in the code patterns corresponding to the sixth data pattern, the eighth data pattern, the fourteenth data pattern, the sixteenth data pattern, the twenty-second data pattern, the twenty-fourth data pattern, the thirtieth data pattern, and the thirty-second data pattern.

[0110] Specifically, looking at the code pattern 1101 corresponding to the sixth data pattern, the code pattern formed by the MSB, CSB and LSB corresponding to the second memory cell MC2 may be an invalid code pattern. In addition, looking at the code pattern 1102 corresponding to the sixteenth data pattern, the code pattern formed by the MSB, CSB and LSB corresponding to the second memory cell MC2 may be an invalid code pattern. Hereinafter, for ease of description, the operation of encoding the code patterns corresponding to the sixth data pattern and the sixteenth data pattern is described, and can be equally applied to other invalid code patterns.

[0111] In operation S112 , the code table generator 151 may perform an encoding operation of selectively inverting a second data bit among a plurality of second data bits so that the inverted second data bit has a logic value of a first data bit among the one or more first data bits.

[0112] For example, looking at the code pattern 1101 corresponding to the sixth data pattern, the code table generator 151 may invert the LSB so that the logic value of the LSB has '0' which is the logic value of the QSB.

[0113] As another example, looking at the code pattern 1102 corresponding to the sixteenth data pattern, since the logic value of the QSB and the logic value of the LSB are the same as '1', the code table generator 151 may maintain them as they are.

[0114] In addition, the code table generator 151 may selectively invert the additional data bits so that the additional data bits have the first logic value.

[0115] For example, looking at the code pattern 1101 corresponding to the sixth data pattern, the code table generator 151 may invert EMB so that EMB has '0'. Also, looking at the code pattern 1102 corresponding to the sixteenth data pattern, the code table generator 151 may invert EMB so that EMB has '0'.

[0116] In operation S113, the code table generator 151 may selectively invert the first data bit so that the first data bit has a first logic value, and selectively invert second data bits other than the second data bit so that the second data bits other than the second data bit have a second logic value.

[0117] For example, looking at the code pattern 1101 corresponding to the sixth data pattern, the code table generator 151 may invert the MSB except the LSB so that the MSB has '1.' Since the QSB has the first logic value, the QSB may be maintained as it is without inversion.

[0118] As another example, looking at the code pattern 1102 corresponding to the sixteenth data pattern, the code table generator 151 may invert QSB so that QSB has '0.' In addition, the code table generator 151 may invert MSB except LSB so that MSB has '1.'

[0119] Furthermore, PSB and CSB may not be inverted and may maintain their values ​​as they are.

[0120] As described above, when the additional data bit stored in the first memory cell MC1 has the first logic value, it may indicate information that the corresponding code pattern is inverted.

[0121] Therefore, the code table may include information in which data patterns of a plurality of data bits are mapped to combinations of valid code patterns.

[0122] Fig.12 is a diagram illustrating another example of the number of read times required for a read operation according to one embodiment of the present disclosure. Fig.13 is a diagram illustrating another example of a read operation according to an embodiment of the present disclosure. Specifically, Fig.13 The LSB read operation can be illustrated. Fig.13 , the horizontal axis represents the threshold voltage of each memory cell, and the vertical axis represents the number of memory cells.

[0123] Reference Fig.12 , the uncoded PSB and CSB can be read from the memory cell through three data read operations (data read).

[0124] In the case of the encoded QSB, MSB, and LSB, a decode read operation (Decode Read) may be performed in addition to a data read operation (Data Read).

[0125] In the case of QSB, since it is necessary to determine whether QSB is inverted by the encoding operation in the previous programming operation through EMB, and it is necessary to obtain the value stored in LSB, a decoding read operation (decoding read) may be additionally performed up to two times. For example, when it is determined based on EMB that QSB is not inverted by the encoding operation in the previous programming operation, the internal operation controller 152 may determine the value of QSB sensed by the data read operation (data read) as the read value. On the contrary, when it is determined based on EMB that QSB is inverted by the encoding operation in the previous programming operation, the internal operation controller 152 may additionally perform a decoding read operation (decoding read) for sensing the logic value stored in LSB. The internal operation controller 152 may perform a decoding operation that inverts QSB to have a logic value of LSB sensed by the decoding read operation (decoding read).

[0126] In the case of MSB and LSB, a decoding read operation (decoding read) may be additionally performed to determine whether the MSB and LSB are inverted by the encoding operation in the previous programming operation through the EMB. For example, when it is determined based on the EMB that the LSB is inverted by the encoding operation in the previous programming operation, the internal operation controller 152 may perform a decoding operation of inverting the QSB to have a logic value of the LSB and then inverting the LSB so that the LSB has a second logic value. In addition, when it is determined based on the EMB that the MSB is inverted, the internal operation controller 152 may selectively invert the MSB so that the MSB has a first logic value.

[0127] Reference Fig.13 , a data read operation (data read) using the second read voltage R2 may be performed to read the LSB. In addition, since it is necessary to read EMB from the first memory cell MC1 to determine whether the LSB is inverted by the encoding operation in the previous programming operation, a decoding read operation (decoding read) may be performed.

[0128] Fig.14 is a diagram illustrating the number of times a programming state is used in a code mode combination according to one embodiment of the present disclosure. Fig.14 , the horizontal axis represents the threshold voltage of each memory cell, and the vertical axis represents the number of memory cells.

[0129] Reference Fig.14 , there may be 32 data patterns formed by five (5) data bits. In addition, when the code patterns indicating the state E of each of the memory cells MC1 and MC2 and PV1 to PV5 are combined, there may be 36 code pattern combinations. That is, four code pattern combinations among the code pattern combinations may be combinations that are not mapped to data patterns.

[0130] In one embodiment, the combination that is not mapped to the data pattern may include a code pattern combination between states higher than a preset threshold voltage. For example, the combination that is not mapped to the data pattern may include a code pattern combination between higher states among a plurality of states. In this case, when the code patterns are combined, the erased state E and the first programming state PV1 to the third programming state PV3 may be used six times in each of the memory cells MC1 and MC2. On the contrary, when the code patterns are combined, the fourth programming state PV4 and the fifth programming state PV5 may be used four times in each memory cell.

[0131] Therefore, when the number of memory cells included in a higher state is reduced, the operational performance of the memory device 100 may be improved, such as reducing the time required for a program operation and improving the cycle of an erase operation and a program operation.

[0132] Fig.15 is a flowchart illustrating one example of a method of operating a memory device according to one embodiment of the present disclosure. Fig.15 The method shown in can be used, for example, Figure 1 The memory device 100 shown in FIG. Fig.15 It can be shown that based on Figure 4 The code table shown is an operation of dividing and storing a plurality of target data bits in a plurality of memory cells.

[0133] In operation S1501 , during a program operation, the memory device 100 may divide a plurality of target data bits into one or more first data bits, one or more second data bits, and common data bits.

[0134] In operation S1503 , the memory device 100 may store a common data bit and one or more first data bits in a first memory cell.

[0135] In operation S1505 , the memory device 100 may store the common data bit and one or more second data bits in the second memory cell.

[0136] Fig.16 is a flowchart illustrating another example of a method of operating a memory device according to one embodiment of the present disclosure. Fig.16 The method shown can be used, for example, Figure 1 The memory device 100 shown in FIG. Fig.16 It can be illustrated based on Fig.10 The code table shown is an operation of dividing and storing a plurality of target data bits in a plurality of memory cells.

[0137] In operation S1601 , during a program operation, the memory device 100 may divide a plurality of target data bits into one or more first data bits and a plurality of second data bits.

[0138] In operation S1603 , the memory device 100 may generate additional data bits.

[0139] In operation S1605 , the memory device 100 may store additional data bits and one or more first data bits in the first memory cell.

[0140] In operation S1607 , the memory device 100 may store a plurality of second data bits in the second memory cells.

[0141] When implemented at least in part with software, controllers, processors, devices, modules, actuators, units, multiplexers, generators, logic, interfaces, decoders, drivers, and other signal generation features and signal processing features may include, for example, a memory or other storage device for storing a code or instruction to be executed by, for example, a computer, processor, microprocessor, controller, or other signal processing device. The computer, processor, microprocessor, controller, or other signal processing device may be those signal processing devices described herein or other signal processing devices except for the elements described herein. Due to the detailed description of the algorithm forming the basis of the method (or the operation of a computer, processor, microprocessor, controller, or other signal processing device), the code or instruction for implementing the operation of the method implementation method may convert a computer, processor, controller, or other signal processing device into a special processor for performing the method described herein.

[0142] Although various embodiments have been described for illustrative purposes, it will be apparent to those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the present disclosure as defined in the appended claims. Furthermore, the embodiments may be combined to form additional embodiments.

[0143] CROSS-REFERENCE TO RELATED APPLICATIONS

[0144] This application claims priority to Korean Patent Application No. 10-2023-0029945, filed on March 7, 2023, the disclosure of which is incorporated herein by reference in its entirety.

Claims

1. A memory device, comprising: a plurality of memory cells, each of the plurality of memory cells having one state among a plurality of states; a code table generator that generates, based on a plurality of data bits, a code table indicating the plurality of states as code patterns formed by portions of the data bits, the portions corresponding to respective memory cells; as well as An internal operation controller divides and stores a plurality of target data bits in the plurality of memory cells based on the code table during a program operation.

2. The memory device according to claim 1, wherein: The plurality of memory cells are connected to channels among a plurality of channels formed by separating one channel hole.

3. The memory device according to claim 1, wherein: The number of the plurality of states is smaller than a maximum number of code patterns formed by one of the portions of the data bits.

4. The memory device according to claim 1, wherein: The code table is information by which a data pattern formed by the plurality of data bits is selectively mapped to a code pattern combination between the plurality of states.

5. The memory device according to claim 4, wherein: The data pattern formed by the plurality of data bits is not mapped to a code pattern combination between states higher than a preset threshold voltage among the code pattern combination between the plurality of states.

6. The memory device according to claim 5, in, The state higher than the preset threshold voltage includes a first state and a second state, and Wherein, when a first memory cell among the plurality of memory cells is sensed as having the first state during a read operation, the internal operation controller also corrects the read result so that a second memory cell among the plurality of memory cells is sensed as having a state other than the second state.

7. The memory device according to claim 6, in, The code table generator generates the code table by the following operations: dividing the plurality of data bits into one or more first data bits, one or more second data bits, and a common data bit indicating whether the first data bits and the second data bits are encoded; assigning the common data bit and the first data bit to the code table of the first memory unit; as well as assigning the common data bit and the second data bit to the code table of the second memory unit, The parts of the data bits are respectively a group of the common data bit and the first data bit and a group of the common data bit and the second data bit.

8. The memory device according to claim 6, wherein: The code table generator generates the code table by the following operations: dividing the plurality of data bits into one or more first data bits and a plurality of second data bits; generating an additional data bit indicating whether the first data bit and the plurality of second data bits are encoded; assigning the additional data bits and the first data bits to the code table of the first memory unit; as well as assigning the plurality of second data bits to the code table of the second memory unit, The parts of the data bits are respectively a group of the additional data bits and the first data bits and a group of the plurality of second data bits.

9. The memory device according to claim 1, wherein: The internal operation controller divides and stores the plurality of target data bits by encoding the plurality of target data bits based on the code table to generate encoded data bits to be stored in each of the plurality of memory cells.

10. The memory device according to claim 1, wherein: The internal operation controller also: During a read operation, data bits are read from the plurality of memory cells, and The read data is obtained by decoding the read data bits based on the code table.

11. A method of operating a memory device, the method comprising the steps of: During a programming operation, dividing a plurality of target data bits into one or more first data bits, one or more second data bits, and a common data bit indicating whether the first data bits and the second data bits are encoded; storing the common data bit and the first data bit in a first memory unit; as well as The common data bit and the second data bit are stored in a second memory cell.

12. The method according to claim 11, further comprising the steps of: After the division, when a code pattern formed by the common data bit and the first data bit or a code pattern formed by the common data bit and the second data bit corresponds to a preset code pattern, performing an encoding operation, the encoding operation comprising: inverting a first data bit among the one or more first data bits; and A second data bit among the one or more second data bits is inverted.

13. The method according to claim 12, wherein: The encoding operation further includes inverting any one of the common data bits to be stored in the corresponding first and second memory cells so that the common data bits have different values ​​from each other.

14. The method according to claim 13, further comprising the steps of: After the encoding operation, when the code pattern formed by the common data bits and the first data bits or the code pattern formed by the common data bits and the second data bits corresponds to the preset code pattern, a re-encoding operation of inverting each of the common data bits to be stored in the corresponding first memory unit and the second memory unit is performed.

15. The method according to claim 13, further comprising the steps of: during a read operation, reading the common data bit, the first data bit, and the second data bit from the first memory cell and the second memory cell; as well as Performing a decoding operation, the decoding operation comprising: inverting the encoded data bits among the read first data bits and the read second data bits based on the read common data bits; as well as Based on the read common data bit, the read common data bit is inverted so that the read common data bit has a first logic value.

16. A method of operating a memory device, the method comprising the steps of: During a programming operation, dividing a plurality of target data bits into one or more first data bits and a plurality of second data bits; generating an additional data bit indicating whether the first data bit and the plurality of second data bits are encoded; storing the additional data bit and the first data bit in a first memory cell; as well as The second plurality of data bits are stored in a second memory cell.

17. The method according to claim 16, further comprising the steps of: After the step of generating the additional data bits, when the code pattern formed by the plurality of second data bits corresponds to a preset code pattern, performing an encoding operation, the encoding operation comprising: inverting one second data bit among the plurality of second data bits so that the one second data bit has a logic value of a first data bit among the one or more first data bits; inverting the first data bit so that the first data bit has a first logic value; and The second data bits except the one second data bit are inverted so that the second data bits except the one second data bit have a second logic value.

18. The method according to claim 17, wherein: The encoding operation also includes inverting the additional data bit so that the additional data bit has the first logic value.

19. The method according to claim 18, further comprising the steps of: during a read operation, reading the additional data bit, the first data bit, and the plurality of second data bits from the first memory cell and the second memory cell; as well as Performing a decoding operation, the decoding operation comprising: Based on the read additional data bit, inverting the read first data bit so that the read first data bit has a logic value of a read second data bit; Based on the read additional data bit, inverting the read one second data bit so that the read one second data bit has the second logic value; and Based on the read additional data bit, the read second data bits except for the read one second data bit are inverted so that the read second data bits except for the read one second data bit have the first logic value.