Semiconductor storage device and memory system

The memory system optimizes write and read operations by distinguishing and correcting transmission and memory errors using parity checks and ECC circuits, enhancing data transfer efficiency.

JP2024135926AInactive Publication Date: 2024-10-04KIOXIA CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023046836
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-23
Publication Date
2024-10-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing semiconductor storage devices and memory systems face challenges in shortening the time required for write and read operations due to transmission errors and memory errors, which are not effectively distinguished and corrected.

Method used

The system includes a memory controller with ECC circuits that generate and check parity bits to differentiate between transmission errors and memory errors, allowing for efficient correction of transmission errors by retransmission and accurate correction of memory errors using methods like soft bit read, thereby optimizing write and read operations.

Benefits of technology

This approach reduces the time required for write and read operations by efficiently correcting transmission errors and memory errors, minimizing the overall operation time and improving the speed of data transfer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024135926000001_ABST
    Figure 2024135926000001_ABST
Patent Text Reader

Abstract

To provide a semiconductor storage device and a memory system capable of reducing time required for write and read operations.SOLUTION: A semiconductor storage device of the embodiment includes a memory cell array 11 capable of storing data and a control circuit controlling a write operation to the memory cell array 11. In the write operation, the control circuit is configured to receive first data and second data including a parity bit PC, generate a parity bit PM for the first data, inspect whether the parity bit PC and the parity bit PM coincide, and write the first data into the memory cell array 11.SELECTED DRAWING: Figure 13
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a semiconductor memory device and a memory system. [Background technology]

[0002] 2. Description of the Related Art A known semiconductor memory device is, for example, a NAND flash memory in which memory cells are arranged two-dimensionally or three-dimensionally. A memory system is configured by a NAND flash memory and a memory controller that controls the NAND flash memory. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2012-212233 A Summary of the Invention [Problem to be solved by the invention]

[0004] A semiconductor memory device and a memory system capable of shortening the time required for a write operation and a read operation are provided. [Means for solving the problem]

[0005] According to an embodiment, a semiconductor memory device includes a memory cell array capable of storing data, and a control circuit configured to control a write operation to the memory cell array, wherein in the write operation, the control circuit is configured to receive second data including first data and a first parity bit, generate a second parity bit for the first data, check whether the first parity bit and the second parity bit match, and write the first data to the memory cell array. [Brief description of the drawings]

[0006] [Figure 1]1 is a block diagram showing a configuration of a memory system according to a first embodiment. [Diagram 2] 1 is a block diagram showing a configuration of a semiconductor memory device according to a first embodiment. [Diagram 3] 2 is a circuit diagram of a block in the memory cell array according to the first embodiment. [Figure 4] FIG. 2 is a diagram showing a part of a planar layout of the memory cell array according to the first embodiment. [Diagram 5] 1 is a cross-sectional view of a memory cell array according to a first embodiment. [Figure 6] 2 is a cross-sectional view of a memory pillar in the memory cell array according to the first embodiment. [Figure 7] 4 is a diagram showing the relationship between the threshold voltage distribution and data of the memory cell transistor according to the first embodiment. FIG. [Figure 8] 3A to 3C are diagrams illustrating data structures of transmission data, write data, and read data according to the first embodiment. [Figure 9] 1 is a block diagram showing a modified example of the configuration of the semiconductor memory device according to the first embodiment. FIG. [Figure 10] FIG. 2 is a diagram showing a first example of a data flow in the memory system according to the first embodiment. [Figure 11] FIG. 11 is a diagram showing a second example of a data flow in the memory system according to the first embodiment. [Figure 12] FIG. 11 is a diagram showing a third example of a data flow in the memory system according to the first embodiment. [Figure 13] 5 is a flowchart showing a write operation in the memory system according to the first embodiment. [Figure 14] 4 is a timing chart showing a write operation in the memory system according to the first embodiment. [Figure 15] 4 is a timing chart showing a write operation in the memory system according to the first embodiment. [Figure 16] 4 is a timing chart showing a write operation in the memory system according to the first embodiment. [Figure 17] 5 is a flowchart showing a read operation in the memory system according to the first embodiment. [Figure 18] 4 is a timing chart showing a read operation in the memory system according to the first embodiment. [Figure 19] 4 is a timing chart showing a read operation in the memory system according to the first embodiment. [Figure 20] 4 is a timing chart showing a read operation in the memory system according to the first embodiment. [Figure 21] FIG. 4 is a diagram for explaining the operation of a soft bit read according to the first embodiment. [Figure 22] 13 is a flowchart showing a write operation in the memory system according to the second embodiment. [Diagram 23] 10 is a timing chart showing a write operation in the memory system according to the second embodiment. [Figure 24] 10 is a timing chart showing a write operation in the memory system according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] In the following description, components having the same functions and configurations are given the same reference numerals. Furthermore, the embodiments described below are merely examples of devices and methods for embodying the technical ideas of the embodiments, and do not specify the materials, shapes, structures, arrangements, etc. of the components as described below.

[0008] The functional blocks can be realized as either hardware or computer software, or a combination of both. It is not essential that the functional blocks are differentiated as in the following example. For example, some functions may be performed by a functional block other than the illustrated functional block. Furthermore, the illustrated functional blocks may be further divided into smaller functional subblocks.

[0009] A memory system including a semiconductor memory device and a memory controller according to an embodiment will be described below. As an example of the semiconductor memory device, a three-dimensional stacked NAND flash memory in which memory cell transistors are stacked three-dimensionally above a semiconductor substrate will be taken.

[0010] A memory system according to a first embodiment will be described. In a write operation, data is transmitted from a memory controller to a semiconductor memory device, and the data is written to a memory cell array of the semiconductor memory device. In a read operation, the data written to the memory cell array is read by the semiconductor memory device, and the read data is transmitted from the semiconductor memory device to the memory controller.

[0011] In such write and read operations, an error may occur in the data when the data is sent and received (or transmitted) between the memory controller and the semiconductor memory device. An error that occurs in the data during this transmission is called a transmission error. Also, when writing, data may not be able to be written because the memory cell to which the data is to be written in the memory cell array is defective. An error may occur in the data when the data is written to the memory cell array and then read from the memory cell array. An error that occurs in the data during this writing and reading is called a memory error.

[0012] In the first and second embodiments, a distinction is made between a transmission error and a memory error. Specifically, in a write operation and a read operation, depending on whether the data includes a transmission error or a memory error, an appropriate operation is performed depending on whether the data includes a transmission error or a memory error.

[0013] 1. First embodiment A memory system according to a first embodiment will be described.

[0014] 1.1 Memory system configuration First, the configuration of the memory system of the first embodiment will be described. Fig. 1 is a block diagram showing the configuration of the memory system of the first embodiment. The memory system 1 is connected to an external host device 2, and can execute various operations in response to commands from the host device 2. The memory system 1 includes a plurality of semiconductor memory devices 10 and a memory controller 20.

[0015] The semiconductor memory device 10 includes a NAND flash memory and stores data in a non-volatile manner. The details of the semiconductor memory device 10 will be described later.

[0016] The memory controller 20 is connected to a plurality of semiconductor memory devices 10 via a NAND bus. The memory controller 20 controls the plurality of semiconductor memory devices 10. The NAND bus transmits and receives signals in accordance with a NAND interface. The memory controller 20 is also connected to a host device 2 via a host bus. The memory controller 20 accesses the semiconductor memory device 10 in response to an instruction received from the host device 2.

[0017] The semiconductor memory device 10 and the memory controller 20 may be combined to form a single semiconductor device, for example. TM Examples of such a memory controller include a memory card including a card, a solid state drive (SSD), etc. Furthermore, the memory controller 20 may be, for example, a system-on-a-chip (SoC) or the like.

[0018] The host device 2 is, for example, a digital camera or a personal computer, and the host bus is, for example, an SD TM It is a bus that conforms to the interface.

[0019] 1.1.1 Memory Controller The configuration of the memory controller 20 will be described with reference to Fig. 1. The memory controller 20 includes a CPU (central processing unit) (or processor) 21, a RAM (random access memory) 22, a ROM (read only memory) 23, an ECC (error checking and correcting) circuit 24, a NAND interface circuit (NAND I / F) 25, and a host interface circuit (host I / F) 26.

[0020] The CPU 21 controls the overall operation of the memory controller 20. For example, when the CPU 21 receives a write command from the host device 2, it responds by issuing a write command to the NAND interface circuit 25. Similarly, when the CPU 21 receives a read command and an erase command, it responds by issuing a read command and an erase command to the NAND interface circuit 25, respectively.

[0021] Furthermore, the CPU 21 executes various processes, such as wear leveling, for managing the semiconductor memory device 10. Note that the operation of the memory controller 20 described below may be realized by the CPU 21 executing software (or firmware), or may be realized by hardware.

[0022] The RAM 22 is used as a working area for the CPU 21. The RAM 22 is, for example, a semiconductor memory such as a dynamic random access memory (DRAM) or a static random access memory (SRAM). The RAM 22 also temporarily stores firmware for managing the semiconductor storage device 10, various management tables, data, and the like.

[0023] The ROM 23 stores, for example, firmware executed by the CPU 21.

[0024] The ECC circuit 24 performs processing related to error detection and correction on data written to the semiconductor memory device 10 and data read from the semiconductor memory device 10. The ECC circuit 24 includes a first ECC circuit 24a and a second ECC circuit 24b. The first ECC circuit 24a and the second ECC circuit 24b will be described in detail later.

[0025] The NAND interface circuit 25 is connected to the semiconductor memory device 10 via a NAND bus and controls communication with the semiconductor memory device 10. The NAND interface circuit 25 transmits various signals, commands, and data to the semiconductor memory device 10 based on instructions received from the CPU 21. The NAND interface circuit 25 also receives various signals and data from the semiconductor memory device 10.

[0026] The host interface circuit 26 is connected to the host device 2 via a host bus and controls communication with the host device 2. The host interface circuit 26 transfers commands and data received from the host device 2 to the CPU 21 and RAM 22, respectively. In addition, the host interface circuit 26 transfers data in the RAM 22 to the host device 2 in response to commands from the CPU 21.

[0027] 1.1.2 Semiconductor memory devices Next, a description will be given of the configuration of the plurality of semiconductor memory devices 10. Each of the semiconductor memory devices 10 has the same configuration.

[0028] FIG. 2 is a block diagram showing the configuration of the semiconductor memory device 10 of the first embodiment.

[0029] The semiconductor memory device 10 includes a memory cell array 11, an input / output circuit 12, a logic control circuit 13, a ready / busy circuit 14, a register group 15, a sequencer (or a control circuit) 16, a voltage generating circuit 17, a row decoder 18, a column decoder 19A, a data register 19B, and a sense amplifier 19C. The input / output circuit 12 includes a cache register 12a and a transmission parity check circuit 12b. The register group 15 includes a status register 15A, an address register 15B, and a command register 15C.

[0030] The memory cell array 11 includes one or more blocks BLK0, BLK1, BLK2, ..., BLKn (n is an integer equal to or greater than 0). Each of the blocks BLK0 to BLKn includes a plurality of memory cell transistors (hereinafter also referred to as memory cells) associated with rows and columns. The memory cell transistors are non-volatile memory cells that can be electrically erased and programmed. The memory cell array 11 includes a plurality of word lines, a plurality of bit lines, and a source line for applying voltages to the memory cell transistors. A specific configuration of the block BLKn will be described later.

[0031] The input / output circuit 12 and the logic control circuit 13 are connected to the memory controller 20 via an input / output terminal (or a NAND bus). The input / output circuit 12 transmits / receives input / output signals (I / O signals) DQ (e.g., DQ0, DQ1, DQ2, ..., DQ7) to / from the memory controller 20 via the input / output terminal. The I / O signals DQ communicate commands, addresses, data, and the like. A cache register 12a in the input / output circuit 12 temporarily stores data transmitted between the memory controller 20 and the semiconductor memory device 10. For example, during a write operation, the cache register 12a temporarily stores data transmitted from the memory controller 20 to the semiconductor memory device 10. During a read operation, the cache register 12a temporarily stores data transmitted from the semiconductor memory device 10 to the memory controller 20. The transmission parity check circuit 12b in the input / output circuit 12 will be described later.

[0032] The logic control circuit 13 receives control signals from the memory controller 20 via an input / output terminal (or a NAND bus). The control signals include, for example, a chip enable signal CEn, a command latch enable signal CLE, an address latch enable signal ALE, a write enable signal WEn, a read enable signal REn, and a write protect signal WPn. The "n" added to the signal name indicates that the signal is active low.

[0033] The chip enable signal CEn is asserted when selecting one of the multiple semiconductor memory devices 10. The command latch enable signal CLE enables a command transmitted as the signal DQ to be latched in the command register 15C. The address latch enable signal ALE enables an address transmitted as the signal DQ to be latched in the address register 15B. The write enable signal WEn enables data transmitted as the signal DQ to be stored in the data register 19B. The read enable signal REn enables data read from the memory cell array 11 to be output as the signal DQ. The write protect signal WPn is asserted when prohibiting a write operation and an erase operation on the semiconductor memory device 10.

[0034] The ready / busy circuit 14 generates a ready / busy signal R / Bn in response to control from the sequencer 16. The ready / busy signal R / Bn indicates whether the semiconductor memory device 10 is in a ready state or a busy state. The ready state indicates that the semiconductor memory device 10 is in a state where it can accept commands from the memory controller 20. The busy state indicates that the semiconductor memory device 10 is in a state where it cannot accept commands from the memory controller 20. By receiving the ready / busy signal R / Bn from the semiconductor memory device 10, the memory controller 20 can know whether the semiconductor memory device 10 is in a ready state or a busy state.

[0035] The status register 15A stores status information STS necessary for the operation of the semiconductor memory device 10. The status register 15A transfers the status information STS to the input / output circuit 12 in accordance with an instruction from the sequencer 16. The status information STS includes a transmission status and a verify status. The transmission status and the verify status will be described later.

[0036] The address register 15B stores an address ADD transferred from the input / output circuit 12. The address ADD includes a row address and a column address. The row address includes, for example, a block address that specifies a block BLKn to be operated, and a page address that specifies a word line WL (e.g., a page) to be operated in the specified block.

[0037] The command register 15C stores the command CMD transferred from the input / output circuit 12. The command CMD includes, for example, a write command that commands the sequencer 16 to perform a write operation, a read command that commands a read operation, and an erase command that commands an erase operation.

[0038] The status register 15A, the address register 15B, and the command register 15C may be implemented by, for example, a static random access memory (SRAM).

[0039] The sequencer 16 receives a command from the command register 15C and performs overall control of the semiconductor memory device 10 in accordance with a sequence based on this command.

[0040] The sequencer 16 controls the voltage generating circuit 17, row decoder 18, column decoder 19A, data register 19B, sense amplifier 19C, etc. to execute write operation, read operation, and erase operation. Specifically, the sequencer 16 writes data to a plurality of memory cell transistors specified by the address ADD based on a write command received from the command register 15C. The sequencer 16 also reads data from a plurality of memory cell transistors specified by the address ADD based on a read command received from the command register 15C. The sequencer 16 also erases data stored in a block specified by the address ADD based on an erase command received from the command register 15C.

[0041] The functions of sequencer 16 described herein may be implemented by sequencer 16 executing software (or firmware), or may be implemented in hardware (or dedicated circuitry).

[0042] The voltage generating circuit 17 receives a power supply voltage VDD and a ground voltage VSS via a power supply terminal from outside the semiconductor memory device 10. The power supply voltage VDD is an external voltage supplied from outside the semiconductor memory device 10, and is, for example, 3.3 V. The ground voltage VSS is an external voltage supplied from outside the semiconductor memory device 10, and is, for example, 0 V.

[0043] The voltage generation circuit 17 generates a plurality of voltages required for write, read, and erase operations using a power supply voltage VDD. The voltage generation circuit 17 supplies the generated voltages to the memory cell array 11, the row decoder 18, the sense amplifier 19C, and the like.

[0044] The row decoder 18 receives a row address from the address register 15B and decodes the row address. Based on the result of decoding the row address, the row decoder 18 selects one of the blocks, and further selects a word line WL in the selected block BLKn. Furthermore, the row decoder 18 transfers a plurality of voltages supplied from the voltage generating circuit 17 to the selected block BLKn.

[0045] The column decoder 19A receives a column address from the address register 15B, decodes the column address, and selects a latch circuit in the data register 19B based on the result of decoding the column address.

[0046] The data register 19B includes a plurality of latch circuits, and temporarily stores data during a write operation and a read operation.

[0047] During a data read operation, the sense amplifier 19C senses and amplifies data read from the memory cell transistor to the bit line. Furthermore, the sense amplifier 19C temporarily stores the data read from the memory cell transistor and transfers the stored data to the data register 19B. During a data write operation, the sense amplifier 19C temporarily stores data transferred from the cache register 12a of the input / output circuit 12 via the data register 19B. Furthermore, the sense amplifier 19C transfers the stored data to the bit line.

[0048] 1.1.2.1 Memory Cell Array Next, the circuit configuration and structure of the memory cell array 11 in the semiconductor memory device 10 of the first embodiment will be described.

[0049] As described above, the memory cell array 11 has a plurality of blocks BLK0 to BLKn. The circuit configuration of the block BLKn will be described below. FIG.

[0050] The block BLKn includes, for example, a plurality of string units SU0, SU1, SU2, and SU3. Hereinafter, when a string unit SU is written, it indicates each of the string units SU0 to SU3. The string unit SU includes a plurality of NAND strings (or memory strings) NS.

[0051] For ease of explanation, an example will be shown in which the NAND string NS includes, for example, eight memory cell transistors MT0, MT1, MT2, ..., MT7 and two select transistors ST1 and ST2. Hereinafter, when a memory cell transistor MT is mentioned, it refers to each of the memory cell transistors MT0 to MT7.

[0052] The memory cell transistor MT includes a control gate and a charge storage layer, and stores data in a non-volatile manner. The memory cell transistors MT0 to MT7 are connected in series between the source of the select transistor ST1 and the drain of the select transistor ST2. The memory cell transistor MT can store one bit of data or two or more bits of data.

[0053] The gates of the select transistors ST1 included in the string unit SU0 are connected to a select gate line SGD0. Similarly, the gates of the select transistors ST1 in the string units SU1 to SU3 are connected to select gate lines SGD1 to SGD3, respectively. Each of the select gate lines SGD0 to SGD3 is independently controlled by a row decoder 18.

[0054] The gates of the select transistors ST2 included in the string unit SU0 are connected to a select gate line SGS. Similarly, the gates of the select transistors ST2 of each of the string units SU1 to SU3 are connected to a select gate line SGS. Note that the gates of the select transistors ST2 of the string units SU0 to SU3 may each be connected to an individual select gate line SGS. The select transistors ST1 and ST2 are used to select the string unit SU in various operations.

[0055] The control gates of the memory cell transistors MT0 to MT7 included in the block BLKn are connected to the word lines WL0 to WL7, respectively. Each of the word lines WL0 to WL7 is independently controlled by a row decoder 18.

[0056] Each of the bit lines BL0, BL1, BL2, ..., BLm (m is an integer equal to or greater than 0) is connected to a plurality of blocks BLK0 to BLKn, and connected to one NAND string NS in a string unit SU included in the block BLKn. That is, each of the bit lines BL0 to BLm is connected to the drains of the select transistors ST1 of a plurality of NAND strings NS in the same column among the NAND strings NS arranged in a matrix in the block BLKn. Also, the source line SL is connected to the plurality of blocks BLK0 to BLKn. That is, the source line SL is connected to the sources of the plurality of select transistors ST2 included in the block BLKn.

[0057] In other words, the string unit SU includes a plurality of NAND strings NS connected to different bit lines BL and the same select gate line SGD. Also, the block BLKn includes a plurality of string units SU sharing a word line WL. Furthermore, the memory cell array 11 includes a plurality of blocks BLK0 to BLKn sharing a bit line BL.

[0058] The block BLKn is, for example, a data erase unit. That is, the data stored in the memory cell transistors MT included in the block BLKn is erased all at once. The data in a plurality of blocks is erased sequentially, one block at a time. Note that the data may be erased in units of string units SU, or may be erased in units smaller than the string unit SU.

[0059] A plurality of memory cell transistors MT sharing a word line WL in one string unit SU are called a cell unit CU. A collection of 1-bit data stored in each of the plurality of memory cell transistors MT included in a cell unit CU is called a page. The storage capacity of a cell unit CU changes according to the number of bits of data stored in the memory cell transistor MT. For example, a cell unit CU stores 1 page of data when each memory cell transistor MT stores 1 bit of data, stores 2 pages of data when storing 2 bits of data, and stores 3 pages of data when storing 3 bits of data.

[0060] The write and read operations for the cell units CU are performed on a page basis, i.e., the read and write operations are performed collectively on a plurality of memory cell transistors MT connected to one word line WL arranged in one string unit SU.

[0061] The number of string units included in the block BLKn is not limited to SU0 to SU3, and can be set arbitrarily. The number of NAND strings NS included in the string unit SU, and the number of memory cell transistors and select transistors included in the NAND string NS can also be set arbitrarily. Furthermore, the memory cell transistors MT may be of a MONOS (metal-oxide-nitride-oxide-silicon) type using an insulating film as a charge storage layer, or may be of a FG (floating gate) type using a conductive layer as a charge storage layer.

[0062] Next, an example of the structure of the memory cell array 11 in the semiconductor memory device 10 of the first embodiment will be described. In the following, a three-dimensional stacked NAND flash memory in which memory cell transistors are stacked three-dimensionally above a semiconductor substrate will be taken as an example of the memory cell array 11.

[0063] In the drawings referred to below, the X direction corresponds to the extension direction of the word lines WL, the Y direction corresponds to the extension direction of the bit lines BL, and the Z direction corresponds to the vertical direction with respect to the surface of the semiconductor substrate on which the semiconductor memory device 10 is formed. Hatching added to the plan view does not necessarily relate to the material or characteristics of the components to which the hatching is added. In this specification, components such as wiring, contacts, and insulating layers are appropriately omitted to make the drawings easier to understand.

[0064] First, there will be described an example of a planar layout of the memory cell array 11. Fig. 4 is a diagram showing a part of the planar layout of the memory cell array 11 in the first embodiment.

[0065] The memory cell array 11 includes, for example, a plurality of slits SLT, a plurality of memory pillars MP, a plurality of contacts CV, and a plurality of bit lines BL.

[0066] The multiple slits SLT are arranged in the Y direction. At least a portion of each slit SLT extends along the X direction. The slits SLT are provided in the same wiring layer and separate adjacent conductive layers via the slits SLT. Specifically, the slits SLT separate multiple wiring layers corresponding to, for example, the word lines WL0 to WL7 and the select gate lines SGD and SGS.

[0067] Each slit SLT includes, for example, a spacer SP and a contact LI. In each slit SLT, at least a part of the contact LI extends in the X direction. The spacer SP is provided on a side surface of the contact LI. The contact LI and a plurality of wiring layers adjacent to the slit SLT are separated and insulated by the spacer SP. The contact LI is used as a source line SL. The contact LI may be a semiconductor or a metal. The spacer SP includes, for example, silicon oxide (SiO2).

[0068] Each of the memory pillars MP functions as, for example, one NAND string NS. The memory pillars MP are arranged, for example, in a staggered pattern of four rows in the region between two adjacent slits SLT. This is not limiting, and the number and arrangement of the memory pillars MP between two adjacent slits SLT can be changed as appropriate.

[0069] At least one bit line BL is arranged to overlap each memory pillar MP. The multiple bit lines BL are arranged in the X direction. At least a portion of each bit line BL extends along the Y direction. One of the multiple bit lines BL overlapping a memory pillar MP is electrically connected to the memory pillar MP via a contact CV.

[0070] The planar layout of the memory cell array 11 described above is repeatedly arranged in the Y direction. Each of the regions separated by the slits SLT corresponds to one string unit SU. That is, a set of string units SU0 to SU3 each extending in the X direction is arranged in the Y direction. For example, one contact CV is connected to one bit line BL in each of the spaces separated by the slits SLT.

[0071] Next, a description will be given of an example of a cross-sectional structure of the memory cell array 11. Fig. 5 shows a cross section taken along line VV in Fig. 4, including the memory pillars MP and the slits SLT, and shows a cross section taken along the Y direction.

[0072] The memory cell array 11 includes a semiconductor substrate 30, insulating layers 31 to 35, conductive layers 40 to 44, memory pillars MP, contacts CV, and slits SLT.

[0073] A conductive layer 40 is provided on the semiconductor substrate 30. The conductive layer 40 is formed, for example, in a plate shape extending along the XY plane, and is used as the source line SL. The conductive layer 40 includes, for example, polysilicon doped with phosphorus.

[0074] An insulating layer 31 is provided on the conductive layer 40. A conductive layer 41 is provided on the insulating layer 31. The conductive layer 41 is formed, for example, in a plate shape extending along the XY plane, and is used as a select gate line SGS. The conductive layer 41 includes, for example, polysilicon doped with phosphorus. The select gate line SGS may be composed of a plurality of conductive layers 41. When the select gate line SGS is composed of a plurality of conductive layers 41, the plurality of conductive layers 41 may be composed of conductors different from each other.

[0075] An insulating layer 32 is provided on the conductive layer 41. A conductive layer 42 and an insulating layer 33 are alternately laminated on the insulating layer 32. Each of the plurality of conductive layers 42 is formed, for example, in a plate shape extending along the XY plane. The plurality of conductive layers 42 are used as word lines WL0 to WL7, in order from the conductive layer 40 side. The conductive layer 42 includes, for example, tungsten.

[0076] An insulating layer 34 is provided on the uppermost conductive layer 42. A conductive layer 43 is provided on the insulating layer 34. The conductive layer 43 is formed, for example, in a plate shape extending along the XY plane, and is used as a select gate line SGD. The select gate line SGD may be composed of a plurality of conductive layers 43. The conductive layer 43 includes, for example, tungsten.

[0077] An insulating layer 35 is provided on the conductive layer 43. A conductive layer 44 is provided on the insulating layer 35. The conductive layer 44 is formed, for example, in a line shape extending in the Y direction and is used as a bit line BL. In a region not shown, a plurality of conductive layers 44 are arranged in the X direction. The conductive layer 44 contains, for example, copper.

[0078] Each memory pillar MP extends along the Z direction. Each memory pillar MP penetrates the insulating layers 31 to 34 and the conductive layers 41 to 43. The lower part of the memory pillar MP contacts the conductive layer 40. The upper part of the memory pillar MP reaches the insulating layer 35.

[0079] Each memory pillar MP includes, for example, a semiconductor layer 50, a tunnel insulating layer (also referred to as a tunnel insulating film) 51, a charge storage layer (for example, an insulating layer) 52, and a block insulating layer 53.

[0080] The semiconductor layer 50 extends along the Z direction. For example, the lower end of the semiconductor layer 50 is in contact with the conductive layer 40. The upper end of the semiconductor layer 50 is included in a layer including the insulating layer 35. The tunnel insulating layer 51 is disposed on a side surface of the semiconductor layer 50. The charge storage layer 52 is disposed on a side surface of the tunnel insulating layer 51. The block insulating layer 53 is disposed on a side surface of the charge storage layer 52.

[0081] A portion where the memory pillar MP intersects with the conductive layer 41 (i.e., the select gate line SGS) functions as a select transistor ST2. A portion where the memory pillar MP intersects with a plurality of conductive layers 42 (i.e., the word lines WL) functions as memory cell transistors MT0 to MT7, respectively. A portion where the memory pillar MP intersects with the conductive layer 43 (i.e., the select gate line SGD) functions as a select transistor ST1. That is, the semiconductor layer 50 functions as the channel layers of the memory cell transistors MT0 to MT7 and the select transistors ST1 and ST2. A current path of the NAND string NS is formed inside the semiconductor layer 50. The charge storage layer 52 functions as a layer that stores the charge of the memory cell transistor MT.

[0082] A columnar contact CV is provided on the semiconductor layer 50 of each memory pillar MP. In the illustrated region, a contact CV corresponding to one of the two memory pillars MP is shown. A contact CV is connected to the memory pillar MP to which the contact CV is not connected in the corresponding region in a region not shown. One conductive layer 44 (i.e., a bit line BL) is in contact with the contact CV.

[0083] The slit SLT includes, for example, a spacer SP and a contact LI. At least a part of the slit SLT is formed in a plate shape extending along the XZ plane, and divides the insulating layers 31 to 34 and the conductive layers 41 to 43. The lower end of the slit SLT contacts, for example, the conductive layer 40. The upper end of the slit SLT is included in a layer including the insulating layer 35. In the slit SLT, at least a part of the contact LI extends in the X direction. The spacer SP is provided on a side surface of the contact LI. The contact LI and the multiple conductive layers 41 to 43 are separated and insulated by the spacer SP.

[0084] Next, a description will be given of the cross-sectional structure of the memory pillar MP in the memory cell array 11. Fig. 6 shows a cross section taken along line VI-VI in Fig. 5, illustrating a cross section of the memory pillar MP in a layer parallel to the surface of the semiconductor substrate 30 and including the conductive layer 42.

[0085] As described above, the memory pillar MP has, for example, a semiconductor layer 50, a tunnel insulating layer 51, a charge storage layer 52, and a block insulating layer 53. Specifically, the semiconductor layer 50 is provided, for example, in the center of the memory pillar MP. The tunnel insulating layer 51 surrounds the side surface of the semiconductor layer 50. The charge storage layer 52 surrounds the side surface of the tunnel insulating layer 51. The block insulating layer 53 surrounds the side surface of the charge storage layer 52. The conductive layer 42 surrounds the side surface of the block insulating layer 53. Note that the memory pillar MP may have a structure in which a core insulating layer is provided inside the semiconductor layer 50.

[0086] The tunnel insulating layer 51 functions as a potential barrier when charges are injected from the semiconductor layer 50 to the charge storage layer 52, or when charges stored in the charge storage layer 52 diffuse to the semiconductor layer 50. The tunnel insulating layer 51 includes, for example, silicon oxide (SiO2).

[0087] The charge storage layer 52 has a function of storing charges injected into the memory cell transistors MT0 to MT7 from the semiconductor layer 50. The charge storage layer 52 includes, for example, silicon nitride (SiN).

[0088] The block insulating layer 53 prevents the charge stored in the charge storage layer 52 from diffusing to the conductive layer 42 (word line WL). The block insulating layer 53 includes, for example, an aluminum oxide layer, a silicon oxide layer, and a silicon nitride layer.

[0089] 1.1.3 Threshold voltage distribution of memory cell transistors Next, the relationship between the possible threshold voltage distribution of the memory cell transistor MT and data will be described below. Fig. 7 is a diagram showing the relationship between the possible threshold voltage distribution of the memory cell transistor MT and data.

[0090] Here, an example is shown in which a triple-level cell (TLC) method capable of storing three bits of data in one memory cell transistor MT is applied as the storage method for the memory cell transistor MT. Note that this embodiment can also be applied to cases where other storage methods are used, such as a single-level cell (SLC) method capable of storing one bit of data in one memory cell transistor MT, a multi-level cell (MLC) method capable of storing two bits of data in one memory cell transistor MT, or a quad-level cell (QLC) method capable of storing four bits of data in one memory cell transistor MT.

[0091] The three bits of data that the memory cell transistor MT can store are defined by a lower bit, a middle bit, and an upper bit. When the memory cell transistor MT stores three bits, the memory cell transistor MT can take one of eight states corresponding to a plurality of threshold voltages. The eight states are called states "Er", "A", "B", "C", "D", "E", "F", and "G" in order from the lowest. The multiple memory cell transistors MT belonging to each of the states "Er", "A", "B", "C", "D", "E", "F", and "G" form a threshold voltage distribution as shown in FIG. 6.

[0092] States "Er", "A", "B", "C", "D", "E", "F", and "G" are assigned data "111", "110", "100", "000", "010", "011", "001", and "101", for example. The bit arrangement is "Z, Y, X", with lower bit "X", middle bit "Y", and upper bit "Z". The allocation of threshold voltage distributions and data can be set arbitrarily.

[0093] In order to read data stored in the memory cell transistor MT to be read, the state to which the threshold voltage of the memory cell transistor MT belongs is determined. To determine the state, read voltages AR, BR, CR, DR, ER, FR, and GR are used. Hereinafter, the voltages applied to the memory cell transistor MT to be read to determine the level, including the read voltages AR, BR, CR, DR, ER, FR, and GR, may be referred to as read voltages VCGRV.

[0094] The state "Er" corresponds to, for example, a state in which data is erased (erased state). The threshold voltage of the memory cell transistor MT belonging to the state "Er" is lower than the voltage AR and has, for example, a negative value.

[0095] States "A" to "G" correspond to states in which charges are injected into the charge storage layer and data is written to the memory cell transistor MT, and the threshold voltages of the memory cell transistors MT belonging to states "A" to "G" have, for example, positive values. The threshold voltage of the memory cell transistor MT belonging to state "A" is higher than the read voltage AR and is lower than the read voltage BR. The threshold voltage of the memory cell transistor MT belonging to state "B" is higher than the read voltage BR and is lower than the read voltage CR. The threshold voltage of the memory cell transistor MT belonging to state "C" is higher than the read voltage CR and is lower than the read voltage DR. The threshold voltage of the memory cell transistor MT belonging to state "D" is higher than the read voltage DR and is lower than the read voltage ER. The threshold voltage of the memory cell transistor MT belonging to state "E" is higher than the read voltage ER and is lower than the read voltage FR. The threshold voltage of the memory cell transistor MT belonging to state "F" is higher than the read voltage FR and is lower than the read voltage GR. The threshold voltage of the memory cell transistor MT belonging to state "G" is higher than the read voltage GR and is lower than the voltage VREAD.

[0096] The voltage VREAD is applied to the word line WL connected to the memory cell transistor MT of the cell unit CU that is not the read target, and is higher than the threshold voltage of the memory cell transistor MT in any state. Therefore, the memory cell transistor MT to which the voltage VREAD is applied is turned on regardless of the data it holds.

[0097] In addition, verify voltages used in the write operation are set between adjacent threshold distributions. Specifically, verify voltages AV, BV, CV, DV, EV, FV, and GV are set corresponding to states "A", "B", "C", "D", "E", "F", and "G", respectively. For example, the verify voltages AV, BV, CV, DV, EV, FV, and GV are set slightly higher than the read voltages AR, BR, CR, DR, ER, FR, and GR, respectively.

[0098] As described above, each memory cell transistor MT can be set to one of eight states and store three-bit data. Moreover, writing and reading are performed in units of pages in one cell unit CU. When the memory cell transistor MT stores three-bit data, the lower bit, the middle bit, and the upper bit are respectively assigned to three pages in one cell unit CU. The pages in which the lower bit, the middle bit, and the upper bit are written in one write operation or the pages in which the upper bit is read in one read operation, that is, the set of the lower bit, the set of the middle bit, and the set of the upper bit held by the cell unit CU, are called the lower page, the middle page, and the upper page, respectively.

[0099] When the above data mapping is applied, the lower page is determined by a read operation using read voltages AR and ER, the middle page is determined by a read operation using read voltages BR, DR and FR, and the upper page is determined by a read operation using read voltages CR and GR.

[0100] 1.1.4 Memory Controller ECC Circuit As described above, the memory controller 20 includes the ECC circuit 24. The ECC circuit 24 generates error detection data for data to be written to the semiconductor memory device 10 and data read from the semiconductor memory device 10, and detects and corrects errors using the error detection data.

[0101] The ECC circuit 24 includes a first ECC circuit 24a and a second ECC circuit 24b. The first ECC circuit 24a generates error detection data based on soft decision such as LDPC (low-density parity check), detects and corrects errors, or generates error detection data based on hard decision such as BCH code and Reed-Solomon code, detects and corrects errors. The second ECC circuit 24b generates error detection data using parity bits (or parity codes), and detects errors. The second ECC circuit 24b has a lighter calculation load than the first ECC circuit 24a that detects memory errors, but has a lower correction capability instead. The error detection and correction method performed by the first ECC circuit 24a is not limited to the above, and other error detection and correction methods may be used. The error detection and correction method performed by the second ECC circuit 24b is also not limited to the above, and other error detection and correction methods may be used.

[0102] The first ECC circuit 24a and the second ECC circuit 24b generate error detection data for data to be written to the semiconductor memory device 10. Data including the generated error detection data is transmitted to the semiconductor memory device 10. Furthermore, the first ECC circuit 24a and the second ECC circuit 24b use the error detection data to detect errors that have occurred in the data read from the semiconductor memory device 10 and transmitted to the memory controller 20, and correct the errors.

[0103] FIG. 8(a) shows the data structure of data transmitted and received between the memory controller 20 and the semiconductor memory device 10 in the first embodiment. Hereinafter, the data transmitted and received between the memory controller 20 and the semiconductor memory device 10 is referred to as transmission data. The transmission data includes a data area and a redundant area. The data area includes a data body DA. The redundant area includes ECC data ED and a parity bit. The parity bit generated by the second ECC circuit 24b of the memory controller 20 is referred to as transmission parity PC, and the parity bit generated by the transmission parity check circuit 12b of the semiconductor memory device 10 is referred to as transmission parity PM. The transmission data transmitted from the memory controller 20 to the semiconductor memory device 10 includes the data body DA, ECC data ED, and transmission parity PC. The transmission data received by the memory controller 20 from the semiconductor memory device 10 includes the data body DA, ECC data ED, and transmission parity PM.

[0104] The ECC data ED is, for example, 8n bits (n is a natural number). The transmission parity PC and the transmission parity PM are, for example, 8m bits (m is a natural number). In general, the ECC data ED has a larger number of bits than the transmission parity PC and the transmission parity PM. n is, for example, about several hundred. m is, for example, greater than or equal to 10 and less than 10. Thus, there is a difference between the ECC data ED and the transmission parities PC and PM in order to improve the error detection and correction capabilities of the ECC circuit 24 while preventing an increase in the ECC circuit 24 by optimizing the error detection and correction capabilities according to the probability of error occurrence.

[0105] The data body DA is target data to be written by the memory controller 20 to the memory cell array 11 in the semiconductor memory device 10. The ECC data ED is error detection data generated by the first ECC circuit 24a using LDPC or the like for the data body DA. The transmission parity PC is error detection data generated by the second ECC circuit 24b for the data body DA and the ECC data ED. The transmission parity PM is error detection data generated by the transmission parity check circuit 12b for the data body DA and the ECC data ED. The transmission parities PC and PM are used to detect errors that occur when transmitting and receiving transmission data between the memory controller 20 and the semiconductor memory device 10.

[0106] FIG. 8(b) shows data written to the memory cell array 11 in the semiconductor memory device 10 and data read from the memory cell array 11. The data written to the memory cell array 11 is the data body DA and the ECC data ED, excluding the transmission parity PC. Similarly, the data read from the memory cell array 11 is the data body DA and the ECC data ED, excluding the transmission parity PC. Hereinafter, the data written to the memory cell array 11 in the semiconductor memory device 10 is referred to as "write data", and the data read from the memory cell array 11 is referred to as "read data". That is, each of the write data and the read data includes the data body DA and the ECC data ED, but does not include the transmission parity PC. The transmission parity PC transmitted from the memory controller 20 to the semiconductor memory device 10 may be received by the cache register 12a in the input / output circuit 12, may be received by the transmission parity check circuit 12b, or may be further received by the data register 19B.

[0107] Also, the transmission parity check circuit 12b may be provided near the data register 19B. As shown in FIG. 9, the transmission parity check circuit provided near the data register 19B is denoted as 19Ba. When the transmission parity check circuit 19Ba is provided near the data register 19B, the transmission parity PC may be received by the cache register 12a in the input / output circuit 12, or may be received by the data register 19B or the transmission parity check circuit 19Ba. The transmission parity check circuit 19Ba has a configuration similar to that of the transmission parity check circuit 12b, and, like the second ECC circuit 24b in the memory controller 20, generates error detection data using parity bits and detects errors, for example.

[0108] During a read operation, the second ECC circuit 24b checks whether the generated transmission parity PC matches the transmission parity PM generated by the transmission parity check circuit 12b.

[0109] An example of a match check executed in the second ECC circuit 24b will be described. First, each bit of the transmission parity PC and the transmission parity PM is stored in a memory circuit and input to an ENOR gate (match circuit). Next, the ENOR gate outputs "1" when the inputs match, and outputs "0" when the inputs do not match. Finally, when the outputs of each ENOR gate are input to an AND gate, if all the bits match and are all "1", "1" is output, and if there is one or more mismatched bits, "0" is output.

[0110] Another example of the match check executed in the second ECC circuit 24b will be described. In this example, a memory circuit is not used. The transmission parity PC and the transmission parity PM, which flow serially one bit at a time, are input to the check circuit in sequence. When all bits related to the transmission parity PC and the transmission parity PM have been input, the check result is output.

[0111] 1.1.5 ECC circuits in semiconductor memory devices As described above, the input / output circuit 12 of the semiconductor memory device 10 includes the transmission parity check circuit 12b as an ECC circuit. The transmission parity check circuit 12b, like the second ECC circuit 24b in the memory controller 20, generates error detection data using a parity bit (or a parity code) and detects an error, for example.

[0112] During a write operation, the transmission parity check circuit 12b generates a transmission parity PM for the data body DA and the ECC data ED in the transmission data transmitted from the memory controller 20. This transmission parity PM is error detection data for detecting an error that occurs in the transmission data while the transmission data is being transmitted from the memory controller 20 to the semiconductor memory device 10.

[0113] During a write operation, the transmission parity check circuit 12b checks whether the generated transmission parity PM matches the transmission parity PC generated by the second ECC circuit 24b.

[0114] An example of a match check executed in the transmission parity check circuit 12b will be described. First, each bit of the transmission parity PM and the transmission parity PC is stored in a memory circuit and input to an ENOR gate (match circuit). Next, the ENOR gate outputs "1" when the inputs match, and outputs "0" when the inputs do not match. Finally, when the outputs of each ENOR gate are input to an AND gate, if all the bits match and are all "1", "1" is output, and if there is one or more mismatched bits, "0" is output.

[0115] Another example of the match check executed in the transmission parity check circuit 12b will be described. In this example, a memory circuit is not used. The transmission parity PC and the transmission parity PM, which flow serially one bit at a time, are input to the check circuit in sequence. When all bits related to the transmission parity PC and the transmission parity PM have been input, the check result is output.

[0116] During a read operation, the transmission parity check circuit 12b generates a transmission parity PM for the data body DA and the ECC data ED in the read data read from the memory cell array 11. Furthermore, the transmission parity check circuit 12b generates transmission data by adding the transmission parity PM to the read data. This transmission parity PM is error detection data for detecting an error that occurs in the transmission data while the transmission data including the read data is being transmitted from the semiconductor memory device 10 to the memory controller 20.

[0117] The transmission parity check circuit 12b may only generate error detection data using the parity bit, and the sequencer 16 may detect errors using the parity bit.

[0118] 1.2 Memory System Write Operation In the write operation of the first embodiment, it is checked whether or not a transmission error has occurred in the transmission data transmitted from the memory controller 20 to the semiconductor memory device 10, and if a transmission error has occurred, the transmission data is retransmitted from the memory controller 20 to the semiconductor memory device 10. In parallel with this transmission error check, the write data included in the transmission data is written to the memory cell array 11. If a transmission error has not occurred, the transmission data transmitted earlier is used, and if a transmission error has occurred, the transmission data transmitted later is used. Furthermore, if a memory error has occurred in the write data, the address of the memory cell array 11 to which the write data is written is changed, that is, the page in the block BLKn to which the write data is written is changed.

[0119] The write operation includes a program operation and a program verify operation. The program operation is an operation in which a write voltage is applied to the gate electrode of the memory cell transistor to inject charges into the charge storage layer 52 of the memory cell transistor and increase the threshold voltage of the memory cell transistor. The program verify operation is a read operation in which it is verified whether the threshold voltage of the memory cell transistor generated by the application of the write voltage has reached a target voltage.

[0120] Next, the data flow in the write operation of the first embodiment will be described with reference to FIGS.

[0121] 10 shows a case in which, in a write operation in the first embodiment, the transmission parity PC is stored in the transmission parity check circuit 12b in the input / output circuit 12. In the figure, the downward arrow indicates the flow of data in a write operation.

[0122] The data body DA is stored in the RAM 22. For the data body DA, the first ECC circuit 24a generates ECC data ED and transmits it to the RAM 22. Furthermore, for the data body DA and the ECC data ED, the second ECC circuit 24b generates transmission parity PC and transmits it to the RAM 22.

[0123] Of the data body DA, ECC data ED, and transmission parity PC stored in RAM 22, the data body DA and ECC data ED are transmitted to the cache register 12a in the input / output circuit 12, and the transmission parity PC is transmitted to the transmission parity check circuit 12b via the NAND interface circuit 25, and are temporarily stored therein.

[0124] The transmission parity check circuit 12b generates a transmission parity PM for the data body DA and the ECC data ED stored in the cache register 12a. The transmission parity check circuit 12b checks whether the generated transmission parity PM matches the transmission parity PC received from the NAND interface circuit 25.

[0125] In the above inspection, if the transmission parity PC and the transmission parity PM do not match, the data body DA, the ECC data ED, and the transmission parity PC are transmitted again from the RAM 22 via the NAND interface circuit 25, or from the NAND interface circuit 25. After that, the data body DA and the ECC data ED stored in the cache register 12a are transmitted to the data register 19B and temporarily stored therein. Furthermore, the data body DA and the ECC data ED stored in the data register 19B are transmitted to the sense amplifier 19C and temporarily stored therein. Then, the data body DA and the ECC data ED stored in the sense amplifier 19C are written to the memory cell array 11.

[0126] 11 shows a case in which, in a write operation in the first embodiment, the transmission parity PC is stored in the cache register 12a in the input / output circuit 12. In the figure, the downward arrow indicates the flow of data in a write operation.

[0127] The data body DA, the ECC data ED, and the transmission parity PC stored in the RAM 22 are transmitted to the cache register 12a in the input / output circuit 12 via the NAND interface circuit 25, and are temporarily stored therein.

[0128] The transmission parity check circuit 12b generates a transmission parity PM for the data body DA and ECC data ED stored in the cache register 12a. The transmission parity PC stored in the cache register 12a is sent to the transmission parity check circuit 12b. The transmission parity check circuit 12b checks whether the generated transmission parity PM matches the transmission parity PC received from the cache register 12a.

[0129] In the above check, if the transmission parity PC and the transmission parity PM do not match, the data body DA, the ECC data ED, and the transmission parity PC are retransmitted from the RAM 22 via the NAND interface circuit 25 or from the NAND interface circuit 25.

[0130] Thereafter, the data body DA and the ECC data ED, excluding the transmission parity PC, stored in the cache register 12a are transmitted to the data register 19B and temporarily stored therein. Furthermore, the data body DA and the ECC data ED stored in the data register 19B are transmitted to the sense amplifier 19C and temporarily stored therein. Then, the data body DA and the ECC data ED stored in the sense amplifier 19C are written to the memory cell array 11.

[0131] 12 shows a case where the transmission parity PC is stored in the data register 19B and the transmission parity PM is generated by a transmission parity check circuit 19Ba provided near the data register 19B in the write operation of the first embodiment. In the figure, the downward arrow indicates the flow of data in the write operation.

[0132] The data body DA, ECC data ED, and transmission parity PC stored in the RAM 22 are transmitted to the cache register 12a in the input / output circuit 12 via the NAND interface circuit 25 and temporarily stored therein. The data body DA, ECC data ED, and transmission parity PC stored in the cache register 12a are transmitted to the data register 19B and temporarily stored therein.

[0133] The transmission parity check circuit 19Ba generates a transmission parity PM for the data body DA and the ECC data ED stored in the data register 19B. The transmission parity PC stored in the data register 19B is sent to the transmission parity check circuit 19Ba. The transmission parity check circuit 19Ba checks whether the generated transmission parity PM matches the transmission parity PC received from the data register 19B.

[0134] Thereafter, the data body DA and the ECC data ED, excluding the transmission parity PC, stored in the data register 19B are transmitted to the sense amplifier 19C and temporarily stored therein. Then, the data body DA and the ECC data ED stored in the sense amplifier 19C are written to the memory cell array 11.

[0135] The write operation in the memory system 1 of the first embodiment will be described below. FIG. 13 is a flowchart showing the write operation in the memory system 1 of the first embodiment. FIGS. 14 and 15 are timing charts showing the write operation in the first embodiment. FIG. 14 shows a case where the transmission status passes and the verify status passes in the write operation. FIG. 15 shows a case where the transmission status fails and the verify status fails in the write operation. The operation in the memory controller 20 is controlled by the CPU 21. The write operation in the semiconductor memory device 10 is controlled by the sequencer 16.

[0136] As shown in Fig. 13, first, the memory controller 20 generates a transmission parity PC for the data body DA and ECC data ED included in the transmission data by the second ECC circuit 24b in the ECC circuit 24 (S1). Furthermore, the memory controller 20 adds the generated transmission parity PC to the data body DA and ECC data ED. As a result, the transmission data becomes data including the data body DA, ECC data ED, and transmission parity PC. Note that the ECC data ED is assumed to have been generated by the first ECC circuit 24a in the ECC circuit 24 before step S51, for example.

[0137] Next, at time t1, the memory controller 20 transmits a data input command to the semiconductor memory device 10 (S2). For example, the data input command is the command "80h" (h indicates hexadecimal). Then, a column address and a row address (e.g., a block address and a page address) that specify a memory location in the transmission data where the write data is to be written are transmitted to the semiconductor memory device 10. Furthermore, the memory controller 20 transmits the transmission data to the semiconductor memory device 10 (S3). As described above, the transmission data includes a data body DA, ECC data ED, and transmission parity PC.

[0138] Upon receiving the data input command and the transmission data, the sequencer 16 of the semiconductor memory device 10 temporarily stores the transmission data in the cache register 12a, and then transfers the write data in the transmission data to the data register 19B (S4 and S5).

[0139] Next, the sequencer 16 generates a transmission parity PM by the transmission parity check circuit 12b for the data body DA and the ECC data ED in the write data included in the transmission data (S6).

[0140] Next, at time t2, the memory controller 20 transmits a write start command to the semiconductor memory device 10 (S7). For example, the write start command is command "10h". Thereafter, the memory controller 20 waits until it receives a ready / busy signal R / Bn (i.e., "H" level) indicating that the semiconductor memory device 10 is in a ready state (S8).

[0141] Upon receiving the write start command (S9), the sequencer 16 of the semiconductor memory device 10 starts a program operation of the write data stored in the data register 19B at time t3 (S14). In the program operation, the write data in the data register 19B passes through the sense amplifier 19C and is written to a page in the block BLKn of the memory cell array 11 specified by the row address.

[0142] In response to a command from the sequencer 16, the transmission parity check circuit 12b checks whether the transmission parity PC received from the memory controller 20 matches the transmission parity PM generated by the semiconductor memory device 10 in parallel with the program operation, as shown in FIG. 14 and FIG. 15 (S10). For example, during the program operation, various voltages to be applied to the memory cell array 11 are generated by a charge pump in the voltage generation circuit 17. During this program operation, the activation of the charge pump in the voltage generation circuit 17 and the match check of the transmission parity PC and the transmission parity PM are performed in parallel. Since the number of bits of the transmission parity PC and the transmission parity PM are relatively small, this check can be performed in a short time. On the other hand, during the program operation, it takes time to activate the charge pump in the voltage generation circuit 17 that generates various voltages to be applied to the memory cell array 11, so the check in S10 can be completed before voltage is supplied to wiring such as word lines in the memory cell array 11. Although the program operation and the transmission parity check are executed in parallel, it is not necessary for the program operation and the transmission parity check to start at the same time, and the start times may be different.

[0143] The sequencer 16 receives the result of the match check in the transmission parity check circuit 12b. In step S10, if the transmission parity PC and the transmission parity PM do not match (No), the sequencer 16 sets the transmission status to fail, as shown in FIG. 15. That is, information indicating that the transmission status is fail is stored in the status register 15A (S11). Then, the semiconductor memory device 10 becomes ready, and outputs a ready / busy signal R / Bn (i.e., "H" level) indicating that the semiconductor memory device 10 is ready to the memory controller 20 (S12).

[0144] On the other hand, when the transmission parity PC and the transmission parity PM match, the sequencer 16 sets the transmission status to PATH as shown in Fig. 14. That is, information indicating that the transmission status is PATH is stored in the status register 15A (S13).

[0145] After the check in step S10, the transmission parity PC and the transmission parity PM are erased by overwriting or the like in the next write operation or the like.

[0146] Also, at time t4, the sequencer 16 executes a program verify operation that is executed after the program operation (S15). The program operation and the program verify operation are repeatedly executed a predetermined number of times until the verify in the program verify operation passes. If the verify does not pass even after the program operation and the program verify operation are executed a predetermined number of times, that is, if the verify fails a predetermined number of times (S16, Yes), the sequencer 16 sets the verify status to fail. That is, information indicating that the verify status is fail is stored in the status register 15A (S17). Then, the semiconductor memory device 10 becomes ready, and outputs a ready / busy signal R / Bn (i.e., "H" level) indicating that the semiconductor memory device 10 is ready to the memory controller 20 (S12). Note that, in order to simplify the illustration, FIG. 13, FIG. 14, and FIG. 15 show a case where the program operation (S14) and the program verify operation (S15) are each performed once.

[0147] On the other hand, if the verify in the program verify operation is passed (S16, No), the sequencer 16 sets the verify status to pass. That is, information indicating that the verify status is pass is stored in the status register 15A (S18). Then, the semiconductor memory device 10 enters a ready state, and outputs a ready / busy signal R / Bn (i.e., "H" level) indicating that the semiconductor memory device 10 is in a ready state to the memory controller 20 (S12).

[0148] After transmitting the write start command, the memory controller 20 goes into a standby state, and then when it learns that the semiconductor memory device 10 is in a ready state from the ready / busy signal R / Bn (S8), it transmits a status read command to the semiconductor memory device 10 at time t5 (S19). For example, the status read command is the command "70h".

[0149] Upon receiving a status read command (S20), the sequencer of the semiconductor memory device 10 transmits the transmission status and the verify status stored in the status register 15A to the memory controller 20 (S21).

[0150] Upon receiving the transmission status and the verify status (S22), the memory controller 20 judges whether the transmission status is set to pass or fail (S23). If the transmission status is set to fail, the memory controller 20 returns to step S2. Then, the memory controller 20 and the semiconductor memory device 10 execute the processes from step S2 onward. That is, as shown in FIG. 15, the memory controller 20 again transmits the data input command "80h", the column address, the row address, the transmission data, and the write start command "10h" to the semiconductor memory device 10 at time t6, and the memory controller 20 and the semiconductor memory device 10 execute the subsequent processes.

[0151] On the other hand, if the transmission status is set to PASS, the memory controller 20 judges whether the verify status is set to PASS or FAIL (S24). If the verify status is set to FAIL, the memory controller 20 changes the page in the block of the memory cell array 11 to which the write data is written (S25), in other words, changes the page address to be transmitted to the semiconductor memory device 10 next time, and returns to step S2. Then, the memory controller 20 and the semiconductor memory device 10 execute the process from step S2 onwards. That is, the memory controller 20 transmits the data input command “80h”, the column address, the row address including the changed page address, the transmission data, and the write start command “10h” to the semiconductor memory device 10 again, and the memory controller 20 and the semiconductor memory device 10 execute the process thereafter.

[0152] On the other hand, if the verify status is set to pass in step S24, the memory controller 20 ends the write operation.

[0153] In the above-mentioned write operation, after the memory controller 20 transmits the write start command, the semiconductor memory device 10 executes the transmission parity check and the program operation in parallel. Here, if the two transmission parities PC and PM do not match in the transmission parity check, the sequencer 16 may interrupt the program operation or the program verify operation and wait for the transmission data to be transmitted again from the memory controller 20 to the semiconductor memory device 10. FIG. 16 shows a timing chart when the transmission parity PC and PM do not match and the sequencer 16 interrupts the program operation. In this case, the sequencer 16 sets the transmission status to fail. When the memory controller 20 receives information indicating that the transmission status is fail, at time t6, it transmits a data input command, a column address, a row address, transmission data, and a write start command to the semiconductor memory device 10. That is, the memory controller 20 transmits the transmission data to the semiconductor memory device 10 again.

[0154] 13, the semiconductor memory device 10 generates the transmission parity PM in step S6 and then receives the write start command in step S9, but these may be reversed. That is, the transmission parity PM may be generated after receiving the write start command.

[0155] Also, in the write operation shown in FIG. 13, after receiving the transmission parity PC in step S5, the semiconductor memory device 10 may subsequently receive a write start command (S9), subsequently start a program operation (S14), and then generate the transmission parity PM.

[0156] Also, in the write operation shown in FIG. 13, the semiconductor memory device 10 receives the transmission parity PC in step S5, generates the transmission parity PM in step S6, and then checks whether the transmission parity PC and the transmission parity PM match (S10), sets the transmission status to pass (S13), and may then receive a write start command (S9).

[0157] 1.3 Memory System Read Operation In the read operation of the first embodiment, if a transmission error occurs in the transmission data including the read data transmitted from the semiconductor memory device 10 to the memory controller 20, the transmission data is retransmitted from the cache register 12a in the semiconductor memory device 10 to the memory controller 20. In this way, if a transmission error occurs, the transmission data is simply retransmitted, so that the time required to correct the transmission error can be shortened. Furthermore, if a memory error occurs in the read data, a read method capable of highly accurate error correction, such as soft bit read, is executed.

[0158] Next, the data flow in the read operation of the first embodiment will be described with reference to FIGS.

[0159] 10 shows a case in which, in a read operation in the first embodiment, the transmission parity PM is generated by the transmission parity check circuit 12b in the input / output circuit 12 and transmitted to the NAND interface circuit 25. In the figure, the upward arrow indicates the flow of data in a read operation.

[0160] The data body DA and ECC data ED read from the memory cell array 11 are temporarily stored in the data register 19B via the sense amplifier 19C. The data body DA and ECC data ED stored in the data register 19B are transmitted to the cache register 12a in the input / output circuit 12 and temporarily stored therein.

[0161] The transmission parity check circuit 12b generates transmission parity PM for the data body DA and ECC data ED stored in the cache register 12a. The data body DA and ECC data ED stored in the cache register 12a and the generated transmission parity PM are transmitted to the NAND interface circuit 25 in the memory controller 20 and temporarily stored therein. The data body DA, ECC data ED and transmission parity PM stored in the NAND interface circuit 25 are transmitted to the RAM 22 and stored therein.

[0162] The second ECC circuit 24b generates a transmission parity PC for the data body DA and the ECC data ED stored in the RAM 22. The transmission parity PM stored in the RAM 22 is sent to the second ECC circuit 24b. Next, it is checked whether the generated transmission parity PC and the transmission parity PM stored in the RAM 22 match.

[0163] In the above check, if the transmission parity PC and the transmission parity PM do not match, the cache register 12a and the transmission parity check circuit 12b retransmit the data body DA, the ECC data ED, and the transmission parity PM. On the other hand, if the transmission parity PC and the transmission parity PM match, the second ECC circuit 24a performs an error check on the data body DA stored in the RAM 22 using the ECC data ED.

[0164] 11 shows a case where the transmission parity PM is generated by the transmission parity check circuit 12b in the input / output circuit 12 and transmitted to the cache register 12a in a read operation in the first embodiment. In the figure, the upward arrow indicates the flow of data in a read operation.

[0165] The data body DA and ECC data ED read from the memory cell array 11 are temporarily stored in the data register 19B via the sense amplifier 19C. The data body DA and ECC data ED stored in the data register 19B are transmitted to the cache register 12a in the input / output circuit 12 and temporarily stored therein.

[0166] The transmission parity check circuit 12b generates a transmission parity PM for the data body DA and the ECC data ED stored in the cache register 12a. The generated transmission parity PM is sent to the cache register 12a and temporarily stored therein.

[0167] The data body DA, the ECC data ED, and the transmission parity PM stored in the cache register 12a are transmitted to the NAND interface circuit 25 in the memory controller 20 and temporarily stored therein. The data body DA, the ECC data ED, and the transmission parity PM stored in the NAND interface circuit 25 are transmitted to the RAM 22 and stored therein.

[0168] The second ECC circuit 24b generates a transmission parity PC for the data body DA and the ECC data ED stored in the RAM 22. The transmission parity PM stored in the RAM 22 is sent to the second ECC circuit 24b. Next, the second ECC circuit 24b checks whether the generated transmission parity PC matches the transmission parity PM stored in the RAM 22.

[0169] In the above check, if the transmission parity PC and the transmission parity PM do not match, the cache register 12a transmits the data body DA, the ECC data ED, and the transmission parity PM again. On the other hand, if the transmission parity PC and the transmission parity PM match, the second ECC circuit 24a performs an error check on the data body DA stored in the RAM 22 using the ECC data ED.

[0170] 12 shows a case where the transmission parity PM is generated by a transmission parity check circuit 19Ba provided near the data register 19B in a read operation in the first embodiment. In the figure, the upward arrow indicates the flow of data in a read operation.

[0171] The data body DA and the ECC data ED read from the memory cell array 11 are temporarily stored in the data register 19B via the sense amplifier 19C.

[0172] The transmission parity check circuit 19Ba generates a transmission parity PM for the data body DA and the ECC data ED stored in the data register 19B. The generated transmission parity PM is sent to the data register 19B and temporarily stored therein.

[0173] The data body DA, the ECC data ED, and the transmission parity PM stored in the data register 19B are sent to the cache register 12a in the input / output circuit 12 and temporarily stored therein.

[0174] The data body DA, the ECC data ED, and the transmission parity PM stored in the cache register 12a are transmitted to the NAND interface circuit 25 in the memory controller 20 and temporarily stored therein. The data body DA, the ECC data ED, and the transmission parity PM stored in the NAND interface circuit 25 are transmitted to the RAM 22 and stored therein.

[0175] The second ECC circuit 24b generates a transmission parity PC for the data body DA and the ECC data ED stored in the RAM 22. The transmission parity PM stored in the RAM 22 is sent to the second ECC circuit 24b. Next, it is checked whether the generated transmission parity PC and the transmission parity PM stored in the RAM 22 match.

[0176] In the above check, if the transmission parity PC and the transmission parity PM do not match, the cache register 12a transmits the data body DA, the ECC data ED, and the transmission parity PM again. On the other hand, if the transmission parity PC and the transmission parity PM match, the second ECC circuit 24a performs an error check on the data body DA stored in the RAM 22 using the ECC data ED.

[0177] The read operation in the memory system 1 of the first embodiment will be described below. FIG. 17 is a flowchart showing the read operation in the memory system 1 of the first embodiment. FIGS. 18, 19, and 20 are timing charts showing the read operation in the first embodiment. FIG. 18 shows a case where an error check of the transmission parity PM is passed in a read operation, and an error check of the ECC data ED is also passed. FIG. 19 shows a case where an error check of the transmission parity PM is passed in a read operation, and then an error check of the ECC data ED is failed. FIG. 20 shows a case where an error check of the transmission parity PM is failed in a read operation, and then an error check of the transmission parity PM is passed, and then an error check of the ECC data ED is also passed. The operation in the memory controller 20 is controlled by the CPU 21. The read operation in the semiconductor memory device 10 is controlled by the sequencer 16.

[0178] A command transmitted from the memory controller 20 to instruct the semiconductor memory device 10 to perform a normal read operation, i.e., to store data from the memory cell array 11 to the data register 19B via the sense amplifier 19C, is called a normal read command. A command transmitted from the memory controller 20 to instruct the semiconductor memory device 10 to output data from the data register 19B to the memory controller 20 via the cache register 12a is called a data output operation command. A command transmitted from the memory controller 20 to instruct the semiconductor memory device 10 to perform a soft bit read is called a soft bit read command.

[0179] First, the memory controller 20 transmits a normal read command to the semiconductor memory device 10. For example, the normal read command includes a read address input command “00h” and a read start command “30h”. As shown in FIG. 17 to FIG. 20, the memory controller 20 transmits the read address input command “00h” to the semiconductor memory device 10 at time t11 (S31). Then, the memory controller 20 transmits a column address and a row address (for example, a block address and a page address) that specify a memory location to be read. Furthermore, the memory controller 20 transmits the read start command “30h” to the semiconductor memory device 10 (S33). The read address input command “00h” is a command that notifies the input of an address to be read. The read start command “30h” is a command that commands the start of reading from the memory location specified by the address to be read.

[0180] Upon receiving the command "00h", the column address, the row address, and the command "30h" (S32 and S34), at time t12, the sequencer 16 of the semiconductor memory device 10 executes a read from the page in the block specified by the row address (S35). Then, the read data read from the page in the block is temporarily stored in the cache register 12a via the sense amplifier 19C and the data register 19B (S36). Furthermore, when the read is completed, the sequencer 16 sets the ready / busy signal R / Bn to a ready state (i.e., "H" level) (S37).

[0181] When the memory controller 20 receives a ready / busy signal R / Bn indicating that the semiconductor memory device 10 is ready (S38), at time t13, the memory controller 20 transmits a read address input command "05h", a column address, a row address, and a data output operation command to the semiconductor memory device 10 (S39 and S40). For example, the data output operation command includes the command "E0h". Note that although the read address input command "00h" and the address are transmitted again here, this may be omitted if there is no need to retransmit them.

[0182] Upon receiving a data output operation command "E0h" (S41), at time t14, the sequencer 16 of the semiconductor memory device 10 generates a transmission parity PM for the data body DA and the ECC data ED in the read data stored in the cache register 12a (S42). This transmission parity PM is generated by the transmission parity check circuit 12b in the input / output circuit 12. The transmission parity check circuit 12b adds the generated transmission parity PM to the read data to generate transmission data.

[0183] Next, the sequencer 16 transmits the transmission data including the transmission parity PM to the memory controller 20 (S43).

[0184] When the transmission data is received (S44), at time t15, the second ECC circuit 24b in the memory controller 20 judges whether an error occurs in the transmission parity PM included in the transmission data, that is, whether the error check of the transmission parity PM passes (S45 and S46). Specifically, the second ECC circuit 24b first generates a transmission parity PC for the data body DA and ECC data ED in the transmission data stored in the RAM 22 (S45). The transmission parity PM stored in the RAM 22 is transmitted to the second ECC circuit 24b. Next, it is checked whether the generated transmission parity PC matches the transmission parity PM in the transmission data stored in the RAM 22 (S46). Since the transmission parity PC and the transmission parity PM have a relatively small number of bits, this check can be performed in a short time. As shown in FIG. 20, if the error check of the transmission parity PM does not pass (No), the memory controller 20 returns to step S40 and transmits the data output operation command to the semiconductor memory device 10 again.

[0185] When the data output operation command is received, the sequencer 16 of the semiconductor memory device 10 generates the transmission parity PM again for the data body DA and the ECC data ED in the transmission data stored in the cache register 12a (S42). After that, the process from step S43 onward is repeatedly executed. Note that, when the data output operation command is received again in step S41, the sequencer 16 may skip step S42 and proceed to step S43 to transmit the transmission data to the memory controller 20. That is, although the transmission parity PM was generated again in step S42, the transmission parity check circuit 12b may hold the transmission parity PM, and the transmission data may be generated by adding the transmission parity PM to the data body DA and the ECC data ED, and the transmission data may be transmitted in step S43.

[0186] On the other hand, in step S45, as shown in FIG. 18, if the error check of the transmission parity PM passes (Yes), at time t16, the memory controller 20 uses the ECC data ED to determine whether or not an error has occurred in the data body DA in the transmission data, i.e., whether or not the error check using the ECC data ED passes (S47).

[0187] 19, if the error check using the ECC data ED is not passed (No), the memory controller 20 transmits a soft bit read command to the semiconductor memory device 10 (S48). Upon receiving the soft bit read command, the semiconductor memory device 10 executes a soft bit read in step S35, and then repeatedly executes the processes from step S36 onward. The soft bit read will be described later.

[0188] On the other hand, if the error check using the ECC data ED is passed in step S47 (Yes), the memory controller 20 ends the read operation.

[0189] After the check in step S46, the transmission parity PC and the transmission parity PM are erased by overwriting or the like in the next read operation or the like.

[0190] Also, in steps S46 and S47, an error check using the transmission parity PM is performed followed by an error check using the ECC data ED, but these may be performed simultaneously in parallel.

[0191] The normal read command may be a command to output data from the memory cell array 11 to the memory controller 20 via the sense amplifier 19C, the data register 19B, and the cache register 12a. In this case, the operations of steps S37 to S41 in Fig. 17 and times t13-t14 in Fig. 18 to Fig. 20 are skipped. That is, immediately after the end of reading, the transmission parity PM is generated, and the data body DA, the ECC data ED, and the transmission parity PM are transmitted to the memory controller 20.

[0192] The operation of the soft bit read executed in step S35 will be described below. Fig. 21 is a diagram for explaining an outline of the operation of the soft bit read. Fig. 21 shows threshold voltage distributions of state "A" and state "B" as an example of the distribution of threshold voltages of a plurality of memory cell transistors.

[0193] As shown in Fig. 21, the soft bit read includes a normal read and multiple shift reads. The normal read is a basic read method, and the read voltage in the normal read is the reference for the read voltage in the shift read. The shift read is a read method in which the read voltage in the normal read is shifted, and the shift amount relative to the standard value is set based on the standard value of the read voltage in the normal read.

[0194] In the example of FIG. 21, the normal read corresponds to a read voltage BR as a standard value. The multiple shift reads correspond to read voltages (BR±3Δ, BR±2Δ, and BR±Δ) that are shifted by ±3Δ, ±2Δ, and ±Δ, respectively, from the normal read read voltage BR. That is, the soft bit read executes read operations using seven different read voltages (BR-3Δ, BR-2Δ, BR-Δ, BR, BR+Δ, BR+2Δ, and BR+3Δ), and seven read data are obtained. In the soft bit read operation, these multiple read operations are executed continuously.

[0195] The ECC circuit 24 estimates the distribution of threshold voltages of multiple memory cell transistors using multiple read data successively read by the soft bit read, thereby performing error correction with higher accuracy than error correction based on only one read data.

[0196] 19, the time TR3 for reading performed in the semiconductor memory device 10 in response to the soft bit read command is longer than the time TR2 for reading performed in the semiconductor memory device 10 in response to the read start command. Furthermore, the time TR2 for reading performed in the semiconductor memory device 10 in response to the read start command is longer than the time TR1 for reading performed in the semiconductor memory device 10 in response to the data output operation command.

[0197] 1.4 Effects of the First Embodiment According to the first embodiment, it is possible to provide a semiconductor memory device and a memory system capable of reducing the time required for a write operation and a read operation.

[0198] In the configuration of the first embodiment, it is possible to distinguish whether an error that occurs in data during write and read operations is an error that occurs when transmitting data between the memory controller 20 and the semiconductor memory device 10 (i.e., a transmission error) or an error that occurs when writing and reading data to the memory cell array 11 (i.e., a memory error).

[0199] Generally, memory errors occur relatively frequently, and for example, ECCs such as LDPCs, which have high error correction capabilities and require a large amount of calculation, are used to correct memory errors. Conventionally, since there was no distinction between transmission errors and memory errors, it is believed that transmission errors were also corrected using ECCs with high correction capabilities and a large amount of calculation. However, generally, transmission errors occur less frequently than memory errors, and can be detected using ECCs such as parity, which have low correction capabilities and require a small amount of calculation. Therefore, in the configuration of the first embodiment, transmission errors can be detected in a short time by using transmission parity for data transmitted and received in write and read operations.

[0200] Furthermore, in the configuration of the first embodiment, if a transmission error occurs in the transmission data when transmission data including write data is transmitted from the memory controller 20 to the semiconductor memory device 10 during a write operation, the transmission error contained in the write data can be corrected in a short time by re-sending the transmission data from the memory controller 20 to the semiconductor memory device 10.

[0201] Generally, transmission errors are random events that occur more frequently when the number of semiconductor memory devices 10 connected to the memory controller 20 is large and the signal frequency is high. Because they are random events, the probability of a transmission error occurring twice in a row is relatively low. Therefore, when the write data is resent, there is a high probability that a transmission error will not occur in the resent write data.

[0202] Furthermore, in the configuration of the first embodiment, by performing the inspection of transmission errors and the programming operation of the write data to the memory cell array 11 in parallel during the write operation, the impact on the write operation time can be minimized, that is, the increase in the time required for the write operation can be suppressed.

[0203] Furthermore, in the configuration of the first embodiment, when transmission data including read data is transmitted from the semiconductor memory device 10 to the memory controller 20 during a read operation, if a transmission error occurs in the transmission data, the transmission data is retransmitted from the semiconductor memory device 10 to the memory controller 20, thereby making it possible to correct the transmission error contained in the read data in a short time. Note that, for the same reason as in the write operation, when the read data is retransmitted, there is a high probability that a transmission error will not occur in the retransmitted read data. This makes it possible to shorten the time required for the read operation.

[0204] Furthermore, in the configuration of the first embodiment, it is possible to select and execute an appropriate operation depending on whether an error that occurs in read data during a read operation is a transmission error or a memory error.

[0205] In general, when an error occurs in read data during a read operation, it is possible to execute a read operation such as a soft bit read. However, although the soft bit read allows for highly accurate error correction, it has a problem that the correction speed is slow. In the configuration of the first embodiment, it is possible to distinguish whether an error occurring in the read data is a transmission error or a memory error. If the error is a transmission error, the read data is retransmitted from the semiconductor memory device 10 to the memory controller 20. This allows the transmission error occurring in the read data to be corrected without using a soft bit read, which has a slow correction speed. On the other hand, if the error occurring in the read data is a memory error, the semiconductor memory device 10 executes a soft bit read, which allows for highly accurate error correction. This allows the error occurring in the read data to be corrected by an appropriate error correction means, and also shortens the time required for the read operation.

[0206] Although the soft bit read is mentioned above as a read operation for correcting memory errors, this is not limited to this. For example, instead of the soft bit read, a read operation (hereinafter referred to as a Vth tracking read) may be used to search for an optimal read voltage to be used in a program operation by performing multiple reads. The Vth tracking read is, for example, a read operation that searches for the threshold voltage distribution of memory cell transistors in a page, and performs a program operation using a read voltage corrected according to the obtained threshold voltage distribution.

[0207] 2. Second embodiment A memory system according to the second embodiment will be described. In the first embodiment, it is checked whether or not a transmission error occurs in transmission data including write data transmitted from the memory controller 20, and the write data is written to the memory cell array 11 in parallel with the transmission error check, but in the second embodiment, after the transmission error check is passed, the write data is written to the memory cell array 11 of the semiconductor memory device 10. In the second embodiment, the differences from the first embodiment will be mainly described.

[0208] 2.1 Memory system configuration The circuit configurations of the memory controller 20 and the semiconductor memory device 10 in the second embodiment are similar to those in the first embodiment.

[0209] 2.2 Memory System Write Operation The write operation in the memory system 1 of the second embodiment will be described below. FIG. 22 is a flowchart showing the write operation in the memory system 1 of the second embodiment. FIGS. 23 and 24 are timing charts showing the write operation in the second embodiment. FIG. 23 shows a case where the transmission status passes in the write operation, and the verify status also passes. FIG. 24 shows a case where the transmission status fails in the write operation, and then the transmission status passes and the verify status also passes. The operation in the memory controller 20 is controlled by the CPU 21. The write operation in the semiconductor memory device 10 is controlled by the sequencer 16.

[0210] 22, first, the memory controller 20 generates a transmission parity PC for the data body DA and ECC data ED included in the transmission data by the second ECC circuit 24b in the ECC circuit 24 (S51). Furthermore, the memory controller 20 adds the generated transmission parity PC to the data body DA and ECC data ED. As a result, the transmission data becomes data including the data body DA, ECC data ED, and transmission parity PC.

[0211] Next, at time t21, the memory controller 20 transmits a data input command to the semiconductor memory device 10 (S52). For example, the data input command is the command "80h". Then, a column address and a row address specifying a memory location in the transmission data to which the write data is to be written are transmitted to the semiconductor memory device 10. Furthermore, the memory controller 20 transmits the transmission data to the semiconductor memory device 10 (S53). The transmission data includes a data body DA, ECC data ED, and transmission parity PC. Thereafter, the memory controller 20 waits until the semiconductor memory device 10 finishes checking the transmission parity PC and knows from the ready / busy signal R / Bn that the semiconductor memory device 10 is in a ready state (S54).

[0212] Upon receiving the data input command and the transmission data, the sequencer 16 of the semiconductor memory device 10 temporarily stores the transmission data in the cache register 12a, and then transfers the write data in the transmission data to the data register 19B (S55 and S56).

[0213] Next, the sequencer 16 generates a transmission parity PM by the transmission parity check circuit 12b for the data body DA and the ECC data ED in the write data included in the transmission data (S57).

[0214] Next, at time t22, the transmission parity check circuit 12b checks whether the transmission parity PC received from the memory controller 20 matches the transmission parity PM generated by the semiconductor memory device 10 in response to a command from the sequencer 16 (S58). If the transmission parity PC and the transmission parity PM do not match (No), the sequencer 16 sets the transmission status to fail as shown in FIG. 24. That is, information indicating that the transmission status is fail is stored in the status register 15A (S59). On the other hand, if the transmission parity PC and the transmission parity PM match (Yes), the sequencer 16 sets the transmission status to pass as shown in FIG. 23. That is, information indicating that the transmission status is pass is stored in the status register 15A (S60). After that, the semiconductor memory device 10 becomes ready, and outputs a ready / busy signal R / Bn (i.e., "H" level) indicating that the semiconductor memory device 10 is ready to the memory controller 20 (S61).

[0215] After transmitting the transmission data, the memory controller 20 goes into a standby state, and then when it learns that the semiconductor memory device 10 is in a ready state from the ready / busy signal R / Bn (S54), it transmits a status read command to the semiconductor memory device 10 at time t23 (S62). For example, the status read command is the command "70h".

[0216] Upon receiving the status read command (S63), the sequencer 16 of the semiconductor memory device 10 transmits the transmission status stored in the status register 15A to the memory controller 20 (S64).

[0217] Upon receiving the transmission status (S65), the memory controller 20 judges whether the transmission status is set to pass or fail (S66). If the transmission status is set to fail, the memory controller 20 returns to step S52. Then, the memory controller 20 and the semiconductor memory device 10 execute the processes from step S52 onwards. That is, as shown in Fig. 24, the memory controller 20 again transmits the data input command "80h", the column address, the row address, and the transmission data to the semiconductor memory device 10, and the memory controller 20 and the semiconductor memory device 10 execute the subsequent processes.

[0218] On the other hand, if the transmission status is set to pass, the memory controller 20 transmits a write start command to the semiconductor memory device 10 at time t24 (S67). For example, the write start command is command "10h". Thereafter, the memory controller 20 waits until the program operation and program verify operation in the semiconductor memory device 10 are completed (S68). That is, the memory controller 20 waits until it receives a ready / busy signal R / Bn (i.e., "H" level) indicating that the program operation and program verify operation are completed and the semiconductor memory device 10 is in a ready state.

[0219] Upon receiving the write start command (S69), the sequencer 16 of the semiconductor memory device 10 starts a program operation of the write data stored in the data register 19B at time t25 (S70). In the program operation, the write data in the data register 19B is written to a page of the block BLKn of the memory cell array 11 specified by the row address.

[0220] Next, at time t26, the sequencer 16 executes a program verify operation that is executed after the program operation (S71). The program operation and the program verify operation are repeatedly executed a predetermined number of times until the verify in the program verify operation passes. If the verify does not pass even after the program operation and the program verify operation are executed a predetermined number of times, that is, if the verify fails a predetermined number of times (S72, Yes), the sequencer 16 sets the verify status to fail. That is, information indicating that the verify status is fail is stored in the status register 15A (S73). On the other hand, if the verify in the program verify operation passes (No), the sequencer 16 sets the verify status to pass. That is, information indicating that the verify status is pass is stored in the status register 15A (S74). Then, the semiconductor memory device 10 becomes ready, and outputs a ready / busy signal R / Bn (that is, "H" level) indicating that the semiconductor memory device 10 is ready to the memory controller 20 (S75).

[0221] After transmitting the write start command, the memory controller 20 goes into a standby state, and then when it learns from the ready / busy signal R / Bn that the semiconductor memory device 10 is in a ready state (S68), it transmits a status read command to the semiconductor memory device 10 at time t27 (S76). For example, the status read command is the command "70h".

[0222] Upon receiving the status read command (S77), the sequencer 16 of the semiconductor memory device 10 transmits the verify status stored in the status register 15A to the memory controller 20 (S78).

[0223] When the verify status is received (S79), the memory controller 20 judges whether the verify status is set to pass or fail (S80). If the verify status is set to fail, the memory controller 20 changes the page in the block of the memory cell array 11 to which the write data is written (S81), in other words, changes the page address to be transmitted to the semiconductor memory device 10 next time, and returns to step S52. Then, the memory controller 20 and the semiconductor memory device 10 execute the process from step S52 onwards. That is, the memory controller 20 transmits the data input command “80h”, the column address, the row address including the changed page address, and the transmission data to the semiconductor memory device 10 again, and the memory controller 20 and the semiconductor memory device 10 execute the process from step S52 onwards.

[0224] On the other hand, if the verify status is set to pass in step S80, the memory controller 20 ends the write operation.

[0225] 2.3 Effects of the second embodiment According to the second embodiment, it is possible to provide a semiconductor memory device and a memory system capable of reducing the time required for a write operation.

[0226] Furthermore, in the configuration of the second embodiment, if a transmission error occurs in the transmission data when transmission data including write data is transmitted from the memory controller 20 to the semiconductor memory device 10 during a write operation, the transmission error contained in the write data can be corrected in a short time by re-sending the transmission data from the memory controller 20 to the semiconductor memory device 10.

[0227] Furthermore, in the configuration of the second embodiment, when the check for a transmission error in a write operation passes, a programming operation of the write data to the memory cell array 11 is executed, thereby reliably preventing write data containing a transmission error from being written to the memory cell array 11. This makes it possible to suppress an increase in the number of written memory cells.

[0228] 3.Other Furthermore, in the above embodiment, the semiconductor memory device is described as an example of a NAND type flash memory, but the present invention is not limited to the NAND type flash memory, and can be applied to other semiconductor memory devices in general, and can also be applied to various memory devices other than semiconductor memory devices. Also, the order of the processes in the flowcharts described in the above embodiment can be changed as much as possible.

[0229] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope of the invention and its equivalents described in the claims, as well as in the scope and spirit of the invention.

[0230] For example, the first embodiment and the second embodiment may be switchable by SET FEATURE or the like. In this case, the first embodiment and the second embodiment may be switched depending on the ratio of written memory cells. For example, if the ratio of written memory cells is low, the mode of the first embodiment is selected, and if the ratio of written memory cells is high, the mode of the second embodiment is selected. [Explanation of symbols]

[0231] 1...memory system, 2...host device, 10...semiconductor memory device, 11...memory cell array, 12...input / output circuit, 12a...cache register, 12b...transmission parity check circuit, 13...logic control circuit, 14...ready / busy circuit, 15...register group, 15A...status register, 15B...address register, 15C...command register, 16...sequencer, 17...voltage generation circuit, 18...row decoder, 19A...column decoder, 19B...data register, 19C...sense amplifier, 20...memory controller, 21...CPU, 22...RAM, 23...ROM, 24...ECC circuit, 24a...first ECC circuit, 24b...second ECC circuit, 25...NAND interface circuit, 26...host interface circuit, 30...semiconductor substrate, 31-35...insulating layer, 40-44...conductive layer, 50...semiconductor layer, 51...tunnel insulating layer, 52...charge storage layer, 53...block insulating layer, BL0-BLm...bit lines, BLK0-BLKn...blocks, MT0-MT7...memory cell transistors, SGD0-SGD3...select gate lines, ST1...select transistor, ST2...select transistor, SU0-SU3...string unit, WL0-WL7...word lines.

Claims

1. A memory cell array capable of storing data; a control circuit for controlling a write operation to the memory cell array; Equipped with In the write operation, the control circuit receiving first data and a first parity bit; generating a second parity bit for the first data; Checking whether the first parity bit and the second parity bit match; The semiconductor memory device is configured to write the first data to the memory cell array.

2. 2. The semiconductor memory device according to claim 1, wherein the control circuit performs, in parallel, a check as to whether the first parity bit and the second parity bit match, and an activation of a voltage generating circuit for a write operation of the first data to the memory cell array.

3. In the check as to whether the first parity bit and the second parity bit match, if the first parity bit and the second parity bit do not match, 2. The semiconductor memory device according to claim 1, wherein the control circuit sets information indicating a mismatch.

4. In the check as to whether the first parity bit and the second parity bit match, if the first parity bit and the second parity bit do not match, 2. The semiconductor memory device according to claim 1, wherein the control circuit receives the first data and the first parity bit again.

5. 2. The semiconductor memory device according to claim 1, further comprising a parity check circuit that generates the second parity bit and checks whether the first parity bit and the second parity bit match.

6. In the check as to whether the first parity bit and the second parity bit match, if the first parity bit and the second parity bit match, 2 . The semiconductor memory device according to claim 1 , wherein the control circuit executes a write operation of the first data to the memory cell array.

7. 2. The semiconductor memory device according to claim 1, wherein after checking whether said first parity bit and said second parity bit match, said control circuit erases said first parity bit and said second parity bit.

8. A memory cell array capable of storing data; a control circuit for controlling a write operation to the memory cell array; A semiconductor memory device including: A controller for controlling the semiconductor memory device; Equipped with In the write operation, the controller generating a first parity bit for the first data; Transmitting the first data, the first parity bit, and a command for instructing the write operation to the semiconductor memory device; The control circuit includes: generating a second parity bit for the first data; Checking whether the first parity bit and the second parity bit match; The memory system configured to write the first data to the memory cell array.

9. 9. The memory system of claim 8, wherein the control circuit performs in parallel a check as to whether the first parity bit and the second parity bit match and an activation of a voltage generating circuit for a write operation of the first data to the memory cell array.

10. In the check as to whether the first parity bit and the second parity bit match, if the first parity bit and the second parity bit do not match, The control circuit sets first information indicating a mismatch; When the controller receives the first information, 9. The memory system according to claim 8, wherein the first data and the first parity bit are transmitted to the semiconductor memory device.

11. 9. The memory system according to claim 8, wherein the semiconductor memory device further comprises a parity check circuit that generates the second parity bit and checks whether the first parity bit and the second parity bit match.

12. In the check as to whether the first parity bit and the second parity bit match, if the first parity bit and the second parity bit match, The memory system according to claim 8 , wherein the control circuit executes a write operation of the first data to the memory cell array.

13. 9. The memory system of claim 8, wherein after checking whether the first parity bit and the second parity bit match, the control circuit erases the first parity bit and the second parity bit.

14. A memory cell array capable of storing data; a control circuit for controlling a read operation to the memory cell array; A semiconductor memory device including: A controller for controlling the semiconductor memory device; Equipped with In the read operation, the controller Transmitting a first command to the semiconductor storage device; The control circuit includes: performing a first read to read first data from the memory cell array in accordance with the first command; generating a first parity bit for the first data; performing a second read to transmit the first data and the first parity bit to the controller; The controller: generating a second parity bit for the first data; The memory system checks whether the first parity bit and the second parity bit match.

15. If the first parity bit and the second parity bit do not match, The controller: Transmitting a second command to the semiconductor storage device; The control circuit includes:

15. The memory system of claim 14, further comprising: a memory controller configured to transmit the first data and the first parity bit to the controller in accordance with the second command.

16. 16. The memory system of claim 15, wherein a time required for the first read is longer than a time required for the second read.

17. the first data includes second data and error detection data generated for the second data, If the first parity bit and the second parity bit match, The controller: performing an error check on the second data using the error detection data, and if the error check is a fail, Transmitting a third command to the semiconductor storage device; The control circuit includes: performing a third read different from the first read and the second read in accordance with the third command; The memory system of claim 14 , wherein the controller terminates the read operation if the error check passes.

18. A time required for the first readout is longer than a time required for the second readout, 18. The memory system of claim 17, wherein the time required for the third read is longer than the time required for the first read.

19. the semiconductor memory device further includes a register that stores the first data; The first read includes storing the first data read from the memory cell array in the register; The memory system of claim 15 , wherein the second read transmits the first data stored in the register to the controller.

20. 18. The memory system according to claim 17, wherein the third read comprises reading the first data from the memory cell array based on a plurality of read data obtained by reading using a plurality of read voltages.

Citation Information

Patent Citations

  • Semiconductor memory

    JP2012212233A