Memory device for performing data comparison writing and memory system including the memory device
By introducing data comparison writing mode control logic into the memory device and selectively performing data writing operations, the problems of data reliability and high power consumption in resistive memory devices are solved, achieving more efficient data writing and longer memory cell life.
Patent Information
- Application Number
- CN201910825088.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-12-11
- Filing Date
- 2019-08-30
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2039-08-30
AI Technical Summary
Existing resistive memory devices have problems of reduced data reliability and high power consumption during data comparison and writing operations, which may lead to data loss and errors, especially when writing data to marginal cells.
By introducing data compare write (DCW) mode control logic in the memory device, data write operations are selectively performed according to DCW on, off and mixed modes, and actual writes are performed for memory cells whose data values have changed, and for cells that have not changed. Skip writes, improving data reliability and reducing power consumption.
It effectively improves the data reliability of the memory device, reduces the time and power consumption required for write operations, and extends the service life of the memory unit.
Smart Images

Figure CN111312304B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the priority of Korean Patent Application No. 10-2018-0159038, filed on December 11, 2018 in the Korean Intellectual Property Office, entitled “Memory device for performing data comparison writing and memory system including the same,” the entire contents of which are incorporated herein by reference. Technical Field
[0003] Embodiments relate to a memory device, and more particularly, to a memory device that performs data comparison writing and a memory system including the memory device. Background Art
[0004] As a nonvolatile memory device equipped with a flash memory, a resistive memory device such as a phase change random access memory (RAM) (PRAM), a nano floating gate memory (NFGM), a polymer RAM (PoRAM), a magnetic RAM (MRAM), a ferroelectric RAM (FeRAM), and a resistive RAM (RRAM) are known. The resistive memory device has the nonvolatile characteristics of the flash memory and the high speed of the dynamic RAM (DRAM).
[0005] By virtue of its characteristics, the resistive memory device is able to overwrite data in a memory cell. For example, the resistive memory device can read previously stored data for a cell region where data is requested to be written, and by comparing the read data with the write data, an actual write operation can be performed only on those memory cells whose bit values are different from each other. This write operation can be referred to as a data comparison write (DCW) operation because the write operation is performed based on data comparison. Summary of the invention
[0006] One or more embodiments may provide a memory device having a memory cell array including a plurality of memory cells and control logic for controlling a write operation to the memory cell array in a first data comparison write (DCW) mode. When operating in the first DCW mode, data is written to a first memory cell whose data value has changed, in a first region, data is written to a second memory cell whose data value has not changed among the plurality of memory cells, and in a second region, data is not written to the second memory cell whose data value has not changed among the plurality of memory cells.
[0007] One or more embodiments may provide a memory device, the memory device comprising: a memory cell array, the memory cell array comprising a plurality of pages, each page comprising a plurality of memory cells; and control logic, the control logic being used to control a data write operation for the memory cell array according to a mode selected from a data compare write (DCW) on mode, a DCW off mode, and a DCW mixed mode. When the DCW mixed mode is selected, the control logic is used to write data for a first region of memory cells among a plurality of memory cells of a first page for which data writing is requested according to the DCW off mode, and to write data for a second region of memory cells among a plurality of memory cells of the first page according to the DCW on mode.
[0008] One or more embodiments may provide a memory system including a memory device, the memory device including: a memory cell array including a plurality of memory cells; a control logic for controlling data writing and data reading on the memory cell array; and a memory controller for controlling memory operations of the memory device and providing the memory device with data comparison write (DCW) information for setting a write mode of the memory device. When a DCW mixing mode is set to a write mode, the memory device is used to write data to a first region of memory cells among a plurality of memory cells in the memory cell array according to a DCW off mode regardless of a change in a data value, and selectively write data to a second region of memory cells whose data values are changed among a plurality of memory cells in the memory cell array according to a DCW on mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Features will become apparent to those skilled in the art by describing in detail exemplary embodiments with reference to the accompanying drawings, in which:
[0010] Figure 1 A memory system including a memory device according to an embodiment is shown;
[0011] Figure 2 An example of setting a first area and a second area for each page is shown;
[0012] Figure 3A and Figure 3B Examples of writing data in the case where a data comparison write (DCW) on mode and a DCW mixed mode are set are respectively shown;
[0013] Figure 4 A graph showing an example of a resistance distribution change during a write operation according to a DCW hybrid mode;
[0014] Figure 5A and Figure 5B Shown as Figure 1 A circuit diagram of an example of a memory cell array in;
[0015] Figure 6 and Figure 7 Flowcharts respectively show an operation method of a memory device according to an exemplary embodiment;
[0016] Fig. 8A and Figure 8B Examples of determining marginal cells are shown respectively;
[0017] Fig. 9 and Fig.10 Flowcharts respectively show an operation method of a memory system according to an exemplary embodiment;
[0018] Fig.11 , Fig. 12A and Fig. 12B Examples of operations of the memory system in various DCW modes based on counting operations are respectively shown;
[0019] Fig.13 as well as FIG. 14A to FIG. 14C An example of executing the marginal area determination in the above embodiments in a memory controller is shown respectively;
[0020] Fig.15 An example of selecting a memory cell to which a DCW shutdown mode is applied based on a combination of determinations by a memory controller and a memory device is shown;
[0021] Fig.16 A flowchart showing an example of simultaneously writing different numbers of memory cells for each DCW mode according to an exemplary embodiment;
[0022] Fig.17A and Fig. 17B are diagrams respectively showing operation examples of a memory according to an example embodiment of the inventive concept; and
[0023] Fig.18 and Fig.19 An implementation example of a memory system according to various embodiments is shown. DETAILED DESCRIPTION
[0024] Figure 1A memory system 10 including a memory device 200 according to an embodiment is shown. In an embodiment, when the memory device 200 includes a resistive memory cell, the memory device 200 may be referred to as a resistive memory device. In implementation, the memory device 200 may include various types of memory cells. Since the memory cells are arranged at positions where a plurality of first signal lines and a plurality of second signal lines intersect each other, the memory device 200 may be referred to as a cross-point memory device. In the following embodiments, it is assumed that the memory device 200 is a resistive memory device, but it may also be a volatile memory device, a flash memory device, etc.
[0025] Figure 1 The memory device 200 in the embodiment may be implemented in various forms. As an example, the memory device 200 may be a device implemented in one memory chip or may be a device including a plurality of memory chips. As an example, the memory device 200 may be a memory module having a plurality of memory chips mounted on a board. As another example, the memory device 200 may be implemented in various forms, such as a semiconductor package including one or more memory dies.
[0026] refer to Figure 1 , the memory system 10 may include a memory controller 100 and a memory device 200. The memory device 200 may include a memory cell array 210, a write / read circuit 220, and a control logic 230. In addition, the memory controller 100 may include a processor 110 and a mode controller 120. The processor 110 of the memory controller 100 may control various memory operations in a hardware-based, software-based, or combination thereof manner.
[0027] The memory controller 100 may control the memory device 200 to read data stored in the memory device 200 or write data to the memory device 200 in response to a write / read request from the host HOST. The memory controller 100 may control a program (or write) operation, a read operation, and an erase operation of the memory device 200 by providing an address ADD, a command CMD, and a control signal CTRL to the memory device 200. In addition, data DATA to be written and read data DATA may be transmitted and received between the memory controller 100 and the memory device 200.
[0028] The memory controller 100 can communicate with the host HOST through various protocols. For example, the memory controller 100 can be configured to communicate with the host HOST through at least one of various interface protocols (such as Universal Serial Bus (USB), Multimedia Card (MMC), Peripheral Component Interconnect Express (PCI-E), Advanced Technology Attachment (ATA), Serial ATA, Parallel ATA, Small Computer System Interface (SCSI), Enhanced Small Device Interface (ESDI), Integrated Drive Electronics (IDE), etc.).
[0029] The memory cell array 210 may include a plurality of memory cells respectively arranged at respective intersections of a plurality of first signal lines and a plurality of second signal lines. In an embodiment, the plurality of first signal lines may be a plurality of bit lines, and the plurality of second signal lines may be a plurality of word lines. In addition, each of the plurality of memory cells may be a single-level cell (SLC) storing one bit, or may be a multi-level cell (MLC) capable of storing at least 2 bits of data. In addition, depending on the number of bits stored in each memory cell, the memory cell may have quite a number of resistance distributions. For example, when one bit of data is written to a memory cell, the memory cell may have two resistance distributions, and when two bits of data are stored in a memory cell, the memory cell may have four resistance distributions.
[0030] The memory cell array 210 may include a resistance memory cell including a variable resistance element. For example, when the variable resistance element has a temperature-varying resistance as a phase change material (germanium antimony telluride (Ge-Sb-Te or GST)), the resistance memory device may be a phase change random access memory (PRAM). As another example, when the variable resistance element includes a composite metal oxide arranged on a top electrode, on a bottom electrode, and therebetween, the memory controller 100 may be a resistance random access memory (RRAM). As another example, when the resistance memory device includes a top electrode of a magnetic material, a bottom electrode of a magnetic material, and a dielectric material therebetween, the resistance memory device may be a magnetoresistive random access memory (MRAM).
[0031] The memory device 200 may support a data comparison write (DCW) mode, in which data is selectively written only to certain memory cells based on data comparison. For example, the memory device 200 may be set to a DCW-off DCW_OFF mode or a DCW-on DCW_ON mode. The control logic 230 may include a data comparator 231. When the write mode of the memory device 200 is set to a DCW-on DCW_ON mode, previously stored data may be read from a cell region to which data is requested to be written, and then, by comparing the read data with the data in the cell region to be written, the data comparator 231 may determine the memory cell whose data value is changed (or whose bit value or logic state is different) by a write operation. In addition, the control logic 230 may control the write operation so that an actual write operation is performed only for the memory cell whose data value has changed.
[0032] On the other hand, when the write mode of the memory device 200 is set to the DCW off DCW_OFF mode, an actual write operation may be performed on all memory cells in the cell region regardless of the data value of the cell region to which data is requested to be written. According to an operation example, the type of the DCW mode set in the memory device 200 may be selected by the memory controller 100, and the mode controller 120 may provide the memory device 200 with DCW information Info_DCW indicating the type of the DCW mode.
[0033] When the DCW_ON mode is set and a write request of the same data value is received in some memory cells, the actual write operation may not be performed on these memory cells. In this case, while the data reliability is improved by compensating for interference, resistance offset, etc. for the memory cells that perform the actual write operation, the memory cells that do not perform the actual write operation may become weaker performance memory cells with a higher possibility of future errors due to various reasons (e.g., interference, resistance offset, etc.). Such low reliability memory cells may have a lower read margin and may be referred to as marginal cells.
[0034] According to an exemplary embodiment, the memory device 200 may operate in a DCW-ON mode and a DCW-OFF mode and other DCW modes. For example, a DCW-mixed DCW_MIX mode may be set for the memory device 200. In the DCW-mixed DCW_MIX mode, a write operation may be performed on some memory cells (e.g., memory cells in the first region) of the memory cell array 210 based on the DCW-OFF mode, and a write operation may be performed on other memory cells (e.g., memory cells in the second region) of the memory cell array 210 based on the DCW-ON mode. For example, the mode controller 120 may provide the DCW information Info_DCW to the memory device 200 to set the DCW-mixed DCW_MIX mode.
[0035] Below, an operation example of the DCW mix DCW_MIX mode according to an exemplary embodiment is described. In describing the embodiment, an example is described in which a page is defined as a write unit, a first area and a second area are set for memory cells in the page, and a different DCW mode is applied to each area. As another example, various different units of memory cells may be defined, and a first area and a second area may be set, wherein different DCW modes are applied to various different units of memory cells.
[0036] According to an embodiment, some of the memory cells of the page may be set to the first region, and the remaining memory cells may be set to the second region. In addition, when a write request for a page is received, an actual write operation may be performed on all memory cells of the first region of the page based on the DCW off DCW_OFF mode. On the other hand, for the second region of the page, based on the DCW on DCW_ON mode, an actual write operation is not performed on the memory cells in the second region whose read data values and write data values are the same, and a write operation may be selectively performed on memory cells whose data values are different from each other.
[0037] As an operation example, the control logic 230 may include a marginal cell determination unit 232, and when the DCW mix DCW_MIX mode is set, the marginal cell determination unit 232 may determine some of the memory cells to be written as marginal cells. In addition, according to the determination result, the memory cells determined as marginal cells in the page may be included in the first region.
[0038] Marginal cells may be determined according to various methods of evaluating whether a cell has a high probability of error occurrence. For example, memory cells having relatively poor resistance distribution characteristics among memory cells of a page may be determined as marginal cells and included in the first region. On the other hand, memory cells not determined as marginal cells may be included in the second region.
[0039] In the memory device 200, the data reliability of the marginal cells may be relatively low, so that the data of the marginal cells may be lost over time. When the memory device 200 is set to the DCW-ON mode and receives the same data write request for the marginal cells, the actual data may not be written to the marginal cells. Therefore, the data of at least some memory cells may be lost. In other words, when the data of the actual same bit value is rewritten to the memory cell, the resistance distribution characteristics of the corresponding memory cell can be improved. However, since the data of the same bit value is not written when operating in the DCW-ON mode, data loss may occur in the marginal cells.
[0040] On the other hand, since the marginal cells having relatively poor resistance distribution characteristics are determined according to the exemplary embodiment and the DCW-off DCW_OFF mode is applied to the marginal cells in the first region, the actual data write operation can be performed on the marginal cells regardless of the data value. Therefore, since the write operation based on the DCW-off DCW_OFF mode is performed on the cells in the first region, the reliability of the data stored in the marginal cells can be prevented from being reduced.
[0041] On the other hand, a write operation can be performed on the memory cells in the second area based on the DCW-ON mode, and therefore, a write operation can be selectively performed only on the memory cells having different values of the read data and the write data, and for the memory cells having the same data value, the actual write operation can be skipped. Therefore, compared with the DCW-OFF mode, the number of memory cells to which actual data is written in the cell area of the write unit can be reduced, and the time required for the data write operation, power consumption, etc. can be reduced.
[0042] According to the above embodiment, the memory cells of the page to which data writing is requested may include a first memory cell whose data value is changed according to data writing and a second memory cell whose data value is not changed, and data may be written to the first memory cell. In addition, an actual write operation may be performed in the memory cells included in the first region (as some second memory cells in which the data value is not changed), and data of the same bit value may be rewritten in these second memory cells. On the other hand, the data write operation may be skipped in the remaining memory cells in the second memory cell (i.e., those memory cells in the second region).
[0043] Although it has been described that the marginal cells are included in the first region in the above embodiment, various modifications of the embodiment are possible. As an example, a memory cell in which an error occurs or a memory cell in which there is a possibility of error occurrence determined according to other methods may be further included in the first region. In other words, a memory cell with relatively low data reliability may be determined according to various methods, and the memory system 10 may be implemented to include a memory cell determined by at least one method in the first region.
[0044] The memory controller 100 and the memory device 200 may be implemented as separate semiconductor devices, or may be integrated into one semiconductor device. Illustratively, the memory controller 100 and the memory device 200 may be integrated into one semiconductor device to form a memory card. For example, the memory controller 100 and the memory device 200 may be integrated into a single semiconductor device and may form a Personal Computer Memory Card International Association (PCMCIA) card, a Compact Flash (CF) card, a Smart Media Card (SMC), a Memory Stick, a Multimedia Card (MMC), a Reduced Size (RS) MMC (RS-MMC), an MMCmicro, a Secure Digital (SD) card, a miniSD, a microSD, a Universal Flash Storage (UFS) memory, etc.
[0045] Figure 2 An example of setting the first area and the second area for each page is shown. Figure 1 and Figure 2 , the memory cell array 210 may include a plurality of cell blocks, and Figure 2 Any one cell block is shown. The cell block may include a plurality of pages, and a data write operation may be performed in units of pages.
[0046] When operating in the DCW mix DCW_MIX mode, during a write operation on a page, some memory cells of the page may be included in the first region A, and the remaining memory cells may be included in the second region B. According to the above-described embodiment, the marginal cells may be included in the first region A. Data may be written to the memory cells of the first region A according to the DCW off DCW_OFF mode. Therefore, all write operations may be performed on the memory cells of the first region A regardless of the bit values of the read data and the write data. Therefore, in some memory cells of the first region A, data having the same bit value as the currently stored data may be rewritten.
[0047] On the other hand, in the memory cells of the second region B, data can be written according to the DCW-ON mode. Therefore, the actual write operation can be performed only on some memory cells of the second region B in which the values of the read data and the write data are different from each other. Thus, the actual write operation may not be performed on some memory cells of the second region B.
[0048] Figure 3A and Figure 3B Examples of data writing in the case where the DCW on DCW_ON mode and the DCW mix DCW_MIX mode are set are shown respectively. Figure 3A and Figure 3B , the bit values of the data before and after writing in the memory cells in a specific area (e.g., the memory cells of a page) are shown. Therefore, the bit value of the data before writing can correspond to the value of the read data, and the bit value of the data after writing can correspond to the value of the written data. In addition, in Figure 3A and Figure 3B In the embodiment, actual memory operations can be performed on some memory cells indicated by arrows in the page.
[0049] refer to Figure 3A , the memory device can be set to the DCW-ON mode based on the internal control or the control of the memory controller. Therefore, a read operation can be performed on the write request page, and the values of the read data and the write data can be compared with each other. According to the comparison result, the memory cells having different values of the read data and the write data can be determined, and the write operation can be selectively performed only on the determined memory cells.
[0050] refer to Figure 3B, the memory device may be set to a DCW mix DCW_MIX mode based on internal control or control of the memory controller 100, a read operation may be performed on a write request page, and a marginal cell may be determined in the page through an analysis operation for the read data. Here, the marginal cell may be included in the first region A, and the remaining memory cells may be included in the second region B.
[0051] According to an embodiment, a write operation may be performed on the memory cells of the first region A based on the DCW-off mode, and thus, regardless of the data value, an actual write operation may be performed on all memory cells of the first region A. On the other hand, a write operation may be performed on the memory cells of the second region B based on the DCW-on mode, and thus, a write operation may be selectively performed only on memory cells having different values of read data and write data.
[0052] Figure 4 A graph showing an example of a resistance distribution change during a write operation according to a DCW mix DCW_MIX mode. Figure 4 In FIG. 1 , an example of writing one bit of data in each memory cell is shown, so the memory cells of the page have two resistance distributions. Figure 4 In the curve graph of , the horizontal axis represents the resistance level and the vertical axis represents the number of memory cells.
[0053] refer to Figure 4 , the memory cell may have a set state SET or a reset state RESET according to the bit value of the data. The reset state RESET may have a resistance level greater than the set state SET. A memory cell having a resistance level roughly in the middle of the resistance level of the set state SET and the resistance level of the reset state RESET may be determined as a marginal cell with low data reliability. Figure 4 , an example in which a memory cell whose resistance level is between a resistance value V and a resistance value W is determined as a marginal cell is shown.
[0054] Memory cells having a resistance level less than the resistance value V in the set state SET may be included in the second region, and thus, a write operation may be selectively performed only on memory cells of the second region to which data will be written in a different logical state (e.g., reset state RESET). In addition, memory cells having a resistance level greater than the resistance value W in the reset state RESET may be included in the second region, and thus, a write operation may be selectively performed only on memory cells of the second region to which data will be written in a different logical state (e.g., set state SET).
[0055] On the other hand, for marginal cells whose resistance level is between the resistance value V and the resistance value W, a write operation may be performed based on the DCW off DCW_OFF mode. Figure 4 , shows an example in which, for marginal cells in the set state SET, data is rewritten in the set state SET, and for marginal cells in the reset state RESET, data is rewritten in the reset state RESET.
[0056] According to the exemplary embodiment described above, a write operation can be performed on a memory cell in a cell area of a write unit according to a DCW mixed DCW_MIX mode, and therefore, a resistance distribution characteristic can be improved to ensure a read margin. In other words, data reliability can be improved by a write operation according to a DCW mixed DCW_MIX mode, and the possibility of error occurrence can be reduced.
[0057] Figure 5A and Figure 5B Shows Figure 1 A circuit diagram of an implementation example of the memory cell array 210 is shown in FIG. Figure 5A and Figure 5B In FIG. 1 , a case where the resistance memory cell includes a PRAM is shown. In addition, Figure 5A The memory cell array 210 shown in FIG. 2 corresponds to one cell block.
[0058] The memory cell array 210 may be a two-dimensional memory cell array having a horizontal structure, and includes first word lines WL1 to n-th word lines WLn, first bit lines BL1 to m-th bit lines BLm, and a plurality of memory cells MC. The memory cell array 210 may include a plurality of memory blocks. In each memory block, a plurality of memory cells MC may be arranged in rows and columns. Here, the number of word lines WL, the number of bit lines BL, and the number of memory cells MC may be changed in various ways. In implementation, the memory cell array 210 may be a three-dimensional memory cell array having a vertical structure.
[0059] According to an embodiment, each of the plurality of memory cells MC may include a variable resistance element R and a switch element SW. Here, the variable resistance element R may be referred to as a variable resistance material, and the switch element SW may be referred to as a selection element.
[0060] In one embodiment, the variable resistance element R may be connected between one of the first to m-th bit lines BL1 to BLm and the switch element SW, and the switch element SW may be connected between the variable resistance element R and one of the first to n-th word lines WL1 to WLn. Alternatively, the switch element SW may be connected between one of the first to m-th bit lines BL1 to BLm and the variable resistance element R, and the variable resistance element R may be connected to the switch element SW and one of the first to n-th word lines WL1 to WLn.
[0061] The switch element SW may be connected between any one of the first to nth word lines WL1 to WLn and the variable resistance element R, and may control current supply to the variable resistance element R according to a voltage applied to the connected word line WL and the connected bit line BL. Figure 5A In the figure, the switching element SW is shown as a diode, but may be any suitable switchable element.
[0062] refer to Figure 5B , the memory cell MC may include a variable resistance element R and a switch element SW. The switch element SW may be implemented using various elements such as a transistor and a diode. The variable resistance element R may include a phase change layer 11 (including a mixture of germanium, antimony, and tellurium (Ge-Sb-Te or GST)), a top electrode 12 on the phase change layer 11, and a bottom electrode 13 below the phase change layer 11.
[0063] The top electrode 12 and the bottom electrode 13 may include various metals, metal oxides, metal nitrides, etc. The top electrode 12 and the bottom electrode 13 may include aluminum (Al), copper (Cu), titanium nitride (TiN), titanium aluminum nitride (TixAlyNz), iridium (Ir), platinum (Pt), gold (Au), polysilicon, tungsten (W), titanium (Ti), tantalum (Ta), tantalum nitride (TaN), tungsten nitride (WN), nickel (Ni), cobalt (Cr), antimony (Sb), iron (Fe), molybdenum (Mo), palladium (Pd), tin (Sn), zirconium (Zr), zinc (Zn), iridium oxide (IrO2), strontium zirconium oxide (StZrO3), etc.
[0064] The phase change layer 11 may include a bipolar resistance memory material or a unipolar resistance memory material. The bipolar resistance memory material may be programmed to a set state or a reset state by the polarity of the current, and a perovskite material may be used for the bipolar resistance memory material. The unipolar resistance memory material may be programmed to a set state or a reset state by a current of the same polarity, and a transition metal oxide (e.g., NiOx, TiOx, etc.) may be used for the unipolar resistance memory material.
[0065] The GST material can be programmed between an amorphous state having a relatively high resistivity and a crystalline state having a relatively low resistivity. The GST material can be programmed by heating. The amplitude and duration of the heating can determine whether the GST material remains in the amorphous state or the crystalline state. The high resistivity and the low resistivity can be represented by the programming values of logic "0" and logic "1", respectively, and can be detected by measuring the resistivity of the GST material. Conversely, the high resistivity and the low resistivity can be represented by the programming values of logic "1" and logic "0", respectively.
[0066] refer to Figure 5B , when a write current I is applied to the memory cell MC, the applied write current I may flow through the bottom electrode 13. When the write current I is applied to the memory cell MC in a very short time, the applied write current may generate heat or Joule heat only to the adjacent layers of the bottom electrode 13. At this time, due to the difference in heating profiles, a portion of the phase change layer 11 may become a crystalline state (or a set state SET) or an amorphous state (or a reset state RESET).
[0067] Figure 6 and Figure 7 Each of them is a flowchart of an operating method of a memory device according to an exemplary embodiment.
[0068] refer to Figure 6 According to an exemplary embodiment, the write mode of the memory device is set to a DCW mixed DCW_MIX mode. First, the memory device may receive a data write request from a memory controller (S11). As an example, the memory device may receive a write command, an address indicating a cell area to be written, and write data from the memory controller. As described above, when data writing is performed page by page, the address may include an address indicating a page.
[0069] The memory device may read data of a page indicated by the received address (S12), and determine one or more memory cells as marginal cells based on the read data (S13). One or more read operations may be performed on the page of the write request to determine the marginal cells, and as an operation example, two read operations (or sensing operations) may be performed. In addition, according to the above-described embodiment, a memory cell having a relatively poor resistance distribution characteristic may correspond to a marginal cell.
[0070] The memory device may compare the read data with the write data and write the data to the first memory cell in which the data value is changed (S14). In addition, for the second memory cell in which the data value is not changed, the memory device may determine the memory cell corresponding to the marginal cell in the second memory cell, may perform the actual write operation on the memory cell corresponding to the marginal cell of the second memory cell, and may skip the write operation for the memory cell not corresponding to the marginal cell (S15).
[0071] On the other hand, reference Figure 7 According to an exemplary embodiment, the memory device can be set to a DCW mixed DCW_MIX mode, and can be configured according to Figure 7 The operations shown perform write operations. Figure 7 The operation shown can produce Figure 6 In other words, the process of executing any one write request according to the DCW mix DCW_MIX mode can be described in various types of operations.
[0072] refer to Figure 7 , the memory device may receive a data write request from the memory controller (S21), and fetch data of a cell region (e.g., a page) indicated by an address received in the data write request (S22). In addition, according to the above-described embodiment, one or more marginal cells may be determined based on the read data, and the marginal cells may be included in the first region, while the remaining memory cells are included in the second region.
[0073] A DCW_OFF mode may be applied to a first region of a page (S23), and a DCW_ON mode may be applied to a second region of the page (S24). Thus, the memory device may selectively perform an actual write operation only on memory cells of the second region whose data values have changed (S25). In addition, the memory device may perform a write operation on all memory cells of the first region regardless of the data value (S26).
[0074] Fig. 8A and Figure 8B are diagrams showing examples of determining marginal units. Fig. 8A and Figure 8B An example in which a memory cell has two resistance distributions is shown, but embodiments may be used with memory cells having more than two resistance distributions.
[0075] refer to Fig. 8A, the logic state of the memory cell of the write-requested page may have a set state SET and a reset state RESET, and for the write-requested page, a first read operation using a first read level (read level 1) and a second read operation using a second read level (read level 2) may be performed. The data read according to the first read operation may be referred to as first read data, and the data read according to the second read operation may be referred to as second read data.
[0076] Based on the first read data and the second read data, a marginal cell having a resistance level between the first read level and the second read level may be determined, and the determined marginal cell may be included in the first region A. In addition, the remaining memory cells except the marginal cell may be included in the second region B. For example, a memory cell of a write request of a cell region in which a bit value read in a first read operation and a bit value read in a second read operation are different from each other may be determined as a marginal cell.
[0077] refer to Figure 8B , marginal information representing marginal cells in the memory cell can be generated based on the comparison result of the first read data and the second read data. As an example, an exclusive OR (XOR) operation can be performed on the first read data and the second read data. When the bit value of the first read data and the bit value of the second read data are different from each other, the memory cell having the XOR operation result of "1" can be determined as a marginal cell. Based on the marginal information, the memory cell of the first area A to which data writing will be performed according to the DCW off DCW_OFF mode can be determined.
[0078] According to one embodiment, the control logic (or the marginal area determination component) in the above embodiment may generate Figure 8B In addition, the control logic in the memory device may control the write operation so that corresponding to the memory cells in the first region A, all data are written by referring to the marginal information regardless of the data value. In addition, the control logic may determine the memory cells in which the data values are different from each other by referring to the comparison result of the values of the read data and the write data, and may control the write operation of the memory cells not included in the first region A so that data is selectively written for the memory cells in which the data values are different from each other.
[0079] Fig. 9 and Fig.10 1 and 2 are flowcharts of operating methods of a memory system according to exemplary embodiments. The memory system may include a memory controller and a memory device.
[0080] When the memory system is initialized (S31), various information about the setting of the memory operation can be sent and received between the memory controller and the memory device. As an example, the memory controller can set the DCW mode of the memory device by providing DCW information to the memory device (S32), and the memory controller can set the DCW mode of the memory device to any one of the DCW on DCW_ON mode, the DCW off DCW_OFF mode, and the DCW mixed DCW_MIX mode.
[0081] The memory device may receive a data write request from the memory controller (S33), and may determine whether the current DCW mode corresponds to the DCW mix DCW_MIX mode (S34). When the current DCW mode does not correspond to the DCW mix DCW_MIX mode, the memory device may operate in the current DCW turn-on DCW_ON mode or DCW turn-off DCW_OFF mode, and perform a data write operation according to the current DCW mode (S35).
[0082] On the other hand, when the current DCW mode corresponds to the DCW mix DCW_MIX mode, the memory device can determine the marginal cells in the page to which the data write request has been requested according to the above embodiment, and further, can perform the data write operation based on the DCW mix DCW_MIX mode (S36). For example, the data write operation can be performed on the marginal cells regardless of the change of the data value.
[0083] On the other hand, the DCW mode of the memory device may be changed based on the control of the memory controller. As an example, the memory controller may send DCW information to the memory device to change the DCW mode of the memory device, and the memory device may receive the DCW information (S37) and change the DCW mode according to the received DCW information (S38).
[0084] refer to Fig.10 The memory device may set a DCW mode for each write operation according to DCW information received from the memory controller together with the write request. As an example, when a first write request for a first page is received from the memory controller, the memory device may receive information about a DCW-ON mode, indicating that data will be written for the first page according to the DCW-ON mode.
[0085] The memory device may write data to the first page according to the DCW on DCW_ON mode ( S42 ), and as an example, may selectively perform a write operation only on memory cells MCs whose data values are changed by comparing read data read from the first page with write data.
[0086] Next, when a second write request for the second page is received from the memory controller, the memory device may receive information about the DCW mix DCW_MIX mode, which indicates that data will be written for the second page according to the DCW mix DCW_MIX mode. (S43). The memory device may determine the memory cells whose data values are different from each other by comparing the read data read from the second page with the write data. In addition, the memory device may determine the marginal cells in the above-mentioned embodiment through one or more read operations for the second page, and based on the comparison result of the data value and the determination result of the marginal cells, the memory device may write the data to the second page according to the DCW mix DCW_MIX mode (S44).
[0087] The operations included in the following embodiments may all be performed in the memory device or the memory controller, or some operations in each embodiment may be performed in the memory device and other operations may be performed in the memory controller.
[0088] Fig.11 , Fig. 12A and Fig. 12B 2 are examples respectively showing the operations of the memory system in various DCW modes based on counting operations.
[0089] refer to Fig.11 , the memory controller 300 may include a write / erase counter 310, a cell counter 320, and a mode controller 330. The memory controller 300 may control a write / erase operation for the memory device in response to a request from the host HOST, and the write / erase counter 310 may count the number of writes and / or erases for each specific area of the memory cell array. Assuming that the write / erase counter 310 counts the number of writes, the write / erase counter 310 may count the number of writes in units of cell blocks or pages. In addition, the write / erase counter 310 may output the first counting information Info_CNT1 according to the counting result.
[0090] The cell counter 320 may perform a cell counting operation on the read data read from the memory device. As an example, the cell counter 320 may count the number of closed cells (or open cells) in a page by counting data of a specific logic state of the read data DATA_R read from a specific read unit (e.g., page), and may output the second counting information Info_CNT2 according to the result thereof. The mode controller 330 may output the DCW information Info_DCW based on the first counting information Info_CNT1 and the second counting information Info_CNT2.
[0091] When the first count information Info_CNT1 of the write / erase counter 310 has a relatively large value (or exceeds a specific reference value), the first count information Info_CNT1 may indicate that the life of the first page or the life of the cell block including the first page requested to be written is not long and the durability of the first page is deteriorated. The mode controller 330 may select a DCW mode for the first page based on the first count information Info_CNT1 and output the DCW information Info_DCW according to the selection result thereof.
[0092] In addition, as the durability of the first page decreases, the resistance distribution characteristics of the first page may also decrease. For example, the resistance distribution of the memory cells of the first page may be offset in one direction, or the width of the resistance distribution may be increased. At this time, when the number of closed cells (or open cells) of the first page exceeds a specific reference value, it can be understood that the resistance distribution of the first page is offset, and therefore, the resistance distribution characteristics of the first page are poor. The mode controller 330 can select a DCW mode for the first page based on the second counting information Info_CNT2, and output the DCW information Info_DCW according to its selection result.
[0093] The memory controller 300 may provide a data write request and write data DATA_W to the memory device, and the memory device may perform a write operation using the write data DATA_W based on the DCW information Info_DCW from the memory controller 300 .
[0094] exist Fig.11 In the exemplary embodiment shown, the mode controller 330 may output DCW information Info_DCW based on various combinations of the first count information Info_CNT1 and the second count information Info_CNT2. As an example, when one or both of the first count information Info_CNT1 and the second count information Info_CNT2 of the first page meet the DCW mix DCW_MIX mode condition, data may be written to the first page according to the DCW mix DCW_MIX mode.
[0095] exist Fig.11 In the exemplary embodiment of FIG. 1 , the mode controller 330 combines the first count information Info_CNT1 and the second count information Info_CNT2. In an implementation example, the mode controller 330 may selectively receive the first count information Info_CNT1 or the second count information Info_CNT2, and based on the received information, may implement a memory system so that the DCW information Info_DCW is output.
[0096] exist Fig.11In the illustrated embodiment, the DCW information Info_DCW may be provided to the memory device for each write request. Alternatively, the memory device may set the DCW mode according to the DCW information Info_DCW provided from the memory controller 300, and perform data writing according to the set DCW mode. When the DCW information Info_DCW changes, the DCW mode may be changed according to the DCW information Info_DCW.
[0097] Fig. 12A An example of reading data of a first page according to a specific read level (e.g., a first read level, read level 1) is shown, and the data read according to the first read level may be provided to the memory controller 300. In an example, the cell counter 320 of the memory controller 300 may count the number of off cells having a resistance value less than the first read level, or may output second counting information Info_CNT2 indicating a result of counting the number of on cells having a resistance value greater than the first read level.
[0098] on the other hand, Fig. 12B An example of counting the number of write / erase operations in units of cell blocks is shown, and therefore, the DCW mode is set differently in units of cell blocks. When it is assumed that the write / erase counter 310 counts the number of writes, the write / erase counter 310 may generate first counting information Info_CNT1 for each of the first cell block BLK1, the second cell block BLK2, and the third cell block BLK3.
[0099] When the first count information Info_CNT1 indicating the number of write times of the second cell block BLK2 is less than or equal to the first reference value Ref1, the memory cells of the second cell block BLK2 may have relatively better resistance distribution characteristics than other memory cells of other cell blocks, and a DCW-on DCW_ON mode may be set for the second cell block BLK2. Therefore, when a write request for a second page included in the second cell block BLK2 is received, a write operation may be performed on the second page according to the DCW-on DCW_ON mode.
[0100] On the other hand, when the first count information Info_CNT1 indicating the number of write times of the first cell block BLK1 is greater than the first reference value Ref1 and less than or equal to the second reference value Ref2, it can be determined that the first cell block BLK1 has a relatively worse resistance distribution characteristic than the second cell block BLK 2. Therefore, a DCW mix DCW_MIX mode can be set for the first cell block BLK 1, and when a write request for a first page included in the first cell block BLK is received, a marginal area can be determined from the first page, and all data can be written for memory cells in the marginal area according to the DCW off DCW_OFF mode regardless of data values.
[0101] On the other hand, when the first count information Info_CNT1 indicating the number of write times of the third cell block BLK3 is greater than the second reference value Ref2, it can be determined that the cell block BLK3 has a worse resistance distribution characteristic than the first cell block BLK1. Therefore, a DCW off DCW_OFF mode can be set for the third cell block BLK3, and when a write request for a third page included in the third cell block BLK3 is received, a write operation can be performed on the third page according to the DCW off DCW_OFF mode.
[0102] Fig. 12B An example of setting the DCW mode differently for each cell block is shown, but the embodiment is not limited thereto. As an example, when a write / erase count operation is performed for each page, for each page included in the same cell block, a DCW mode may be set differently for each page based on the number of write / erase times for each page.
[0103] Fig.13 as well as FIG. 14A to FIG. 14C 4 and 5 are diagrams each showing an example of executing the marginal area determination in the above-described embodiment in the memory system 400 .
[0104] refer to Fig.13 , the memory system 400 may include a memory controller 410 and a memory device 420, and the memory controller 410 may include an error correction code (ECC) circuit 411, a data comparator 412, a marginal cell determination unit 413, a mask information generator 414, and a mode controller 415. The memory controller 410 may include a processor for controlling the overall operation of the memory controller 410, and may also include a working memory for temporarily storing various programs related to memory operation control. The memory device 420 may include a memory cell array 421, a write / read circuit 422, and a control logic 423.
[0105] The memory controller 410 may provide a command CMD and an address ADD for a write operation for a region (eg, a first page) of the memory device 420. In addition, the memory device 420 may fetch data from the first page and provide the fetched data DATA_R to the memory controller 410.
[0106] The ECC circuit 411 can perform error detection and correction operations on the read data DATA_R and generate an error detection result. In addition, the data comparator 412 can compare the bit value of the write data DATA_W to be provided to the memory device 420 with the bit value of the read data DATA_R read from the memory device 420. In addition, the marginal cell determination unit 413 can use the read data DATA_R to determine the marginal cells in the memory cells of the first page according to the above-mentioned embodiment. In addition, based on the operation results of the ECC circuit 411, the data comparator 412 and the marginal cell determination unit 413, the masking information generator 414 can generate masking information Info_Mask, which indicates the location of the memory cell where no data is written. In addition, the mode controller 415 can control the DCW mode of the memory device 420 according to the above-mentioned embodiment, and assuming that Fig.13 In the illustrated embodiment, a DCW mixing DCW_MIX mode is set for the memory device 420 .
[0107] The memory controller 410 may provide the write data DATA_W and the mask information Info_Mask to the memory device 420, and the memory device 420 may perform a data write operation in response thereto. As an example, when a memory cell corresponding to a logic value "1" in the mask information Info_Mask is masked, a write operation may be selectively performed on a memory cell corresponding to a logic value "0" in the mask information Info_Mask.
[0108] The mask information generator 414 may generate the mask information Info_Mask based on various determination criteria. According to the operation of the mask information generator 414, data may be written to the memory cell according to various criteria in the DCW mix DCW_MIX mode (ie, according to the DCW turn-on DCW_ON mode or the DCW turn-off DCW_OFF mode). Fig.14A , Fig. 14B and Fig. 14C An example of generating the mask information Info_Mask is described.
[0109] Fig.14AThe following example is shown: the memory cell whose logic state is to be changed (or, data of different bit values is to be written) is not masked, and at the same time, the memory cell in which an error has occurred according to the error detection result of the ECC circuit 411 is not masked. When an error has occurred in a memory cell, the data characteristic can be determined to be relatively worse than other memory cells. Therefore, regardless of its bit value, a data write operation can be performed on the memory cell in which an error has occurred. In other words, the memory cell in which an error has occurred can be included in the first area in which the DCW shutdown DCW_OFF mode is applied in the above-mentioned embodiment.
[0110] on the other hand, Fig. 14B An example is shown in which a memory cell whose logic state is to be changed and a memory cell in which an error has occurred are not masked, and at the same time, a marginal cell according to the above-described embodiment is not masked. For example, a marginal cell may be defined as a cell including a memory cell having a specific resistance level range, some memory cells in which an error has occurred may correspond to a marginal cell, and other memory cells may not correspond to a marginal cell. In other words, a memory cell in which an error has occurred may be included in the first region in which the DCW_OFF mode is applied in the above-described embodiment.
[0111] Fig. 14C An example is shown in which the memory cell whose logic state is to be changed is not masked, and at the same time, the marginal cell is not masked. Fig. 14C In the embodiment, based on the data comparison result according to the DCW-ON mode, a write operation may be selectively performed on some memory cells in which errors have occurred without including them in the first region of memory cells.
[0112] Fig.15 An example of selecting a memory cell to which a DCW_OFF mode is applied based on a combination of determinations of the memory controller 510 and the memory device 520 is shown.
[0113] refer to Fig.15 , the memory system 500 may include a memory controller 510 and a memory device 520. The memory controller 510 may include an ECC circuit 511, an error cell information generator 512, and a mode controller 513. In addition, the memory device 520 may include a memory cell array 521, a write / read circuit 522, and a control logic 523, and the control logic 523 may include a marginal cell determination unit 523_1.
[0114] According to an embodiment, data may be written for marginal cells and memory cells where errors have occurred according to the DCW off DCW_OFF mode, and therefore, masking may not be performed for marginal cells and memory cells where errors have occurred. According to the above-described embodiment, the ECC circuit 511 may perform an error detection operation and a correction operation on the read data DATA_R, and may provide the error detection result Res_ECC to the error cell information generator 512. In addition, the error cell information generator 512 may generate and output error cell information Info_ECC based on the error detection result Res_ECC, and the error cell information Info_ECC indicates the location of the memory cell where the error has occurred among the plurality of memory cells.
[0115] According to the above-described embodiment, the marginal cell determination unit 523_1 can determine the marginal cell. The control logic 523 can determine the memory cell (e.g., the memory cell in the first region) to which data is to be written according to the DCW off DCW_OFF mode based on the marginal cell determination result and the error cell information Info_EC. In addition, the memory cell whose data value is to be changed can be determined by a data comparison operation in the memory controller 510 or the memory device 520, and the control logic 523 can write data to the memory cell in the second region according to the DCW on DCW_ON mode.
[0116] Fig.16 is a flowchart of an example of simultaneously writing different numbers of memory cells for each DCW mode according to an exemplary embodiment.
[0117] refer to Fig.16 , the DCW mode of the memory device can be set based on the control of the memory controller. In one example, the memory device can be set to the DCW off DCW_OFF mode (S51). When operating in the DCW off DCW_OFF mode, the memory device can perform data write operations on all memory cells of the cell area (e.g., page) to be written, regardless of the change of the data value. As an example of operation, the memory device can perform write operations on multiple (e.g., A) pages in a pipeline manner (S52). At this time, when multiple write operations overlap, write operations for A pages can be performed simultaneously.
[0118] On the other hand, the memory device may change the DCW mode based on the control of the memory controller, and as an example, the memory device may change the DCW mode to the DCW mixed DCW_MIX mode (S53). When the DCW mode is changed to the DCW mixed DCW_MIX mode, the memory device may not perform actual write operations on some memory cells in the page to be written, and the memory device may perform multiple (e.g., B times, where B is a natural number) write operations in a pipeline manner (S54). At this time, the write operations of B pages may be performed simultaneously.
[0119] The number B of pages that simultaneously record data in the DCW mixing DCW_MIX mode may be greater than the number A of pages that simultaneously record data in the DCW off DCW_OFF mode (where A is a natural number). In other words, due to the amount of power supported by the memory device, there may be a limit on the number of memory cells that simultaneously perform write operations. At this time, in the DCW mixing DCW_MIX mode, the number of memory cells that actually perform write operations in any one page may be smaller, and therefore, write operations may be performed on more pages simultaneously in the DCW mixing DCW_MIX mode.
[0120] Fig.17A and Fig. 17B are diagrams of operation examples of a memory according to example embodiments of the inventive concept, respectively.
[0121] exist Fig.17A and Fig. 17B , an example of a normal read voltage Vread during a data read operation is shown. According to an example embodiment, the normal read voltage Vread may be approximately 2.8V, and based on the normal read voltage Vread, a memory cell in a set state SET and a memory cell in a reset state RESET may be determined by turning on a cell / off a cell.
[0122] Reference Fig.17A When the memory cell to be written is a memory cell in which a set state SET write operation is performed, a first read voltage Vread(S) can be used to read previously stored data, and the level of the first read voltage Vread(S) is lower than the level of the normal read voltage Vread during the data read operation.
[0123] In this case, when the DCW mix DCW_MIX mode is applied and the memory cell to be written as the set state SET is located at Fig.17A When the memory cell is positioned to the left of the first read voltage Vread(S) as a reference in the distribution diagram shown in FIG. Fig.17AWhen the distribution diagram is shown to the right, the actual write operation can be performed.
[0124] In addition, similar to the above situation, refer to Fig. 17B When the memory cell to be written is a memory cell in which a reset state RESET write operation is performed, a second read voltage Vread(R) can be used to read previously stored data, and the level of the second read voltage Vread(R) is greater than the level of the actual normal read voltage Vread.
[0125] Based on the determination of the read data, when the memory cell to be written is located at the reset state RESET Fig. 17B When the memory cell is positioned to the right of the second read voltage Vread(R) as a reference in the distribution diagram shown in FIG. Fig. 17B When the distribution diagram is shown on the left, the actual write operation can be performed.
[0126] exist Fig.17A and Fig. 17B , an example is shown in which, for a DCW-based data write operation, a first read voltage Vread(S) has a value less than about 2.7 V, and a second read voltage Vread(R) has a value greater than about 2.9 V. However, regarding a DCW-based write operation, these values may be variously modified without being limited to these values.
[0127] Fig.18 and Fig.19 Implementation examples of memory systems 600 and 700 are shown, respectively, according to various embodiments. Fig.18 and Fig.19 An example is shown in which the memory systems 600 and 700 include memory modules 620 and 720 , respectively, and the memory modules 620 and 720 may correspond to the memory devices in the above-described embodiments, or may include a plurality of memory devices in the above-described embodiments.
[0128] refer to Fig.18 , the memory controller 610 may include an ECC circuit 611 and a mode controller 612. Fig.18 Although not shown in the figure, the memory controller 610 may further include various other components such as a processor, a host interface (I / F), and a memory I / F as components for controlling memory operations.
[0129] The memory module 620 may include a plurality of memory chips mounted on a module board. As an example, the memory module 620 may include a first memory chip 621_1 to an Nth memory chip 621_N. In addition, each of the first memory chip 621_1 to the Nth memory chip 621_N may correspond to the memory device in the above-mentioned embodiment, and each of the first memory chip 621_1 to the Nth memory chip 621_N may include a marginal unit determination component. In addition, the memory controller 610 may provide DCW information Info_DCW to the memory module 620, thereby setting a DCW mode for the first memory chip 621_1 to the Nth memory chip 621_N.
[0130] Each of the first memory chip 621_1 to the Nth memory chip 621_N can operate in a DCW-on DCW_ON mode, a DCW-off DCW_OFF mode, or a DCW-mix DCW_MIX mode based on the DCW information Info_DCW. When the first memory chip 621_1 operates in the DCW-mix DCW_MIX mode, the marginal cell can be determined according to the above embodiment based on the operation of the marginal cell determination component at the time of the write operation of the first memory chip 621_1. And since the DCW-off DCW_OFF mode is applied to the marginal cell, the actual write operation can be performed on all memory cells.
[0131] According to one embodiment, the DCW mode may be set in a plurality of units. As an example, when the DCW mode is set for each memory chip, any one memory chip may operate in a different DCW mode from another memory chip. Alternatively, a plurality of cell units (e.g., cell blocks) may be included in any one memory chip, and the DCW mode may be set in a different manner for each cell unit of the memory chip.
[0132] In addition, according to one embodiment, the memory controller 610 may receive read data read from a page to be written, and the ECC circuit 611 may perform an error detection operation and a correction operation on the read data. In addition, the memory controller 610 may provide the error detection result to the memory module 620, and according to the above embodiment, data may be written for a memory cell in which an error has occurred according to the DCW off DCW_OFF mode.
[0133] In the above-described embodiment, the memory module 620 may be implemented in the form of a single in-line memory module (SIMM) or a dual in-line memory module (DIMM). In addition, the memory module 620 may correspond to various types of DIMMs, and for example, various types of DIMMs such as fully buffered (FB) FBDIMMs and load reduction (LR) LRDIMMs may be applied to the memory module 620. Alternatively, the memory module 620 may correspond to a non-volatile DIMM (NVDIMM) equipped with a non-volatile memory (e.g., flash memory) to compensate for the problem of data loss in a volatile memory when the power is turned off.
[0134] In addition, as various types of modules, when the memory module 620 (as one of the various types of modules) includes a phase-change random access memory (RAM) (PRAM) as a resistance memory, the memory module 620 may be referred to as a phase-change DIMM (P_DIMM). When the memory module 620 includes a cross-point (XPoint) memory chip having a three-dimensional (3D) type resistance memory cell, the memory module 620 may be referred to as an XPoint DIMM (or 3DXPoint DIMM), and so on.
[0135] refer to Fig.19 , the memory system 700 may include a memory controller 710 and a memory module 720, and the memory controller 710 may include an ECC circuit 711 and a mode controller 712. In addition, the memory module 720 may include a first memory chip 721_1 to an N-th memory chip 721_N, and a buffer chip 722. The buffer chip 722 may include an ECC circuit 722_1. The buffer chip 722 may be mounted on the memory module 720 to perform various functions. For example, the buffer chip 722 may include a storage circuit (not shown) for temporarily storing commands and addresses by communicating with the memory controller 710. In addition, the buffer chip 722 may receive write data and read data, and perform error detection operations and correction operations on the read data provided from the first memory chip 721_1 to the N-th memory chip 721_N.
[0136] When the DCW mix DCW_MIX mode is set, the following operation may be performed in various devices in the memory system 700: determining memory cells to which the DCW turn-on DCW_ON mode and the DCW turn-off DCW_OFF mode are applied. As an example, the operation of determining memory cells having different values of read data and write data may be performed in each of the first memory chip 721_1 to the Nth memory chip 721_N, or may be performed in the buffer chip 722.
[0137] Furthermore, the operation of determining the marginal cell according to the above-described embodiments may be performed in each of the first to Nth memory chips 721_1 to 721_N, or may be performed in the buffer chip 722 . Fig.19 2 shows an example in which when the buffer chip 722 includes the marginal cell determining component 722_2, an operation of determining the marginal cell in the buffer chip 722 is performed.
[0138] On the other hand, the buffer chip 722 may further determine the memory cells to which the DCW off DCW_OFF mode is applied based on the error detection operation, and may generate masking information Info_Mask based on at least one of the comparison result of the data, the determination result of the marginal cells, and the error detection result of the marginal cells. Each of the first to Nth memory chips 721_1 to 721_N may selectively perform a write operation on the memory cells that are not masked by the masking information Info_Mask.
[0139] One or more embodiments provide a memory device and a memory system including the memory device, wherein the memory device is capable of reducing the possibility of data reliability degradation that may occur during data writing according to a data comparison write (DCW) mode.
[0140] In addition, for the memory device according to one or more embodiments and the memory system including the same, the power consumed when writing data can be reduced compared to the case where the DCW mode is not applied, while at the same time, the number of memory cells written simultaneously can be increased.
[0141] Each embodiment is described and illustrated in terms of functional blocks, units, modules and / or methods. It will be appreciated by those skilled in the art that these blocks, units, modules and / or methods are physically implemented by electronic (or optical) circuits, such as logic circuits, discrete components, microprocessors, hard-wired circuits, memory elements, wiring connections, etc., and they can be formed using semiconductor-based manufacturing techniques or other manufacturing techniques. In the case of blocks, units, modules and / or methods implemented by microprocessors or the like, they can be programmed using software (e.g., microcode) to perform the various functions discussed herein, and can be optionally driven by firmware and / or software. Alternatively, each block, unit, module and / or method can be implemented by dedicated hardware, or can be implemented as a combination of dedicated hardware that performs certain functions and processors that perform other functions (e.g., one or more programmed microprocessors and related circuits). Moreover, without departing from the scope of the present disclosure, each block, unit and / or module of the embodiment can be physically divided into two or more interacting and discrete blocks, units and / or modules. Furthermore, the blocks, units and / or modules of the embodiments may be physically combined into more complex blocks, units and / or modules without departing from the scope of the present disclosure.
[0142] Exemplary embodiments have been disclosed herein, and although specific terms are employed, they are used and interpreted in a general and descriptive sense only and not for purposes of limitation. In some cases, as will be apparent to one of ordinary skill in the art at the time of filing this application, unless otherwise specifically noted, features, characteristics, and / or elements described with reference to a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described with reference to other embodiments. Therefore, it will be understood by those skilled in the art that various changes in form and detail may be made without departing from the spirit and scope of the invention as set forth in the appended claims.
Claims
1. A memory device, include: a memory cell array, the memory cell array comprising a plurality of memory cells; as well as control logic configured to control a write operation to the memory cell array so that when operating in a data comparison write (DCW) hybrid mode, writing data into a memory cell of which the data value is changed among the plurality of memory cells, In a first region of the plurality of memory cells, data is written to memory cells whose data values are unchanged, and In the second region of the plurality of memory cells, data is not written to memory cells whose data values are not changed.
2. The memory device of claim 1, wherein the control logic is configured to set a write mode of the memory device to any one of the DCW mix mode, the DCW on mode, and the DCW off mode according to DCW information provided from a memory controller.
3. The memory device of claim 2 , wherein when the write mode of the memory device is set to the DCW on mode, the control logic is configured to control the write operation so that data is written to the memory cells whose data values are changed, and data writing is skipped for the memory cells whose data values are not changed.
4. The memory device of claim 2, wherein when the write mode of the memory device is set to the DCW off mode, the control logic is configured to control the write operation so that data is written to all memory cells regardless of changes in data values. 5 . The memory device of claim 2 , wherein the memory device is configured to receive the DCW information from the memory controller during an initialization operation, and to perform the write operation according to the write mode set under the initialization operation.
6. The memory device of claim 2 , wherein the memory device is configured to receive the DCW information each time a data write request is received from the memory controller, and to perform the write operation according to the write mode corresponding to the received DCW information in response to each data write request. 7 . The memory device according to claim 1 , wherein the control logic comprises a marginal cell determination unit for determining a marginal cell having relatively low data reliability among the memory cells, and the control logic is configured to include the marginal cell in the first region.
8. The memory device of claim 7 , wherein the marginal cell determination unit is configured to receive first read data read from the memory cell array using a first read level and second read data read from the memory cell array using a second read level, and to determine, as a marginal cell, a memory cell among the plurality of memory cells having a different bit value when read using the first read level and when read using the second read level.
9. The memory device according to claim 1, wherein the memory cell array includes a plurality of pages, each page corresponds to a data writing unit, and data is written to some memory cells in which data values are not changed in one page among the plurality of pages.
10. The memory device according to claim 1, wherein the memory device is configured to provide read data read from the memory cell array to a memory controller and receive information from the memory controller, the information indicating a memory cell in which an error has occurred among the plurality of memory cells as a marginal cell, and the control logic is configured to include the marginal cell having an error among the plurality of memory cells in the first region.
11. The memory device of claim 1 , wherein the control logic is configured to set a write mode of the memory device to the DCW hybrid mode or the DCW off mode based on control of a memory controller, and the number of cell regions that are simultaneously written when the DCW hybrid mode is set is greater than the number of cell regions that are simultaneously written when the DCW off mode is set.
12. A memory device, include: a memory cell array, the memory cell array comprising a plurality of pages, each page comprising a plurality of memory cells; as well as a control logic configured to control a data write operation for the memory cell array according to a mode selected from a data comparison write (DCW) on mode, a DCW off mode, and a DCW mixed mode, Wherein, when the DCW hybrid mode is selected, the control logic is configured to write data to a first region of memory cells among multiple memory cells of a first page requesting data writing according to the DCW off mode, and to write data to a second region of memory cells among the multiple memory cells of the first page according to the DCW on mode.
13. The memory device of claim 12, wherein the control logic is configured to write data to memory cells in the first region regardless of changes in data values, and selectively write data to memory cells in the second region whose data values have changed. 14 . The memory device of claim 12 , wherein the control logic is configured to include memory cells having relatively low data reliability among the plurality of memory cells of the first page in the first region. 15 . The memory device of claim 14 , wherein the control logic is configured to receive first read data read from the first page using a first read level and second read data read from the first page using a second read level, and include memory cells having different bit values in the first region.
16. The memory device of claim 14, wherein the memory device is configured to provide read data read from the first page to a memory controller and receive first information indicating a memory cell in which an error has occurred from the memory controller, and the control logic is configured to include the memory cell in which an error has occurred in the first region.
17. The memory device of claim 12, wherein when data write is requested for the first page, the DCW hybrid mode is applied when a closed cell count result of the first page is greater than a first threshold, and the DCW open mode is applied when the closed cell count result is less than the first threshold.
18. The memory device of claim 12, wherein the memory cell array comprises a first cell block, a second cell block, and a third cell block, and the first page is located in the first cell block, wherein based on control of a memory controller, data is written in the first cell block according to the DCW hybrid mode, data is written in the second cell block according to the DCW on mode, and data is written in the third cell block according to the DCW off mode.
19. A memory system, include: A memory device, the memory device comprising a memory cell array, the memory cell array comprising a plurality of memory cells; control logic configured to control data writing and data reading to the memory cell array; as well as a memory controller configured to control memory operations of the memory device and provide data comparison write (DCW) information for setting a write mode of the memory device to the memory device, Wherein when the DCW hybrid mode is set as the write mode, the memory device is configured to write data to a first region of memory cells among the plurality of memory cells of the memory cell array according to the DCW off mode regardless of a change in data value, and to selectively write data to a second region of memory cells among the plurality of memory cells of the memory cell array whose data values have changed according to the DCW on mode.
20. The memory system of claim 19, wherein for a first page of the memory cell array, the memory device is configured to write data for the first region of the first page according to the DCW off mode, and to write data for the second region of the first page according to the DCW on mode.
21. The memory system of claim 20, wherein the memory controller include: The marginal cell determination unit is configured to receive first read data read from the first page using a first read level and second read data read from the first page using a second read level, and allocate cells having different bit values to the first region.
22. The memory system of claim 20, wherein the memory controller include: An error correction code (ECC) circuit is configured to receive data read from the first page and detect locations of memory cells where errors have occurred, and allocate the memory cells where errors have occurred to the first region.
23. The memory system of claim 20, wherein the memory controller include: A mask information generator is configured to provide mask information indicating the location of memory cells in the first page where actual data writing is not performed based on a comparison result between the write data of the first page and the data read from the first page, and to allocate memory cells with relatively low data reliability to the first area through an analysis operation of the read data.
24. The memory system of claim 19, wherein the memory device comprises a resistive memory cell implemented in two or three dimensions. 25 . The memory system of claim 21 , wherein a normal read operation of the memory cell is performed using a read voltage having a specific level, the first read level is less than a level of the read voltage, and the second read level is greater than a level of the read voltage.
