US20220004457A1 - Nonvolatile memory device and memory system including nonvolatile memory device - Google Patents
Nonvolatile memory device and memory system including nonvolatile memory device Download PDFInfo
- Publication number
- US20220004457A1 US20220004457A1 US17/479,067 US202117479067A US2022004457A1 US 20220004457 A1 US20220004457 A1 US 20220004457A1 US 202117479067 A US202117479067 A US 202117479067A US 2022004457 A1 US2022004457 A1 US 2022004457A1
- Authority
- US
- United States
- Prior art keywords
- data
- flag bit
- write
- read
- write data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 claims description 55
- 230000002787 reinforcement Effects 0.000 abstract description 5
- 230000004044 response Effects 0.000 description 10
- 230000002093 peripheral effect Effects 0.000 description 9
- 238000011017 operating method Methods 0.000 description 8
- 101100275375 Arabidopsis thaliana COR47 gene Proteins 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 101000711846 Homo sapiens Transcription factor SOX-9 Proteins 0.000 description 3
- 101100232371 Hordeum vulgare IAT3 gene Proteins 0.000 description 3
- 102100034204 Transcription factor SOX-9 Human genes 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 101000580780 Arabidopsis thaliana Cysteine protease RD19A Proteins 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1008—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
- G06F11/1068—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices in sector programmable memories, e.g. flash disk
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/10—Programming or data input circuits
- G11C16/107—Programming all cells in an array, sector or block to the same state prior to flash erasing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0625—Power saving in storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1008—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
- G06F11/1048—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using arrangements adapted for a specific error detection or correction feature
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0659—Command handling arrangements, e.g. command buffers, queues, command scheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/08—Address circuits; Decoders; Word-line control circuits
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/10—Programming or data input circuits
- G11C16/14—Circuits for erasing electrically, e.g. erase voltage switching circuits
- G11C16/16—Circuits for erasing electrically, e.g. erase voltage switching circuits for erasing blocks, e.g. arrays, words, groups
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/26—Sensing or reading circuits; Data output circuits
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/52—Protection of memory contents; Detection of errors in memory contents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/065—Replication mechanisms
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/18—Error detection or correction; Testing, e.g. of drop-outs
- G11B20/1816—Testing
- G11B2020/1823—Testing wherein a flag is set when errors are detected or qualified
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C11/00—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
- G11C11/56—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using storage elements with more than two stable states represented by steps, e.g. of voltage, current, phase, frequency
- G11C11/5621—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using storage elements with more than two stable states represented by steps, e.g. of voltage, current, phase, frequency using charge storage in a floating gate
- G11C11/5628—Programming or writing circuits; Data input circuits
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C13/00—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
- G11C13/0002—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
- G11C13/0021—Auxiliary circuits
- G11C13/0069—Writing or programming circuits or methods
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/10—Programming or data input circuits
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C2029/0409—Online test
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C2029/0411—Online error correction
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C29/08—Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
- G11C29/12—Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
- G11C2029/4402—Internal storage of test result, quality data, chip identification, repair information
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C2211/00—Indexing scheme relating to digital stores characterized by the use of particular electric or magnetic storage elements; Storage elements therefor
- G11C2211/56—Indexing scheme relating to G11C11/56 and sub-groups for features not covered by these groups
- G11C2211/564—Miscellaneous aspects
- G11C2211/5646—Multilevel memory with flag bits, e.g. for showing that a "first page" of a word line is programmed but not a "second page"
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C2211/00—Indexing scheme relating to digital stores characterized by the use of particular electric or magnetic storage elements; Storage elements therefor
- G11C2211/56—Indexing scheme relating to G11C11/56 and sub-groups for features not covered by these groups
- G11C2211/564—Miscellaneous aspects
- G11C2211/5647—Multilevel memory with bit inversion arrangement
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C29/08—Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
- G11C29/12—Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
- G11C29/38—Response verification devices
- G11C29/42—Response verification devices using error correcting codes [ECC] or parity check
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C7/00—Arrangements for writing information into, or reading information out from, a digital store
- G11C7/10—Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers
- G11C7/1006—Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- Embodiments of the inventive concept disclosed herein relate to a semiconductor memory, and more particularly relate to a nonvolatile memory device performing a compare and write operation and a memory system including the nonvolatile memory device.
- a memory system may include a nonvolatile memory device that retains data stored therein even after power is no longer supplied.
- nonvolatile memory devices include a flash memory, a phase-change memory, a ferroelectric memory, a magnetic memory, and a resistive memory.
- the flash memory has an erase-before-write characteristic in which an erase operation is first performed in a larger unit than a write operation for the purpose of performing the write operation. Due to the erase-before-write characteristic, the flash memory does not support an overwrite operation.
- phase-change memory, the ferroelectric memory, the magnetic memory, and the resistive memory support the overwrite operation.
- the overwrite operation may consume a great amount of power.
- support of an overwrite operation may reduce integrity of data stored within a nonvolatile memory device.
- At least one embodiment of the inventive concept provides a nonvolatile memory device which reinforces integrity of data in a read operation while reducing power consumption in a write operation and a memory system including the nonvolatile memory device.
- a nonvolatile memory device includes a memory cell block including a plurality of memory cells, and a peripheral block that receives first write data to be written in the memory cells from an external device and performs a compare and write operation on the memory cells by using the first write data.
- the peripheral block performs the compare and write operation by reading read data from the memory cells, inverting the first write data to generate second write data, adding a first flag bit to the first write data to generate third write data and adding a second flag bit to the second write data to generate fourth write data, performing a reinforcement operation on each of the third write data and the fourth write data to generate fifth write data and sixth write data, and comparing the read data with each of the fifth write data and the sixth write data and writing one of the fifth and sixth write data in the memory cells based on a result of the comparison.
- a memory system includes a nonvolatile memory device including a plurality of memory cells, and a controller that performs a compare and write operation on the memory cells by using first write data to be written in the memory cells.
- the controller performs the compare and write operation by reading read data from memory cells, inverting the first write data to generate second write data, adding a first flag bit to the first write data to generate third write data and adding a second flag bit to the second write data to generate fourth write data, performing a reinforcement operation on each of the third write data and the fourth write data to generate fifth write data and sixth write data, and comparing the read data with each of the fifth write data and the sixth write data and writing one of the fifth and sixth write data in the memory cells based on a result of the comparison.
- a memory system includes a nonvolatile memory device including a plurality of memory cells, and a controller that performs a compare and write operation on the memory cells by using first write data to be written in the memory cells.
- the controller performs the compare and write operation by reading read data from the memory cells, performing a first encoding on the first write data to generate second write data, performing a second encoding on the second write data to generate third write data, inverting the third write data to generate fourth write data, adding a first flag bit to the third write data to generate fifth write data and adding a second flag bit to the fourth write data to generate sixth write data, and comparing the read data with each of the fifth write data and the sixth write data and writing one of the fifth and sixth write data in the memory cells based on a result of the comparison.
- FIG. 1 is a block diagram illustrating a memory system according to an exemplary embodiment of the inventive concept.
- FIG. 2 is a flowchart associated with an operating method of a memory system of FIG. 1 according to an exemplary embodiment of the inventive concept.
- FIG. 3 illustrates an example in which a nonvolatile memory device of FIG. 1 performs a compare and write operation for writing first write data transmitted from a controller.
- FIG. 4 illustrates an example in which a nonvolatile memory device performs a read operation for reading data, according to an exemplary embodiment of the inventive concept.
- FIG. 5 is a block diagram illustrating a memory system according to an exemplary embodiment of the inventive concept.
- FIG. 6 is a flowchart illustrating an operating method of a memory system of FIG. 5 according to an exemplary embodiment of the inventive concept.
- FIG. 7 illustrates an example in which a controller of FIG. 5 performs a compare and write operation for writing data in a nonvolatile memory device.
- FIG. 8 illustrates an example in which a controller of FIG. 5 performs a read operation for reading data from a nonvolatile memory device.
- FIG. 9 is a flowchart illustrating another example of an operating method of a memory system of FIG. 5 .
- FIG. 10 illustrates an example in which a controller of FIG. 5 performs a compare and write operation for writing data in a nonvolatile memory device.
- FIG. 11 illustrates an example in which a controller of FIG. 5 performs a read operation for reading data from a nonvolatile memory device.
- FIG. 12 is a flowchart illustrating another example of an operating method of a memory system of FIG. 5 according to an exemplary embodiment of the inventive concept.
- FIG. 13 illustrates an example in which a controller of FIG. 5 performs a compare and write operation for writing data in a nonvolatile memory device.
- FIG. 14 illustrates an example in which a controller of FIG. 5 performs a read operation for reading data from a nonvolatile memory device.
- FIG. 15 illustrates a memory system according to an application example of the inventive concept.
- FIG. 1 is a block diagram illustrating a memory system 100 according to an exemplary embodiment of the inventive concept.
- the memory system 100 includes a nonvolatile memory device 110 and a controller 120 (e.g., a control circuit).
- the nonvolatile memory device 110 may include a phase-change memory, a ferroelectric memory, a magnetic memory, or a resistive memory.
- the nonvolatile memory device 110 may maintain data stored therein.
- the nonvolatile memory device 110 may be used as a main storage device (e.g., a main memory) or an auxiliary storage device within a host system including the memory system 100 .
- the nonvolatile memory device 110 may receive a command CMD and an address ADDR from the controller 120 .
- the nonvolatile memory device 110 may exchange control signals CTRL and data “DATA” with the controller 120 .
- the nonvolatile memory device 110 may access memory cells referenced by the address ADDR, based on the command CMD and the control signals CTRL.
- the nonvolatile memory device 110 may exchange the data “DATA” being a result of a read operation of access operations with the controller 120 or may exchange the data “DATA” for a write operation of the access operations with the controller 120 .
- the nonvolatile memory device 110 may write data received from the controller 120 into the memory cells, read data from the memory cells, and output the read data to the controller 120 .
- the nonvolatile memory device 110 includes a memory cell block 111 and a peripheral block 112 .
- the memory cell block 111 may include memory cells (e.g., nonvolatile memory cells).
- the memory cells may be arranged in rows and columns.
- the memory cells arranged in the rows and the columns may be accessed in units of various sizes.
- the access operation to the memory cells may include a write operation and a read operation.
- the write operation may include a set operation and a reset operation.
- the peripheral block 112 is configured to access the memory cell block 111 .
- the peripheral block 112 includes a read block 113 , an inversion block 114 , a flag bit adding block 115 , a compare and write block 116 , and a flag bit detection block 117 .
- the memory cell block 111 is located in a first region of the nonvolatile memory device 110
- the peripheral block 112 is located in a second region of the nonvolatile memory device 110 that is distinct from the first region.
- the first region may be substantially larger than the second region, so that the nonvolatile device 110 is mostly occupied by memory cells.
- the peripheral block 112 may be implemented by one or more logic circuits.
- the read block 113 may perform the read operation on selected memory cells referenced by the address ADDR, from among the memory cells of the memory cell block 111 .
- the read block 113 may read data from the selected memory cells by providing various voltages, various currents, or combinations of various voltages and various currents to the selected memory cells.
- the inversion block 114 is configured to invert and output input data.
- the inversion block 114 is implemented by one or more inverters or inverter circuits.
- the inversion block 114 may invert the data “DATA” transmitted from the controller 120 to the nonvolatile memory device 110 , or the inversion block 114 may invert data in the nonvolatile memory device 110 and may provide the inverted data to the controller 120 as the data “DATA”.
- the flag bit adding block 115 may add a flag bit or at least one replica flag bit to the data “DATA” provided from the controller 120 or data inverted by the inversion block 114 .
- the flag bit adding block 115 may add one flag bit indicating whether inversion was performed and may further add at least one identical replica flag bit.
- the flag bit adding block 115 is implemented by a logic circuit.
- the flag bit adding block 115 may convert N bit data into M bit data, where M is larger than N.
- the compare and write block 116 in response to the command CMD for requesting the write operation, performs a compare and write operation on selected memory cells referenced by the address ADDR, from among the memory cells of the memory cell block 111 .
- the compare and write block 116 generates two or more candidate data from the data “DATA” provided from the controller 120 and compares the two or more candidate data with existing data stored in the selected memory cells.
- the compare and write block 116 is implemented by a logic circuit.
- the compare and write block 116 may compare each of the two or more candidate data with existing data.
- the compare and write block 116 may count the number of positions at which the corresponding bits of each candidate data and the existing data are different.
- the compare and write block 116 may write compare candidate data corresponding to the smaller count in the selected memory cells.
- the compare and write block 116 selects candidate data corresponding to a count smaller than half of the number of bits of each candidate data and writes the selected candidate data in the selected memory cells.
- the compare and write block 116 may write the selected candidate data in the selected memory cells by providing various voltages, various currents, or combinations of various voltages and various currents to the selected memory cells. For example, if the existing data and candidate data are 8 bit data, first candidate data among the candidate data has 3 bits that differ from the existing data and second candidate data among the candidate data has 5 bits that differ from the existing data, then the first candidate data would be selected.
- the flag bit detection block 117 may detect and remove a flag bit or flag bits from data which are read from the selected memory cells of the memory cell block 111 by the read block 113 .
- the flag bit detection block 117 is implemented by a logic circuit.
- the flag bit detection block 117 may provide data to the inversion block 114 or to the controller 120 , based on a value of a flag bit or values of flag bits. For example, flag bit(s) may indicate whether the data needs to be inverted before it is provided to the controller 120 .
- the controller 120 may enable the nonvolatile memory device 110 to perform the write operation or the read operation.
- the controller 120 may transmit the command CMD and the address ADDR to the nonvolatile memory device 110 .
- the controller 120 may exchange the control signals CTRL and the data “DATA” with the nonvolatile memory device 110 .
- the controller 120 may enable the nonvolatile memory device 110 to perform the write operation, the read operation, or a check operation.
- the controller 120 may include or control an encoding block 121 (e.g., an encoder or encoding circuit) and a decoding block 122 (e.g., a decoder or decoding circuit).
- the encoding block 121 may perform error correction encoding on data which the controller 120 will transmit to the nonvolatile memory device 110 in the write operation.
- the encoding block 121 may add a parity to original data by performing error correction encoding.
- the parity may be redundant information generated from performing an operation on the original data.
- the parity may include one or more bits and may provide an error correction function. For example, an error correction operation may be performed on data having the parity to restore the original data.
- the data “DATA” encoded by the encoding block 121 may be transmitted to the nonvolatile memory device 110 .
- the decoding block 122 may perform error correction decoding on the data “DATA” which the controller 120 receives from the nonvolatile memory device 110 in the read operation. By performing error correction decoding by using a parity of the data “DATA”, the decoding block 122 may correct errors from the received data “DATA” and may remove the parity, thus recovering the original data.
- FIG. 2 is a flowchart illustrating an operating method of the memory system 100 of FIG. 1 according to an exemplary embodiment of the inventive concept.
- the controller 120 transmits a first command CMD 1 , a first address ADDR 1 , and first data DATA 1 to the nonvolatile memory device 110 .
- the first command CMD 1 may be a write command.
- the first data DATA 1 may be data to be written in the nonvolatile memory device 110 .
- the nonvolatile memory device 110 performs the compare and write operation in response to the first command CMD 1 .
- the compare and write operation may be performed through operation S 115 to operation S 140 .
- the nonvolatile memory device 110 reads data (e.g., existing data) stored in memory cells selected by the first address ADDR 1 , from among the memory cells of the memory cell block 111 .
- data e.g., existing data
- the nonvolatile memory device 110 inverts the first data DATA 1 . Also, the nonvolatile memory device 110 adds flag bits to the first data DATA 1 and the inverted data, respectively.
- a first flag bit e.g., “1” or “0”
- a second flag bit e.g., “0” or “1” indicating the inversion is added to the inverted data.
- the nonvolatile memory device 110 adds a replica flag bit.
- the nonvolatile memory device 110 may add at least one first replica flag bit, which is identical to the first flag bit indicating non-inversion, to the first data DATA 1 .
- the nonvolatile memory device 110 may add at least one second replica flag bit, which is identical to the second flag bit indicating the inversion, to the inverted data.
- the adding of the replica flag bits may be referred to as a reinforcement operation.
- the addition of the replica flag bit may increase reliability of the flag bit, and may reinforce integrity of the first data DATA 1 while writing and reading the first data DATA 1 in the nonvolatile memory device 110 .
- first candidate data is generated by adding the first flag bit and the at least one first replica flag bit to the first data DATA 1 .
- Second candidate data may be generated by adding the second flag bit and the at least one second replica flag bit to the inverted data.
- the nonvolatile memory device 110 compares the existing data with the first candidate data and the second candidate data. For example, the nonvolatile memory device 110 may calculate the number of positions at which the corresponding bits of the existing data and the first candidate data are different, that is, a first hamming distance. Also, the nonvolatile memory device 110 may calculate the number of positions at which the corresponding bits of the existing data and the second candidate data are different, that is, a second hamming distance.
- the nonvolatile memory device 110 selects one of the first candidate data and the second candidate data, based on a result of the comparison. In an exemplary embodiment, the nonvolatile memory device 110 selects candidate data having a smaller hamming distance with respect to the existing data. In operation S 140 of the compare and write operation, the nonvolatile memory device 110 writes the selected candidate data in the memory cells selected by the first address ADDR 1 . In an exemplary embodiment, the writing of the selected candidate data includes entirely overwriting existing data within the memory cells selected by the first address ADDR 1 with the selected candidate data. This first scheme may be a typical write operation.
- the writing of the selected candidate data includes only overwriting bits of the existing data with different corresponding bits of the selected candidate data. For example, if the existing data is 8 bit data, and only the first bit of the existing data differs from the selected candidate data, then only the first bit of the existing data is written with the first bit of the candidate data.
- This second scheme may be the compare and write operation on which an exemplary embodiment focuses as shown in the comparison operation of the operation S 130 .
- candidate data which has a smaller difference (e.g., a smaller hamming distance) with the existing data, from among the first and second candidate data generated from the first data DATA 1 is written in the nonvolatile memory device 110 . Accordingly, the number of set operations or reset operations necessary for memory cells in which the existing data are stored may decrease, and thus, power consumption of the write operation is reduced. For example, a set operation may be used to overwrite a bit of the existing data with a 1 and a reset operation may be used to overwrite a bit of the existing data with a 0.
- the controller 120 transmits a second command CMD 2 and a second address ADDR 2 to the nonvolatile memory device 110 .
- the second command CMD 2 may be a read command.
- the nonvolatile memory device 110 performs the read operation in response to the second command CMD 2 .
- the read operation may be performed through operation S 150 to operation S 160 .
- operation S 150 of the read operation the nonvolatile memory device 110 reads memory cells selected by the second address ADDR 2 .
- the nonvolatile memory device 110 detects a flag bit and at least one replica flag bit from the read data.
- the nonvolatile memory device 110 selects one of the read data or inverted data of the read data, based on the flag bit and the at least one replica flag bit. For example, if the flag bit and the at least one replica flag bit indicate data of the read data is not inverted, the read data is selected. For example, if the flag bit and the at least one replica flag bit indicate data of the read data is inverted, the data of the read data is inverted to generate the inverted data, and the inverted data is selected.
- the nonvolatile memory device 110 removes the flag bit and the at least one replica flag bit from the selected data and transmits resultant data to the controller 120 as second data DATA 2 .
- the nonvolatile memory device 110 or the memory system 100 may reduce power consumption by performing the compare and write operation. Also, the memory system 100 or the nonvolatile memory device 110 according to an embodiment of the inventive concept may reinforce a flag bit and integrity of original data by adding a replica flag bit.
- FIG. 3 shows an example in which the nonvolatile memory device 110 of FIG. 1 performs a compare and write operation for writing first write data WD 1 transmitted from the controller 120 .
- the first write data WD 1 input to the nonvolatile memory device 110 corresponds to the first data DATA 1 of operation S 110 of FIG. 2 .
- the read block 113 reads first read data RD 1 from selected memory cells MCS of the memory cell block 111 .
- the first read data RD 1 is provided to the compare and write block 116 without passing through the flag bit detection block 117 .
- the first write data WD 1 is provided to the inversion block 114 and the flag bit adding block 115 .
- the inversion block 114 inverts the first write data WD 1 to generate second write data WD 2 .
- the second write data WD 2 is provided to the flag bit adding block 115 .
- the flag bit adding block 115 includes a first flag bit adding block 115 _ 1 and a second flag bit adding block 115 _ 2 .
- the first flag bit adding block 115 _ 1 receives the second write data WD 2 from the inversion block 114 .
- the first flag bit adding block 115 _ 1 adds flag bits to the second write data WD 2 to generate third write data WD 3 .
- the first flag bit adding block 115 _ 1 may add a flag bit (e.g., “1” or “0”) indicating the inversion to the second write data WD 2 .
- the first flag bit adding block 115 _ 1 may further add at least one identical flag bit (e.g., a replica bit) to the second write data WD 2 .
- the third write data WD 3 may include flag bits such as “111” or “000”. Flag bits may be sequentially arranged in the third write data WD 3 or may be distributed and arranged in the third write data WD 3 .
- the second flag bit adding block 115 _ 2 receives the first write data WD 1 .
- the second flag bit adding block 115 _ 2 adds flag bits to the first write data WD 1 to generate fourth write data WD 4 .
- the second flag bit adding block 115 _ 2 adds a flag bit (e.g., “0” or “1”) indicating original data (i.e., not inverted) to the first write data WD 1 .
- the second flag bit adding block 115 _ 2 may further add at least one identical flag bit (e.g., a replica bit) to the first write data WD 1 .
- the fourth write data WD 4 may include flag bits such as “000” or “111”. Flag bits may be sequentially arranged in the fourth write data WD 4 or may be distributed and arranged in the fourth write data WD 4 .
- the nonvolatile memory device 110 stores locations of the flag bits so that the flag detection block 117 knows which bits of the read data to interpret as the flag bits. In another exemplary embodiment, the nonvolatile memory device 110 places the flag bits into fixed(or given) location so that the flag detection block 117 knows which bits of the read data to interpret as the flag bits.
- the flag bit adding block 115 generates the third write data WD 3 and the fourth write data WD 4 .
- the third write data WD 3 and the fourth write data WD 4 may be candidate data capable of being written in the memory cell block 111 .
- the third write data WD 3 and the fourth write data WD 4 are provided to the compare and write block 116 .
- the compare and write block 116 compares the first read data RD 1 and the third write data WD 3 .
- Each of the third write data WD 3 and the first read data RD 1 includes a sequence of bits. In the case where a bit of the third write data WD 3 and a bit of the first read data RD 1 are identical at a specific position on the sequence of bits, a set operation or a reset operation of a memory cell corresponding to the specific position upon writing the third write data WD 3 is unnecessary.
- the memory system 100 or the nonvolatile memory device 110 may reduce the number of memory cells requiring the set operation or the reset operation, thus reducing power consumption in the write operation.
- the compare and write block 116 may detect the number of positions requiring the set operation or the reset operation between the first read data RD 1 and the third write data WD 3 as a first difference (e.g., a first hamming distance).
- the compare and write block 116 may compare the first read data RD 1 and the fourth write data WD 4 .
- the compare and write block 116 may detect the number of positions requiring the set operation or the reset operation between the first read data RD 1 and the fourth write data WD 4 as a second difference (e.g., a second hamming distance).
- the compare and write block 116 selects write data, which has a smaller difference with respect to the first read data RD 1 , from among the third and fourth write data WD 3 and WD 4 as fifth write data WD 5 .
- the compare and write block 116 writes the fifth write data WD 5 in the selected memory cells MCS.
- the writing of the fifth data WD 5 includes only writing bits of the fifth data WD 5 in the selected memory cells MCS that differ from corresponding bits of the first read data RD 1 . Accordingly, power consumption is reduced upon writing data in the selected memory cells MCS.
- FIG. 4 illustrates an example in which the nonvolatile memory device 110 performs a read operation for reading data, according to an exemplary embodiment of the inventive concept.
- the read block 113 reads second read data RD 2 from the selected memory cells MCS.
- the second read data RD 2 is provided to the flag bit detection block 117 .
- the flag bit detection block 117 detects a flag bit and at least one replica flag bit from the second read data RD 2 .
- a flag bit and at least replica flag bit of data read in the read operation may be collectively referred to as “flag bits”.
- the flag bit detection block 117 removes the flag bits from the second read data RD 2 to generate third read data RD 3 . Depending on the flag bits, the flag bit detection block 117 outputs the third read data RD 3 without modification or provides the third read data RD 3 to the inversion block 114 . For example, if the flag bits indication inversion, the flag bit detection block 117 outputs the third read data RD 3 to the inversion block 114 and otherwise outputs the third read data RD 3 without modification.
- the flag bit detection block 117 may perform voting based on the flag bits.
- the nonvolatile memory device 110 outputs the third read data RD 3 without modification.
- the flag bit detection block 117 When the number of flag bits indicating original data is less than the number of flag bits indicating inversion, the flag bit detection block 117 provides the third read data RD 3 to the inversion block 114 .
- the inversion block 114 inverts the third read data RD 3 to generate fourth read data RD 4 .
- the nonvolatile memory device 110 may select and output the fourth read data RD 4 as a result of the read operation.
- the flag bit detection block 117 performs a unanimous determination based on the flag bits. When all flag bits indicate original data, the nonvolatile memory device 110 selects and outputs the third read data RD 3 .
- the flag bit detection block 117 When all flag bits indicate inversion, the flag bit detection block 117 provides the third read data RD 3 to the inversion block 114 .
- the nonvolatile memory device 110 may select and output the fourth read data RD 4 output from the inversion block 114 .
- the flag bit detection block 117 when some flag bits indicate the original and the others indicate the inversion, the flag bit detection block 117 provides the third read data RD 3 to the inversion block 114 .
- the nonvolatile memory device 110 may select both the third read data RD 3 and the fourth read data RD 4 and may sequentially output the third read data RD 3 and the fourth read data RD 4 .
- one of the third read data RD 3 and the fourth read data RD 4 may be output according to the flag bits, and may correspond to the second data DATA 2 in FIG. 2 .
- the memory system 100 may reinforce integrity of data read from the memory cell block 111 by adding replica bits to a flag bit.
- the encoding block 121 and the decoding block 122 are located within the controller 120 .
- the encoding block 121 and the decoding block 122 may instead be located within the nonvolatile memory device 110 .
- FIG. 5 is a block diagram illustrating a memory system 100 a according to an exemplary embodiment of the inventive concept.
- the memory system 100 a includes a nonvolatile memory device 110 a and a controller 120 a.
- the nonvolatile memory device 110 a may exchange the command CMD, the address ADDR, the control signals CTRL, and the data “DATA” with the controller 120 a.
- the nonvolatile memory device 110 a includes the memory cell block 111 and a peripheral block 112 a. A configuration and an operation of the memory cell block 111 may be identical to those described with reference to FIGS. 1 to 4 .
- the peripheral block 112 a includes the read block 113 and a write block 118 . As described with reference to FIGS. 1 to 4 , the read block 113 performs a read operation for reading data from selected memory cells of the memory cell block 111 . The read block 113 provides the read data to the controller 120 a as the data “DATA”.
- the write block 118 performs the write operation for writing the data “DATA” transmitted from the controller 120 a in the selected memory cells of the memory cell block 111 .
- the nonvolatile memory device 110 a does not perform the compare and write operation in response to a write command and performs only the write operation in response to the write command.
- the compare and write operation are instead performed by the controller 120 a.
- the controller 120 a may exchange the command CMD, the address ADDR, the control signals CTRL, and the data “DATA” with the nonvolatile memory device 110 a.
- the controller 120 a may enable the nonvolatile memory device 110 a to perform the write operation or the read operation. As in the description given with reference to FIGS. 1 to 4 , the controller 120 a may perform the compare and write operation on the nonvolatile memory device 110 a.
- the controller 120 a may reduce power consumption in the write operation by performing the compare and write operation.
- the controller 120 a includes the encoding block 121 , the decoding block 122 , a compare block 123 , an inversion block 124 , a flag bit adding block 125 , and a flag bit detection block 126 .
- the encoding block 121 may perform error correction encoding on first data. For example, the encoding block 121 may add a parity for error correction to original data (or input data) to generate second data.
- the decoding block 122 may perform error correction decoding on the second data in which an error may be present. For example, the decoding block 122 may correct an error (or errors) existing in the second data, may remove a parity, and may recover the first data. For example, the decoding block 122 may correct an error in a portion of the second data using the parity to generate corrected data and remove the parity from the corrected data to recover the first data.
- the encoding block 121 and the decoding block 122 may be paired.
- the encoding block 121 and the decoding block 122 may respectively perform encoding and decoding based on the same error correction algorithm.
- the compare block 123 may compare pieces of candidate data with existing data.
- the compare block 123 may select candidate data, which further reduces power consumption of the write operation, from among the pieces of candidate data based on a result of the comparison.
- the inversion block 124 may invert data to be written in the nonvolatile memory device 110 a.
- the inversion block 124 may invert corresponding data in one of various phases, in which data to be written in the nonvolatile memory device 110 a are processed, within the controller 120 a.
- Two or more candidate data to be written in the nonvolatile memory device 110 a may be generated by the inversion block 124 .
- the flag bit adding block 125 may add a flag bit and at least one replica flag bit to each of data inverted by the inversion block 124 and data not inverted by the inversion block 124 .
- the flag bit adding block 125 may add flag bits in one of various phases, in which data to be written in the nonvolatile memory device 110 a are processed, within the controller 120 a.
- the flag bit detection block 126 may detect flag bits from the data “DATA” transmitted from the nonvolatile memory device 110 a. For example, the flag bit detection block 126 may detect flag bits in one of various phases, in which data received from the nonvolatile memory device 110 a are processed, within the controller 120 a.
- an order and a method in which the encoding block 121 , the decoding block 122 , the compare block 123 , the inversion block 124 , the flag bit adding block 125 , and the flag bit detection block 126 provided within the controller 120 a process the data “DATA” to be transmitted to the nonvolatile memory device 110 a or the data “DATA” received from the nonvolatile memory device 110 a may be variously organized and may be variously modified.
- FIG. 6 is a flowchart illustrating an operating method of the memory system 100 a of FIG. 5 according to an exemplary embodiment of the inventive concept.
- the controller 120 a upon writing data in the nonvolatile memory device 110 a, the controller 120 a performs the compare and write operation.
- the compare and write operation may be performed through operation S 210 to operation S 245 .
- the controller 120 a transmits a third command CMD 3 and a third address ADDR 3 to the nonvolatile memory device 110 a.
- the third command CMD 3 may be a read command and may be transmitted for comparison.
- the third address ADDR 3 may indicate memory cells (e.g., selected memory cells), in which data will be written, from among memory cells of the nonvolatile memory device 110 a.
- the nonvolatile memory device 110 a performs the read operation in response to the third command CMD 3 and the third address ADDR 3 and transmits third data DATA 3 read through the read operation.
- the controller 120 a performs error correction encoding on original data to be written in the nonvolatile memory device 110 a.
- the controller 120 a may convert the encoded data.
- the converting of the encoded data may include the controller 120 a adding flag bits to the encoded data and the inverted data, respectively.
- a first flag bit e.g., “1” or “0”
- a second flag bit e.g., “0” or “1”
- the encoded data may be inverted to generate the inverted data.
- the controller 120 a adds a replica flag bit. As described with reference to operation S 125 of FIG. 2 , the controller 120 a may generate first and second candidate data by adding replica flag bits to the encoded data and the inverted data, respectively.
- the controller 120 a compares the third data DATA 3 read from the nonvolatile memory device 110 a, that is, existing data with the first candidate data and the second candidate data. For example, like operation S 130 of FIG. 2 , the controller 120 a may calculate first and second hamming distances between the third data DATA 3 and the first and second candidate data.
- the controller 120 a selects one of the first candidate data and the second candidate data, based on a result of the comparison. In an exemplary embodiment, the controller 120 a selects candidate data having a smaller hamming distance with respect to the existing data.
- the controller 120 a transmits a fourth command CMD 4 , a fourth address ADDR 4 , and the selected candidate data as fourth data DATA 4 to the nonvolatile memory device 110 a.
- the fourth command CMD 4 may be a write command. Like the third address ADDR 3 , the fourth address ADDR 4 may indicate the same selected memory cells of the nonvolatile memory device 110 a. In response to the fourth command CMD 4 and the fourth address ADDR 4 , the nonvolatile memory device 110 a writes the fourth data DATA 4 in the selected memory cells.
- the controller 120 a may perform the read operation.
- the read operation may be performed through operation S 250 to operation S 265 .
- the controller 120 transmits a fifth command CMD 5 and a fifth address ADDR 5 to the nonvolatile memory device 110 .
- the fifth command CMD 5 may be a read command.
- the fifth address ADDR 5 may indicate selected memory cells in the nonvolatile memory device 110 a.
- the fifth address ADDR 5 may be identical to or different from the third address ADDR 3 and the fourth address ADDR 4 .
- the nonvolatile memory device 110 a reads data from the selected memory cells and transmits the read data to the controller 120 a as fifth data DATA 5 .
- the controller 120 a detects a flag bit and at least one replica flag bit from the fifth data DATA 5 .
- the controller 120 a selects one of fifth data DATA 5 or inverted data of the fifth data DATA 5 , based on the flag bit and the at least one replica flag bit.
- the controller 120 a performs a decoding on the selected data.
- the decoding may remove the flag bit and the at least one replica flag bit from the selected data to generate a result and then perform error correction decoding on the result to generate decoded data.
- the controller 120 a may obtain the decoded data as a result of the read operation.
- FIG. 7 illustrates an example in which the controller 120 a of FIG. 5 performs a compare and write operation for writing data in the nonvolatile memory device 110 a.
- the controller 120 a receives fifth read data RD 5 as the third data DATA 3 from the nonvolatile memory device 110 a.
- the fifth read data RD 5 is provided to the compare block 123 .
- the compare block 123 is implemented by one or more comparators or comparator circuits.
- the encoding block 121 performs error correction encoding on sixth write data WD 6 to generate seventh write data WD 7 .
- the seventh write data WD 7 may include the sixth write data WD 6 and a parity for error correction.
- the inversion block 124 inverts the seventh write data WD 7 to generate eighth write data WD 8 .
- the flag bit adding block 125 includes a first flag bit adding block 125 _ 1 and a second flag bit adding block 125 _ 2 .
- the first flag bit adding block 125 _ 1 adds a flag bit indicating the inversion and at least one identical replica flag bit to the eighth write data WD 8 to generate ninth write data WD 9 .
- the second flag bit adding block 125 _ 2 adds a flag bit indicating the non-inversion and at least one identical replica flag bit to the seventh write data WD 7 to generate tenth write data WD 10 .
- the ninth write data WD 9 and the tenth write data WD 10 may correspond to the first candidate data and the second candidate data described in operation S 230 , respectively.
- the compare block 123 compares the fifth read data RD 5 with the ninth write data WD 9 and the tenth write data WD 10 .
- the compare block 123 may calculate hamming distances between the fifth read data RD 5 and the ninth write data WD 9 and between the fifth read data RD 5 and the tenth write data WD 10 .
- the compare block 123 selects one of the ninth and tenth write data WD 9 and WD 10 , based on a third difference between the fifth read data RD 5 and the ninth write data WD 9 and a fourth difference between the fifth read data RD 5 and the tenth write data WD 10 .
- the data selected by the compare block 123 is eleventh write data WD 11 .
- the controller 120 a may transmit the eleventh write data WD 11 as the fourth data DATA 4 to the nonvolatile memory device 110 a.
- FIG. 8 illustrates an example in which the controller 120 a of FIG. 5 performs a read operation for reading data from the nonvolatile memory device 110 a.
- the controller 120 a receives sixth read data RD 6 as the fifth data DATA 5 from the nonvolatile memory device 110 a.
- the sixth read data RD 6 is provided to the flag bit detection block 126 .
- the flag bit detection block 126 may detect a flag bit and at least one replica flag bit (i.e., flag bits) from the sixth read data RD 6 .
- the flag bit detection block 126 may detect the flag bits from the sixth read data RD 6 to generate seventh read data RD 7 .
- the flag bit detection block 126 may provide the seventh read data RD 7 to the decoding block 122 or to the inversion block 124 .
- the flag bit detection block 126 may perform voting based on the flag bits.
- the flag bit detection block 126 may provide the seventh read data RD 7 to the decoding block 122 or to the inversion block 124 , based on a dominant state, which the flag bits indicate, for example, a non-inversion state or an inversion state. For example, if most of the flag bits indicate inversion, the dominant state could be referred to as an inversion state, and the flag bit detection block 126 provides the seventh read data RD 7 to the inversion block 124 . For example, if most of the flag bits indicate non-inverted data, the dominant state could be referred to as a non-inversion state, and the flag bit detection block 126 provides the seventh read data RD 7 directly to the decoding block 122 .
- the flag bit detection block 126 performs a unanimous determination.
- the flag bit detection block 126 provides the seventh read data RD 7 to the decoding block 122 or to the inversion block 124 , based on a state, which all the flag bits identically indicate, for example, the non-inversion state or the inversion state.
- the inversion block 124 may invert the seventh read data RD 7 to generate eighth read data RD 8 .
- the decoding block 122 may perform error correction decoding on the seventh read data RD 7 transmitted from the flag bit detection block 126 (e.g., when the non-inversion state is determined), or may perform error correction decoding on the eighth read data RD 8 transmitted from the inversion block 124 (e.g., when the inversion state is determined).
- the flag bit detection block 126 may provide the seventh read data RD 7 both to the decoding block 122 and to the inversion block 124 .
- the decoding block 122 may perform error correction decoding on the seventh read data RD 7 and the eighth read data RD 8 sequentially or simultaneously.
- the decoding block 122 When the decoding block 122 is configured to perform error correction decoding on the seventh read data RD 7 and the eighth read data RD 8 simultaneously, the decoding block 122 may include at least two sub-blocks which may perform error correction decoding independently of each other.
- the nonvolatile memory device 110 a or the controller 120 a performs the compare and write operation.
- the nonvolatile memory device 110 a or the controller 120 a may write two or more flag bits indicating a non-inversion state (or an original state) or an inversion state. Accordingly, power consumption is reduced upon writing data, and integrity of data is reinforced.
- FIG. 9 is a flowchart illustrating another example of an operating method of the memory system 100 a of FIG. 5 according to an exemplary embodiment of the inventive concept.
- the controller 120 a upon writing data in the nonvolatile memory device 110 a, the controller 120 a performs the compare and write operation.
- the compare and write operation may be performed through operation S 310 to operation S 335 .
- the controller 120 a transmits a sixth command CMD 6 and a sixth address ADDR 6 to the nonvolatile memory device 110 a.
- the sixth command CMD 6 may be a read command and may be transmitted for comparison.
- the nonvolatile memory device 110 performs a read operation in response to the sixth command CMD 6 and the sixth address ADDR 6 to retrieve sixth data DATA 6 and transmits the sixth data DATA 6 to the controller 120 a.
- the controller 120 a inverts original data to be written in the nonvolatile memory device 110 a.
- the controller 120 a adds a first flag bit indicating the non-inversion to the original data and adds a second flag bit indicating the inversion to the inverted data.
- the controller 120 a further adds replica flag bits to the original data and the inverted data, respectively.
- the controller 120 a performs error correction encoding on the original data and the first flag bit to generate first candidate data.
- the controller 120 a performs error correction encoding on the inverted data and the second flag bit to generate second candidate data.
- operation S 330 of the compare and write operation the controller 120 a compares the sixth data DATA 6 with the first candidate data and the second candidate data to calculate hamming distances.
- operation S 335 of the compare and write operation the controller 120 a selects the candidate data having a smaller hamming distance, based on a result of the comparison.
- Operation S 325 and operation S 330 may be identical to operation S 235 and operation S 240 of FIG. 6 .
- the controller 120 a transmits a seventh command CMD 7 , a seventh address ADDR 7 , and seventh data DATA 7 to the nonvolatile memory device 110 a.
- the seventh command CMD 7 may be a write command.
- the seventh address ADDR 7 may indicate selected memory cells.
- the seventh data DATA 7 is the selected candidate data.
- the nonvolatile memory device 110 a writes the seventh data DATA 7 in the selected memory cells.
- a read operation may be performed through operation S 345 to operation S 360 .
- the controller 120 a transmits an eighth command CMD 8 and an eighth address ADDR 8 to the nonvolatile memory device 110 a.
- the eighth command CMD 8 may be a read command.
- the nonvolatile memory device 110 a transmits eighth data DATA 8 read from memory cells selected by the eighth address ADDR 8 to the controller 120 a.
- the controller 120 a performs error correction decoding on the eighth data DATA 8 to generate decoded data.
- the controller 120 a may obtain original data by detecting a flag bit from the decoded data, removing the flag bit from the decoded data based on the flag bit, and inverting the flag bit-removed data.
- the flag bit-removed data may be inverted when the flag bit indicates inversion was performed. If the flag bit indicates inversion was not performed, the inverting can be skipped.
- the controller 120 a may add a flag bit and may then perform error correction encoding. Accordingly, the flag bit may be robust to an error, and integrity of data is reinforced.
- FIG. 10 illustrates an example in which the controller 120 a of FIG. 5 performs a compare and write operation for writing data in the nonvolatile memory device 110 a.
- the controller 120 a receives ninth read data RD 9 as sixth data DATA 6 from the nonvolatile memory device 110 a.
- the ninth read data RD 9 is provided to the compare block 123 without passing through the decoding block 122 .
- the inversion block 124 inverts twelfth write data WD 12 to generate thirteenth write data WD 13 .
- the twelfth write data WD 12 is original data to be written in the nonvolatile memory device 110 a.
- the twelfth write data WD 12 and the thirteenth write data WD 13 are provided to the flag bit adding block 125 .
- the first flag bit adding block 125 _ 1 adds a flag bit to the thirteenth write data WD 13 to generate fourteenth write data WD 14 .
- the second flag bit adding block 125 _ 2 adds a flag bit to the twelfth write data WD 12 to generate fifteenth write data WD 15 .
- a replica flag bit may be further added.
- the encoding block 121 performs error correction encoding on the fourteenth write data WD 14 to generate sixteenth write data WD 16 .
- the encoding block 121 performs error correction encoding on the fifteenth write data WD 15 to generate seventeenth write data WD 17 .
- the sixteenth write data WD 16 and the seventeenth write data WD 17 may be the first candidate data and the second candidate data mentioned in operation S 325 of FIG. 9 .
- the encoding block 121 may perform encoding on the fourteenth write data WD 14 and the fifteenth write data WD 15 sequentially or in parallel.
- the encoding block 121 may include two or more sub-blocks which perform encoding independently of each other.
- the compare block 123 compares the ninth read data RD 9 with the sixteenth and seventeenth write data WD 16 and WD 17 .
- the compare block 123 selects write data, which has a smaller difference with respect to the sixth read data RD 6 , from among the sixteenth and seventeenth write data WD 16 and WD 17 as eighteenth write data WD 18 .
- the controller 120 a may transmit the eighteenth write data WD 18 as seventh data DATA 7 to the nonvolatile memory device 110 a.
- FIG. 11 illustrates an example in which the controller 120 a of FIG. 5 performs a read operation for reading data from the nonvolatile memory device 110 a.
- the controller 120 a receives tenth read data RD 10 as eighth data DATA 8 from the nonvolatile memory device 110 a.
- the tenth read data RD 10 is provided to the decoding block 122 .
- the decoding block 122 performs error correction decoding on the tenth read data RD 10 to generate eleventh read data RD 11 .
- the flag bit detection block 126 detects a flag bit (i.e., flag bits) from the eleventh read data RD 11 .
- the flag bit detection block 126 removes the flag bit from the eleventh read data RD 11 to generate twelfth read data RD 12 .
- the controller 120 a may obtain the twelfth read data RD 12 as a result of the read operation.
- the controller 120 a provides the twelfth read data RD 12 to the inversion block 124 (e.g., an inverter or inversion circuit).
- the inversion block 124 inverts the twelfth read data RD 12 to generate thirteenth read data RD 13 .
- the controller 120 a may obtain the thirteenth read data RD 13 as a result of the read operation.
- FIG. 12 is a flowchart illustrating another example of an operating method of the memory system 100 a of FIG. 5 according to an exemplary embodiment of the inventive concept.
- the controller 120 a upon writing data in the nonvolatile memory device 110 a, the controller 120 a performs the compare and write operation.
- the compare and write operation may be performed through operation S 410 to operation S 445 .
- the controller 120 a transmits a ninth command CMD 9 and a ninth address ADDR 9 to the nonvolatile memory device 110 a.
- the ninth command CMD 9 may be a read command and may be transmitted for comparison.
- the nonvolatile memory device 110 a transmits ninth data DATA 9 to the controller 120 a.
- the controller 120 a performs first encoding on original data to be written in the nonvolatile memory device 110 a.
- the controller 120 a performs second encoding on a result of the first encoding. The second encoding is performed to correct an error which occurs while writing and reading original data in and from the nonvolatile memory device 110 a.
- the first encoding may be performed to determine whether current data is correct data, and to use one of various schemes for error detection or correction.
- the first encoding may be based on a cyclic redundancy check (CRC).
- CRC cyclic redundancy check
- the controller 120 a Similar to operation S 320 of FIG. 9 , in operation S 430 , the controller 120 a generates inverted data of data on which the second encoding is performed.
- the controller 120 a may respectively add flag bits to the data experiencing the second encoding and the inverted data to generate first and second candidate data.
- the controller 120 a may further add at least one replica flag bit.
- operation S 435 the controller 120 a compares the ninth data DATA 9 with the first candidate data and the second candidate data to calculate hamming distances.
- operation S 440 the controller 120 a selects the candidate data having a smaller hamming distance, based on a result of the comparison. Operation S 435 and operation S 440 may be identical to operation S 235 and operation S 240 of FIG. 6 .
- the controller 120 a transmits a tenth command CMD 10 , a tenth address ADDR 10 , and tenth data DATA 10 to the nonvolatile memory device 110 a.
- the tenth command CMD 10 may be a write command.
- the tenth address ADDR 10 may indicate selected memory cells.
- the tenth data DATA 10 is the selected candidate data.
- the nonvolatile memory device 110 a may write the tenth data DATA 10 in the selected memory cells.
- the read operation may be performed through operation S 450 to operation S 480 .
- the controller 120 a transmits an eleventh command CMD 11 and an eleventh address ADDR 11 to the nonvolatile memory device 110 a.
- the eleventh command CMD 11 may be a read command.
- the nonvolatile memory device 110 a transmits eleventh data DATA 11 read from memory cells selected by the eleventh address ADDR 11 to the controller 120 a.
- the controller 120 may detect a flag bit from the eleventh data DATA 11 , and may select data obtained by removing the flag bit from the eleventh data DATA 11 based on the flag bit or may select data obtained by removing the flag bit from the eleventh data DATA 11 and inverting the resultant data. For example, if the eleventh data DATA 11 is 12 bits, and the flag bit(s) is 2 bits, then the removal would result in 10 bit data. In this example, if the flag bit indicates no inversion, then the selected data would be the original 10 bit data, and if the flag bit indicates inversion, then the selected data would be an inverted version of the 10 bit data.
- the controller 120 a performs second decoding on the selected data.
- the second decoding may correspond to the second encoding of operation S 425 .
- the controller 120 a may correct errors included in the selected data by performing the second decoding.
- the controller 120 a performs first decoding on the selected data.
- the first decoding may correspond to the first encoding of operation S 420 .
- the controller 120 a may determine whether the selected data are correctly selected, by performing the first decoding. For example, the controller 120 a may determine whether incorrect data is selected in operation S 460 due to an error included in the flag bit.
- the controller 120 a may obtain the data experiencing the first decoding as a result of the read operation. When the first decoding fails, it is determined that incorrect data was selected.
- operation S 480 the controller 120 a selects the other data not selected in operation S 460 . For example, if operation S 460 selected original data without inversion and operation S 470 indicates it was incorrect to make such a selection, then the controller 120 a would select an inverted version of the original data as the other data. Afterwards, in operation S 465 and operation S 470 , the controller 120 a may sequentially perform the second decoding and the first decoding on the other data thus selected.
- the controller 120 a is configured to perform the first encoding and the first decoding which make it possible to determine whether incorrect data are selected due to an error of a flag bit. Integrity of data is reinforced by performing the first encoding and the first decoding in addition to the second encoding and the second decoding.
- FIG. 13 illustrates an example in which the controller 120 a of FIG. 5 performs a compare and write operation for writing data in the nonvolatile memory device 110 a.
- the controller 120 a receives fourteenth read data RD 14 as ninth data DATA 9 from the nonvolatile memory device 110 a.
- the fourteenth read data RD 14 is provided to the compare block 123 without passing through the flag bit detection block 126 .
- the encoding block 121 includes a first encoding block 121 _ 1 and a second encoding block 121 _ 2 . As described with reference to operation S 420 of FIG. 12 , the first encoding block 121 _ 1 performs the first encoding on nineteenth write data WD 19 to generate twentieth write data WD 20 .
- the twentieth write data WD 20 is original data to be written in the nonvolatile memory device 110 a.
- the second encoding block 121 _ 2 performs the second encoding on the twentieth write data WD 20 to generate twenty-first write data WD 21 .
- the inversion block 124 inverts twenty-first write data WD 21 to generate twenty-second write data WD 22 .
- the first flag bit adding block 125 _ 1 adds a flag bit to the twenty-second write data WD 22 to generate twenty-third write data WD 23 as a first candidate data.
- the second flag bit adding block 125 _ 2 adds a flag bit to the twenty-first write data WD 21 to generate twenty-fourth write data WD 24 as a second candidate data.
- the compare block 123 compares the fourteenth read data RD 14 with the twenty-third and twenty-fourth write data WD 23 and WD 24 and selects one of the twenty-third and twenty-fourth write data WD 23 and WD 24 as twenty-fifth write data WD 25 based on a result of the comparison.
- the controller 120 a may transmit the twenty-five write data WD 25 as tenth data DATA 10 to the nonvolatile memory device 110 a.
- FIG. 14 illustrates an example in which the controller 120 a of FIG. 5 performs a read operation for reading data from the nonvolatile memory device 110 a.
- the controller 120 a receives fifteenth read data RD 15 as eleventh data DATA 11 from the nonvolatile memory device 110 a.
- the fifteenth read data RD 15 is provided to the flag bit detection block 126 .
- the flag bit detection block 126 detects a flag bit (i.e., flag bits) from the fifteenth read data RD 15 .
- the flag bit detection block 126 removes the flag bit from the fifteenth read data RD 15 to generate sixteenth read data RD 16 .
- the flag bit detection block 126 When the flag bit indicates the non-inversion, the flag bit detection block 126 provides the sixteenth read data RD 16 to the decoding block 122 . When the flag bit indicates the inversion, the flag bit detection block 126 provides the sixteenth read data RD 16 to the inversion block 124 . The inversion block 124 inverts the sixteenth read data RD 16 to generate seventeenth read data RD 17 . The seventeenth read data RD 17 is provided to the decoding block 122 .
- the decoding block 122 includes a first decoding block 122 _ 1 and a second decoding block 122 _ 2 . As described with reference to operation S 465 of FIG. 12 , the second decoding block 122 _ 2 performs the second decoding on the sixteenth read data RD 16 or the seventeenth read data RD 17 to generate eighteenth read data RD 18 .
- the first decoding block 122 _ 1 performs the first decoding on the eighteenth read data RD 18 .
- the controller 120 a obtains the nineteenth read data RD 19 as a result of the first decoding as a result of the read operation.
- the controller 120 a controls the decoding block 122 so as to perform the second decoding on the other data (e.g., one of the sixteenth read data RD 16 and the seventeenth read data RD 17 ).
- the controller 120 a when the first decoding fails in both the sixteenth read data RD 16 and the seventeenth read data RD 17 , the controller 120 a outputs both a result of the first decoding associated with the sixteenth read data RD 16 and a result of the first decoding associated with the seventeenth read data RD 17 .
- the encoding block 121 and the decoding block 122 described with reference to FIGS. 1 to 11 may be configured to perform stepwise encoding and decoding as described with reference to FIGS. 12 to 14 .
- the encoding block 121 and the decoding block 122 are located within the controller 120 a.
- the encoding block 121 and the decoding block 122 may be instead located within the nonvolatile memory device 110 a .
- Components of the controller 120 a may be located within the nonvolatile memory device 110 a .
- Functions and operations which are described as being performed by the controller 120 a may be performed by the nonvolatile memory device 110 a.
- FIG. 15 illustrates a memory system 200 according to an application example of the inventive concept.
- the memory system 200 includes nonvolatile memory devices 210 _ 1 to 210 _ n and a controller 220 (e.g., a control circuit).
- a controller 220 e.g., a control circuit
- the controller 220 performs the compare and write operation on each of the nonvolatile memory devices 210 _ 1 to 210 _ n.
- Each of the nonvolatile memory devices 210 _ 1 to 210 _ n may store a flag bit(s).
- the controller 220 performs the compare and write operation on two or more nonvolatile memory devices.
- a flag bit indicating whether data to be written in the two or more nonvolatile memory devices are inverted may be generated.
- power consumption is reduced in a write operation through a compare and write operation.
- integrity of written data and flag information is improved through a reinforcement operation.
Abstract
Description
- This U.S. non-provisional patent application is a continuation application of U.S. patent application Ser. No. 16/506,307 filed Jul. 9, 2019, which claims priority under 35 U.S.C. § 119 to Korean Patent Application No. 10-2018-0159264 filed on Dec. 11, 2018, in the Korean Intellectual Property Office, the disclosures of which are incorporated by reference herein in their entirety.
- Embodiments of the inventive concept disclosed herein relate to a semiconductor memory, and more particularly relate to a nonvolatile memory device performing a compare and write operation and a memory system including the nonvolatile memory device.
- A memory system may include a nonvolatile memory device that retains data stored therein even after power is no longer supplied. Examples of nonvolatile memory devices include a flash memory, a phase-change memory, a ferroelectric memory, a magnetic memory, and a resistive memory.
- Among the nonvolatile memory devices, the flash memory has an erase-before-write characteristic in which an erase operation is first performed in a larger unit than a write operation for the purpose of performing the write operation. Due to the erase-before-write characteristic, the flash memory does not support an overwrite operation.
- The phase-change memory, the ferroelectric memory, the magnetic memory, and the resistive memory support the overwrite operation. However, the overwrite operation may consume a great amount of power. Further, support of an overwrite operation may reduce integrity of data stored within a nonvolatile memory device.
- Accordingly, it is necessary to reduce power consumption when performing an overwrite operation in a nonvolatile memory device and reinforce integrity of data within the nonvolatile memory device as a result of the overwrite operation.
- At least one embodiment of the inventive concept provides a nonvolatile memory device which reinforces integrity of data in a read operation while reducing power consumption in a write operation and a memory system including the nonvolatile memory device.
- According to an exemplary embodiment of the inventive concept, a nonvolatile memory device includes a memory cell block including a plurality of memory cells, and a peripheral block that receives first write data to be written in the memory cells from an external device and performs a compare and write operation on the memory cells by using the first write data. The peripheral block performs the compare and write operation by reading read data from the memory cells, inverting the first write data to generate second write data, adding a first flag bit to the first write data to generate third write data and adding a second flag bit to the second write data to generate fourth write data, performing a reinforcement operation on each of the third write data and the fourth write data to generate fifth write data and sixth write data, and comparing the read data with each of the fifth write data and the sixth write data and writing one of the fifth and sixth write data in the memory cells based on a result of the comparison.
- According to an exemplary embodiment of the inventive concept, a memory system includes a nonvolatile memory device including a plurality of memory cells, and a controller that performs a compare and write operation on the memory cells by using first write data to be written in the memory cells. The controller performs the compare and write operation by reading read data from memory cells, inverting the first write data to generate second write data, adding a first flag bit to the first write data to generate third write data and adding a second flag bit to the second write data to generate fourth write data, performing a reinforcement operation on each of the third write data and the fourth write data to generate fifth write data and sixth write data, and comparing the read data with each of the fifth write data and the sixth write data and writing one of the fifth and sixth write data in the memory cells based on a result of the comparison.
- According to an exemplary embodiment of the inventive concept, a memory system includes a nonvolatile memory device including a plurality of memory cells, and a controller that performs a compare and write operation on the memory cells by using first write data to be written in the memory cells. The controller performs the compare and write operation by reading read data from the memory cells, performing a first encoding on the first write data to generate second write data, performing a second encoding on the second write data to generate third write data, inverting the third write data to generate fourth write data, adding a first flag bit to the third write data to generate fifth write data and adding a second flag bit to the fourth write data to generate sixth write data, and comparing the read data with each of the fifth write data and the sixth write data and writing one of the fifth and sixth write data in the memory cells based on a result of the comparison.
- The inventive concept will become apparent by describing in detail exemplary embodiments thereof with reference to the accompanying drawings.
-
FIG. 1 is a block diagram illustrating a memory system according to an exemplary embodiment of the inventive concept. -
FIG. 2 is a flowchart associated with an operating method of a memory system ofFIG. 1 according to an exemplary embodiment of the inventive concept. -
FIG. 3 illustrates an example in which a nonvolatile memory device ofFIG. 1 performs a compare and write operation for writing first write data transmitted from a controller. -
FIG. 4 illustrates an example in which a nonvolatile memory device performs a read operation for reading data, according to an exemplary embodiment of the inventive concept. -
FIG. 5 is a block diagram illustrating a memory system according to an exemplary embodiment of the inventive concept. -
FIG. 6 is a flowchart illustrating an operating method of a memory system ofFIG. 5 according to an exemplary embodiment of the inventive concept. -
FIG. 7 illustrates an example in which a controller ofFIG. 5 performs a compare and write operation for writing data in a nonvolatile memory device. -
FIG. 8 illustrates an example in which a controller ofFIG. 5 performs a read operation for reading data from a nonvolatile memory device. -
FIG. 9 is a flowchart illustrating another example of an operating method of a memory system ofFIG. 5 . -
FIG. 10 illustrates an example in which a controller ofFIG. 5 performs a compare and write operation for writing data in a nonvolatile memory device. -
FIG. 11 illustrates an example in which a controller ofFIG. 5 performs a read operation for reading data from a nonvolatile memory device. -
FIG. 12 is a flowchart illustrating another example of an operating method of a memory system ofFIG. 5 according to an exemplary embodiment of the inventive concept. -
FIG. 13 illustrates an example in which a controller ofFIG. 5 performs a compare and write operation for writing data in a nonvolatile memory device. -
FIG. 14 illustrates an example in which a controller ofFIG. 5 performs a read operation for reading data from a nonvolatile memory device. -
FIG. 15 illustrates a memory system according to an application example of the inventive concept. - Hereinafter, exemplary embodiments of the inventive concept are described in conjunction with accompanying drawings will be described. Below, details, such as detailed configurations and structures are provided to aid a reader in understanding embodiments of the inventive concept. Therefore, embodiments described herein may be variously changed or modified without departing from embodiments of the inventive concept. The same reference numeral indicates the same part through the accompanying drawings.
-
FIG. 1 is a block diagram illustrating amemory system 100 according to an exemplary embodiment of the inventive concept. Referring toFIG. 1 , thememory system 100 includes anonvolatile memory device 110 and a controller 120 (e.g., a control circuit). Thenonvolatile memory device 110 may include a phase-change memory, a ferroelectric memory, a magnetic memory, or a resistive memory. - Even though power is turned off, the
nonvolatile memory device 110 may maintain data stored therein. Thenonvolatile memory device 110 may be used as a main storage device (e.g., a main memory) or an auxiliary storage device within a host system including thememory system 100. - The
nonvolatile memory device 110 may receive a command CMD and an address ADDR from thecontroller 120. Thenonvolatile memory device 110 may exchange control signals CTRL and data “DATA” with thecontroller 120. Thenonvolatile memory device 110 may access memory cells referenced by the address ADDR, based on the command CMD and the control signals CTRL. Thenonvolatile memory device 110 may exchange the data “DATA” being a result of a read operation of access operations with thecontroller 120 or may exchange the data “DATA” for a write operation of the access operations with thecontroller 120. For example, thenonvolatile memory device 110 may write data received from thecontroller 120 into the memory cells, read data from the memory cells, and output the read data to thecontroller 120. - The
nonvolatile memory device 110 includes amemory cell block 111 and aperipheral block 112. Thememory cell block 111 may include memory cells (e.g., nonvolatile memory cells). The memory cells may be arranged in rows and columns. The memory cells arranged in the rows and the columns may be accessed in units of various sizes. The access operation to the memory cells may include a write operation and a read operation. The write operation may include a set operation and a reset operation. - The
peripheral block 112 is configured to access thememory cell block 111. Theperipheral block 112 includes aread block 113, aninversion block 114, a flagbit adding block 115, a compare and writeblock 116, and a flagbit detection block 117. In an exemplary embodiment, thememory cell block 111 is located in a first region of thenonvolatile memory device 110, and theperipheral block 112 is located in a second region of thenonvolatile memory device 110 that is distinct from the first region. The first region may be substantially larger than the second region, so that thenonvolatile device 110 is mostly occupied by memory cells. Theperipheral block 112 may be implemented by one or more logic circuits. - In response to the command CMD for requesting the read operation, the
read block 113 may perform the read operation on selected memory cells referenced by the address ADDR, from among the memory cells of thememory cell block 111. For example, theread block 113 may read data from the selected memory cells by providing various voltages, various currents, or combinations of various voltages and various currents to the selected memory cells. - The
inversion block 114 is configured to invert and output input data. In an exemplary embodiment, theinversion block 114 is implemented by one or more inverters or inverter circuits. For example, theinversion block 114 may invert the data “DATA” transmitted from thecontroller 120 to thenonvolatile memory device 110, or theinversion block 114 may invert data in thenonvolatile memory device 110 and may provide the inverted data to thecontroller 120 as the data “DATA”. - The flag
bit adding block 115 may add a flag bit or at least one replica flag bit to the data “DATA” provided from thecontroller 120 or data inverted by theinversion block 114. For example, the flagbit adding block 115 may add one flag bit indicating whether inversion was performed and may further add at least one identical replica flag bit. In an embodiment, the flagbit adding block 115 is implemented by a logic circuit. For example, the flagbit adding block 115 may convert N bit data into M bit data, where M is larger than N. - In an exemplary embodiment, in response to the command CMD for requesting the write operation, the compare and write
block 116 performs a compare and write operation on selected memory cells referenced by the address ADDR, from among the memory cells of thememory cell block 111. In an exemplary embodiment, the compare and writeblock 116 generates two or more candidate data from the data “DATA” provided from thecontroller 120 and compares the two or more candidate data with existing data stored in the selected memory cells. In an exemplary embodiment, the compare and writeblock 116 is implemented by a logic circuit. - The compare and write
block 116 may compare each of the two or more candidate data with existing data. The compare and writeblock 116 may count the number of positions at which the corresponding bits of each candidate data and the existing data are different. The compare and writeblock 116 may write compare candidate data corresponding to the smaller count in the selected memory cells. - In an exemplary embodiment, the compare and write
block 116 selects candidate data corresponding to a count smaller than half of the number of bits of each candidate data and writes the selected candidate data in the selected memory cells. The compare and writeblock 116 may write the selected candidate data in the selected memory cells by providing various voltages, various currents, or combinations of various voltages and various currents to the selected memory cells. For example, if the existing data and candidate data are 8 bit data, first candidate data among the candidate data has 3 bits that differ from the existing data and second candidate data among the candidate data has 5 bits that differ from the existing data, then the first candidate data would be selected. - The flag
bit detection block 117 may detect and remove a flag bit or flag bits from data which are read from the selected memory cells of thememory cell block 111 by theread block 113. In an embodiment, the flagbit detection block 117 is implemented by a logic circuit. The flagbit detection block 117 may provide data to theinversion block 114 or to thecontroller 120, based on a value of a flag bit or values of flag bits. For example, flag bit(s) may indicate whether the data needs to be inverted before it is provided to thecontroller 120. - The
controller 120 may enable thenonvolatile memory device 110 to perform the write operation or the read operation. Thecontroller 120 may transmit the command CMD and the address ADDR to thenonvolatile memory device 110. Thecontroller 120 may exchange the control signals CTRL and the data “DATA” with thenonvolatile memory device 110. Thecontroller 120 may enable thenonvolatile memory device 110 to perform the write operation, the read operation, or a check operation. - The
controller 120 may include or control an encoding block 121 (e.g., an encoder or encoding circuit) and a decoding block 122 (e.g., a decoder or decoding circuit). Theencoding block 121 may perform error correction encoding on data which thecontroller 120 will transmit to thenonvolatile memory device 110 in the write operation. Theencoding block 121 may add a parity to original data by performing error correction encoding. The parity may be redundant information generated from performing an operation on the original data. The parity may include one or more bits and may provide an error correction function. For example, an error correction operation may be performed on data having the parity to restore the original data. The data “DATA” encoded by theencoding block 121 may be transmitted to thenonvolatile memory device 110. - The
decoding block 122 may perform error correction decoding on the data “DATA” which thecontroller 120 receives from thenonvolatile memory device 110 in the read operation. By performing error correction decoding by using a parity of the data “DATA”, thedecoding block 122 may correct errors from the received data “DATA” and may remove the parity, thus recovering the original data. -
FIG. 2 is a flowchart illustrating an operating method of thememory system 100 ofFIG. 1 according to an exemplary embodiment of the inventive concept. Referring toFIGS. 1 and 2, in operation S110, thecontroller 120 transmits a first command CMD1, a first address ADDR1, and first data DATA1 to thenonvolatile memory device 110. For example, the first command CMD1 may be a write command. The first data DATA1 may be data to be written in thenonvolatile memory device 110. - In an exemplary embodiment, the
nonvolatile memory device 110 performs the compare and write operation in response to the first command CMD1. The compare and write operation may be performed through operation S115 to operation S140. - In operation S115 of the compare and write operation, the
nonvolatile memory device 110 reads data (e.g., existing data) stored in memory cells selected by the first address ADDR1, from among the memory cells of thememory cell block 111. - In operation S120 of the compare and write operation, the
nonvolatile memory device 110 inverts the first data DATA1. Also, thenonvolatile memory device 110 adds flag bits to the first data DATA1 and the inverted data, respectively. A first flag bit (e.g., “1” or “0”) indicating the non-inversion is added to the first data DATA1. A second flag bit (e.g., “0” or “1”) indicating the inversion is added to the inverted data. - In operation S125 of the compare and write operation, the
nonvolatile memory device 110 adds a replica flag bit. For example, thenonvolatile memory device 110 may add at least one first replica flag bit, which is identical to the first flag bit indicating non-inversion, to the first data DATA1. Also, thenonvolatile memory device 110 may add at least one second replica flag bit, which is identical to the second flag bit indicating the inversion, to the inverted data. The adding of the replica flag bits may be referred to as a reinforcement operation. - The addition of the replica flag bit may increase reliability of the flag bit, and may reinforce integrity of the first data DATA1 while writing and reading the first data DATA1 in the
nonvolatile memory device 110. - In an exemplary embodiment, first candidate data is generated by adding the first flag bit and the at least one first replica flag bit to the first data DATA1. In the Second candidate data may be generated by adding the second flag bit and the at least one second replica flag bit to the inverted data.
- In operation S130 of the compare and write operation, the
nonvolatile memory device 110 compares the existing data with the first candidate data and the second candidate data. For example, thenonvolatile memory device 110 may calculate the number of positions at which the corresponding bits of the existing data and the first candidate data are different, that is, a first hamming distance. Also, thenonvolatile memory device 110 may calculate the number of positions at which the corresponding bits of the existing data and the second candidate data are different, that is, a second hamming distance. - In operation S135 of the compare and write operation, the
nonvolatile memory device 110 selects one of the first candidate data and the second candidate data, based on a result of the comparison. In an exemplary embodiment, thenonvolatile memory device 110 selects candidate data having a smaller hamming distance with respect to the existing data. In operation S140 of the compare and write operation, thenonvolatile memory device 110 writes the selected candidate data in the memory cells selected by the first address ADDR1. In an exemplary embodiment, the writing of the selected candidate data includes entirely overwriting existing data within the memory cells selected by the first address ADDR1 with the selected candidate data. This first scheme may be a typical write operation. In another exemplary embodiment, the writing of the selected candidate data includes only overwriting bits of the existing data with different corresponding bits of the selected candidate data. For example, if the existing data is 8 bit data, and only the first bit of the existing data differs from the selected candidate data, then only the first bit of the existing data is written with the first bit of the candidate data. This second scheme may be the compare and write operation on which an exemplary embodiment focuses as shown in the comparison operation of the operation S130. - According to the compare and write operation, candidate data, which has a smaller difference (e.g., a smaller hamming distance) with the existing data, from among the first and second candidate data generated from the first data DATA1 is written in the
nonvolatile memory device 110. Accordingly, the number of set operations or reset operations necessary for memory cells in which the existing data are stored may decrease, and thus, power consumption of the write operation is reduced. For example, a set operation may be used to overwrite a bit of the existing data with a 1 and a reset operation may be used to overwrite a bit of the existing data with a 0. - In operation S145, the
controller 120 transmits a second command CMD2 and a second address ADDR2 to thenonvolatile memory device 110. For example, the second command CMD2 may be a read command. - The
nonvolatile memory device 110 performs the read operation in response to the second command CMD2. The read operation may be performed through operation S150 to operation S160. In operation S150 of the read operation, thenonvolatile memory device 110 reads memory cells selected by the second address ADDR2. - In operation S155 of the read operation, the
nonvolatile memory device 110 detects a flag bit and at least one replica flag bit from the read data. Thenonvolatile memory device 110 selects one of the read data or inverted data of the read data, based on the flag bit and the at least one replica flag bit. For example, if the flag bit and the at least one replica flag bit indicate data of the read data is not inverted, the read data is selected. For example, if the flag bit and the at least one replica flag bit indicate data of the read data is inverted, the data of the read data is inverted to generate the inverted data, and the inverted data is selected. - In operation S160 of the read operation, the
nonvolatile memory device 110 removes the flag bit and the at least one replica flag bit from the selected data and transmits resultant data to thecontroller 120 as second data DATA2. - As described above, the
nonvolatile memory device 110 or thememory system 100 according to an embodiment of the inventive concept may reduce power consumption by performing the compare and write operation. Also, thememory system 100 or thenonvolatile memory device 110 according to an embodiment of the inventive concept may reinforce a flag bit and integrity of original data by adding a replica flag bit. -
FIG. 3 shows an example in which thenonvolatile memory device 110 ofFIG. 1 performs a compare and write operation for writing first write data WD1 transmitted from thecontroller 120. Referring toFIGS. 1 to 3 , the first write data WD1 input to thenonvolatile memory device 110 corresponds to the first data DATA1 of operation S110 ofFIG. 2 . - In operation S115 of
FIG. 2 , theread block 113 reads first read data RD1 from selected memory cells MCS of thememory cell block 111. The first read data RD1 is provided to the compare and writeblock 116 without passing through the flagbit detection block 117. - In operation S120 and operation S125 of
FIG. 2 , the first write data WD1 is provided to theinversion block 114 and the flagbit adding block 115. Theinversion block 114 inverts the first write data WD1 to generate second write data WD2. The second write data WD2 is provided to the flagbit adding block 115. - The flag
bit adding block 115 includes a first flag bit adding block 115_1 and a second flag bit adding block 115_2. The first flag bit adding block 115_1 receives the second write data WD2 from theinversion block 114. The first flag bit adding block 115_1 adds flag bits to the second write data WD2 to generate third write data WD3. - For example, the first flag bit adding block 115_1 may add a flag bit (e.g., “1” or “0”) indicating the inversion to the second write data WD2. Also, the first flag bit adding block 115_1 may further add at least one identical flag bit (e.g., a replica bit) to the second write data WD2. The third write data WD3 may include flag bits such as “111” or “000”. Flag bits may be sequentially arranged in the third write data WD3 or may be distributed and arranged in the third write data WD3.
- The second flag bit adding block 115_2 receives the first write data WD1. The second flag bit adding block 115_2 adds flag bits to the first write data WD1 to generate fourth write data WD4.
- For example, the second flag bit adding block 115_2 adds a flag bit (e.g., “0” or “1”) indicating original data (i.e., not inverted) to the first write data WD1. Also, the second flag bit adding block 115_2 may further add at least one identical flag bit (e.g., a replica bit) to the first write data WD1. The fourth write data WD4 may include flag bits such as “000” or “111”. Flag bits may be sequentially arranged in the fourth write data WD4 or may be distributed and arranged in the fourth write data WD4. In an exemplary embodiment, the
nonvolatile memory device 110 stores locations of the flag bits so that theflag detection block 117 knows which bits of the read data to interpret as the flag bits. In another exemplary embodiment, thenonvolatile memory device 110 places the flag bits into fixed(or given) location so that theflag detection block 117 knows which bits of the read data to interpret as the flag bits. - The flag
bit adding block 115 generates the third write data WD3 and the fourth write data WD4. The third write data WD3 and the fourth write data WD4 may be candidate data capable of being written in thememory cell block 111. The third write data WD3 and the fourth write data WD4 are provided to the compare and writeblock 116. - In operation S130 of
FIG. 2 , the compare and writeblock 116 compares the first read data RD1 and the third write data WD3. Each of the third write data WD3 and the first read data RD1 includes a sequence of bits. In the case where a bit of the third write data WD3 and a bit of the first read data RD1 are identical at a specific position on the sequence of bits, a set operation or a reset operation of a memory cell corresponding to the specific position upon writing the third write data WD3 is unnecessary. - In the case where a bit of the third write data WD3 and a bit of the first read data RD1 are different at a specific position on the sequence of bits, a set operation or a reset operation of a memory cell corresponding to the specific position upon writing the third write data WD3 is necessary.
- The
memory system 100 or thenonvolatile memory device 110 may reduce the number of memory cells requiring the set operation or the reset operation, thus reducing power consumption in the write operation. The compare and writeblock 116 may detect the number of positions requiring the set operation or the reset operation between the first read data RD1 and the third write data WD3 as a first difference (e.g., a first hamming distance). - Likewise, the compare and write
block 116 may compare the first read data RD1 and the fourth write data WD4. The compare and writeblock 116 may detect the number of positions requiring the set operation or the reset operation between the first read data RD1 and the fourth write data WD4 as a second difference (e.g., a second hamming distance). - In operation S135 of
FIG. 2 , based on the first difference and the second difference, the compare and writeblock 116 selects write data, which has a smaller difference with respect to the first read data RD1, from among the third and fourth write data WD3 and WD4 as fifth write data WD5. - In operation S140 of
FIG. 2 , the compare and writeblock 116 writes the fifth write data WD5 in the selected memory cells MCS. In an exemplary embodiment, the writing of the fifth data WD5 includes only writing bits of the fifth data WD5 in the selected memory cells MCS that differ from corresponding bits of the first read data RD1. Accordingly, power consumption is reduced upon writing data in the selected memory cells MCS. -
FIG. 4 illustrates an example in which thenonvolatile memory device 110 performs a read operation for reading data, according to an exemplary embodiment of the inventive concept. Referring toFIGS. 1, 2, and 4 , in operation S150 ofFIG. 2 , theread block 113 reads second read data RD2 from the selected memory cells MCS. The second read data RD2 is provided to the flagbit detection block 117. - In operation S155 and operation S160 of
FIG. 2 , the flagbit detection block 117 detects a flag bit and at least one replica flag bit from the second read data RD2. Below, a flag bit and at least replica flag bit of data read in the read operation may be collectively referred to as “flag bits”. - The flag
bit detection block 117 removes the flag bits from the second read data RD2 to generate third read data RD3. Depending on the flag bits, the flagbit detection block 117 outputs the third read data RD3 without modification or provides the third read data RD3 to theinversion block 114. For example, if the flag bits indication inversion, the flagbit detection block 117 outputs the third read data RD3 to theinversion block 114 and otherwise outputs the third read data RD3 without modification. - For example, the flag
bit detection block 117 may perform voting based on the flag bits. When the number of flag bits indicating original data (i.e., not inverted) is more than the number of flag bits indicating inversion, thenonvolatile memory device 110 outputs the third read data RD3 without modification. - When the number of flag bits indicating original data is less than the number of flag bits indicating inversion, the flag
bit detection block 117 provides the third read data RD3 to theinversion block 114. Theinversion block 114 inverts the third read data RD3 to generate fourth read data RD4. Thenonvolatile memory device 110 may select and output the fourth read data RD4 as a result of the read operation. - In another example, the flag
bit detection block 117 performs a unanimous determination based on the flag bits. When all flag bits indicate original data, thenonvolatile memory device 110 selects and outputs the third read data RD3. - When all flag bits indicate inversion, the flag
bit detection block 117 provides the third read data RD3 to theinversion block 114. Thenonvolatile memory device 110 may select and output the fourth read data RD4 output from theinversion block 114. - In an exemplary embodiment, when some flag bits indicate the original and the others indicate the inversion, the flag
bit detection block 117 provides the third read data RD3 to theinversion block 114. Thenonvolatile memory device 110 may select both the third read data RD3 and the fourth read data RD4 and may sequentially output the third read data RD3 and the fourth read data RD4. - As a result, one of the third read data RD3 and the fourth read data RD4 may be output according to the flag bits, and may correspond to the second data DATA2 in
FIG. 2 . As described above, thememory system 100 according to an embodiment of the inventive concept may reinforce integrity of data read from thememory cell block 111 by adding replica bits to a flag bit. - In
FIGS. 1 to 4 , a description is given assuming theencoding block 121 and thedecoding block 122 are located within thecontroller 120. However, theencoding block 121 and thedecoding block 122 may instead be located within thenonvolatile memory device 110. -
FIG. 5 is a block diagram illustrating amemory system 100 a according to an exemplary embodiment of the inventive concept. Referring toFIG. 5 , thememory system 100 a includes anonvolatile memory device 110 a and acontroller 120 a. - As described with reference to
FIGS. 1 to 4 , thenonvolatile memory device 110 a may exchange the command CMD, the address ADDR, the control signals CTRL, and the data “DATA” with thecontroller 120 a. Thenonvolatile memory device 110 a includes thememory cell block 111 and aperipheral block 112 a. A configuration and an operation of thememory cell block 111 may be identical to those described with reference toFIGS. 1 to 4 . - The
peripheral block 112 a includes the readblock 113 and awrite block 118. As described with reference toFIGS. 1 to 4 , theread block 113 performs a read operation for reading data from selected memory cells of thememory cell block 111. Theread block 113 provides the read data to thecontroller 120 a as the data “DATA”. - The
write block 118 performs the write operation for writing the data “DATA” transmitted from thecontroller 120 a in the selected memory cells of thememory cell block 111. Unlike the description given with reference toFIGS. 1 to 4 , thenonvolatile memory device 110 a does not perform the compare and write operation in response to a write command and performs only the write operation in response to the write command. In this embodiment, the compare and write operation are instead performed by thecontroller 120 a. - The
controller 120 a may exchange the command CMD, the address ADDR, the control signals CTRL, and the data “DATA” with thenonvolatile memory device 110 a. Thecontroller 120 a may enable thenonvolatile memory device 110 a to perform the write operation or the read operation. As in the description given with reference toFIGS. 1 to 4 , thecontroller 120 a may perform the compare and write operation on thenonvolatile memory device 110 a. Thecontroller 120 a may reduce power consumption in the write operation by performing the compare and write operation. - The
controller 120 a includes theencoding block 121, thedecoding block 122, a compareblock 123, aninversion block 124, a flagbit adding block 125, and a flagbit detection block 126. - The
encoding block 121 may perform error correction encoding on first data. For example, theencoding block 121 may add a parity for error correction to original data (or input data) to generate second data. - The
decoding block 122 may perform error correction decoding on the second data in which an error may be present. For example, thedecoding block 122 may correct an error (or errors) existing in the second data, may remove a parity, and may recover the first data. For example, thedecoding block 122 may correct an error in a portion of the second data using the parity to generate corrected data and remove the parity from the corrected data to recover the first data. - The
encoding block 121 and thedecoding block 122 may be paired. Theencoding block 121 and thedecoding block 122 may respectively perform encoding and decoding based on the same error correction algorithm. - Similar to the compare and write
block 116 described with reference toFIGS. 1 to 4 , the compareblock 123 may compare pieces of candidate data with existing data. The compareblock 123 may select candidate data, which further reduces power consumption of the write operation, from among the pieces of candidate data based on a result of the comparison. - The
inversion block 124 may invert data to be written in thenonvolatile memory device 110 a. For example, theinversion block 124 may invert corresponding data in one of various phases, in which data to be written in thenonvolatile memory device 110 a are processed, within thecontroller 120 a. Two or more candidate data to be written in thenonvolatile memory device 110 a may be generated by theinversion block 124. - Similar to the flag
bit adding block 115 described with reference toFIGS. 1 to 4 , the flagbit adding block 125 may add a flag bit and at least one replica flag bit to each of data inverted by theinversion block 124 and data not inverted by theinversion block 124. For example, the flagbit adding block 125 may add flag bits in one of various phases, in which data to be written in thenonvolatile memory device 110 a are processed, within thecontroller 120 a. - Similar to the flag
bit detection block 117 described with reference toFIGS. 1 to 4 , the flagbit detection block 126 may detect flag bits from the data “DATA” transmitted from thenonvolatile memory device 110 a. For example, the flagbit detection block 126 may detect flag bits in one of various phases, in which data received from thenonvolatile memory device 110 a are processed, within thecontroller 120 a. - In an embodiment, an order and a method in which the
encoding block 121, thedecoding block 122, the compareblock 123, theinversion block 124, the flagbit adding block 125, and the flagbit detection block 126 provided within thecontroller 120 a process the data “DATA” to be transmitted to thenonvolatile memory device 110 a or the data “DATA” received from thenonvolatile memory device 110 a may be variously organized and may be variously modified. -
FIG. 6 is a flowchart illustrating an operating method of thememory system 100 a ofFIG. 5 according to an exemplary embodiment of the inventive concept. Referring toFIGS. 5 and 6 , upon writing data in thenonvolatile memory device 110 a, thecontroller 120 a performs the compare and write operation. The compare and write operation may be performed through operation S210 to operation S245. - In operation S210 of the compare and write operation, the
controller 120 a transmits a third command CMD3 and a third address ADDR3 to thenonvolatile memory device 110 a. The third command CMD3 may be a read command and may be transmitted for comparison. The third address ADDR3 may indicate memory cells (e.g., selected memory cells), in which data will be written, from among memory cells of thenonvolatile memory device 110 a. - In operation S215 of the compare and write operation, the
nonvolatile memory device 110 a performs the read operation in response to the third command CMD3 and the third address ADDR3 and transmits third data DATA3 read through the read operation. - In operation S220 of the compare and write operation, the
controller 120 a performs error correction encoding on original data to be written in thenonvolatile memory device 110 a. In operation S225 of the compare and write operation, thecontroller 120 a may convert the encoded data. - The converting of the encoded data may include the
controller 120 a adding flag bits to the encoded data and the inverted data, respectively. A first flag bit (e.g., “1” or “0”) indicating the non-inversion is added to the encoded data. A second flag bit (e.g., “0” or “1”) indicating the inversion is added to the inverted data. For example, the encoded data may be inverted to generate the inverted data. - In operation S230 of the compare and write operation, the
controller 120 a adds a replica flag bit. As described with reference to operation S125 ofFIG. 2 , thecontroller 120 a may generate first and second candidate data by adding replica flag bits to the encoded data and the inverted data, respectively. - In operation S235 of the compare and write operation, the
controller 120 a compares the third data DATA3 read from thenonvolatile memory device 110 a, that is, existing data with the first candidate data and the second candidate data. For example, like operation S130 ofFIG. 2 , thecontroller 120 a may calculate first and second hamming distances between the third data DATA3 and the first and second candidate data. - In operation S240 of the compare and write operation, the
controller 120 a selects one of the first candidate data and the second candidate data, based on a result of the comparison. In an exemplary embodiment, thecontroller 120 a selects candidate data having a smaller hamming distance with respect to the existing data. - In operation S245 of the compare and write operation, the
controller 120 a transmits a fourth command CMD4, a fourth address ADDR4, and the selected candidate data as fourth data DATA4 to thenonvolatile memory device 110 a. - The fourth command CMD4 may be a write command. Like the third address ADDR3, the fourth address ADDR4 may indicate the same selected memory cells of the
nonvolatile memory device 110 a. In response to the fourth command CMD4 and the fourth address ADDR4, thenonvolatile memory device 110 a writes the fourth data DATA4 in the selected memory cells. - Upon reading data from the
nonvolatile memory device 110 a, thecontroller 120 a may perform the read operation. The read operation may be performed through operation S250 to operation S265. - In operation S250 of the read operation, the
controller 120 transmits a fifth command CMD5 and a fifth address ADDR5 to thenonvolatile memory device 110. For example, the fifth command CMD5 may be a read command. The fifth address ADDR5 may indicate selected memory cells in thenonvolatile memory device 110 a. The fifth address ADDR5 may be identical to or different from the third address ADDR3 and the fourth address ADDR4. - In operation S255 of the read operation, in response to the fifth command CMD5 and the fifth address ADDR5, the
nonvolatile memory device 110 a reads data from the selected memory cells and transmits the read data to thecontroller 120 a as fifth data DATA5. - In operation S260 of the read operation, the
controller 120 a detects a flag bit and at least one replica flag bit from the fifth data DATA5. Thecontroller 120 a selects one of fifth data DATA5 or inverted data of the fifth data DATA5, based on the flag bit and the at least one replica flag bit. - In operation S265 of the read operation, the
controller 120 a performs a decoding on the selected data. The decoding may remove the flag bit and the at least one replica flag bit from the selected data to generate a result and then perform error correction decoding on the result to generate decoded data. Thecontroller 120 a may obtain the decoded data as a result of the read operation. -
FIG. 7 illustrates an example in which thecontroller 120 a ofFIG. 5 performs a compare and write operation for writing data in thenonvolatile memory device 110 a. Referring toFIGS. 5 to 7 , as described with reference to operation S210 and operation S215 ofFIG. 6 , thecontroller 120 a receives fifth read data RD5 as the third data DATA3 from thenonvolatile memory device 110 a. The fifth read data RD5 is provided to the compareblock 123. In an exemplary embodiment, the compareblock 123 is implemented by one or more comparators or comparator circuits. - As described with reference to operation S220 of
FIG. 6 , theencoding block 121 performs error correction encoding on sixth write data WD6 to generate seventh write data WD7. The seventh write data WD7 may include the sixth write data WD6 and a parity for error correction. - As described with reference to operation S225 and operation S230 of
FIG. 6 , theinversion block 124 inverts the seventh write data WD7 to generate eighth write data WD8. The flagbit adding block 125 includes a first flag bit adding block 125_1 and a second flag bit adding block 125_2. - The first flag bit adding block 125_1 adds a flag bit indicating the inversion and at least one identical replica flag bit to the eighth write data WD8 to generate ninth write data WD9. The second flag bit adding block 125_2 adds a flag bit indicating the non-inversion and at least one identical replica flag bit to the seventh write data WD7 to generate tenth write data WD10.
- The ninth write data WD9 and the tenth write data WD10 may correspond to the first candidate data and the second candidate data described in operation S230, respectively. As described with reference to operation S235 of
FIG. 6 , the compareblock 123 compares the fifth read data RD5 with the ninth write data WD9 and the tenth write data WD10. For example, the compareblock 123 may calculate hamming distances between the fifth read data RD5 and the ninth write data WD9 and between the fifth read data RD5 and the tenth write data WD10. - As described with reference to operation S240 of
FIG. 6 , the compareblock 123 selects one of the ninth and tenth write data WD9 and WD10, based on a third difference between the fifth read data RD5 and the ninth write data WD9 and a fourth difference between the fifth read data RD5 and the tenth write data WD10. - As described with reference to operation S245 of
FIG. 6 , the data selected by the compareblock 123 is eleventh write data WD11. Thecontroller 120 a may transmit the eleventh write data WD11 as the fourth data DATA4 to thenonvolatile memory device 110 a. -
FIG. 8 illustrates an example in which thecontroller 120 a ofFIG. 5 performs a read operation for reading data from thenonvolatile memory device 110 a. Referring toFIGS. 5, 6, and 8 , as described with reference to operation S250 and operation S255 ofFIG. 6 , thecontroller 120 a receives sixth read data RD6 as the fifth data DATA5 from thenonvolatile memory device 110 a. The sixth read data RD6 is provided to the flagbit detection block 126. - As described with reference to operation S260 and operation S265 of
FIG. 6 , the flagbit detection block 126 may detect a flag bit and at least one replica flag bit (i.e., flag bits) from the sixth read data RD6. The flagbit detection block 126 may detect the flag bits from the sixth read data RD6 to generate seventh read data RD7. - Depending on the flag bits, the flag
bit detection block 126 may provide the seventh read data RD7 to thedecoding block 122 or to theinversion block 124. For example, the flagbit detection block 126 may perform voting based on the flag bits. The flagbit detection block 126 may provide the seventh read data RD7 to thedecoding block 122 or to theinversion block 124, based on a dominant state, which the flag bits indicate, for example, a non-inversion state or an inversion state. For example, if most of the flag bits indicate inversion, the dominant state could be referred to as an inversion state, and the flagbit detection block 126 provides the seventh read data RD7 to theinversion block 124. For example, if most of the flag bits indicate non-inverted data, the dominant state could be referred to as a non-inversion state, and the flagbit detection block 126 provides the seventh read data RD7 directly to thedecoding block 122. - In another example, the flag
bit detection block 126 performs a unanimous determination. The flagbit detection block 126 provides the seventh read data RD7 to thedecoding block 122 or to theinversion block 124, based on a state, which all the flag bits identically indicate, for example, the non-inversion state or the inversion state. When the seventh read data RD7 are transmitted from the flagbit detection block 126, theinversion block 124 may invert the seventh read data RD7 to generate eighth read data RD8. - The
decoding block 122 may perform error correction decoding on the seventh read data RD7 transmitted from the flag bit detection block 126 (e.g., when the non-inversion state is determined), or may perform error correction decoding on the eighth read data RD8 transmitted from the inversion block 124 (e.g., when the inversion state is determined). - In another example, when some flag bits indicate the original and the others indicate the inversion, the flag
bit detection block 126 may provide the seventh read data RD7 both to thedecoding block 122 and to theinversion block 124. Thedecoding block 122 may perform error correction decoding on the seventh read data RD7 and the eighth read data RD8 sequentially or simultaneously. - When the
decoding block 122 is configured to perform error correction decoding on the seventh read data RD7 and the eighth read data RD8 simultaneously, thedecoding block 122 may include at least two sub-blocks which may perform error correction decoding independently of each other. - As described with reference to
FIGS. 1 to 8 , thenonvolatile memory device 110 a or thecontroller 120 a according to an embodiment of the inventive concept performs the compare and write operation. Thenonvolatile memory device 110 a or thecontroller 120 a may write two or more flag bits indicating a non-inversion state (or an original state) or an inversion state. Accordingly, power consumption is reduced upon writing data, and integrity of data is reinforced. -
FIG. 9 is a flowchart illustrating another example of an operating method of thememory system 100 a ofFIG. 5 according to an exemplary embodiment of the inventive concept. Referring toFIGS. 5 and 9 , upon writing data in thenonvolatile memory device 110 a, thecontroller 120 a performs the compare and write operation. The compare and write operation may be performed through operation S310 to operation S335. - In operation S310 of the compare and write operation, the
controller 120 a transmits a sixth command CMD6 and a sixth address ADDR6 to thenonvolatile memory device 110 a. The sixth command CMD6 may be a read command and may be transmitted for comparison. In operation S315 of the compare and write operation, thenonvolatile memory device 110 performs a read operation in response to the sixth command CMD6 and the sixth address ADDR6 to retrieve sixth data DATA6 and transmits the sixth data DATA6 to thecontroller 120 a. - In operation S320 of the compare and write operation, the
controller 120 a inverts original data to be written in thenonvolatile memory device 110 a. Thecontroller 120 a adds a first flag bit indicating the non-inversion to the original data and adds a second flag bit indicating the inversion to the inverted data. As described with reference toFIGS. 5 to 8 , thecontroller 120 a further adds replica flag bits to the original data and the inverted data, respectively. - In operation S325 of the compare and write operation, the
controller 120 a performs error correction encoding on the original data and the first flag bit to generate first candidate data. Thecontroller 120 a performs error correction encoding on the inverted data and the second flag bit to generate second candidate data. - In operation S330 of the compare and write operation, the
controller 120 a compares the sixth data DATA6 with the first candidate data and the second candidate data to calculate hamming distances. In operation S335 of the compare and write operation, thecontroller 120 a selects the candidate data having a smaller hamming distance, based on a result of the comparison. Operation S325 and operation S330 may be identical to operation S235 and operation S240 ofFIG. 6 . - In operation S340, the
controller 120 a transmits a seventh command CMD7, a seventh address ADDR7, and seventh data DATA7 to thenonvolatile memory device 110 a. The seventh command CMD7 may be a write command. The seventh address ADDR7 may indicate selected memory cells. In an embodiment, the seventh data DATA7 is the selected candidate data. Thenonvolatile memory device 110 a writes the seventh data DATA7 in the selected memory cells. - A read operation may be performed through operation S345 to operation S360. In operation S345 of the read operation, the
controller 120 a transmits an eighth command CMD8 and an eighth address ADDR8 to thenonvolatile memory device 110 a. The eighth command CMD8 may be a read command. - In operation S350 of the read operation, the
nonvolatile memory device 110 a transmits eighth data DATA8 read from memory cells selected by the eighth address ADDR8 to thecontroller 120 a. - In operation S355 of the read operation, the
controller 120 a performs error correction decoding on the eighth data DATA8 to generate decoded data. In operation S360 of the read operation, thecontroller 120 a may obtain original data by detecting a flag bit from the decoded data, removing the flag bit from the decoded data based on the flag bit, and inverting the flag bit-removed data. The flag bit-removed data may be inverted when the flag bit indicates inversion was performed. If the flag bit indicates inversion was not performed, the inverting can be skipped. - As described with reference to operation S320 and operation S325, the
controller 120 a according to an embodiment of the inventive concept may add a flag bit and may then perform error correction encoding. Accordingly, the flag bit may be robust to an error, and integrity of data is reinforced. -
FIG. 10 illustrates an example in which thecontroller 120 a ofFIG. 5 performs a compare and write operation for writing data in thenonvolatile memory device 110 a. Referring toFIGS. 5, 9, and 10 , as described with reference to operation S310 and operation S315 ofFIG. 9 , thecontroller 120 a receives ninth read data RD9 as sixth data DATA6 from thenonvolatile memory device 110 a. The ninth read data RD9 is provided to the compareblock 123 without passing through thedecoding block 122. - As described with reference to operation S320 of
FIG. 9 , theinversion block 124 inverts twelfth write data WD12 to generate thirteenth write data WD13. The twelfth write data WD12 is original data to be written in thenonvolatile memory device 110 a. The twelfth write data WD12 and the thirteenth write data WD13 are provided to the flagbit adding block 125. - The first flag bit adding block 125_1 adds a flag bit to the thirteenth write data WD13 to generate fourteenth write data WD14. The second flag bit adding block 125_2 adds a flag bit to the twelfth write data WD12 to generate fifteenth write data WD15. As described with reference to
FIG. 7 , a replica flag bit may be further added. - As described with reference to operation S325 of
FIG. 9 , theencoding block 121 performs error correction encoding on the fourteenth write data WD14 to generate sixteenth write data WD16. Theencoding block 121 performs error correction encoding on the fifteenth write data WD15 to generate seventeenth write data WD17. The sixteenth write data WD16 and the seventeenth write data WD17 may be the first candidate data and the second candidate data mentioned in operation S325 ofFIG. 9 . - The
encoding block 121 may perform encoding on the fourteenth write data WD14 and the fifteenth write data WD15 sequentially or in parallel. When theencoding block 121 is configured to perform parallel encoding, theencoding block 121 may include two or more sub-blocks which perform encoding independently of each other. - As described with reference to operation S330 and operation S335 of
FIG. 9 , the compareblock 123 compares the ninth read data RD9 with the sixteenth and seventeenth write data WD16 and WD17. In an embodiment, the compareblock 123 selects write data, which has a smaller difference with respect to the sixth read data RD6, from among the sixteenth and seventeenth write data WD16 and WD17 as eighteenth write data WD18. - As described with reference to operation S340 of
FIG. 9 , thecontroller 120 a may transmit the eighteenth write data WD18 as seventh data DATA7 to thenonvolatile memory device 110 a. -
FIG. 11 illustrates an example in which thecontroller 120 a ofFIG. 5 performs a read operation for reading data from thenonvolatile memory device 110 a. Referring toFIGS. 5 , 9, and 11, as described with reference to operation S345 and operation S350 ofFIG. 9 , thecontroller 120 a receives tenth read data RD10 as eighth data DATA8 from thenonvolatile memory device 110 a. The tenth read data RD10 is provided to thedecoding block 122. - As described with reference to operation S355 of
FIG. 9 , thedecoding block 122 performs error correction decoding on the tenth read data RD10 to generate eleventh read data RD11. - A described with reference to operation S360 of
FIG. 9 , the flagbit detection block 126 detects a flag bit (i.e., flag bits) from the eleventh read data RD11. The flagbit detection block 126 removes the flag bit from the eleventh read data RD11 to generate twelfth read data RD12. - When the flag bit indicates the non-inversion, the
controller 120 a may obtain the twelfth read data RD12 as a result of the read operation. When the flag bit indicates the inversion, thecontroller 120 a provides the twelfth read data RD12 to the inversion block 124 (e.g., an inverter or inversion circuit). Theinversion block 124 inverts the twelfth read data RD12 to generate thirteenth read data RD13. Thecontroller 120 a may obtain the thirteenth read data RD13 as a result of the read operation. -
FIG. 12 is a flowchart illustrating another example of an operating method of thememory system 100 a ofFIG. 5 according to an exemplary embodiment of the inventive concept. Referring toFIGS. 5 and 12 , upon writing data in thenonvolatile memory device 110 a, thecontroller 120 a performs the compare and write operation. The compare and write operation may be performed through operation S410 to operation S445. - In operation S410 of the compare and write operation, the
controller 120 a transmits a ninth command CMD9 and a ninth address ADDR9 to thenonvolatile memory device 110 a. The ninth command CMD9 may be a read command and may be transmitted for comparison. In operation S415 of the compare and write operation, thenonvolatile memory device 110 a transmits ninth data DATA9 to thecontroller 120 a. - In operation S420, the
controller 120 a performs first encoding on original data to be written in thenonvolatile memory device 110 a. In operation S425, thecontroller 120 a performs second encoding on a result of the first encoding. The second encoding is performed to correct an error which occurs while writing and reading original data in and from thenonvolatile memory device 110 a. - The first encoding may be performed to determine whether current data is correct data, and to use one of various schemes for error detection or correction. For example, the first encoding may be based on a cyclic redundancy check (CRC).
- Similar to operation S320 of
FIG. 9 , in operation S430, thecontroller 120 a generates inverted data of data on which the second encoding is performed. Thecontroller 120 a may respectively add flag bits to the data experiencing the second encoding and the inverted data to generate first and second candidate data. As described with reference toFIGS. 5 to 8 , thecontroller 120 a may further add at least one replica flag bit. - In operation S435, the
controller 120 a compares the ninth data DATA9 with the first candidate data and the second candidate data to calculate hamming distances. In operation S440, thecontroller 120 a selects the candidate data having a smaller hamming distance, based on a result of the comparison. Operation S435 and operation S440 may be identical to operation S235 and operation S240 ofFIG. 6 . - In operation S445, the
controller 120 a transmits a tenth command CMD10, a tenth address ADDR10, and tenth data DATA10 to thenonvolatile memory device 110 a. The tenth command CMD10 may be a write command. The tenth address ADDR10 may indicate selected memory cells. In an exemplary embodiment, the tenth data DATA10 is the selected candidate data. Thenonvolatile memory device 110 a may write the tenth data DATA10 in the selected memory cells. - The read operation may be performed through operation S450 to operation S480. In operation S450, the
controller 120 a transmits an eleventh command CMD11 and an eleventh address ADDR11 to thenonvolatile memory device 110 a. The eleventh command CMD11 may be a read command. In operation S455, thenonvolatile memory device 110 a transmits eleventh data DATA11 read from memory cells selected by the eleventh address ADDR11 to thecontroller 120 a. - In operation S460, the
controller 120 may detect a flag bit from the eleventh data DATA11, and may select data obtained by removing the flag bit from the eleventh data DATA11 based on the flag bit or may select data obtained by removing the flag bit from the eleventh data DATA11 and inverting the resultant data. For example, if the eleventh data DATA11 is 12 bits, and the flag bit(s) is 2 bits, then the removal would result in 10 bit data. In this example, if the flag bit indicates no inversion, then the selected data would be the original 10 bit data, and if the flag bit indicates inversion, then the selected data would be an inverted version of the 10 bit data. - In operation S465, the
controller 120 a performs second decoding on the selected data. The second decoding may correspond to the second encoding of operation S425. Thecontroller 120 a may correct errors included in the selected data by performing the second decoding. - In operation S470, the
controller 120 a performs first decoding on the selected data. The first decoding may correspond to the first encoding of operation S420. Thecontroller 120 a may determine whether the selected data are correctly selected, by performing the first decoding. For example, thecontroller 120 a may determine whether incorrect data is selected in operation S460 due to an error included in the flag bit. - When the first decoding succeeds, it is determined that correct data was selected. The
controller 120 a may obtain the data experiencing the first decoding as a result of the read operation. When the first decoding fails, it is determined that incorrect data was selected. - In operation S480, the
controller 120 a selects the other data not selected in operation S460. For example, if operation S460 selected original data without inversion and operation S470 indicates it was incorrect to make such a selection, then thecontroller 120 a would select an inverted version of the original data as the other data. Afterwards, in operation S465 and operation S470, thecontroller 120 a may sequentially perform the second decoding and the first decoding on the other data thus selected. - As described above, the
controller 120 a according to an embodiment of the inventive concept is configured to perform the first encoding and the first decoding which make it possible to determine whether incorrect data are selected due to an error of a flag bit. Integrity of data is reinforced by performing the first encoding and the first decoding in addition to the second encoding and the second decoding. -
FIG. 13 illustrates an example in which thecontroller 120 a ofFIG. 5 performs a compare and write operation for writing data in thenonvolatile memory device 110 a. Referring toFIGS. 5, 12, and 13 , as described with reference to operation S410 and operation S415 ofFIG. 12 , thecontroller 120 a receives fourteenth read data RD14 as ninth data DATA9 from thenonvolatile memory device 110 a. The fourteenth read data RD14 is provided to the compareblock 123 without passing through the flagbit detection block 126. - The
encoding block 121 includes a first encoding block 121_1 and a second encoding block 121_2. As described with reference to operation S420 ofFIG. 12 , the first encoding block 121_1 performs the first encoding on nineteenth write data WD19 to generate twentieth write data WD20. The twentieth write data WD20 is original data to be written in thenonvolatile memory device 110 a. - As described with reference to operation S430 of
FIG. 12 , the second encoding block 121_2 performs the second encoding on the twentieth write data WD20 to generate twenty-first write data WD21. - As described with reference to operation S430 of
FIG. 12 , theinversion block 124 inverts twenty-first write data WD21 to generate twenty-second write data WD22. The first flag bit adding block 125_1 adds a flag bit to the twenty-second write data WD22 to generate twenty-third write data WD23 as a first candidate data. The second flag bit adding block 125_2 adds a flag bit to the twenty-first write data WD21 to generate twenty-fourth write data WD24 as a second candidate data. - As described with reference to operation S435 and operation S440 of
FIG. 9 , the compareblock 123 compares the fourteenth read data RD14 with the twenty-third and twenty-fourth write data WD23 and WD24 and selects one of the twenty-third and twenty-fourth write data WD23 and WD24 as twenty-fifth write data WD25 based on a result of the comparison. As described with reference to operation S445 ofFIG. 9 , thecontroller 120 a may transmit the twenty-five write data WD25 as tenth data DATA10 to thenonvolatile memory device 110 a. -
FIG. 14 illustrates an example in which thecontroller 120 a ofFIG. 5 performs a read operation for reading data from thenonvolatile memory device 110 a. Referring toFIGS. 5, 12, and 14 , as described with reference to operation S450 and operation S455 ofFIG. 12 , thecontroller 120 a receives fifteenth read data RD15 as eleventh data DATA11 from thenonvolatile memory device 110 a. The fifteenth read data RD15 is provided to the flagbit detection block 126. - As described with reference to operation S460 of
FIG. 12 , the flagbit detection block 126 detects a flag bit (i.e., flag bits) from the fifteenth read data RD15. The flagbit detection block 126 removes the flag bit from the fifteenth read data RD15 to generate sixteenth read data RD16. - When the flag bit indicates the non-inversion, the flag
bit detection block 126 provides the sixteenth read data RD16 to thedecoding block 122. When the flag bit indicates the inversion, the flagbit detection block 126 provides the sixteenth read data RD16 to theinversion block 124. Theinversion block 124 inverts the sixteenth read data RD16 to generate seventeenth read data RD17. The seventeenth read data RD17 is provided to thedecoding block 122. - The
decoding block 122 includes a first decoding block 122_1 and a second decoding block 122_2. As described with reference to operation S465 ofFIG. 12 , the second decoding block 122_2 performs the second decoding on the sixteenth read data RD16 or the seventeenth read data RD17 to generate eighteenth read data RD18. - As described with reference to operation S470 of
FIG. 12 , the first decoding block 122_1 performs the first decoding on the eighteenth read data RD18. When the first decoding succeeds, thecontroller 120 a obtains the nineteenth read data RD19 as a result of the first decoding as a result of the read operation. When the first decoding fails, thecontroller 120 a controls thedecoding block 122 so as to perform the second decoding on the other data (e.g., one of the sixteenth read data RD16 and the seventeenth read data RD17). - In an embodiment, when the first decoding fails in both the sixteenth read data RD16 and the seventeenth read data RD17, the
controller 120 a outputs both a result of the first decoding associated with the sixteenth read data RD16 and a result of the first decoding associated with the seventeenth read data RD17. - In an embodiment, the
encoding block 121 and thedecoding block 122 described with reference toFIGS. 1 to 11 , may be configured to perform stepwise encoding and decoding as described with reference toFIGS. 12 to 14 . - In
FIGS. 5 to 14 , a description is given assuming theencoding block 121 and thedecoding block 122 are located within thecontroller 120 a. However, theencoding block 121 and thedecoding block 122 may be instead located within thenonvolatile memory device 110 a. Components of thecontroller 120 a may be located within thenonvolatile memory device 110 a. Functions and operations which are described as being performed by thecontroller 120 a may be performed by thenonvolatile memory device 110 a. -
FIG. 15 illustrates amemory system 200 according to an application example of the inventive concept. Referring toFIG. 15 , thememory system 200 includes nonvolatile memory devices 210_1 to 210_n and a controller 220 (e.g., a control circuit). - In an embodiment, the
controller 220 performs the compare and write operation on each of the nonvolatile memory devices 210_1 to 210_n. Each of the nonvolatile memory devices 210_1 to 210_n may store a flag bit(s). - In another example, the
controller 220 performs the compare and write operation on two or more nonvolatile memory devices. A flag bit indicating whether data to be written in the two or more nonvolatile memory devices are inverted may be generated. - According to embodiments of the inventive concept, power consumption is reduced in a write operation through a compare and write operation. Also, according to embodiments of the inventive concept, integrity of written data and flag information is improved through a reinforcement operation.
- While the inventive concept has been described with reference to exemplary embodiments thereof, it will be apparent to those of ordinary skill in the art that various changes and modifications may be made thereto without departing from the spirit and scope of the inventive concept.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/479,067 US20220004457A1 (en) | 2018-12-11 | 2021-09-20 | Nonvolatile memory device and memory system including nonvolatile memory device |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180159264A KR20200071484A (en) | 2018-12-11 | 2018-12-11 | Nonvolatile memory device and memory system including nonvolatile memory device |
KR10-2018-0159264 | 2018-12-11 | ||
US16/506,307 US11144388B2 (en) | 2018-12-11 | 2019-07-09 | Nonvolatile memory device and memory system including nonvolatile memory device |
US17/479,067 US20220004457A1 (en) | 2018-12-11 | 2021-09-20 | Nonvolatile memory device and memory system including nonvolatile memory device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/506,307 Continuation US11144388B2 (en) | 2018-12-11 | 2019-07-09 | Nonvolatile memory device and memory system including nonvolatile memory device |
Publications (1)
Publication Number | Publication Date |
---|---|
US20220004457A1 true US20220004457A1 (en) | 2022-01-06 |
Family
ID=70859491
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/506,307 Active US11144388B2 (en) | 2018-12-11 | 2019-07-09 | Nonvolatile memory device and memory system including nonvolatile memory device |
US17/479,067 Pending US20220004457A1 (en) | 2018-12-11 | 2021-09-20 | Nonvolatile memory device and memory system including nonvolatile memory device |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/506,307 Active US11144388B2 (en) | 2018-12-11 | 2019-07-09 | Nonvolatile memory device and memory system including nonvolatile memory device |
Country Status (4)
Country | Link |
---|---|
US (2) | US11144388B2 (en) |
KR (1) | KR20200071484A (en) |
CN (1) | CN111312316A (en) |
DE (1) | DE102019123510B4 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20200071484A (en) * | 2018-12-11 | 2020-06-19 | 삼성전자주식회사 | Nonvolatile memory device and memory system including nonvolatile memory device |
US10937495B2 (en) * | 2019-07-02 | 2021-03-02 | Winbond Electronics Corp. | Resistive memory apparatus and method for writing data thereof |
KR20210004135A (en) * | 2019-07-03 | 2021-01-13 | 에스케이하이닉스 주식회사 | Fail information control circuit, semiconductor apparatus including the same and fail information control method of the semiconductor apparatus |
TWI737495B (en) * | 2020-09-17 | 2021-08-21 | 大陸商珠海南北極科技有限公司 | Control method for a memory device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050276113A1 (en) * | 2004-06-15 | 2005-12-15 | Atsushi Nakayama | Semiconductor integrated circuit device incorporating a data memory testing circuit |
US20070011481A1 (en) * | 2005-07-06 | 2007-01-11 | Hynix Semiconductor Inc. | Data Output Device and Method of Semiconductor Device |
US20090237979A1 (en) * | 2008-03-21 | 2009-09-24 | Kabushiki Kaisha Toshiba | Semiconductor memory device and semiconductor memory system |
US9183082B2 (en) * | 2013-01-29 | 2015-11-10 | Qualcomm Incorporated | Error detection and correction of one-time programmable elements |
US9778985B1 (en) * | 2016-08-17 | 2017-10-03 | SK Hynix Inc. | Operating method of data storage device |
US11144388B2 (en) * | 2018-12-11 | 2021-10-12 | Samsung Electronics Co., Ltd. | Nonvolatile memory device and memory system including nonvolatile memory device |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05164607A (en) * | 1991-12-10 | 1993-06-29 | Murata Mfg Co Ltd | Temperature compensating type pyroelectric infrared-ray detector |
KR100460708B1 (en) | 1997-09-23 | 2005-05-24 | 삼성전자주식회사 | Error check and correcting circuit for testing of semiconductor memory |
US7549011B2 (en) | 2001-08-30 | 2009-06-16 | Micron Technology, Inc. | Bit inversion in memory devices |
KR100827702B1 (en) | 2006-11-01 | 2008-05-07 | 삼성전자주식회사 | Resistive semiconductor memory device |
US7577028B2 (en) | 2007-03-23 | 2009-08-18 | Intel Corporation | Memory storage technique for a bi-directionally programmable memory device |
US8583986B2 (en) * | 2008-12-17 | 2013-11-12 | Seagate Technology Llc | Solid-state memory with error correction coding |
KR101650130B1 (en) * | 2010-05-14 | 2016-08-24 | 삼성전자주식회사 | Storage device comprising a non-volatile memory device and copy-back method thereof |
US8848465B2 (en) | 2011-07-06 | 2014-09-30 | Samsung Electronics Co., Ltd. | Memory devices including selective RWW and RMW decoding |
KR102049281B1 (en) * | 2012-10-23 | 2019-11-27 | 삼성전자주식회사 | Memory system including nonvolatile memory and controller and programming method of programming data into nonvolatile memory |
CN104142892B (en) * | 2013-05-09 | 2017-08-11 | 华为技术有限公司 | A kind of data read-write method, apparatus and system |
KR20160025927A (en) * | 2014-08-28 | 2016-03-09 | 에스케이하이닉스 주식회사 | Semiconductor memory apparatus |
US9979416B2 (en) | 2014-12-10 | 2018-05-22 | Rambus Inc. | Memory controller and method of data bus inversion using an error detection correction code |
EP3301816B1 (en) * | 2015-09-07 | 2020-10-21 | Mitsubishi Electric Corporation | Encoding device, decoding device, and transmission device |
KR20170032052A (en) * | 2015-09-14 | 2017-03-22 | 에스케이하이닉스 주식회사 | Error correction apparatus and method for error correction |
JP6606039B2 (en) | 2016-09-09 | 2019-11-13 | 東芝メモリ株式会社 | Memory system and control method |
KR20180085396A (en) * | 2017-01-18 | 2018-07-27 | 에스케이하이닉스 주식회사 | Non-volatile memory device, and data writing method thereof |
-
2018
- 2018-12-11 KR KR1020180159264A patent/KR20200071484A/en not_active Application Discontinuation
-
2019
- 2019-07-09 US US16/506,307 patent/US11144388B2/en active Active
- 2019-09-03 DE DE102019123510.3A patent/DE102019123510B4/en active Active
- 2019-09-09 CN CN201910847251.6A patent/CN111312316A/en active Pending
-
2021
- 2021-09-20 US US17/479,067 patent/US20220004457A1/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050276113A1 (en) * | 2004-06-15 | 2005-12-15 | Atsushi Nakayama | Semiconductor integrated circuit device incorporating a data memory testing circuit |
US20070011481A1 (en) * | 2005-07-06 | 2007-01-11 | Hynix Semiconductor Inc. | Data Output Device and Method of Semiconductor Device |
US20090237979A1 (en) * | 2008-03-21 | 2009-09-24 | Kabushiki Kaisha Toshiba | Semiconductor memory device and semiconductor memory system |
US9183082B2 (en) * | 2013-01-29 | 2015-11-10 | Qualcomm Incorporated | Error detection and correction of one-time programmable elements |
US9778985B1 (en) * | 2016-08-17 | 2017-10-03 | SK Hynix Inc. | Operating method of data storage device |
US11144388B2 (en) * | 2018-12-11 | 2021-10-12 | Samsung Electronics Co., Ltd. | Nonvolatile memory device and memory system including nonvolatile memory device |
Also Published As
Publication number | Publication date |
---|---|
DE102019123510A1 (en) | 2020-06-18 |
KR20200071484A (en) | 2020-06-19 |
US20200183784A1 (en) | 2020-06-11 |
CN111312316A (en) | 2020-06-19 |
US11144388B2 (en) | 2021-10-12 |
DE102019123510B4 (en) | 2024-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220004457A1 (en) | Nonvolatile memory device and memory system including nonvolatile memory device | |
CN107506257B (en) | Error checking, correcting and decoding method and device | |
US9043678B2 (en) | Detecting effect of corrupting event on preloaded data in non-volatile memory | |
CN101256842B (en) | Ecc controller for use in flash memory device and memory system including the same | |
US10803971B2 (en) | Device for supporting error correction code and test method thereof | |
US9223648B2 (en) | Memory storage device, memory controller thereof, and method for processing data thereof | |
US20080148126A1 (en) | Method, system, and apparatus for ECC protection of small data structures | |
US10114693B2 (en) | Memory systems and electronic systems performing an adaptive error correction operation with pre-checked error rate, and methods of operating the memory systems | |
US10514980B2 (en) | Encoding method and memory storage apparatus using the same | |
US11698832B2 (en) | Selective sampling of a data unit during a program erase cycle based on error rate change patterns | |
US11709733B2 (en) | Metadata-assisted encoding and decoding for a memory sub-system | |
JP5283989B2 (en) | Memory system and memory access method | |
US11082068B2 (en) | Error correction circuit, memory controller having error correction circuit, and memory system having memory controller | |
US20130104003A1 (en) | Memory system and method for recording/reproducing data thereof | |
CN113094307B (en) | Mapping information management method, memory storage device and memory controller | |
US10922025B2 (en) | Nonvolatile memory bad row management | |
US9104596B2 (en) | Memory system | |
KR20170143084A (en) | Semiconductor device and semiconductor system | |
JP2003100095A (en) | Semiconductor integrated circuit device | |
US11551774B2 (en) | Memory system and method of controlling non-volatile memory | |
US11881276B2 (en) | Error correcting code decoder | |
US11656931B2 (en) | Selective sampling of a data unit based on program/erase execution time | |
CN113220502B (en) | Memory management method, memory storage device and memory controller | |
CN112420118B (en) | Memory, storage method thereof and corresponding electronic equipment | |
CN115910182A (en) | Reading voltage correction method, storage device and memory control circuit unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: FINAL REJECTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE AFTER FINAL ACTION FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: ADVISORY ACTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS |
|
ZAAB | Notice of allowance mailed |
Free format text: ORIGINAL CODE: MN/=. |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: AWAITING TC RESP, ISSUE FEE PAYMENT VERIFIED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |