Memory system and non-volatile memory
Patent Information
- Application Number
- JP2021191709
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2021-11-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-11-26
AI Technical Summary
Existing memory systems with nonvolatile memories, such as NAND flash, face an increase in data transfer volume between the memory controller and the nonvolatile memory, which affects processing capability.
A memory system that includes multiple memory cells capable of storing at least two bits each, with soft bit data calculated using logical sum operations, and a memory controller that recovers soft bit data based on hard bit data and compressed soft bit data to reduce data transfer volume.
The solution effectively suppresses the increase in data transfer amount, shortening data transfer time and enhancing processing capability by compressing soft bit data into one page, allowing for efficient data recovery.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to a memory system and a non-volatile memory.
Background Art
[0002] A memory system equipped with a non-volatile memory such as a NAND-type flash memory is known.
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0004] In one embodiment of the present invention, there is provided a memory system and a non-volatile memory capable of suppressing an increase in the data transfer amount between a memory controller and a non-volatile memory.
Means for Solving the Problems
[0005] The memory system according to the embodiment includes a non-volatile memory that calculates third soft-bit data based on a logical sum operation using at least first soft-bit data corresponding to a first bit and second soft-bit data corresponding to a second bit, and a memory controller that restores the first soft-bit data and the second soft-bit data based on at least first hard-bit data corresponding to the first bit, second hard-bit data corresponding to the second bit, and the third soft-bit data.
Brief Description of the Drawings
[0006] <了 [Figure 1]Figure 1 is a block diagram showing the overall configuration of a data processing device including a memory system according to the first embodiment. [Figure 2] Figure 2 is a block diagram showing the configuration of the ECC circuit included in the memory system according to the first embodiment. [Figure 3] Figure 3 is a block diagram showing the configuration of the SB recovery circuit included in the memory system according to the first embodiment. [Figure 4] Figure 4 is a block diagram showing the basic configuration of the non-volatile memory according to the first embodiment. [Figure 5] Figure 5 is a circuit diagram of a memory cell array included in the non-volatile memory according to the first embodiment. [Figure 6] Figure 6 is a block diagram of the data register and sense amplifier included in the non-volatile memory according to the first embodiment. [Figure 7] Figure 7 shows the relationship between the threshold voltage distribution of TLCs included in the non-volatile memory according to the first embodiment and the data allocation. [Figure 8] Figure 8 shows an example of the relationship between the threshold voltage distribution of the “Er” state and the “A” state and the hard bit data and the soft bit data in the memory system according to the first embodiment. [Figure 9] Figure 9 shows the relationship between the threshold voltage distribution of the TLC and the hard bit data and compressed soft bit data in the memory system according to the first embodiment. [Figure 10] Figure 10 shows the calculation process for Calculating Soft Bit Data SB_L, SB_M, and SB_U from the results of reading operations of the Lower Page, Middle Page, and Upper Page in the memory system according to the first embodiment. [Figure 11] Figure 11 shows the calculation process for calculating compressed soft bit data from soft bit data SB_L, SB_M, and SB_U in the memory system according to the first embodiment. [Figure 12]Figure 12 shows the recovery process of soft bit data SB_L, SB_M, and SB_U in the memory system according to the first embodiment. [Figure 13] Figure 13 is a flowchart of the read operation in the memory system according to the first embodiment. [Figure 14] Figure 14 shows the command sequence for the first read mode in the memory system according to the first embodiment. [Figure 15] Figure 15 shows the command sequence for the second read mode in the memory system according to the first embodiment. [Figure 16] Figure 16 shows the command sequence for the third read mode in the memory system according to the first embodiment. [Figure 17] Figure 17 is a flowchart of the read operation in the memory system according to the second embodiment. [Figure 18] Figure 18 is a block diagram of the data register and sense amplifier included in the non-volatile memory according to the third embodiment. [Figure 19] Figure 19 shows the relationship between the threshold voltage distribution and the count for the “Er” state and the “A” state in the memory system according to the third embodiment. [Figure 20] Figure 20 is a flowchart of the read operation in the memory system according to the third embodiment. [Figure 21] Figure 21 shows the command sequence for a read operation in the memory system according to the third embodiment. [Figure 22] Figure 22 shows the relationship between the threshold voltage distribution and data allocation of the QLC included in the non-volatile memory according to the fourth embodiment. [Figure 23] Figure 23 shows the relationship between the threshold voltage distribution of QLC and hard bit data and compressed soft bit data in the memory system according to the fourth embodiment. [Figure 24]FIG. 24 is a diagram showing the restoration process of soft bit data SB_L, SB_M, SB_U, and SB_T in the memory system according to the fourth embodiment.
Embodiments of the Invention
[0007] Embodiments will be described below with reference to the drawings. The drawings are schematic. In the following description, components having substantially the same functions and configurations are denoted by the same reference numerals. The numbers after the characters constituting the reference numerals are used to distinguish between elements having similar configurations.
[0008] 1. First Embodiment 1.1 Configuration 1.1.1 Configuration of the Data Processing Device First, an example of the configuration of a data processing device 1 including a memory system will be described with reference to FIG. 1. FIG. 1 is a block diagram showing the overall configuration of the data processing device 1. In the example of FIG. 1, a part of the connection between each component is shown by an arrow line, but the connection between each component is not limited to these.
[0009] As shown in FIG. 1, the data processing device 1 includes a host device 2 and a memory system 3. Note that a plurality of memory systems 3 may be connected to the host device 2.
[0010] The host device 2 is an information processing device (computing device) that accesses the memory system 3. The host device 2 controls the memory system 3. More specifically, for example, the host device 2 requests (orders) a write operation or a read operation of data (hereinafter referred to as "user data") to the memory system 3.
[0011] The memory system 3 is, for example, an SSD (Solid State Drive). The memory system 3 is connected to the host device 2.
[0012] 1.1.2 Configuration of the Memory System Referring to Figure 1, we will now describe an example of the configuration of the memory system 3.
[0013] As shown in Figure 1, the memory system 3 includes a memory controller 10 and a non-volatile memory 20.
[0014] The memory controller 10 responds to requests (instructions) from the host device 2 by issuing commands to the non-volatile memory 20 for read operations, write operations, erase operations, etc. The memory controller 10 also manages the memory space of the non-volatile memory 20.
[0015] The non-volatile memory 20 is, for example, a NAND flash memory. The NAND flash memory comprises multiple blocks. A block serves, for example, as a data erasure unit, and data within the same block is erased collectively. Each block includes multiple memory cell transistors (hereinafter also referred to as "memory cells") that store data non-volatilely. The memory system 3 may include multiple non-volatile memories 20.
[0016] Next, the internal configuration of the memory controller 10 will be described. The memory controller 10 includes a host interface circuit (host I / F) 11, a CPU (Central Processing Unit) 12, a ROM (Read Only Memory) 13, a RAM (Random Access Memory) 14, a buffer memory 15, an ECC (Error Checking and Correcting) circuit 16, and a memory interface circuit (memory I / F) 17. These circuits are connected to each other, for example, by a bus. Note that each function of the memory controller 10 may be implemented by a dedicated circuit, or it may be implemented by the CPU 12 executing firmware.
[0017] The host interface circuit 11 is a hardware interface circuit connected to the host device 2. The host interface circuit 11 communicates with the host device 2 in accordance with the interface standard between the host device 2 and the memory controller 10. The host interface circuit 11 transmits requests and user data received from the host device 2 to the CPU 12 and the buffer memory 15, respectively. In addition, the host interface circuit 11 transmits user data from the buffer memory 15 to the host device 2 in response to instructions from the CPU 12.
[0018] The CPU 12 is a processor. The CPU 12 controls the operation of the entire memory controller 10. For example, the CPU 12 commands write, read, and erase operations to the non-volatile memory 20 based on requests received from the host device 2.
[0019] In addition to instructing the non-volatile memory 20 to perform predetermined operations based on requests received from the host device 2, the CPU 12 also performs various processes in the background to manage the non-volatile memory 20, such as garbage collection, refreshing, wear leveling, and patrol reading. Furthermore, the CPU 12 performs various calculations such as data encryption and randomization.
[0020] Garbage collection is also called compaction. Because non-volatile memory 20 has different data erasure units and data read / write units, as the non-volatile memory 20 is rewritten, invalid data causes the blocks to become fragmented. As the number of such fragmented blocks increases, the number of usable blocks decreases. Garbage collection is a process to increase the number of usable blocks. For example, it means collecting valid data from multiple active blocks that contain both valid and invalid data, rewriting it into another block, and freeing up free blocks.
[0021] An active block is a block in which valid data is recorded. A free block is a block in which no valid data is recorded. After erasing, a free block can be reused as an erased block. In this embodiment, a free block includes both a block before erasure (in which no valid data is recorded) and an erased block. Valid data is data associated with a logical address, and invalid data is data not associated with a logical address. An erased block becomes an active block when data is written to it.
[0022] Refresh is a process that rewrites the data in a block to another block when data degradation is detected, for example, when the number of correction bits in the error correction process by the ECC circuit 16 increases.
[0023] Wear leveling is a process that equalizes the number of write cycles of blocks in non-volatile memory 20 by, for example, swapping data stored in blocks with a relatively high number of write cycles or erase cycles with data stored in blocks with a relatively low number of write cycles or erase cycles.
[0024] Patrol read is a process that, in order to detect blocks with increasing errors, reads data stored in non-volatile memory 20 in predetermined units and tests the read data based on the error correction results of the ECC circuit 16. This test process, for example, compares the number of erroneous bits in the read data with a threshold, and targets data with a number of erroneous bits exceeding the threshold for refresh.
[0025] ROM13 is a non-volatile memory. For example, ROM13 is an EEPROM. TMIt is an electrically erasable, programmable, read-only memory. ROM 13 is a non-temporary storage medium that stores firmware and programs. For example, the operation of the memory controller 10, which will be described later, is realized by the CPU 12 executing the firmware in ROM 13.
[0026] RAM14 is volatile memory. RAM14 includes DRAM (Dynamic Random Access Memory) and SRAM (Static Random Access Memory). RAM14 is used as the CPU12's workspace. RAM14 holds firmware for managing non-volatile memory 20, as well as various management tables.
[0027] The buffer memory 15 is volatile memory. The buffer memory 15 is such as DRAM or SRAM. The buffer memory 15 temporarily holds data read by the memory controller 10 from the non-volatile memory 20, user data received from the host device 2, etc.
[0028] The ECC circuit 16 is a circuit that performs ECC processing. ECC processing includes data encoding and decoding. The ECC circuit 16 encodes the data to be written to the non-volatile memory 20. The encoding schemes include BCH (Bose-Chaudhuri-Hocquenghem) coding, RS (Reed-Solomon) coding, and LDPC (Low-Density Parity-Check) coding. The ECC circuit 16 decodes the data read from the non-volatile memory 20. In other words, the ECC circuit 16 performs error correction of the data. The configuration of the ECC circuit 16 will be described later.
[0029] The memory interface circuit 17 is a hardware interface circuit connected to the non-volatile memory 20. The memory interface circuit 17 communicates with the memory controller 10 in accordance with the interface standard between the memory controller 10 and the non-volatile memory 20. Based on the control of the CPU 12, the memory interface circuit 17 transmits and receives data and various signals with the non-volatile memory 20.
[0030] More specifically, the memory interface circuit 17 transmits and receives signals DQ<7:0> (for example, an 8-bit signal) and clock signals DQS and DQSn to and from the non-volatile memory 20. Signal DQ<7:0> is, for example, data, address, and command. Hereafter, unless one of the signals DQ<7:0> is specified, it will be referred to as signal DQ. Clock signals DQS and DQSn are clock signals used when inputting and outputting data. Clock signal DQSn is the inverted signal of clock signal DQS.
[0031] Furthermore, the memory interface circuit 17 transmits a chip enable signal CEn, a command latch enable signal CLE, an address latch enable signal ALE, a write enable signal WEn, and a read enable signal REn to the non-volatile memory 20. The memory interface circuit 17 then transmits a ready / busy signal RBn from the non-volatile memory 20.
[0032] The chip enable signal CEn is a signal for enabling the non-volatile memory 20 and is asserted, for example, at a Low ("L") level. The command latch enable signal CLE is a signal indicating that signal DQ is a command and is asserted, for example, at a High ("H") level. The address latch enable signal ALE is a signal indicating that signal DQ is an address and is asserted, for example, at an "H" level.
[0033] The write enable signal WEn is a signal used to capture the received signal into the non-volatile memory 20. The signal WEn is asserted, for example, at an "L" level, when the non-volatile memory 20 captures the command and address. Therefore, each time the signal WEn is toggled, the command and address are captured into the non-volatile memory 20.
[0034] The read enable signal REn is a signal that the memory controller 10 uses to read data from the non-volatile memory 20. The REn signal is asserted, for example, at the "L" level. For example, when the non-volatile memory 20 outputs data, it generates signals DQS and DQSn based on the REn signal.
[0035] The ready / busy signal RBn indicates whether the non-volatile memory 20 is in a state where it cannot receive the signal DQ from the memory controller 10 or can. For example, the ready / busy signal RBn is set to "L" level when the non-volatile memory 20 is in a busy state.
[0036] 1.1.3 Configuration of the ECC Circuit Next, an example of the configuration of the ECC circuit 16 will be described with reference to Figure 2. Figure 2 is a block diagram showing the configuration of the ECC circuit 16.
[0037] As shown in Figure 2, the ECC circuit 16 includes an encoding circuit 160, a hard-decision decoding circuit 161, a soft-decision decoding circuit 162, and an SB restoration circuit 163.
[0038] The encoding circuit 160 is a circuit that encodes data. For example, when the encoding circuit 160 receives a write request from the host device 2, it generates an error correction code (parity) used for ECC processing from the user data. The encoding circuit 160 adds parity to the user data. This is also referred to as encoding. Therefore, the data to be written includes both the user data and the parity.
[0039] The hard-bit decoding circuit 161 is a circuit that performs hard-bit decoding of read data. Hard-bit decoding is ECC processing using hard-bit values received (read) from the non-volatile memory 20. Hereafter, hard-bit values will also be referred to as hard bits. Hard bits will be explained later. Hard bit data is input to the hard-bit decoding circuit 161. The hard-bit decoding circuit 161 decodes user data based on the hard bit data.
[0040] The soft-decision decoding circuit 162 is a circuit that performs soft-decision decoding of read data. Soft-decision decoding is ECC processing using soft-decision values received (read) from the non-volatile memory 20. Hereafter, soft-decision values will also be referred to as soft bits. Soft bits will be described later. Hard bit data and soft bit data are input to the soft-decision decoding circuit 162. The soft-decision decoding circuit 162 decodes user data based on the hard bit data and soft bit data. In decoding, the soft-decision decoding circuit 162 uses a log-likelihood ratio (LLR) table. The LLR table is a table that shows the correspondence between soft bits and the log-likelihood ratio. The LLR table includes log-likelihood ratio values (LLR values). The LLR value is information that expresses the likelihood when the data is "0" and the likelihood when the data is "1" as a logarithmic ratio. The LLR value indicates the reliability (likelihood) of the data read by a certain read voltage. For example, the LLR table is read from the non-volatile memory 20 to the memory controller 10 when the memory system 3 starts up, and stored in the RAM 14.
[0041] The SB recovery circuit 163 is a circuit that recovers soft bit data. The non-volatile memory 20 of this embodiment transmits compressed soft bit data to the memory controller 10. Compressed soft bit data is data obtained by compressing multiple soft bit data. Compressed soft bit data will be described later. The SB recovery circuit 163 recovers multiple soft bit data using hard bit data and compressed soft bit data.
[0042] An example of soft bit data recovery is described below. For example, the memory cell transistor of the non-volatile memory 20 is a TLC (Triple Level Cell) that stores 3 bits of data consisting of a Lower bit, a Middle bit, and an Upper bit. In this case, the non-volatile memory 20 compresses (integrates) the 3 bits of soft bit data corresponding to the Lower bit, Middle bit, and Upper bit to calculate 1 bit of compressed soft bit data. The SB recovery circuit 163 recovers the Lower bit, Middle bit, and Upper bit soft bit data from the hard bit data and compressed soft bit data of the Lower bit, Middle bit, and Upper bit read from the non-volatile memory 20.
[0043] 1.1.4 Configuration of the SB Restoration Circuit Next, an example of the configuration of the SB restoration circuit 163 will be described with reference to Figure 3. Figure 3 is a block diagram showing the configuration of the SB restoration circuit 163. Note that the SB restoration circuit 163 shown in Figure 3 corresponds to the case where the memory cell transistor is TLC.
[0044] As shown in Figure 3, the SB restoration circuit 163 is a demultiplexer (DEMUX: The demultiplexer (1001), four buffers (1002-1005), and an SB decoder (1006) are included. The number of buffers is arbitrarily set based on the number of bits that the memory cell transistor can store. For example, if the number of bits that the memory cell transistor can store is k bits (where k is an integer greater than or equal to 2), the SB restoration circuit (163) may include k+1 buffers.
[0045] DEMUX1001 is a connection circuit. Based on the switching signal received from CPU12, DEMUX1001 electrically connects the input terminal to one of the four output terminals connected to buffers 1002 to 1005, respectively.
[0046] Buffer 1002 is a buffer that temporarily stores the hard bit data HB_L of the Lower bit. Buffer 1002 receives the hard bit data HB_L from DEMUX 1001. Buffer 1002 stores, for example, hard bit data HB_L with a data length of m bits (where m is an integer greater than or equal to 1). The data length that buffer 1002 can store may be the same as, or different from, the data length that is processed collectively using ECC (hereinafter referred to as "ECC frame").
[0047] Buffer 1003 is a buffer that temporarily stores the hard bit data HB_M of the middle bit. Buffer 1003 receives the hard bit data HB_M from DEMUX 1001. For example, like buffer 1002, buffer 1003 stores hard bit data HB_M with a data length of, for example, m bits.
[0048] Buffer 1004 is a buffer that temporarily stores the Upper bit hard bit data HB_U. Buffer 1004 receives the hard bit data HB_U from DEMUX 1001. For example, like buffer 1002, buffer 1004 stores hard bit data HB_U with a data length of, for example, m bits.
[0049] Buffer 1005 is a buffer that temporarily stores compressed soft bit data SB. Buffer 1005 receives compressed soft bit data SB from MUX 1001. For example, like buffer 1002, buffer 1005 stores compressed soft bit data SB with a data length of, for example, m bits.
[0050] The SB decoder 1006 is a circuit for restoring soft bit data SB. The SB decoder 1006 receives hard bit data HB_L, HB_M, and HB_U, as well as compressed soft bit data SB. Based on the hard bit data HB_L, HB_M, and HB_U, and the compressed soft bit data SB, the SB decoder 1006 restores the soft bit data SB_L for the lower bits, the soft bit data SB_M for the middle bits, and the soft bit data SB_U for the upper bits. For example, the SB decoder 1006 transmits the soft bit data SB_L, SB_M, and SB_U to the soft-decision decoding circuit 162.
[0051] 1.1.5 Configuration of Non-Volatile Memory Next, an example of the configuration of the non-volatile memory 20 will be described with reference to Figure 4. Figure 4 is a block diagram showing the basic configuration of the non-volatile memory 20. In the example in Figure 4, some of the connections between each component are indicated by arrow lines. However, the connections between each component are not limited to these.
[0052] As shown in Figure 4, the non-volatile memory 20 is, for example, a NAND flash memory. The non-volatile memory 20 is connected to the memory controller 10. The non-volatile memory 20 operates based on instructions from the memory controller 10.
[0053] The non-volatile memory 20 includes an input / output circuit 201, a logic control circuit 202, an address register 203, a command register 204, a status register 205, a sequencer 206, a ready / busy circuit 207, a voltage generation circuit 208, and multiple plane PLNs.
[0054] The input / output circuit 201 is a circuit that performs input and output of signal DQ. The input / output circuit 201 is connected to the memory controller 10. The input / output circuit 201 is also connected to the address register 203, the command register 204, the status register 205, and the data registers 214 of each plane PLN. When the input signal DQ is data DAT, the input / output circuit 201 receives the input signal DQ based on the clock signals DQS and DQSn. The input / output circuit 201 then transmits the data DAT to the data register 214 of the corresponding plane PLN. The input / output circuit 201 also outputs the data DAT and status information STS, along with the clock signals DQS and DQSn, to the memory controller 10. When the input signal DQ is address ADD, the input / output circuit 201 transmits address ADD to the address register 203. When the input signal DQ is command CMD, the input / output circuit 201 transmits command CMD to the command register 204.
[0055] The logic control circuit 202 is a circuit that performs logic control based on control signals. The logic control circuit 202 is connected to the memory controller 10. The logic control circuit 202 is also connected to the input / output circuit 201 and the sequencer 206. The logic control circuit 202 receives various control signals from the memory controller 10. Based on the received control signals, the logic control circuit 202 controls the input / output circuit 201 and the sequencer 206.
[0056] Address register 203 is a register that temporarily stores address ADD. Address register 203 is connected to the row decoder 212 and column decoder 215 of each plane PLN. Address ADD includes the row address RA and the column address CA. Address register 203 sends the row address RA to the row decoder 212. Address register 203 also sends the column address CA to the column decoder 215.
[0057] Command register 204 is a register that temporarily stores the command CMD. Command register 204 is connected to the sequencer 206. Command register 204 sends the command CMD to the sequencer 206.
[0058] The status register 205 is a register that temporarily stores status information STS. The status register 205 is connected to the sequencer 206. The status register 205 temporarily stores status information STS during write operations, read operations, erase operations, etc. The status information STS is transmitted to the memory controller 10 via the input / output circuit 201.
[0059] The sequencer 206 controls the operation of the entire non-volatile memory 20. More specifically, the sequencer 206 controls the ready / busy circuit 207, the voltage generation circuit 208, the row decoder 212, the sense amplifier 213, the data register 214, and the column decoder 215, etc. Based on the command CMD, the sequencer 206 performs write, read, and erase operations. The sequencer 206 sends status information STS to the status register 205.
[0060] The ready / busy circuit 207 is a circuit that transmits a ready / busy signal RBn. Depending on the operating status of the sequencer 206, the ready / busy circuit 207 transmits the ready / busy signal RBn to the memory controller 10.
[0061] The voltage generation circuit 208 generates various voltages used for writing, reading, and erasing operations based on the control of the sequencer 206. The voltage generation circuit 208 supplies voltages to the memory cell array 211, row decoder 212, sense amplifier 213, data register 214, column decoder 215, etc. of each plane PLN.
[0062] A plane PLN is a unit that performs data writing and reading operations. In the example in Figure 4, the non-volatile memory 20 includes four planes PLN0, PLN1, PLN2, and PLN3. Note that the number of planes PLN is not limited to four. There may be one plane PLN or more than four. Planes PLN0 to PLN3 can operate independently of each other. Also, planes PLN0 to PLN3 can operate in parallel.
[0063] Next, the internal configuration of the plane PLN will be described. The following description assumes that planes PLN0 to PLN3 have the same configuration. Note that the configurations of each plane PLN may differ. Hereafter, unless it is limited to one of planes PLN0 to PLN3, it will be referred to as "plane PLN". The plane PLN includes a memory cell array 211, a row decoder 212, a sense amplifier 213, a data register 214, and a column decoder 215.
[0064] The memory cell array 211 is a collection of multiple memory cell transistors arranged in a sequence. The memory cell array 211 includes multiple blocks BLK. In the example in Figure 4, the memory cell array 211 includes four blocks BLK0, BLK1, BLK2, and BLK3. The number of blocks BLK in the memory cell array 211 is arbitrary. A block BLK is, for example, a collection of multiple memory cell transistors whose data is erased all at once. Details of the block BLK configuration will be described later.
[0065] The row decoder 212 is a decoding circuit for row address RA. Based on the decoding result, the row decoder 212 selects one of the blocks BLK in the memory cell array 211. The row decoder 212 applies a voltage to the row-direction wiring (word lines and selection gate lines, described later) of the selected block BLK.
[0066] The sense amplifier 213 is a circuit that writes and reads data DAT. The sense amplifier 213 is connected to the memory cell array 211. During a read operation, the sense amplifier 213 reads data DAT from the memory cell array 211. During a write operation, the sense amplifier 213 supplies a voltage to the memory cell array 211 corresponding to the data DAT to be written. Based on the read data, the sense amplifier 213 calculates soft bit data SB. The sense amplifier 213 also calculates compressed soft bit data SB from multiple soft bit data SBs. In other words, the sequencer 206 is a control circuit that controls the sense amplifier 213 to calculate compressed soft bit data SB.
[0067] The data register 214 is a register that temporarily stores data DAT. The data register 214 is connected to the sense amplifier 213. The data register 214 includes multiple latch circuits. Each latch circuit temporarily stores the data to be written or read.
[0068] The column decoder 215 is a circuit that decodes the column address CA. The column decoder 215 receives the column address CA from the address register 203. Based on the decoding result of the column address CA, the column decoder 215 selects a latch circuit in the data register 214.
[0069] Note that the input / output circuit 201, logic control circuit 202, address register 203, command register 204, status register 205, sequencer 206, ready / busy circuit 207, voltage generation circuit 208, and some elements of the row decoder 212, sense amplifier 213, data register 214, and column decoder 215 contained in each of the multiple plane PLNs may be referred to as control circuits.
[0070] 1.1.6 Circuit configuration of memory cell array Next, an example of the circuit configuration of the memory cell array 211 will be described with reference to Figure 5. Figure 5 is a circuit diagram of the memory cell array 211. Note that the example in Figure 5 shows the circuit configuration of one block BLK.
[0071] Block BLK includes, for example, four string units SU0 to SU3. The number of string units SU included in block BLK is arbitrary.
[0072] A string unit SU is a collection of multiple NAND strings NS that are selected collectively, for example, during a write or read operation. A string unit SU contains multiple NAND strings NS.
[0073] A NAND string NS is a collection of multiple memory cell transistors MC connected in series. Multiple NAND strings NS within a string unit SU are connected to one of the bit lines BL0 to BLn (where n is an integer greater than or equal to 1). A NAND string NS includes multiple memory cell transistors MC, as well as selection transistors ST1 and ST2. In the example in Figure 5, the NAND string NS includes eight memory cell transistors MC0 to MC7.
[0074] A memory cell transistor (MC) is a memory element that stores data non-volatilely. The MC includes a control gate and a charge storage layer. The MC may be of the MONOS (Metal-Oxide-Nitride-Oxide-Silicon) type or the FG (Floating Gate) type. The MONOS type uses an insulating layer in the charge storage layer. The FG type uses a conductive layer in the charge storage layer.
[0075] The selection transistors ST1 and ST2 are switching elements. They are used to select the string unit SU during various operations.
[0076] The current paths of the selection transistor ST2, memory cell transistors MC0~MC7, and selection transistor ST1 within the NAND string NS are connected in series. The drain of selection transistor ST1 is connected to the bit line BL. The source of selection transistor ST2 is connected to the source line SL.
[0077] The control gates of memory cell transistors MC0 to MC7 within the same block BLK are connected in common to word lines WL0 to WL7. More specifically, for example, block BLK contains four string units SU0 to SU3, and each string unit SU contains multiple memory cell transistors MC0. The control gates of multiple memory cell transistors MC0 within block BLK are connected in common to a single word line WL0. The same applies to memory cell transistors MC1 to MC7.
[0078] The gates of multiple selection transistors ST1 within a string unit SU are connected in common to a single selection gate line SGD. More specifically, the gates of multiple selection transistors ST1 within a string unit SU0 are connected in common to selection gate line SGD0. The gates of multiple selection transistors ST1 within a string unit SU1 are connected in common to selection gate line SGD1. The gates of multiple selection transistors ST1 within a string unit SU2 are connected in common to selection gate line SGD2. The gates of multiple selection transistors ST1 within a string unit SU3 are connected in common to selection gate line SGD3.
[0079] The gates of multiple selection transistors ST2 within block BLK are connected in common to the selection gate line SGS. Note that, similar to the selection gate line SGD, a different selection gate line SGS may be provided for each string unit SU.
[0080] Word lines WL0 to WL7, selection gate lines SGD0 to SGD3, and selection gate line SGS are connected to the row decoder 212 in the plane PLN, respectively.
[0081] Each bit line BL is connected in common to one NAND string NS within each string unit SU of each block BLK. Multiple NAND strings NS connected to a single bit line BL are assigned the same column address. Each bit line BL is connected to a sense amplifier 213 in the plane PLN.
[0082] Source lines SL are shared, for example, between multiple block lines BLK.
[0083] A collection of multiple memory cell transistors MC connected to a common word line WL within a single string unit SU is denoted, for example, as a "cell unit CU". For example, if a memory cell transistor MC stores 1 bit of data, the storage capacity of a cell unit CU is defined as "1 page of data". The data length of 1 page of data can be any bit length.
[0084] Furthermore, the cell unit CU may have a storage capacity of two pages or more of data, based on the number of bits of data stored by the memory cell transistor MC. For example, if the memory cell transistor MC is TLC, the cell unit CU will store three pages of data. The data length of one page of data may be the same as the data length of an ECC frame, or one page of data may contain multiple ECC frames.
[0085] 1.1.7 Configuration of Data Registers and Sense Amplifiers Next, an example of the configuration of the data register 214 and sense amplifier 213 will be described with reference to Figure 6. Figure 6 is a block diagram of the data register 214 and sense amplifier 213.
[0086] As shown in Figure 6, the sense amplifier 213 includes multiple sense amplifier units SAU provided for each bit line BL. The data register 214 includes multiple latch circuits XDL provided for each sense amplifier unit SAU.
[0087] For example, the sense amplifier unit SAU includes a sense circuit SA, an arithmetic unit OP, and latch circuits SDL, ADL, BDL, CDL, and TDL. The sense circuit SA, and the latch circuits SDL, ADL, BDL, CDL, and TDL are all connected to the corresponding latch circuit XDL via the bus LBUS. In other words, the latch circuit XDL, the sense circuit SA, and the latch circuits SDL, ADL, BDL, CDL, and TDL are connected to each other via the bus LBUS so that they can send and receive data. The number of latch circuits included in the sense amplifier unit SAU may be designed based on the number of data bits that one memory cell transistor MC can store.
[0088] During a read operation, the sense circuit SA senses the data read onto the corresponding bit line BL and determines whether the read data is "0" or "1". During a write operation, the sense circuit SA applies a voltage to the bit line BL based on the data to be written.
[0089] The arithmetic unit OP performs various logical operations using the data stored in the latch circuits XDL, SDL, ADL, BDL, CDL, and TDL. The sense amplifier 213 may also include separate arithmetic circuits that perform various logical operations instead of the arithmetic unit OP.
[0090] The latch circuits SDL, ADL, BDL, CDL, and TDL temporarily store read or write data. For example, in a read operation, the read data is stored in one of the latch circuits SDL, ADL, BDL, CDL, and TDL. Similarly, in a write operation, the write data from latch circuit XDL is stored in one of the latch circuits SDL, ADL, BDL, CDL, and TDL.
[0091] The latch circuit XDL is used as a cache memory for data input and output between the sense amplifier unit SAU and the input / output circuit 201. More specifically, write data received from the memory controller 10 is transmitted via the latch circuit XDL to the latch circuits SDL, ADL, BDL, CDL, and TDL, or to the sense circuit SA. Read data stored in the latch circuits SDL, ADL, BDL, CDL, and TDL, or to the sense circuit SA, is transmitted to the memory controller 10 via the latch circuit XDL.
[0092] 1.2 Threshold voltage distribution of memory cell transistors Next, we will describe the possible threshold voltage distributions of the memory cell transistor (MC). The following description will focus on the case where the memory cell transistor (MC) is a TLC (Total Light Cell), but this embodiment can be applied as long as the memory cell transistor (MC) is capable of storing two or more bits of data.
[0093] 1.2.1 Relationship between threshold voltage distribution and data allocation of memory cell transistors First, with reference to Figure 7, we will explain an example of the relationship between the threshold voltage distribution and data allocation of a memory cell transistor (MC). Figure 7 shows the relationship between the threshold voltage distribution and data allocation of a TLC.
[0094] As shown in Figure 7, for example, the threshold voltage of each memory cell transistor MC can take a value that falls within one of eight discrete distributions. Hereinafter, these eight distributions will be denoted as the “Er” state, “A” state, “B” state, “C” state, “D” state, “E” state, “F” state, and “G” state, in order from lowest to highest threshold voltage.
[0095] The "Er" state corresponds to, for example, the data erasure state. The "A" to "G" states correspond to the state where charges are injected into the charge storage layer and data is written. In the write operation, verification voltages corresponding to each threshold voltage distribution are denoted as VA to VG. Then, these voltage values have the relationship of VA < VB < VC < VD < VE < VF < VG < VREAD. The voltage VREAD is the voltage applied to the word line WL connected to the cell unit CU that is not the read target during the read operation. When the voltage VREAD is applied to the gate of the memory cell transistor MC, it becomes in the on state regardless of the data it holds.
[0096] In the write operation, although the verification voltages corresponding to each threshold voltage distribution are denoted as VA to VG, the method for determining the voltages VA to VG is not limited to this. For example, the voltages VA to VG are written in the ROM fuse of the non-volatile memory 20 (this is denoted as the default voltage). After the shipment of the memory system 3, the CPU 12 may read the voltages VA to VG from the ROM fuse. Also, the CPU 12 may update the voltages VA to VG read from the ROM fuse of the non-volatile memory 20 and save them in any block BLK of the non-volatile memory 20. Further, the CPU 12 can update the voltages VA to VG along with the execution of the shift read or tracking operation. The CPU 12 executes, for example, the shift read or tracking operation in the patrol read.
[0097] The shift read means that the CPU 12 shifts the read voltage and attempts to read data from the non-volatile memory 20 again. At this time, the CPU 12 may update the voltages VA to VG by saving information on the shift amount from the default voltage.
[0098] The tracking operation involves the CPU 12 finding the intersection point when adjacent threshold voltage distributions overlap, and calculating an appropriate read voltage, i.e., a shift amount, from the obtained intersection point. Alternatively, instead of finding an intersection point, the CPU 12 searches for the voltage at which the number of fail bits in the ECC circuit 16 is minimized, or the voltage at which error correction by the ECC circuit 16 becomes possible, as the read voltage is changed.
[0099] The relationship between each state and voltages VA to VG is detailed below. The threshold voltage in the “Er” state is less than voltage VA. The threshold voltage in the “A” state is greater than or equal to voltage VA and less than voltage VB. The threshold voltage in the “B” state is greater than or equal to voltage VB and less than voltage VC. The threshold voltage in the “C” state is greater than or equal to voltage VC and less than voltage VD. The threshold voltage in the “D” state is greater than or equal to voltage VD and less than voltage VE. The threshold voltage in the “E” state is greater than or equal to voltage VE and less than voltage VF. The threshold voltage in the “F” state is greater than or equal to voltage VF and less than voltage VG. And the threshold voltage in the “G” state is greater than or equal to voltage VG and less than voltage VREAD.
[0100] As described above, each memory cell transistor (MC) can take on eight different states by having one of eight threshold voltage distributions. By assigning these states to the binary numbers "000" to "111", each memory cell transistor (MC) can hold three bits of data. Hereafter, these three bits of data will be referred to as the Lower bit, Middle bit, and Upper bit. The set of Lower bits that are written (or read) to (or read from) the cell unit (CU) all at once will be referred to as the Lower page. The set of Middle bits will be referred to as the Middle page. The set of Upper bits will be referred to as the Upper page. If it is not limited to a Lower page, Middle page, or Upper page, it will simply be referred to as "page".
[0101] For example, in the case of a lower page read operation, the data read at read voltage VA is stored in, for example, a latch circuit TDL. Subsequently, the data read at read voltage VE is logically operated on with the data in the latch circuit TDL by the arithmetic unit OP, and the result is stored in the latch circuit TDL. This stored data is then transmitted to the memory controller 10 via the latch circuit XDL as lower page read data.
[0102] In the case of a middle page read operation, the data read at read voltage VB is stored, for example, in a latch circuit TDL. Subsequently, the data read at read voltage VD is logically operated on by the arithmetic unit OP with the data in the latch circuit TDL, and the result is stored in the latch circuit TDL. Furthermore, the data read at read voltage VF is logically operated on by the arithmetic unit OP with the data in the latch circuit TDL, and the result is stored in the latch circuit TDL. This stored data is then transmitted to the memory controller 10 via the latch circuit XDL as middle page read data.
[0103] In the case of an upper page read operation, the data read at the read voltage VC is stored, for example, in a latch circuit TDL. Subsequently, the data read at the read voltage VG is logically operated on by the arithmetic unit OP with the data in the latch circuit TDL, and the result is stored in the latch circuit TDL. This stored data is then transmitted to the memory controller 10 via the latch circuit XDL as upper page read data.
[0104] In the example in Figure 7, data is assigned to the “Upper bit / Middle bit / Lower bit” of the memory cell transistor MC included in each threshold voltage distribution as follows.
[0105] “Er” state: “111” data "A" State: "110" Data "B" State: "100" Data "C" State: "000" Data "D" State: "010" Data "E" State: "011" Data "F" State: "001" Data “G” State: “101” Data
[0106] When reading data allocated in this manner, the Lower bit is determined by the read operations corresponding to states "A" and "E". The Middle bit is determined by the read operations corresponding to states "B", "D", and "F". The Upper bit is determined by the read operations corresponding to states "C" and "G". In other words, the values of the Lower bit, Middle bit, and Upper bit are determined by read operations corresponding to two states, three states, and two states, respectively. Hereafter, this type of data allocation will be referred to as the "2-3-2 code". Note that data allocation to states "Er" to "G" is not limited to the 2-3-2 code.
[0107] 1.2.2 Specific Examples of Hard Bit Data and Soft Bit Data Next, with reference to Figure 8, specific examples of hard bit data HB and soft bit data SB will be described. Figure 8 shows an example of the relationship between the threshold voltage distribution of the “Er” state and the “A” state and the hard bit data HB and soft bit data SB.
[0108] As shown in Figure 8, due to effects such as read disturbance or data retention, the width of the threshold voltage distribution for each state may widen, and the tails of adjacent threshold voltage distributions may overlap (shaded area in Figure 8). In such cases, when a read operation is performed, the memory cell transistor MC corresponding to the overlapping tail area is highly likely to become a fail bit. More specifically, for example, when a read operation corresponding to the "A" state is performed with voltage VA, the memory cell transistor MC of the "Er" state with a threshold voltage of voltage VA or higher, and the memory cell transistor MC of the "A" state with a threshold voltage of voltage less than VA will become fail bits. If the number of fail bits that occur exceeds the number of bits that the ECC circuit 16 can correct, it becomes difficult to read the data correctly.
[0109] Therefore, in this embodiment, during the read operation of one state, two read voltages are set, flanking the region where the tails of the threshold voltage distribution overlap. More specifically, for the "A" state, two read voltages, VAL and VAH, are set. Voltage VAL is a voltage less than voltage VA. Voltage VAH is a voltage higher than voltage VA. The region where the "Er" state and the "A" state overlap lies between voltage VAL and voltage VAH. The magnitude of the voltage difference between voltage VAL and voltage VA may be the same as or different from the magnitude of the voltage difference between voltage VA and voltage VAH.
[0110] For example, in a read operation using voltage VAL, the data of a memory cell transistor MC where the threshold voltage is less than voltage VAL is "1". The data of a memory cell transistor MC where the threshold voltage is greater than or equal to voltage VAL is "0".
[0111] Furthermore, in a read operation using voltage VAH, data from memory cell transistors MC where the threshold voltage is less than voltage VAH is "1". Data from memory cell transistors MC where the threshold voltage is greater than or equal to voltage VAH is "0".
[0112] In this embodiment, for two read voltages corresponding to one state, the read data based on the lower read voltage is defined as hard bit data HB.
[0113] The soft bit data SB is calculated by performing an XOR (exclusive OR) operation on two read data. In the example in Figure 8, the soft bit data SB of a memory cell transistor MC whose threshold voltage is less than voltage VAL is "0". The soft bit data SB of a memory cell transistor MC whose threshold voltage is greater than or equal to voltage VAL and less than voltage VAH is "1". The soft bit data SB of a memory cell transistor MC whose threshold voltage is greater than or equal to voltage VAH is "0". Note that the calculation of the soft bit data SB is not limited to the XOR operation. The calculation of the soft bit data SB can be set based on the definition of the soft bit data SB. For example, if the soft bit data SB of a memory cell transistor MC whose threshold voltage is greater than or equal to voltage VAL and less than voltage VAH is defined as "0", then an XNOR (negative exclusive OR) operation may be used to calculate the soft bit data SB.
[0114] Therefore, the soft bit data SB indicates whether the threshold voltage is located near the boundary between two adjacent threshold voltage distributions. By referring to the hard bit data HB and the soft bit data, information can be obtained as to whether the threshold voltage is located at the tail end of the threshold voltage distribution for the target state.
[0115] 1.2.3 Hard bits and compressed soft bits for each state Next, with reference to Figure 9, the hard bit data HB and compressed soft bit data SB for each state will be described. Figure 9 is a diagram showing the relationship between the threshold voltage distribution of the TLC and the hard bit data HB and compressed soft bit data SB.
[0116] As shown in FIG. 9, the two read voltages corresponding to the "A" state are defined as voltage VAL and voltage VAH. The two read voltages corresponding to the "B" state are defined as voltage VBL and voltage VBH. The two read voltages corresponding to the "C" state are defined as voltage VCL and voltage VCH. The two read voltages corresponding to the "D" state are defined as voltage VDL and voltage VDH. The two read voltages corresponding to the "E" state are defined as voltage VEL and voltage VEH. The two read voltages corresponding to the "F" state are defined as voltage VFL and voltage VFH. The two read voltages corresponding to the "G" state are defined as voltage VGL and voltage VGH. These voltages satisfy the relationship VAL < VA < VAH < VBL < VB < VBH < VCL < VC < VCH < VDL < VD < VDH < VEL < VE < VEH < VFL < VF < VFH < VGL < VG < VGH < VREAD. The read operations using voltage VAL, voltage VAH, voltage VBL, voltage VBH, voltage VCL, voltage VCH, voltage VDL, voltage VDH, voltage VEL, voltage VEH, voltage VFL, voltage VFH, voltage VGL, and voltage VGH are denoted as ALR read, AHR read, BLR read, BHR read, CLR read, CHR read, DLR read, DHR read, ELR read, EHR read, FLR read, FHR read, GLR read, and GHR read, respectively.
[0117] In the read operation of the Lower page, four read operations of ALR read, AHR read, ELR read, and EHR read are executed. The hard bit data HB_L is the data determined by ALR read and ELR read. The soft bit data SB_L is based on the hard bit data HB_L and the data determined by AHR read and EHR read.
[0118] For example, in the case of the read operation of the hard bit data of the Lower page, the data read with the read voltage VAL is stored in, for example, the latch circuit TDL. Subsequently, the data read with the read voltage VEL is logically operated with the data in the latch circuit TDL in the arithmetic unit OP, and the result is stored in the latch circuit TDL as the hard bit data HB_L.
[0119] Furthermore, for example, in the case of reading soft bit data from the Lower page, the data read at the read voltage VAH is stored in, for example, the latch circuit CDL. Subsequently, the data read at the read voltage VEH is logically operated on with the data in the latch circuit CDL by the arithmetic unit OP, and the result is stored in the latch circuit CDL. Then, the arithmetic unit OP performs an XOR operation on the data stored in the latch circuit TDL and the data stored in the latch circuit CDL, and saves the result as soft bit data SB_L in, for example, the latch circuit CDL.
[0120] The middle page read operation involves six read operations: BLR read, BHR read, DLR read, DHR read, FLR read, and FHR read. The hard bit data HB_M is the data confirmed by the BLR read, DLR read, and FLR read. The soft bit data SB_M is based on the hard bit data HB_M and the data confirmed by the BHR read, DHR read, and FHR read.
[0121] For example, in the case of reading hard bit data from the Middle page, the data read at read voltage VBL is stored in, for example, the latch circuit TDL. Subsequently, the data read at read voltage VDL is logically operated on with the data in the latch circuit TDL by the arithmetic unit OP, and the result is stored in the latch circuit TDL. Furthermore, the data read at read voltage VFL is logically operated on with the data in the latch circuit TDL by the arithmetic unit OP, and the result is stored in the latch circuit TDL as hard bit data HB_M.
[0122] Furthermore, for example, in the case of reading soft bit data from the Middle page, the data read at reading voltage VBH is stored in, for example, the latch circuit BDL. Subsequently, the data read at reading voltage VDH is logically operated on by the arithmetic unit OP with the data in the latch circuit BDL, and the result is stored in the latch circuit BDL. Furthermore, the data read at reading voltage VFH is logically operated on by the arithmetic unit OP with the data in the latch circuit BDL, and the result is stored in the latch circuit BDL. After that, the arithmetic unit OP performs an XOR operation on the hard bit data HB_M stored in the latch circuit TDL and the data stored in the latch circuit BDL, and saves the result as soft bit data SB_M in, for example, the latch circuit BDL.
[0123] The upper page read operation involves four read operations: CLR read, CHR read, GLR read, and GHR read. The hard bit data HB_U is the data confirmed by the CLR read and GLR read. The soft bit data SB_U is based on the hard bit data HB_U and the data confirmed by the CHR read and GHR read.
[0124] For example, in the case of reading hard bit data from the upper page, the data read at the read voltage VCL is stored in, for example, the latch circuit TDL. Subsequently, the data read at the read voltage VGL is logically operated on by the arithmetic unit OP with the data in the latch circuit TDL, and the result is stored in the latch circuit TDL as hard bit data HB_U.
[0125] Furthermore, for example, in the case of reading soft bit data from the upper page, the data read at the read voltage VCH is stored in, for example, the latch circuit ADL. Subsequently, the data read at the read voltage VGH is logically operated on by the arithmetic unit OP with the data in the latch circuit ADL, and the result is stored in the latch circuit ADL. Then, the arithmetic unit OP performs an XOR operation on the data stored in the latch circuit TDL and the data stored in the latch circuit ADL, and saves the result as soft bit data SB_U in, for example, the latch circuit ADL.
[0126] The compressed soft bit data SB is data calculated from the soft bit data SB_L, SB_M, and SB_U.
[0127] In the example in Figure 9, the threshold voltage of the memory cell transistor MC is divided into 15 sections corresponding to 14 read voltages. More specifically, the threshold voltage of section D1 is less than voltage VAL. The threshold voltage of section D2 is greater than or equal to voltage VAL and less than voltage VAH. The threshold voltage of section D3 is greater than or equal to voltage VAH and less than voltage VBL. The threshold voltage of section D4 is greater than or equal to voltage VBL and less than voltage VBH. The threshold voltage of section D5 is greater than or equal to voltage VBH and less than voltage VCL. The threshold voltage of section D6 is greater than or equal to voltage VCL and less than voltage VCH. The threshold voltage of section D7 is greater than or equal to voltage VCH and less than voltage VDL. The threshold voltage of section D8 is greater than or equal to voltage VDL and less than voltage VDH. The threshold voltage of section D9 is greater than or equal to voltage VDH and less than voltage VEL. The threshold voltage of section D10 is greater than or equal to voltage VEL and less than voltage VEH. The threshold voltage for category D11 is VEH or higher and less than VFL. The threshold voltage for category D12 is VFL or higher and less than VFH. The threshold voltage for category D13 is VFH or higher and less than VGL. The threshold voltage for category D14 is VGL or higher and less than VGH. The threshold voltage for category D15 is VGH or higher and less than VREAD.
[0128] The combinations of “hard bit data HB_U / HM_M / HB_L” and “compressed soft bit data SB” for each category are as follows:
[0129] Category D1 ("Er" state): "111", "0" Category D2 ("A" state): "110", "1" Category D3 ("A" state): "110", "0" Category D4 ("B" state): "100", "1" Category D5 ("B" state): "100", "0" Category D6 ("C" state): "000", "1" Category D7 ("C" state): "000", "0" Category D8 ("D" State): "010", "1" Category D9 ("D" state): "010", "0" Category D10 ("E" state): "011", "1" Category D11 ("E" state): "011", "0" Category D12 ("F" state): "001", "1" Category D13 ("F" state): "001", "0" Category D14 ("G" state): "101", "1" Category D15 ("G" state): "101", "0"
[0130] 1.3 Compression Method for Softbit Data Next, an example of a method for compressing soft bit data SB will be described with reference to Figures 10 and 11. Figure 10 shows the calculation process for calculating soft bit data SB_L, SB_M, and SB_U from the results of reading operations on the Lower page, Middle page, and Upper page. Figure 11 shows the calculation process for calculating compressed soft bit data SB from soft bit data SB_L, SB_M, and SB_U.
[0131] As shown in Figure 10, for example, after the lower page read operation, the sense amplifier 213 performs an XOR operation between the hard bit data HB_L (ALR / ELR) determined by the ALR read and ELR read and the data (AHR / EHR) determined by the AHR read and EHR read. As a result, the soft bit data SB_L is calculated. In this case, sections D2 and D10 of the soft bit data SB_L are "1" data, and the other sections D are "0" data.
[0132] Next, after reading the Middle page, the sense amplifier 213 performs an XOR operation between the hard bit data HB_M (BLR / DLR / FLR) determined by the BLR read, DLR read, and FLR read, and the data (BHR / DHR / FHR) determined by the BHR read, DHR read, and FHR read. As a result, the soft bit data SB_M is calculated. In this case, sections D4, D8, and D12 of the soft bit data SB_M are "1" data, and the other sections D are "0" data.
[0133] Next, after reading the upper page, the sense amplifier 213 performs an XOR operation between the hard bit data HB_U (CLR / GLR) determined by the CLR and GLR reads and the data (CHR / GHR) determined by the CHR and GHR reads. As a result, the soft bit data SB_U is calculated. Sections D6 and D14 of the soft bit data SB_U are "1" data, and the other sections D are "0" data.
[0134] As shown in Figure 11, the "1" data of the soft bit data SB_L, SB_M, and SB_U each corresponds to a different threshold voltage distribution (state). Therefore, the sections D in which the "1" data of the soft bit data SB_L, SB_M, and SB_U reside are all different. For this reason, the sense amplifier 213 performs an OR (logical disjunction) operation on the soft bit data SB_L, SB_M, and SB_U. As a result, the compressed soft bit data SB is calculated. In other words, the 3-page data is compressed into 1-page data by the OR operation.
[0135] For example, if soft bit data SB_U is stored in latch circuit ADL, soft bit data SB_M is stored in latch circuit BDL, and soft bit data SB_L is stored in latch circuit CDL, the arithmetic unit OP performs an OR operation on the data stored in latch circuit ADL, the data stored in latch circuit BDL, and the data stored in latch circuit CDL, and saves the result of the operation as compressed soft bit data SB in, for example, latch circuit ADL. This stored data is then transmitted to the memory controller 10 via latch circuit XDL as compressed soft bit data SB.
[0136] 1.4 How to restore compressed soft bits Next, with reference to Figure 12, an example of a method for restoring compressed soft bit data SB will be described. Figure 12 is a diagram showing the restoration process of soft bit data SB_L, SB_M, and SB_U.
[0137] The positions (states) where the "1" data of soft bit data SB_L, SB_M, and SB_U can occur are mutually exclusive. Furthermore, a one-to-one correspondence can be defined between the combinations of hard bit data HB_L, HB_M, and HB_U and the combinations of soft bit data SB_L, SB_M, and SB_U. Using these properties, the soft bit data SB for each page is reconstructed from the hard bit data HB_L, HB_M, and HB_U and the compressed soft bit data SB.
[0138] As shown in Figure 12, the SB recovery circuit 163 receives hard bit data HB_L, HB_M, and HB_U, as well as compressed soft bit data SB, from the non-volatile memory 20. When the SB decoder 1006 recovers the soft bit data SB_L, SB_M, and SB_U, it performs the following operations. In the following operations, "|" indicates an OR operation, and "~" indicates inverted data. Also, in the following operations, the hard bit data HB_L, HB_M, and HB_U are simply referred to as "L", "M", and "U".
[0139] SB_L=((~L&M&U)|(L&M&~U))&SB SB_M=((~L&~M&U)|(~L&M&~U)|(L&~M&~U))&SB SB_U=((~L&~M&~U)|(L&~M&U))&SB
[0140] The above calculation formula restores the soft bit data SB_L, SB_M, and SB_U, as explained using Figure 10. Note that the above calculation formula may be modified as appropriate based on the data allocation in the memory cell transistor MC.
[0141] 1.5 Read Operation 1.5.1 Flow of the read operation First, we will explain the flow of the read operation in memory system 3 with reference to Figure 13. Figure 13 is a flowchart of the read operation. Note that the example in Figure 13 shows the case where multiple pages of data are read from a single cell unit CU.
[0142] As shown in Figure 13, when the memory controller 10 receives a read request from the host device 2, it starts a read operation. Based on the control of the memory controller 10, the non-volatile memory 20 performs a read operation of multiple pages of data stored in the cell unit CU (step S10). For example, if the memory cell transistor MC is TLC, a lower page read operation, a middle page read operation, and an upper page read operation are performed.
[0143] The sense amplifier 213 compresses the soft bit data SB from multiple pages to calculate the compressed soft bit data SB (step S11). More specifically, the sense amplifier 213 compresses (OR operation) the soft bit data SB_L, SB_M, and SB_U to calculate the compressed soft bit data SB.
[0144] The memory controller 10 reads multiple pages of hard bit data HB from the non-volatile memory 20 (step S12). More specifically, for example, the memory controller 10 reads hard bit data HB_L, HB_M, and HB_U from the non-volatile memory 20. Steps S11 and S12 may be executed in parallel, at least partially, or step S12 may start first.
[0145] The hard-determination decoding circuit 161 performs hard-determination decoding (step S13). More specifically, for example, the hard-determination decoding circuit 161 performs hard-determination decoding for the Lower page, Middle page, and Upper page, respectively, using the hard bit data HB_L, HB_M, and HB_U.
[0146] If the hard judgment decoding process is successful (step S14_Yes), the memory controller 10 sends the decoded user data to the host device 2 and the reading operation ends.
[0147] If the hard judgment decoding process fails (step S14_No), the memory controller 10 reads the compressed soft bit data SB from the non-volatile memory 20 (step S15). However, the soft bit data SB_L, SB_M, and SB_U are not read.
[0148] The SB recovery circuit 163 recovers the soft bit data SB for each page from the compressed soft bit data SB (step S16). More specifically, for example, the SB recovery circuit 163 recovers the soft bit data SB_L, SB_M, and SB_U from the compressed soft bit data SB using the hard bit data HB_L, HB_M, and HB_U.
[0149] The soft-decision decoding circuit 162 performs hard-decision decoding (step S13). More specifically, the soft-decision decoding circuit 162 performs soft-decision decoding of the Lower page data, Middle page data, and Upper page data, respectively, using the hard bit data HB_L, HB_M, and HB_U, the soft bit data SB_L, SB_M, and SB_U, and the LLR table.
[0150] 1.5.2 Read operations in non-volatile memory Next, the read operation in the non-volatile memory 20 will be described. The read operation in the non-volatile memory 20 broadly includes cell read operations and cache read operations. The cell read operation is the operation of reading data from the memory cell array 211 to the data register 214, i.e., the latch circuit XDL, and the cache read operation is the operation of reading data from the data register 214 to the memory controller 10 via the input / output circuit 201 (outputting it externally).
[0151] For example, the non-volatile memory 20 has at least one of a first read mode, a second read mode, and a third read mode in read operations. The non-volatile memory 20 executes one of the read modes based on a command sequence received from the memory controller 10.
[0152] The first and second read modes are operating modes in which a command set is sent for each page to read page data. The first read mode is an operating mode in which page data reading operations (cell reading operation and cache reading operation) are executed sequentially. In the first read mode, the ready / busy signal RBn is set to the "L" level while the cell reading operation is being performed. For this reason, the cell reading operation and the cache reading operation cannot be executed in parallel.
[0153] The second read mode is an operating mode that allows cell read operations and cache read operations for other pages to be performed in parallel. In the second read mode, even when a cell read operation is being performed, if a cache read operation is possible, that is, if data output from the latch circuit XDL is possible, the ready / busy signal RBn is set to the "H" level.
[0154] The third read mode is an operating mode in which data from multiple pages stored in the cell unit CU is read sequentially based on a single command set.
[0155] 1.5.3 Command Sequence in First Read Mode Next, an example of a command sequence for the first readout mode will be described with reference to Figure 14. Figure 14 shows a command sequence for the first readout mode. In the example in Figure 14, for the sake of simplicity, signals CEn, CLE, ALE, WEn, REn, DQS, and DQSn are omitted, and signal DQ and ready / busy signal RBn are shown. In signal DQ, the command is written in a circle, the address in a square, and the data in a hexagon.
[0156] The example in Figure 14 shows the sequential execution of the Lower page read operation, Middle page read operation, and Upper page read operation of a single cell unit CU.
[0157] As shown in Figure 14, first, the memory controller 10 sends a command set for lower page cell read operations to the non-volatile memory 20. More specifically, first, the memory controller 10 sends the command "PFX" to the non-volatile memory 20. The command "PFX" is a prefix command that notifies the execution of a hard bit data read operation HB and a soft bit data calculation operation SB. In other words, the command "PFX" is a command that notifies the execution of two read operations using two read voltages for one state, and the execution of a soft bit data calculation SB. Next, the memory controller 10 sends the commands "01h", "00h", address "ADD", and command "30h" in succession to the non-volatile memory 20. The command "01h" is a command that specifies the lower page. The command "00h" is a command that notifies the execution of a cell read operation. The address "ADD" corresponds to the cell unit CU that is the target of the read operation. For example, the address "ADD" includes the row address RA and the column address CA, etc. The command "30h" is a command that performs a cell read operation based on the address "ADD" that was sent immediately before.
[0158] When the non-volatile memory 20 receives the command "30h", it sets the ready / busy signal RBn to the "L" level and starts the cell read operation of the lower page. As a result of the cell read operation, for example, hard bit data HB_L is stored in the latch circuit XDL. For example, soft bit data SB_L is stored in the latch circuit ADL as cache data for soft bit data SB (SB cache in Figure 14).
[0159] When the lower page cell read operation is complete, the non-volatile memory 20 sets the ready / busy signal RBn to the "H" level.
[0160] When the memory controller 10 confirms the ready / busy signal RBn at the "H" level, it sends a set of commands to the non-volatile memory 20 for a cache read operation of the lower page (hard bit data HB_L). More specifically, the memory controller 10 sends the command "05h", the address "ADD", and the command "E0h" to the non-volatile memory 20 in succession. The command "05h" is a command that notifies the non-volatile memory 20 to perform a cache read operation. The command "E0h" is a command that causes the cache read operation to be performed based on the address "ADD" that was sent immediately before.
[0161] The non-volatile memory 20 sends the hard bit data HB_L of the data register 214 to the memory controller 10.
[0162] After reading the hard bit data HB_L from the non-volatile memory 20, that is, after the cache read operation is completed, the memory controller 10 sends a command set for the Middle page cell read operation to the non-volatile memory 20. More specifically, the memory controller 10 sends the commands "PFX", "02h", "00h", address "ADD", and command "30h" in succession to the non-volatile memory 20. The command "02h" is a command that specifies the Middle page.
[0163] When the non-volatile memory 20 receives the command "30h", it sets the ready / busy signal RBn to the "L" level and starts the middle page cell read operation. As a result of the cell read operation, for example, hard bit data HB_M is stored in the latch circuit XDL. Soft bit data SB_M is performed by an OR operation with soft bit data SB_L stored in the latch circuit ADL, for example. For example, the result of the OR operation between soft bit data SB_L and SB_M (SB_L|SB_M in Figure 14) is stored in the latch circuit ADL as an SB cache.
[0164] When the middle page cell read operation is complete, the non-volatile memory 20 sets the ready / busy signal RBn to the "H" level.
[0165] When the memory controller 10 detects the ready / busy signal RBn at the "H" level, it sends a set of commands to the non-volatile memory 20 for a cache read operation of the Middle page (hard bit data HB_M). More specifically, the memory controller 10 sends the command "05h", address "ADD", and command "E0h" to the non-volatile memory 20.
[0166] The non-volatile memory 20 sends the hard bit data HB_M of the data register 214 to the memory controller 10.
[0167] After reading the hard bit data HB_M from the non-volatile memory 20, the memory controller 10 sends a command set for an Upper page cell read operation to the non-volatile memory 20. More specifically, the memory controller 10 sends the commands "PFX", "03h", "00h", address "ADD", and command "30h" to the non-volatile memory 20 in succession. The command "03h" is a command that specifies the Upper page.
[0168] When the non-volatile memory 20 receives the command "30h", it sets the ready / busy signal RBn to the "L" level and starts the upper page cell read operation. As a result of the cell read operation, for example, the hard bit data HB_U is stored in the latch circuit XDL. The soft bit data SB_H is ORed with the SB cache (SB_L|SB_M) stored in the latch circuit ADL, for example. For example, the result of the OR operation of the soft bit data SB_L, SB_M, and SB_U (SB_L|SB_M|SB_U in Figure 14) is stored in the latch circuit ADL as the SB cache. That is, the compressed soft bit data SB is stored in the latch circuit ADL.
[0169] When the upper page cell read operation is complete, the non-volatile memory 20 sets the ready / busy signal RBn to the "H" level.
[0170] When the memory controller 10 detects the ready / busy signal RBn at the "H" level, it sends a set of commands to the non-volatile memory 20 for a cache read operation of the upper page (hard bit data HB_U). More specifically, the memory controller 10 sends the command "05h", address "ADD", and command "E0h" to the non-volatile memory 20.
[0171] The non-volatile memory 20 sends the hard bit data HB_U of the data register 214 to the memory controller 10.
[0172] After reading hard bit data HB_U from non-volatile memory 20, the memory controller 10 sends a command set to the non-volatile memory 20 to read (transfer) compressed soft bit data SB to the latch circuit XDL. More specifically, the memory controller 10 sends the command "00h", address "ADD", and command "XXh" to the non-volatile memory 20 in succession. Command "XXh" is a command that causes the latch circuit XDL to transfer compressed soft bit data SB.
[0173] When the non-volatile memory 20 receives the command "XXh", it sets the ready / busy signal RBn to the "L" level and, for example, causes the latch circuit ADL to transfer the compressed soft bit data SB to the latch circuit XDL.
[0174] When the transfer of the compressed soft bit data SB is complete, the non-volatile memory 20 sets the ready / busy signal RBn to the "H" level.
[0175] When the memory controller 10 confirms the ready / busy signal RBn at the "H" level, it sends a set of commands to the non-volatile memory 20 for a cache read operation of the compressed soft bit data SB. More specifically, the memory controller 10 sends the command "05h", address "ADD", and command "E0h" to the non-volatile memory 20.
[0176] The non-volatile memory 20 transmits compressed soft bit data SB from data register 214 to the memory controller 10.
[0177] 1.5.4 Command Sequences in Second Read Mode Next, an example of a command sequence for the second readout mode will be described with reference to Figure 15. Figure 15 shows a command sequence for the second readout mode. In the example in Figure 15, for the sake of simplicity, signals CEn, CLE, ALE, WEn, REn, DQS, and DQSn are omitted, and only signal DQ and ready / busy signal RBn are shown. In signal DQ, the command is written in a circle, the address in a square, and the data in a hexagon.
[0178] The example in Figure 15 shows the sequential execution of the Lower page read operation, Middle page read operation, and Upper page read operation of a single cell unit CU.
[0179] As shown in Figure 15, first the memory controller 10 sends a command set for a lower page cell read operation to the non-volatile memory 20. More specifically, the memory controller 10 sends the commands "PFX", "01h", "00h", address "ADD", and command "30h" in succession to the non-volatile memory 20.
[0180] When the non-volatile memory 20 receives the command "30h", it sets the ready / busy signal RBn to the "L" level and starts the lower page cell read operation. As a result of the cell read operation, for example, hard bit data HB_L is stored in the latch circuit XDL. For example, soft bit data SB_L is stored in the latch circuit ADL.
[0181] When the lower page cell read operation is complete, the non-volatile memory 20 sets the ready / busy signal RBn to the "H" level.
[0182] When the memory controller 10 detects the ready / busy signal RBn at the "H" level, it sends a set of commands to the non-volatile memory 20 to reserve a middle page cell read operation. More specifically, the memory controller 10 sends the commands "PFX", "02h", "00h", address "ADD", and command "31h" to the non-volatile memory 20 in succession. Command "31h" is a command to reserve the execution of a set of cell read operation commands, including command "31h", after the currently running cell read operation has finished.
[0183] When the non-volatile memory 20 receives the command "31h", it sets the ready / busy signal RBn to the "L" level to reserve a middle page cell read operation.
[0184] When the reservation is finished, the non-volatile memory 20 sets the ready / busy signal RBn to the "H" level. Since the cell read operation for the lower page has finished, the non-volatile memory 20 starts the cell read operation for the middle page while the ready / busy signal RBn remains at the "H" level.
[0185] When the memory controller 10 detects the ready / busy signal RBn at the "H" level, it sends a set of commands to the non-volatile memory 20 for a cache read operation of the lower page (hard bit data HB_L). More specifically, the memory controller 10 sends the command "05h", address "ADD", and command "E0h" to the non-volatile memory 20.
[0186] The non-volatile memory 20 sends the hard bit data HB_L of the data register 214 to the memory controller 10 in parallel with the middle page cell read operation.
[0187] After reading the hard bit data HB_L from the non-volatile memory 20, the memory controller 10 sends a set of commands to the non-volatile memory 20 to reserve an upper page cell read operation. More specifically, the memory controller 10 sends the commands "PFX", "03h", "00h", address "ADD", and command "31h" to the non-volatile memory 20 in succession.
[0188] The non-volatile memory 20 sets the ready / busy signal RBn to the "L" level when the reservation for the Upper page cell read operation has finished and the Middle page cell read operation has not finished. For example, after the output of the hard bit data HB_L, the hard bit data HB_M is stored in the latch circuit XDL. The latch circuit ADL stores the result of the OR operation (SB_L|SB_M) between the soft bit data SB_L and SB_M as the SB cache.
[0189] When the cell read operation for the Middle page is completed, the non-volatile memory 20 sets the ready / busy signal RBn to the "H" level. Since the cell read operation for the Middle page is complete, the non-volatile memory 20 starts the cell read operation for the Upper page while the ready / busy signal RBn remains at the "H" level.
[0190] When the memory controller 10 detects the ready / busy signal RBn at the "H" level, it sends a set of commands to the non-volatile memory 20 for a cache read operation of the Middle page (hard bit data HB_M). More specifically, the memory controller 10 sends the command "05h", address "ADD", and command "E0h" to the non-volatile memory 20.
[0191] The non-volatile memory 20 sends the hard bit data HB_M of the data register 214 to the memory controller 10 in parallel with the upper page cell read operation.
[0192] When the memory controller 10 finishes reading the cache for the Middle page (hard bit data HB_M), it sends the command "3Fh" to the non-volatile memory 20. The command "3Fh" is a command that reserves the transfer of the read data to the latch circuit XDL after the cell read operation for the last page (the Upper page in the example in Figure 15) is completed.
[0193] When the output of the hard bit data HB_M (cache read operation) of the non-volatile memory 20 is completed and it is ready to transfer data to the latch circuit XDL, the ready / busy signal RBn is set to the "L" level. Then, the non-volatile memory 20 transfers the hard bit data HB_U to the latch circuit XDL. At this time, for example, the latch circuit ADL stores the result of the OR operation of the soft bit data SB_L, SB_M, and SB_U (SB_L|SB_M|SB_U) as the SB cache. In other words, the latch circuit ADL stores the compressed soft bit data SB.
[0194] When the transfer of hard bit data HB_U to the latch circuit XDL is complete, the non-volatile memory 20 sets the ready / busy signal RBn to the "H" level.
[0195] When the memory controller 10 detects the ready / busy signal RBn at the "H" level, it sends a set of commands to the non-volatile memory 20 for a cache read operation of the upper page (hard bit data HB_U). More specifically, the memory controller 10 sends the command "05h", address "ADD", and command "E0h" to the non-volatile memory 20.
[0196] The non-volatile memory 20 sends the hard bit data HB_U of the data register 214 to the memory controller 10.
[0197] The reading operation of the compressed soft bit data SB is the same as in the first operating mode.
[0198] 1.5.5 Command Sequences in Third Read Mode Next, an example of a command sequence for the third readout mode will be described with reference to Figure 16. Figure 16 shows a command sequence for the third readout mode. In the example in Figure 16, for the sake of simplicity, signals CEn, CLE, ALE, WEn, REn, DQS, and DQSn are omitted, and only signal DQ and ready / busy signal RBn are shown. In signal DQ, the command is written in a circle, the address in a square, and the data in a hexagon.
[0199] The example in Figure 16 shows how to sequentially perform lower page read operations, middle page read operations, and upper page read operations for a single cell unit CU based on a single command set.
[0200] As shown in Figure 16, first, the memory controller 10 sends a command set for the read operation in the third read mode to the non-volatile memory 20. More specifically, the memory controller 10 sends the commands "PFX", "00h", address "ADD", and command "30h" in succession to the non-volatile memory 20.
[0201] When the non-volatile memory 20 receives the command "30h", it sets the ready / busy signal RBn to the "L" level and first starts the lower page cell read operation. As a result of the cell read operation, for example, hard bit data HB_L is stored in the latch circuit XDL. For example, soft bit data SB_L is stored in the latch circuit ADL.
[0202] When the cell read operation of the lower page is completed, the non-volatile memory 20 sets the ready / busy signal RBn to the "H" level. Then, while the ready / busy signal RBn remains at the "H" level, the non-volatile memory 20 starts the cell read operation of the middle page.
[0203] When the memory controller 10 detects the ready / busy signal RBn at the "H" level, it sends a set of commands to the non-volatile memory 20 for a cache read operation of the lower page (hard bit data HB_L). More specifically, the memory controller 10 sends the command "05h", address "ADD", and command "E0h" to the non-volatile memory 20.
[0204] The non-volatile memory 20 sends the hard bit data HB_L of the data register 214 to the memory controller 10 in parallel with the middle page cell read operation.
[0205] After reading the hard bit data HB_L from the non-volatile memory 20, the memory controller 10 sends a command set to the non-volatile memory 20 to read (transfer) the hard bit data HB_M to the latch circuit XDL. More specifically, the memory controller 10 sends the command "00h", the address "ADD", and the command "YYh" to the non-volatile memory 20 in succession. The command "YYh" is a command that causes the latch circuit XDL to transfer the hard bit data HB_M.
[0206] When the non-volatile memory 20 has finished reading the Middle page cells and is ready to transfer data to the latch circuit XDL, it sets the ready / busy signal RBn to the "L" level. Then, the non-volatile memory 20 transfers the hard bit data HB_M to the latch circuit XDL. At this time, for example, the latch circuit ADL stores the result of the OR operation (SB_L|SB_M) between the soft bit data SB_L and SB_M as an SB cache.
[0207] When the transfer of hard bit data HB_M to the latch circuit XDL is complete, the non-volatile memory 20 sets the ready / busy signal RBn to the "H" level. With the ready / busy signal RBn still at the "H" level, the non-volatile memory 20 begins the upper page cell read operation.
[0208] When the memory controller 10 detects the ready / busy signal RBn at the "H" level, it sends a set of commands to the non-volatile memory 20 for a cache read operation of the Middle page (hard bit data HB_M). More specifically, the memory controller 10 sends the command "05h", address "ADD", and command "E0h" to the non-volatile memory 20.
[0209] The non-volatile memory 20 sends the hard bit data HB_M of the data register 214 to the memory controller 10 in parallel with the upper page cell read operation.
[0210] After reading the hard bit data HB_M from the non-volatile memory 20, the memory controller 10 sends a command set to the non-volatile memory 20 to read (transfer) the hard bit data HB_U to the latch circuit XDL. More specifically, the memory controller 10 sends the command "00h", the address "ADD", and the command "ZZh" to the non-volatile memory 20 in succession. The command "ZZh" is a command that causes the latch circuit XDL to transfer the hard bit data HB_U.
[0211] When the cell read operation of the upper page is completed and the non-volatile memory 20 is ready to transfer data to the latch circuit XDL, it sets the ready / busy signal RBn to the "L" level. Then, the non-volatile memory 20 transfers the hard bit data HB_U to the latch circuit XDL. At this time, for example, the latch circuit ADL stores the result of the OR operation of soft bit data SB_L, SB_M, and SB_U (SB_L|SB_M|SB_U) as an SB cache. In other words, the latch circuit ADL stores compressed soft bit data SB.
[0212] When the transfer of hard bit data HB_U to the latch circuit XDL is complete, the non-volatile memory 20 sets the ready / busy signal RBn to the "H" level.
[0213] When the memory controller 10 detects the ready / busy signal RBn at the "H" level, it sends a set of commands to the non-volatile memory 20 for a cache read operation of the upper page (hard bit data HB_U). More specifically, the memory controller 10 sends the command "05h", address "ADD", and command "E0h" to the non-volatile memory 20.
[0214] The non-volatile memory 20 sends the hard bit data HB_U of the data register 214 to the memory controller 10.
[0215] The reading operation of the compressed soft bit data SB is the same as in the first operating mode.
[0216] 1.6 Effects of this embodiment With the configuration according to this embodiment, a memory system that can suppress the increase in data transfer volume can be provided. This effect will be described in detail.
[0217] For example, when performing soft-decision decoding, at least one soft bit data is required for each page. Therefore, depending on the number of pages in the cell unit CU, soft bit data for multiple pages is read from the non-volatile memory to the memory controller. For example, in the case of TLC, at least 6 pages of page data are read: 3 pages of hard bit data corresponding to the lower page, middle page, and upper page, and 3 pages of soft bit data. Therefore, as memory cell transistors become more multi-level, the amount of data transferred from the non-volatile memory to the memory controller increases. This increases the data transfer time and reduces the processing capacity of the memory system.
[0218] In contrast, with the configuration according to this embodiment, the non-volatile memory 20 can compress (perform a logical OR operation) the soft bit data SB of multiple pages of the cell unit CU to calculate the compressed soft bit data SB of one page. Therefore, an increase in the amount of data transferred can be suppressed. Thus, the data transfer time can be shortened and the processing capacity of the memory system 3 can be improved.
[0219] Furthermore, with the configuration according to this embodiment, the memory controller 10 can recover the soft bit data SB corresponding to each page from the hard bit data HB and the compressed soft bit data SB.
[0220] 2. Second Embodiment Next, a second embodiment will be described. In the second embodiment, a different read operation flow from the first embodiment will be described. The following description will focus on the differences from the first embodiment.
[0221] 2.1 Flow of the reading operation First, we will explain the flow of the read operation in memory system 3 with reference to Figure 17. Figure 17 is a flowchart of the read operation. Note that the example in Figure 17 shows the case where multiple pages of data are read from a single cell unit CU.
[0222] As shown in Figure 17, unlike Figure 13 of the first embodiment, the hard-determination decoding process (steps S13 and S14) is eliminated. The memory controller 10 reads multiple hard bit data HB from the non-volatile memory 20 (step S12), and then reads compressed soft bit data SB (step S15). The subsequent steps (steps S16 and S17) are the same as in the first embodiment.
[0223] 2.2 Effects according to this embodiment With the configuration according to this embodiment, the same effects as in the first embodiment can be obtained.
[0224] 3. Third Embodiment Next, a third embodiment will be described. In the third embodiment, a different read operation from the first and second embodiments will be described. The following description will focus on the differences from the first and second embodiments.
[0225] 3.1 Configuration of Data Registers and Sense Amplifiers First, an example of the configuration of the data register 214 and sense amplifier 213 will be described with reference to Figure 18. Figure 18 is a block diagram of the data register 214 and sense amplifier 213.
[0226] As shown in Figure 18, the sense amplifier 213 of this embodiment includes a counter CT. The other configurations are the same as those in Figure 6 of the first embodiment.
[0227] The counter CT is a counter that counts the number of "1" data points (bits) in one page of compressed soft bit data SB. The counter CT transfers the count result to the sequencer 206. For example, the sequencer 206 transfers the count result to the status register 205 as status information STS. Note that the data for which the counter CT counts the number of "1" data points is not limited to compressed soft bit data SB. For example, the counter CT may count the number of "1" data points in soft bit data SB_L, SB_M, and SB_U, respectively. The counter CT may also count the number of "0" data points. The counter CT counts the number of data points (bits) at any logic level of the latch circuit that is the target of the count.
[0228] 3.2 Specific Examples of the Relationship Between Count and Threshold Voltage Distribution Next, with reference to Figure 19, a specific example of the relationship between the count number from the counter CT and the threshold voltage distribution will be explained. Figure 19 shows the relationship between the threshold voltage distribution and the count number in the “Er” state and the “A” state.
[0229] As shown in Figure 19, for example, if there is no overlap between the threshold voltage distribution of the “Er” state and the threshold voltage distribution of the “A” state, the number of memory cell transistors MC whose threshold voltage is between voltage VAL and voltage VAH will be relatively small. In other words, the number of memory cell transistors MC whose soft bit data SB is a “1” will be relatively small. In such cases, the number of “1” data counts by counter CT will be relatively small. Conversely, if the overlapping region of the tails of the threshold voltage distributions increases, the number of memory cell transistors MC whose threshold voltage is between voltage VAL and voltage VAH will increase. In other words, the number of memory cell transistors MC whose soft bit data SB is a “1” will increase. As the overlapping region of the tails of the threshold voltage distributions increases, the number of fail bits increases, and the likelihood of hard-decision decoding failure increases. Therefore, the difficulty of hard-decision decoding can be estimated by the number of “1” data counts for compressed soft bit data SB.
[0230] 3.3 Flow of the reading operation Next, with reference to Figure 20, the flow of the read operation in memory system 3 will be explained. Figure 20 is a flowchart of the read operation. Note that the example in Figure 20 shows the case where multiple pages of data are read from a single cell unit CU.
[0231] As shown in Figure 20, steps S10 to S12 are the same as in the first embodiment.
[0232] After step S12, the memory controller 10 reads the count of "1" data in the compressed soft bit data SB from the non-volatile memory 20. The memory controller 10 then compares the count with a preset determination value (step S20). Alternatively, the non-volatile memory 20 may compare the count with the determination value. In this case, the memory controller 10 reads the comparison result from the non-volatile memory 20. The non-volatile memory 20 may also count the number of "1" data in each of the soft bit data SB_L, SB_M, and SB_U. In this case, the memory controller 10 may compare each count with the determination value.
[0233] If the count is less than the judgment value (step S21_Yes), the memory controller 10 performs hard-determination decoding (step S13). In this case, since there is a high probability that the hard-determination decoding will succeed, the memory controller 10 performs the hard-determination decoding without reading the compressed soft bit data SB.
[0234] If the count is equal to or greater than the determination value (step S21_No), the memory controller 10 performs the operations of steps S15 to S17 in the same manner as in the first embodiment.
[0235] 3.4 Command Sequence for Read Operations Next, an example of a command sequence for a read operation will be described with reference to Figure 21. Figure 21 shows the command sequence for a read operation. In the example in Figure 21, for the sake of simplicity, signals CEn, CLE, ALE, WEn, REn, DQS, and DQSn are omitted, and only signal DQ and ready / busy signal RBn are shown. In signal DQ, the command is written in a circle, the address in a square, and the data in a hexagon.
[0236] The example in Figure 21 shows the case where the first read mode is performed, but this embodiment can also be applied to the second or third read mode.
[0237] As shown in Figure 21, the command set for the cache read operation of the hard bit data HB_U is the same as in Figure 14 of the first embodiment.
[0238] After reading hard bit data HB_U from non-volatile memory 20, the memory controller 10 sends a command set to the non-volatile memory 20 to read (transfer) compressed soft bit data SB to the latch circuit XDL. More specifically, the memory controller 10 sends the command "00h", address "ADD", and command "XXh" in succession to the non-volatile memory 20.
[0239] When the non-volatile memory 20 receives the command "XXh", it sets the ready / busy signal RBn to the "L" level and, for example, transfers the compressed soft bit data SB from latch circuit ADL to latch circuit XDL. At this time, counter CT counts the number of "1" data in the compressed soft bit data SB. The count is stored in status register 205.
[0240] When the non-volatile memory 20 has finished transferring the compressed soft bit data SB and counting the number of "1" data, it sets the ready / busy signal RBn to the "H" level.
[0241] When the memory controller 10 detects the ready / busy signal RBn at the "H" level, it sends a command set to read the count. The memory controller 10 reads the count information as status information STS from the status register 205. More specifically, the memory controller 10 sends the command "7Xh" to the non-volatile memory 20. The command "7Xh" is a command that causes the status information STS to be read.
[0242] When the non-volatile memory 20 receives the command "7Xh", it sends count information (count "1" in Figure 21) as status information STS to the memory controller 10.
[0243] After receiving the count information, the memory controller 10 sends a command set to the non-volatile memory 20 for a cache read operation of the compressed soft bit data SB. More specifically, the memory controller 10 sends the command "05h", address "ADD", and command "E0h" in succession to the non-volatile memory 20.
[0244] The non-volatile memory 20 transmits compressed soft bit data SB from data register 214 to the memory controller 10.
[0245] 3.5 Effects of this embodiment With the configuration according to this embodiment, the same effects as in the first embodiment can be obtained.
[0246] Furthermore, in the configuration according to this embodiment, the non-volatile memory 20 includes a counter CT that counts the number of "1" data in the compressed soft bit data SB. By counting the number of "1" data, the difficulty of the hard judgment decoding process can be determined. If the count is less than a preset determination value, the memory controller 10 determines that there is a high probability that the hard judgment decoding process will succeed and can omit reading (data transfer) the compressed soft bit data SB from the non-volatile memory 20. Therefore, when there is a high probability that the hard judgment decoding process will succeed, data transfer of compressed soft bit data SB that is unlikely to be used can be avoided. Thus, an increase in the amount of data transferred can be suppressed.
[0247] 4. Fourth Embodiment Next, a fourth embodiment will be described. In the fourth embodiment, the memory cell transistor MC is a QLC (Quad Level Cell) that stores 4 bits of data consisting of a Lower bit, a Middle bit, an Upper bit, and a Top bit. The following description will focus on the differences from the first to third embodiments.
[0248] 4.1 Relationship between threshold voltage distribution of memory cell transistors and data allocation First, with reference to Figure 22, we will explain an example of the relationship between the threshold voltage distribution and data allocation of a memory cell transistor (MC). Figure 22 is a diagram showing the relationship between the threshold voltage distribution and data allocation of a QLC.
[0249] As shown in Figure 22, the threshold voltage of each memory cell transistor MC takes a value that falls within one of a discrete distribution, for example, 16 distributions. Hereinafter, the 16 distributions will be denoted as "S0" state, "S1" state, "S2" state, "S3" state, "S4" state, "S5" state, "S6" state, "S7" state, "S8" state, "S9" state, "S10" state, "S11" state, "S12" state, "S13" state, "S14" state, and "S15" state, in descending order of threshold voltage.
[0250] The "S0" state corresponds to, for example, a data erasure state. The "S1" to "S15" states correspond to states where data is written with charges injected into the charge storage layer. In the writing operation, the verification voltages corresponding to the respective threshold voltage distributions are set as V1 to V15. Then, these voltage values have the relationship of V1 < V2 < V3 < V4 < V5 < V6 < V7 < V8 < V9 < V10 < V11 < V12 < V13 < V14 < V15 < Vread.
[0251] More specifically, the threshold voltage included in the "S0" state is less than the voltage V1. The threshold voltage included in the "S1" state is greater than or equal to the voltage V1 and less than the voltage V2. The threshold voltage included in the "S2" state is greater than or equal to the voltage V2 and less than the voltage V3. The threshold voltage included in the "S3" state is greater than or equal to the voltage V3 and less than the voltage V4. The threshold voltage included in the "S4" state is greater than or equal to the voltage V4 and less than the voltage V5. The threshold voltage included in the "S5" state is greater than or equal to the voltage V5 and less than the voltage V6. The threshold voltage included in the "S6" state is greater than or equal to the voltage V6 and less than the voltage V7. The threshold voltage included in the "S7" state is greater than or equal to the voltage V7 and less than the voltage V8. The threshold voltage included in the "S8" state is greater than or equal to the voltage V8 and less than the voltage V9. The threshold voltage included in the "S9" state is greater than or equal to the voltage V9 and less than the voltage V10. The threshold voltage included in the "S10" state is greater than or equal to the voltage V10 and less than the voltage V11. The threshold voltage included in the "S11" state is greater than or equal to the voltage V11 and less than the voltage V12. The threshold voltage included in the "S12" state is greater than or equal to the voltage V12 and less than the voltage V13. The threshold voltage included in the "S13" state is greater than or equal to the voltage V13 and less than V14. The threshold voltage included in the "S14" state is greater than or equal to the voltage V14 and less than V15. The threshold voltage included in the "S15" state is greater than or equal to the voltage V15 and less than the voltage VREAD.
[0252] As described above, each memory cell transistor MC can take 16 states by having any one of 16 threshold voltage distributions. By assigning these states to "0000" to "1111" in binary notation, each memory cell transistor MC can hold 4-bit data. Hereinafter, the 4-bit data will be referred to as Lower bit, Middle bit, Upper bit, and Top bit, respectively. Also, the set of Lower bits that are written (or read) collectively to the cell unit CU is referred to as the Lower page. The set of Middle bits is referred to as the Middle page. The set of Upper bits is referred to as the Upper page. The set of Top bits is referred to as the Top page.
[0253] In the example of FIG. 22, for the memory cell transistors MC included in each threshold voltage distribution, data is assigned to "Top bit / Upper bit / Middle bit / Lower bit" as shown below.
[0254] "S0" state: "1111" data "S1" state: "0111" data "S2" state: "0011" data "S3" state: "1011" data "S4" state: "1001" data "S5" state: "1000" data "S6" state: "0000" data "S7" state: "0001" data "S8" state: "0101" data "S9" state: "0100" data "S10" state: "0110" data "S11" state: "0010" data "S12" state: "1010" data "S13" state: "1110" data "S14" state: "1100" data "S15" state: "1101" data
[0255] When reading the data assigned in this way, the Lower bits are determined by the read operations corresponding to the "S5" state, "S7" state, "S9" state, and "S15" state. The Middle bits are determined by the read operations corresponding to the "S4" state, "S10" state, and "S14" state. The Upper bits are determined by the read operations corresponding to the "S2" state, "S8" state, "S11" state, and "S13" state. The Top bits are determined by the read operations corresponding to the "S1" state, "S3" state, "S6" state, and "S12" state. That is, the values of the Lower bits, Middle bits, Upper bits, and Top bits are determined by the read operations corresponding to four states, three states, four states, and four states, respectively. Hereinafter, such data assignment is referred to as "4-3-4-4 code". Note that the data assignment is not limited to the 4-3-4-4 code.
[0256] 4.2 Hard Bit Data and Compressed Soft Bit Data of Each State Next, referring to FIG. 23, the hard bit data HB and soft bit data SB of each state will be described. FIG. 23 is a diagram showing the relationship between the threshold voltage distribution of QLC, the hard bit data HB, and the compressed soft bit data SB.
[0257] As shown in FIG. 23, let the two read voltages corresponding to the "S1" state be voltage V1L and voltage V1H. Let the two read voltages corresponding to the "S2" state be voltage V2L and voltage V2H. Let the two read voltages corresponding to the "S3" state be voltage V3L and voltage V3H. Let the two read voltages corresponding to the "S4" state be voltage V4L and voltage V4H. Let the two read voltages corresponding to the "S5" state be voltage V5L and voltage V5H. Let the two read voltages corresponding to the "S6" state be voltage V6L and voltage V6H. Let the two read voltages corresponding to the "S7" state be voltage V7L and voltage V7H. Let the two read voltages corresponding to the "S8" state be voltage V8L and voltage V8H. Let the two read voltages corresponding to the "S9" state be voltage V9L and voltage V9H. Let the two read voltages corresponding to the "S10" state be voltage V10L and voltage V10H. Let the two read voltages corresponding to the "S11" state be voltage V11L and voltage V11H. Let the two read voltages corresponding to the "S12" state be voltage V12L and voltage V12H. Let the two read voltages corresponding to the "S13" state be voltage V13L and voltage V13H. Let the two read voltages corresponding to the "S14" state be voltage V14L and voltage V14H. Let the two read voltages corresponding to the "S15" state be voltage V15L and voltage V15H.
[0258] These voltages are in the relationship of V1L < V1 < V1H < V2L < V2 < V2H < V3L < V3 < V3H < V4L < V4 < V4H < V5L < V5 < V5H < V6L < V6 < V6H < V7L < V7 < V7H < V8L < V8 < V8H < V9L < V9 < V9H < V_{10L} < V_{10} < V_{10H} < V_{11L} < V_{11} < V_{11H} < V_{12L} < V_{12} < V_{12H} < V_{13L} < V_{13} < V_{13H} < V_{14L} < V_{14} < V_{14H} < V_{15L} < V_{15} < V_{15H} < V_{READ}.
[0259] Read operations using voltages V1L, V1H, V2L, V2H, V3L, V3H, V4L, V4H, V5L, V5H, V6L, V6H, V7L, V7H, V8L, V8H, V9L, V9H, V10L, V10H, V11L, V11H, V12L, V12H, V13L, V13H, V14L, V14H, V15L, and V15H are described as 1LR read and 1H, respectively. These are denoted as R lead, 2LR lead, 2HR lead, 3LR lead, 3HR lead, 4LR lead, 4HR lead, 5LR lead, 5HR lead, 6LR lead, 6HR lead, 7LR lead, 7HR lead, 8LR lead, 8HR lead, 9LR lead, 9HR lead, 10LR lead, 10HR lead, 11LR lead, 11HR lead, 12LR lead, 12HR lead, 13LR lead, 13HR lead, 14LR lead, 14HR lead, 15LR lead, and 15HR lead.
[0260] The lower page read operation performs eight read operations: 5LR read, 5HR read, 7LR read, 7HR read, 9LR read, 9HR read, 15LR read, and 15HR read. The hard bit data HB_L is the data confirmed by the 5LR read, 7LR read, 9LR read, and 15LR read. The soft bit data SB_L is based on an XOR operation between the hard bit data HB_L and the data confirmed by the 5HR read, 7HR read, 9HR read, and 15HR read.
[0261] The middle page read operation involves six read operations: 4LR read, 4HR read, 10LR read, 10HR read, 14LR read, and 14HR read. The hard bit data HB_M is the data confirmed by the 5LR read, 10LR read, and 14LR read. The soft bit data SB_M is based on an XOR operation between the hard bit data HB_M and the data confirmed by the 4HR read, 10HR read, and 14HR read.
[0262] The upper page read operation performs eight read operations: 2LR read, 2HR read, 8LR read, 8HR read, 11LR read, 11HR read, 13LR read, and 13HR read. The hard bit data HB_U is the data confirmed by the 2LR read, 8LR read, 11LR read, and 13LR read. The soft bit data SB_U is based on an XOR operation between the hard bit data HB_U and the data confirmed by the 2HR read, 8HR read, 11HR read, and 13HR read.
[0263] The read operation on the top page performs eight read operations: 1LR read, 1HR read, 3LR read, 3HR read, 6LR read, 6HR read, 12LR read, and 12HR read. The hard bit data HB_T is the data determined by the 1LR read, 3LR read, 6LR read, and 12LR read. The soft bit data SB_T is based on an XOR operation between the hard bit data HB_T and the data determined by the 1HR read, 3HR read, 6HR read, and 12HR read.
[0264] The compressed soft bit data SB is data calculated by performing an OR operation on the soft bit data SB_L, SB_M, SB_U, and SB_T.
[0265] In the example shown in Figure 23, the threshold voltage of the memory cell transistor MC is divided into 31 sections corresponding to 30 read voltages. The combinations of “hard bit data HB_T / HB_U / HM_M / HB_L” and “compressed soft bit data SB” for each section of each state are as follows.
[0266] “S0” state (voltage less than V1L): “1111”, “0” “S1” state (voltage V1L or higher and voltage V1H or lower): “0111”, “1” “S1” state (voltage V1H or higher and voltage V2L or lower): “0111”, “0” “S2” state (voltage V2L or higher and voltage V2H or lower): “0011”, “1” “S2” state (voltage V2H or higher and voltage V3L or lower): “0011”, “0” “S3” state (voltage V3L or higher and voltage V3H or lower): “1011”, “1” “S3” state (voltage V3H or higher and voltage V4L or lower): “1011”, “0” “S4” state (voltage V4L or higher and voltage V4H or lower): “1001”, “1” “S4” state (voltage V4H or higher and voltage V5L or lower): “1001”, “0” “S5” state (voltage V5L or higher and voltage V5H or lower): “1000”, “1” “S5” state (voltage V5H or higher and voltage V6L or lower): “1000”, “0” “S6” state (voltage V6L or higher and voltage V6H or lower): “0000”, “1” “S6” state (voltage V6H or higher and voltage V7L or lower): “0000”, “0” “S7” state (voltage V7L or higher and voltage less than V7H): “0001”, “1” “S7” state (voltage V7H or higher and voltage V8L or lower): “0001”, “0” “S8” state (voltage V8L or higher and voltage less than V8H): “0101”, “1” “S8” state (voltage V8H or higher and voltage V9L or lower): “0101”, “0” “S9” state (voltage V9L or higher and voltage V9H or lower): “0100”, “1” “S9” state (voltage V9H or higher and voltage V10L or lower): “0100”, “0” “S10” state (voltage V10L or higher and voltage V10H or lower): “0110”, “1” “S10” state (voltage V10H or higher and voltage V11L or lower): “0110”, “0” “S11” state (voltage V11L or higher and voltage V11H or lower): “0010”, “1” “S11” state (voltage V11H or higher and voltage V12L or lower): “0010”, “0” "S12" state (voltage V12L or higher and less than voltage V12H): "1010", "1" "S12" state (voltage V12H or higher and less than voltage V13L): "1010", "0" "S13" state (voltage V13L or higher and less than voltage V13H): "1110", "1" "S13" state (voltage V13H or higher and less than voltage V14L): "1110", "0" "S14" state (voltage V14L or higher and less than voltage V14H): "1100", "1" "S14" state (voltage V14H or higher and less than voltage V15L): "1100", "0" "S15" state (voltage V15L or higher and less than voltage V15H): "1101", "1" "S15" state (voltage V15H or higher and less than voltage VEAD): "1101", "0"
[0267] 4.3 Method for Restoring Compressed Soft Bits Next, referring to FIG. 24, a method for restoring the compressed soft bit data SB will be described. FIG. 24 is a diagram showing the restoration processing of the soft bit data SB_L, SB_M, SB_U, and SB_T.
[0268] The positions (states) where the "1" data of the soft bit data SB_L, SB_M, SB_U, and SB_T can occur are mutually exclusive. Also, the combination of the hard bit data HB_L, HB_M, HB_U, and HB_T and the combination of the soft bit data SB_L, SB_M, SB_U, and SB_T can be defined one-to-one. Utilizing these facts, the soft bit data SB of each page is restored from the hard bit data HB_L, HB_M, HB_U, and HB_T and the compressed soft bit data SB.
[0269] As shown in Figure 24, the SB recovery circuit 163 receives hard bit data HB_L, HB_M, HB_U, and HB_T, as well as compressed soft bit data SB, from the non-volatile memory 20. When the SB decoder 1006 recovers the soft bit data SB_L, SB_M, SB_U, and SB_T, it performs the following operations. In the following operations, "|" indicates an OR operation, and "~" indicates inverted data. Also, in the following operations, the hard bit data HB_L, HB_M, HB_U, and HB_T are simply referred to as "L", "M", "U", and "T".
[0270] SB_L=((~L&~M&~U&T)|(L&~M&~U&~T)| (~L&~M&U&~T)|(L&~M&U&T))&SB SB_M=((L&~M&~U&T)|(~L&M&U&~T)| (~L&~M&U&T))&SB SB_U=((L&M&~U&~T)|(L&~M&U&~T)| (~L&M&~U&~T)|(~L&M&U&T))&SB SB_T=((L&M&U&~T)|(L&M&~U&T)| (~L&~M&~U&~T)|(~L&M&~U&T))&SB
[0271] The above calculation formula restores the soft bit data SB_L, SB_M, SB_U, and SB_T as explained using Figure 24. Note that the above calculation formula may be modified as appropriate based on the data allocation in the memory cell transistor MC.
[0272] 4.4 Effects of this embodiment With the configuration according to this embodiment, the same effects as in the first embodiment can be obtained.
[0273] Furthermore, this embodiment can be combined with the second or third embodiment.
[0274] 5. Others According to the above embodiment, the memory system includes a plurality of memory cells (MCs) capable of storing at least a first bit (lower bit) and a second bit (middle bit), and a non-volatile memory (20) that calculates a third soft bit data (compressed SB) based on a logical OR operation using a first soft bit data (SB_L) corresponding to at least the first bit and a second soft bit data (SB_M) corresponding to the second bit, and a memory controller (10) that restores the first soft bit data and the second soft bit data based on a first hard bit data (HB_L) corresponding to at least the first bit, a second hard bit data (HB_M) corresponding to the second bit, and the third soft bit data.
[0275] By applying the above embodiment, a memory system can be provided that can suppress an increase in the amount of data transferred between the memory controller and the non-volatile memory.
[0276] It should be noted that the embodiments are not limited to the forms described above, and various modifications are possible.
[0277] For example, the third embodiment showed a case where either a hard-determined decoding process or a soft-determined decoding process is executed based on the count determination result, but the operation based on the count determination result is not limited to this. For example, the count determination may be performed if the hard-determined decoding process fails. In this case, the decision of whether or not to execute the soft-determined decoding process may be made based on the determination result.
[0278] For example, the above embodiment described a case where soft bit data SB from multiple pages of one cell unit CU is compressed into one page of data, but it is not limited to this. For example, multiple soft bit data SB from multiple cell units CU may be compressed into one page of data.
[0279] Furthermore, the term "connection" in the above embodiment also includes a state in which the devices are indirectly connected by interposing something else, such as a transistor or a resistor.
[0280] The embodiments are illustrative and the scope of the invention is not limited thereto. [Explanation of symbols]
[0281] 1…Data Processing Unit 2…Host device 3…Memory System 10…Memory controller 11…Host interface circuit 12…CPU 13…ROM 14…RAM 15... Buffer memory 16...ECC circuit 17…Memory interface circuit 20... Non-volatile memory 160...encoding circuit 161...Hard detection decoding circuit 162...Soft-decision decoding circuit 163...SB Restoration Circuit 201…Input / Output Circuits 202...Logic control circuit 203... Address Register 204… Command Register 205…Status Register 206... Sequencer 207... Ready / Busy Circuit 208...Voltage generation circuit 211…Memory cell array 212... Raw Decoder 213...SenseAmp 214…Data Register 215... Column Decoder 1001... Demultiplexer 1002~1005... Buffer 1006...SB Decoder CT...Counter
Claims
1. A non-volatile memory including a plurality of memory cells each capable of storing at least a first bit, a second bit, and a third bit; A memory controller for controlling the nonvolatile memory; Equipped with The non-volatile memory outputs first hard bit data for the first bit, second hard bit data for the second bit, third hard bit data for the third bit, and fourth soft bit data relating to the first bit, the second bit, and the third bit to the memory controller. the memory controller restores first soft bit data, second soft bit data, and third soft bit data based on the first hard bit data, the second hard bit data, the third hard bit data, and the fourth soft bit data; Memory system.
2. The memory controller performs error correction using the restored first soft bit data.
2. The memory system of claim 1.
3. A data size of the first hard bit data, a data size of the second hard bit data, a data size of the third hard bit data, and a data size of the fourth soft bit data are the same size.
2. The memory system of claim 1.
4. The non-volatile memory calculates the fourth soft bit data based on a logical OR operation using first soft bit data related to the first bit, second soft bit data related to the second bit, and third soft bit data related to the third bit.
2. The memory system of claim 1.
5. The memory controller, Reconstructing the first soft bit data based on the first hard bit data and the fourth soft bit data; Reconstructing the second soft bit data based on the second hard bit data and the fourth soft bit data; restoring the third soft bit data based on the third hard bit data and the fourth soft bit data; 5. The memory system of claim 4.
6. The first bit is determined by a first read operation based on at least a first state; the first read operation includes a second read operation using a first voltage corresponding to the first state and a third read operation using a second voltage corresponding to the first state and higher than the first voltage; the first hard bit data is determined based on at least the second read operation; The first soft bit data is calculated based on an operation of the first hard bit data and a result of the third read operation.
5. The memory system of claim 4.
7. The memory controller performs an error correction process based on the first hard bit data, the second hard bit data, the third hard bit data, the first soft bit data, the second soft bit data, and the third soft bit data.
5. The memory system of claim 4.
8. The non-volatile memory further includes a counter that counts the number of first logic level data of any one of the first soft bit data, the second soft bit data, the third soft bit data, or the fourth soft bit data; the memory controller reads the number, and if the read number is less than a preset determination value, reads the fourth soft bit data from the non-volatile memory; 5. The memory system of claim 4.
9. A method of storing a plurality of memory cells, each of which is capable of storing at least a first bit, a second bit, and a third bit; a word line commonly connected to the plurality of memory cells; a plurality of bit lines respectively connected to the plurality of memory cells; a sense amplifier connected to the plurality of bit lines; Equipped with the sense amplifier generates first hard bit data for the first bit, second hard bit data for the second bit, third hard bit data for the third bit, and fourth soft bit data relating to the first bit, the second bit, and the third bit. Non-volatile memory.
10. A data size of the first hard bit data, a data size of the second hard bit data, a data size of the third hard bit data, and a data size of the fourth soft bit data are the same size. The non-volatile memory of claim 9.
11. The fourth soft bit data is calculated based on a logical OR operation using first soft bit data related to the first bit, second soft bit data related to the second bit, and third soft bit data related to the third bit. The non-volatile memory of claim 9.
12. The first soft bit data, the second soft bit data, and the third soft bit data are reconstructable based on the first hard bit data, the second hard bit data, the third hard bit data, and the fourth soft bit data. The non-volatile memory of claim 11.
13. The first soft bit data is reconstructable based on the first hard bit data and the fourth soft bit data. The non-volatile memory of claim 12.
14. The method of claim 13, wherein the first bit is determined by a first read operation based on at least a first state; the first read operation includes a second read operation using a first voltage corresponding to the first state and a third read operation using a second voltage corresponding to the first state and higher than the first voltage; the first hard bit data is determined based on at least the second read operation; The first soft bit data is calculated based on an operation of the first hard bit data and a result of the third read operation. The non-volatile memory of claim 11.
15. The method of claim 1, wherein the operation of the first hard bit data and the result of the third read operation is an exclusive OR operation.
15. The non-volatile memory of claim 14.
16. The method of claim 1, further comprising: counting the number of first logic level data of any one of the first soft bit data, the second soft bit data, the third soft bit data, or the fourth soft bit data. The non-volatile memory of claim 11.
