Nonvolatile memory device and memory system including nonvolatile memory device
AssigneeSamsung Electronics Co., Ltd.
InventorsBeomkyu Shin, Sungkyu Park
Life of this patent
Estimating the term…
Abstract
A nonvolatile memory device performs a compare and write operation. The compare and write operation includes reading read data from memory cells, inverting 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.
Claims20
A nonvolatile memory device comprising:
- a plurality of memory cells;
- a read circuit configured to receive first read data and second read data from the plurality of memory cells;
- an inversion circuit configured to receive first write data from an external device, and to invert the first write data to generate second write data;
- a flag bit adding circuit configured to receive the first write data from the external device and the second write data from the inversion circuit, to add a first flag bit to the second write data to generate third write data, and to add a second flag bit to the first write data to generate fourth write data;
- a compare and write circuit configured to receive the first read data, the third write data and the fourth write data, to perform a first comparison between the first read data and the third write data, to perform a second comparison between the first read data and the fourth write data, to select one of the third write data and the fourth write data based on a result of the first comparison and the second comparison, and to write the selected one of the third write data and the fourth write data in the plurality of memory cells, wherein the invert of the first write data occurs regardless of the second comparison;
- and
- a flag bit detection circuit configured to receive the second read data from the read circuit, and determine whether to invert the second read data from at least one flag bit of the second read data,
- wherein the flag bit detection circuit is configured to output the second read data to the external device when it is determined that the second read data is not to be inverted,
- wherein the flag bit detection circuit is configured to generate third read data by removing the at least one flag bit from the second read data and output the third read data to the inversion circuit, the inversion circuit is configured to invert the third read data to generate fourth read data, and the inversion circuit is configured to output the fourth read data to the external device when it is determined that the second read data is to be inverted.
A nonvolatile memory device comprising:
- a plurality of memory cells;
- an inversion circuit configured to receive first write data from an external device, and to invert the first write data to generate second write data;
- a flag bit adding circuit configured to receive the first write data from the external device and the second write data from the inversion circuit, to add a first flag bit to the second write data to generate third write data, and to add a second flag bit to the first write data to generate fourth write data;
- and
- a compare and write circuit configured to receive first read data stored in the plurality of memory cells, the third write data and the fourth write data, to perform a first comparison between the first read data and the third write data including the first flag bit, to perform a second comparison between the first read data and the fourth write data including the second flag bit, to select one of the third write data including the first flag bit and the fourth write data including the second flag bit based on a result of the first comparison and the second comparison, and to write the selected one of the third write including the first flag bit and the fourth write data including the second flag bit in the plurality of memory cells,
- wherein the invert of the first write data occurs before the first comparison,
- wherein both the first comparison and the second comparison occur after the flag bit adding circuit outputs both the third write data including the first flag bit and the fourth write data including the second flag bit to the compare and write circuit.
A nonvolatile memory device comprising:
- a plurality of memory cells;
- an inversion circuit configured to receive first write data, and to invert the first write data to generate second write data;
- a flag bit adding circuit configured to receive the first write data and the second write data, to add a first flag bit to the second write data to generate third write data including the first flag bit, and to add a second flag bit to the first write data to generate fourth write data including the second flag bit;
- and
- a compare and write circuit configured to receive the third write data including the first flag bit and the fourth write data including the second flag bit, to perform a first comparison between a first read data and the third write data including the first flag bit, to perform a second comparison between the first read data and the fourth write data including the second flag bit, to select one of the third write data including the first flag bit and the fourth write data including the second flag bit based on a result of the first comparison and the second comparison, and to write the selected one of the third write data including the first flag bit and the fourth write data including the second flag bit in the plurality of memory cells,
- wherein both the first comparison and the second comparison occur after the flag bit adding circuit outputs both the third write data including the first flag bit and the fourth write data including the second flag bit to the compare and write circuit.
Dependencies are inferred from the claim text.