Method for writing and reading target memory cell and integrated circuit thereof

By detecting and compensating for leakage current in the crossbar memory array, the read operation is optimized, which solves the problem of read window uncertainty in traditional arrays and improves the accuracy of the read operation and the flexibility of the memory array.

CN112242163BActive Publication Date: 2024-09-03MACRONIX INTERNATIONAL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910977974.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-07-19
Filing Date
2019-10-15
Publication Date
2024-09-03
Estimated Expiration
2040-05-30

AI Technical Summary

Technical Problem

Traditional crossbar memory arrays have leakage current problems during read operations, resulting in uncertainty in the read window and affecting the flexibility and accuracy of memory technology.

Method used

By detecting the leakage current on the word line and compensating for the leakage current by shifting the reference current to be within the resulting read window, the read operation is optimized to reduce the impact of the leakage current and improve the determination of the logic state of the selected cell. accuracy.

Benefits of technology

It effectively reduces the impact of leakage current on the read current, improves the accuracy of the read operation and the flexibility of the memory array, and enhances the ability to determine the logical state of the memory cell.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112242163B_ABST
    Figure CN112242163B_ABST
Patent Text Reader

Abstract

The present invention discloses a method of writing and reading a target memory cell and an integrated circuit thereof for accommodating changes in a read window or a write window caused by changes in the number of half-selected cells in each logic state and sharing an access line with the target cell. Generally speaking, leakage current is detected on the access line in one segment of a read operation or a write operation, and the read current or the write current detected or generated in a second segment of the operation is adjusted to compensate for the detected leakage current. If the word line address of the target cell has not changed and the tracked leakage current reference value has not become invalid for other reasons, the first segment can be omitted in subsequent read operations or write operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a crossbar memory array, and more particularly to an array for improving access reliability, a method for writing and reading a target memory cell, and an integrated circuit thereof. Background Art

[0002] Figure 1A A plan view of a 4×4 cell portion of a conventional crossbar memory array is shown. It includes two metal layers. In one metal layer, several parallel primary access lines (e.g., word lines) 114 are formed, and in the next metal layer, several secondary access lines (e.g., bit lines) 112 are formed to cross the primary access lines. At each intersection, the bit lines and word lines are fused with resistive elements to form a memory cell. Each cell occupies an area of ​​4F. 2 , where F is the feature size. Figure 1B for Figure 1A Schematic diagram of the cross memory array portion. It can be seen that each cell (e.g. Figure 1B The resistive element (shown) is a two-terminal element, one end of which is connected to the word line 114 of the memory cell and the other end of which is connected to the bit line 112 of the memory cell.

[0003] Although the crossbar array can achieve high area efficiency, it has the problem of leakage current Ioff sneak current path. Figure 2 To add a tagged Figure 1B 1. The bit lines 112 have been numbered BL0 to BL3, and the word lines 114 have been numbered WL0 to WL3. The cell 118 (eg, Figure 2 Specifically, the bias voltage applied to the bit line (Sel in the selected cell 118) of the read operation. Figure 2 The bias voltage for the read operation is set to voltage VBL, and the bias voltage applied to another line (BL2 in FIG. Figure 2 Each of BL0, BL1, and BL3 in the selected cell 118 is set to a voltage VUBL with a bias voltage for a read operation. Similarly, the word line ( Figure 2 The bias voltage for the read operation is set to the voltage VWL, and the bias voltage applied to the other word line ( Figure 2 Each of WL0, WL2 and WL3 in FIG. 1 is set to a voltage VUWL with a bias voltage for a read operation.

[0004] In a conventional configuration, VBL>VUWL=VUBL>VWL. Thus, the voltage on a fully selected cell (such as 118) is VBL-VWL, which provides current through the resistive element of the cell, whereas the voltage on a fully unselected cell (such as 120) is VUBL-VUWL, which is zero. The voltage on a fully selected cell is sometimes referred to herein as a read selection voltage difference, whereas the (nominal zero) voltage on a fully unselected cell is sometimes referred to herein as a read non-selection voltage difference. However, the array also includes half selected cells 122 (Half in the figure), which share a word line ( ) with selected cell 118. Figure 2 WL1 in ) but does not share bit lines ( Figure 2 The voltage on the half-selected cell 122 is VUBL-VWL, which is not zero. The voltage on the half-selected cell is sometimes referred to herein as the read half-selection voltage difference. Therefore, the read current IRD generated by selecting the selected cell 118 is not unique due to the logic state of the resistive element within the cell 118; current also flows from the current path through the half-selected cell 122 to the output word line WL1. Figure 2 In the example of , the read current resulting from biasing the array to read cell 118 is given by:

[0005] IRD 12 =Icell 12 +Ioff 10 +Ioff 11 +Ioff 13 ,

[0006] IRD mn is used to generate a word line m( Figure 2 WL1) and bit line n ( Figure 2 The read current of the selected cell at BL2 in the figure, and Ioff mn is on word line m( Figure 2 WL1) and bit line n ( Figure 2 The current contribution of the half-selected cells at BL0, BL1 and BL3 in FIG. mn The contribution of is leakage current.

[0007] The logic state of the selected cell may be determined by comparing IRD 12 to a reference current, which may be, for example, an intermediate value between the value of IRD 12 when the selected cell is in its low resistance state and the value of IRD 12 when the selected cell is in its high resistance state. Figure 5a A heuristic graph showing the ideal probability distribution of a high resistance state (left peak) and a low resistance state (right peak) in a programmable resistance memory device such as the programmable resistance memory device shown in FIG. 1 is shown in FIG. Figure 5a , the horizontal axis represents the observed read current, and the vertical axis represents the probability that the read current IRD will be at each specific read current value when the selected cell is in the Reset state (left peak) or the Set state (right peak). The uncertainty in these values ​​may be caused by many possible reasons, which depend on the memory cell technology. For example, for chalcogenide based memories, environmental conditions can cause shifts in resistance due to re-crystallization of a small portion of the active region. Other problems may occur in other types of programmable resistive memory materials.

[0008] It can be seen that if the selected cell is in the reset state, the observed read current IRD will be between the lower reset state limit RL and the upper reset state limit RU. If it is in the set state, the observed read current IRD will be between the lower set state limit SL and the upper set state limit SU. It can be further seen that as long as SL>RU, the so-called "read window" is defined by the upper reset state limit RU and the lower set state limit SL, and the reference current can be placed in the middle of the read window. If the observed read current IRD is lower than the reference current, the selected cell is interpreted as being in the reset state. If it is higher than the reference current, the selected cell is interpreted as being in the set state. (As used herein, if a cell is in its low resistance state, it is considered to be in its "set" state, and if it is in its high resistance state, it is considered to be in its "reset" state. Other embodiments may use the opposite rule.)

[0009] However, the leakage current Ioff is dependent on the data mode. For example, if the half-selected cells are in a low resistance state, they will provide more leakage current than when they are in a high resistance state. Therefore, the read current of the selected cell IRDmn will be given by:

[0010] IRD mn =Icell mn +∑ S Ioff(set)+∑ R Ioff(reset),

[0011] Where S is the number of semi-selected cells in the set state that share word line m, R is the number of semi-selected cells in the reset state that share word line m, and S+R is fixed for a given word line (conventionally for all word lines in the array). The potential impact of different numbers of semi-selected cells in the set and reset states can be thought of as a read window in Figure 5a The horizontal axis of the image is offset to the left or right. Figure 5b It can be seen that the Figure 5b Three cases are shown. In the case of a small leakage current Ioff (i.e., where most or all of the half-selected cells are in the reset state), the read window is positioned toward the left (top figure). In the case of a large leakage current Ioff (i.e., where most or all of the half-selected cells are in the set state), the read window is positioned toward the right (bottom figure). And in the case of a medium leakage current Ioff (i.e., where the number of half-selected cells in the reset state is approximately equal to the number in the set state), the read window is positioned halfway between the bottom figure and the top figure. It can be seen that if the range of possible values ​​of the leakage current Ioff is large, the read window can be shifted so far in either direction that the reference current can no longer be used to determine the observed read current IRD to indicate whether the selected cell is in the set state or in the reset state. The need to minimize the range of possible positions of the read window can severely limit the flexibility of memory technicians in developing crossbar array memories. Summary of the invention

[0012] The present invention provides a method for accommodating variations in a read window caused by variations in the number of half-selected cells in each logic state. Generally described, the method involves detecting leakage current on a word line and compensating for the leakage current by shifting a reference current to be within the resulting read window.

[0013] A read operation may include a first segment in which a data-dependent read current is detected and acquired in a leakage-tracked reference value and a second segment in which a target cell is read and compared with the leakage-tracked reference value. A sequence of consecutive read operations may be accelerated by omitting the first read segment during the second and subsequent read operations if the read word addressing has not changed and the leakage-tracked reference value has not become invalid for other reasons.

[0014] Write operations can utilize similar techniques.

[0015] The above summary of the invention is provided in order to provide a basic understanding of some embodiments of the present invention. This summary of the invention does not attempt to identify the key or decisive elements of the present invention or to describe the scope of the present invention. Its only purpose is to present some concepts of the present invention in a simplified form as a preface to the more detailed description that is subsequently presented. Specific embodiments of the present invention are described in the claims, specification, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The present invention will be described with respect to specific embodiments and with reference to the accompanying drawings, in which:

[0017] Figure 1A A plan view of a 4x4 cell portion of a conventional crossbar memory array is shown that may incorporate embodiments of the present invention.

[0018] Figure 1B for Figure 1A Schematic diagram of the crossbar memory array portion.

[0019] Figure 2 for Figure 1B Add labeled schematic.

[0020] Figure 3 , Figure 4 , Fig.16 as well as Fig.17 FIG. 1 is a flow chart illustrating the operation of a crossbar memory array according to an embodiment of the present invention.

[0021] Figure 5a , Figure 5b as well as Figure 5c (collectively referred to as FIG. 5 ) is a heuristic diagram of the probability distribution of high resistance states and low resistance states in a programmable resistance memory element.

[0022] Figure 6a and Figure 6b(collectively referred to as FIG. 6 ) is a block diagram of a configuration that takes leakage current into account during a read operation.

[0023] Figure 7a and Figure 7b (collectively referred to as Figure 7) and Figure 8a and Figure 8b (collectively referred to as FIG8 ) shows a circuit implementation of the block diagram of FIG6 .

[0024] Fig. 9 , Fig.14a as well as Fig.14b is a timing diagram of voltages and control signals during a read operation incorporating an embodiment of the present invention.

[0025] Fig.10 is a simplified block diagram of an integrated circuit including a crossbar memory array incorporating an embodiment of the present invention.

[0026] Fig.11 A dual array structure providing a reference current is shown.

[0027] Fig.12a and Figure 12b (collectively referred to as Figure 12) and Fig.13a and Fig.13b (collectively referred to as FIG. 13 ) illustrates a read operation incorporating an embodiment of the present invention. Fig.11 Operations on double array structures.

[0028] Fig.15a , Fig.15b as well as Fig.15c The sequence of read operations is shown.

[0029] FIG. 18 is a schematic diagram of a crossbar memory array portion with a write current generator.

[0030] Fig.19a and Fig.19b (collectively referred to as FIG. 19 ) is a block diagram of a configuration that takes leakage current into account during a write operation.

[0031] Fig.20a and Fig.20b (collectively referred to as FIG. 20 ) are respectively shown Fig.19a and Fig.19b Schematic diagram of a circuit implementation of the configuration.

[0032]

Explanation of symbols

[0033] 112, 1020, 1114, 1812, 1813, 2020, 2022, BL, BL0, BL1, BL2, BL3, BLR: bit lines

[0034] 114, 1016, 1215, 1815, WL, WL0, WL1, WL2, WL3: word lines

[0035] 115, 1215: word line not selected

[0036] 118: Selected Unit

[0037] 120: No cells selected at all

[0038] 122: Semi-selected unit

[0039] 310, 312, 314, 316, 410, 412, 413, 414, 416, 1610, 1612, 1614, 1616, 1618, 1620, 1710, 1712, 1714, 1715, 1716: Step 610, 1012, 1810: Memory array

[0040] 612, 1212: Select the positioning line

[0041] 613, 1213: No positioning line selected

[0042] 614, 1214, 1814: Select word line

[0043] 620: Reference current source

[0044] 622, 626: Reference switch

[0045] 624: Current summing node

[0046] 628, 636: Input

[0047] 630: Sense Amplifier

[0048] 632, 638: Current to voltage conversion stage

[0049] 634: Sensing switch

[0050] 640: Preset level

[0051] 642, 644, 744, 846, 1244, 1346: Arrow

[0052] 646: Enable signal (En)

[0053] 720, 722, 726, 734, 740, 742, 772, 2014, 2016: Transistor

[0054] 732, 738, 2012: Capacitors

[0055] 818, 1218: Target memory cell

[0056] 910, 912, 914, 916, 918, 920, 922, 924, 1418, 1419, 1420, 1421, 1424: Line

[0057] 1010: Integrated Circuits

[0058] 1014: word line decoder

[0059] 1018: Bit line decoder

[0060] 1022: Bus

[0061] 1024: Sensing circuit

[0062] 1026: Data bus

[0063] 1028: Data input line

[0064] 1030: Circuit

[0065] 1032: Data output line

[0066] 1034: Controller

[0067] 1036: Bias circuit voltage and current source

[0068] 1038: Reference validity determination module

[0069] 1110: Main memory array

[0070] 1112: Reference memory array

[0071] 1114: Reference array bit line

[0072] 1216: Reference memory cell

[0073] 1510, 1512, 1514: Read operations

[0074] 1818: Select target unit

[0075] 1820: Write current source

[0076] 1920: Writing current generator

[0077] 1926: Leakage current switch / pass transistor

[0078] 1932: Leakage current collector / pass transistor

[0079] 1934: Writing the Current Switch

[0080] 2010: Discharge transistor

[0081] 2018: Node

[0082] Cr: reference capacitance

[0083] Cs: sensing capacitance

[0084] ENB_REF, PRE, SWR, SWS: control signals

[0085] F: Feature size

[0086] I CELL : Unit current

[0087] Iwrite: write current

[0088] IRD, ∑Ioff: read current

[0089] Ioff: leakage current

[0090] Iref: reference current

[0091] I REF_LT : Leakage current tracking reference current

[0092] RL: Lower reset state limit

[0093] RU: Upper reset state limit

[0094] SL: Lower setting status limit

[0095] SU: Upper set status limit

[0096] VBL, VBLR, Vcc, Vcell, VUBL, VUWL, VWL, VWR: voltage

[0097] Vmin: Predetermined minimum voltage

[0098] VRD: Read voltage

[0099] Vref: reference voltage

[0100] V REF_LT : Leakage current tracking reads reference bias voltage

[0101] WRBIAS: write bias voltage DETAILED DESCRIPTION

[0102] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0103] The following description is presented to enable those skilled in the art to make and use the invention, and is provided in the context of a particular application and its requirements. Various modifications to the disclosed embodiments will be apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the invention. Therefore, the present invention is not intended to be limited to the embodiments shown, but should be consistent with the widest scope consistent with the principles and features disclosed herein.

[0104] Embodiments of the present invention are applied in at least four cases: a read operation in which a sense amplifier senses a current on a selected word line; a read operation in which a sense amplifier senses a current on a selected bit line; a write operation in which a write current source is applied to a selected bit line; and a write operation in which a write current source is applied to a selected word line. This detailed description starts with the first case, and other cases are discussed later.

[0105] Before describing the embodiments in detail, it will be useful to describe some embodiments of overall memory elements that may be used in embodiments of the present invention. Fig.10 A simplified block diagram of an integrated circuit 1010 including a memory array 1012 implemented using programmable resistive memory cells, such as memory cells having phase change memory elements. Conventionally, memory cells are addressed by a multi-bit address, where one segment of the bits is used to identify the word line of the cell and another segment of the bits is used to identify the bit line of the cell. A word line decoder 1014 receives the word line bits of the target memory cell address and is coupled to and in electrical communication with a plurality of word lines 1016 arranged along columns in the memory array 1012. A bit line (row) decoder 1018 receives the bit line bits of the target memory cell address and is in electrical communication with a plurality of bit lines 1020 arranged along rows in the memory array 1012. In Fig.10In the embodiment of the present invention, the bit lines couple selected memory cells in the memory array 1012 to sense amplifiers in the sense circuit 1024. Addresses are provided on bus 1022 to word line decoders 1014 and bit line decoders 1018. The sense circuit 1024, including sense amplifiers and data-in structures, is coupled to the bit line decoder 1018 via data bus 1026. Data is supplied to the data-in structures in the sense circuit 1024 via data input lines 1028 from input / output ports on the integrated circuit 1010 or from other data sources internal or external to the integrated circuit 1010. Other circuits 1030 may be included in the integrated circuit 1010, such as a general-purpose processor, special purpose application circuitry, or a modular combination of system-on-a-chip functionality supported by the memory array 1012. Data is supplied from sense amplifiers in the sense circuit 1024 via data-out lines 1032 to input / output ports on the integrated circuit 1010 , or to other data destinations internal or external to the integrated circuit 1010 . Fig.10 The embodiment also includes a reference validity determination module 1038, see below Fig.15a etc. to describe its purpose.

[0106] The controller 1034 is implemented in this example using a state machine to perform the processes described below and to control the bias circuit voltage and current source 1036 for applying the bias configuration of the controller, including write and read modes and a reference detection mode. The controller 1034 may be implemented using dedicated logic circuitry as known in the art. In an alternative embodiment, the controller 1034 includes a general purpose processor that may be implemented on the same integrated circuit to execute a computer program to control the operation of the device. In another embodiment, a combination of dedicated logic circuitry and a general purpose processor may be used to implement the controller 1034.

[0107] The bias circuit voltage and current sources in block 1036 may be implemented using a power supply input with a voltage divider and charge pump, a current source circuit, a pulse shaping circuit, a timing circuit, and voltage and current switches as generally known in the art but applied in a manner suitable for the techniques described herein.

[0108] In operation, each of the memory cells in the memory array 1012 stores a logic value represented by the resistance of the corresponding memory element. The logic value may be determined, for example, by comparing the voltage or current on the bit line or word line of the memory cell being read with an appropriate reference current or voltage using a sense amplifier in the sense circuit 1024. Using the techniques described herein, the reference voltage or current may be established between a predetermined range corresponding to data values ​​such as a logic "0", and another different predetermined range corresponding to data values ​​such as a logic "1".

[0109] Thus, reading or writing memory cells of the memory array 1012 may be accomplished by applying a bias configuration including appropriate voltages to a selected one of the plurality of word lines and coupling a selected one of the plurality of bit lines to a voltage source so that current flows through the target memory cell.

[0110] The write mode includes a set process and a reset process for the phase change memory. In the bias configuration for the reset operation of the target phase change memory cell, the word line decoder 1014 helps provide the word line with an appropriate voltage pulse to turn on the access transistor of the memory cell. The bit line decoder 1018 helps supply a voltage pulse to the bit line of appropriate amplitude and duration to induce a current to flow through the target memory element, the current raising the temperature of the active region of the memory element to above the transition temperature of the phase change material and also above the melting temperature that replaces the phase change material of the active region to a liquid state. The current is then terminated, for example, by terminating the voltage pulse on the bit line and on the word line, resulting in a relatively fast quenching time when the active region cools to a high resistance generally amorphous phase to establish a high resistance reset state in the memory cell. The reset operation can also include more than one pulse, such as using a pair of pulses.

[0111] In a bias configuration for a set operation of a target phase change memory cell, word line decoder 1014 facilitates providing an appropriate voltage pulse to a selected word line to turn on the access transistor of the target memory cell. Bit line decoder 1018 facilitates supplying a voltage pulse to a selected bit line of appropriate amplitude and duration to induce a current to flow through the target memory element, the current pulse being sufficient to raise the temperature of the active region above the transition temperature and cause a transition from a high resistance generally amorphous phase to a low resistance generally crystalline phase in the active region, which lowers the resistance of the memory element and sets the selected memory cell to a low resistance state.

[0112] In a read mode of a target memory cell, word line decoder 1014 facilitates providing an appropriate voltage pulse to a selected word line to turn on the access transistor of the memory cell. Bit line decoder 1018 facilitates supplying a voltage to a selected bit line of appropriate amplitude and duration to induce a current to flow through a target memory element that does not cause a change in the resistance state of the memory element. The current of the selected bit line passes through the target memory cell and depends on the resistance of the target memory cell, so a logical state is associated with the target memory cell. Thus, the logical state of the target memory cell can be determined by detecting whether the resistance of the target memory cell corresponds to a high resistance state or a low resistance state, such as by comparing the voltage or current of the corresponding bit line with an appropriate reference voltage or current (as described herein) using a sense amplifier of sense circuit 1024.

[0113] In the reference detection mode, the controller 1034 performs a process described in more detail below.

[0114] As mentioned above, the method used by the embodiments herein to adapt to the variation in the read window involves detecting the leakage current of the word line and compensating for the leakage current by shifting the reference current to be within the resulting read window. Figure 5c It is shown heuristically in . Figure 5c Shown with Figure 5b The location of the read window in the three cases is the same as in , except that in each case the reference current is shifted to be within the actual read window for the particular case.

[0115] The sensing of the state of the selected cell in the embodiments described herein is performed by a voltage mode sense amplifier that compares the voltage Vcell on the word line of the target cell with a reference voltage Vref. If the voltage Vcell is higher than the reference voltage Vref, the cell is considered to have one logic state, and if the voltage Vcell is lower than the reference voltage Vref, the cell is considered to have an opposite logic state. In an array where the read current IRD is compared to the reference current Iref instead of comparing voltages, the current can be converted to a voltage so that the logic state of the selected cell can be sensed as just described. Therefore, the read window can be represented by a voltage window or a current window. Figure 5c Use the current window configuration.

[0116] Without taking leakage current into account, the read window is given by |IRD-Iref|, which means that the read current is compared with a fixed value reference current Iref: if the read current IRD is higher than the reference current Iref, the cell is considered to have one logic state, and if IRD is lower than the reference current Iref, the cell is considered to have an opposite logic state. However, if leakage current is present, the read current IRD can be offset so far that it is difficult for the sense amplifier to distinguish the logic state of the cell. Embodiments of the present invention can alleviate this problem by compensating for the actual leakage current. Specifically, the read current ∑Ioff for a particular word line is first detected, and then the new leakage current tracks the reference current I REF_LT Judged as:

[0117] I REF_LT =Iref+∑Ioff.

[0118] The read current of the selected cell is:

[0119] IRD=Icell+∑Ioff.

[0120] Therefore, by |IRD-I REF_LT |The given read window becomes

[0121] |IRD-I REF_LT |=|Icell+∑Ioff-Iref-∑Ioff|=|Icell-Iref|.

[0122] It can be seen that whatever effect the leakage current Ioff may have, the effect of the leakage current Ioff has been canceled out.

[0123] Figure 6a6 is a block diagram of a configuration that takes into account actual leakage current on a word line when reading data from a target memory cell. The current output of a word line (sometimes referred to herein as a selected word line for convenience) 614 of a target memory cell of a memory array 610 is provided to a current summing node 624. The output 614 is a word line in the embodiment of the present invention, but it may be a bit line in different embodiments. A reference current source 620 has a current output connected to the current summing node 624 via a reference switch 622. The current summing node 624 is connected to a first input 628 (also referred to as a reference input or reference node) of a voltage mode sense amplifier 630 via another reference switch 626. The input 628 is also connected to a current to voltage conversion stage 632, which may be, for example, a capacitor connected in series to a fixed reference voltage as described below. The current summing node 624 is also connected to a second input 636 (also referred to as a sensing terminal or sensing node) of a sense amplifier 630 via a sensing switch 634. The second input 636 is also connected to another current-to-voltage conversion stage 638. The current summing node 624 is also connected to a preset stage 640. The controller 1034 enables the sensing operation of the sense amplifier 630 by asserting the enable signal 646 (En) at the appropriate time in the read operation.

[0124] Figure 6a The configuration of 630 operates according to a two-step read operation, which is also referred to herein as a read operation with two read sections. The first section is about obtaining leakage current information and creating a leakage current tracking read reference bias voltage V at the first terminal 628 of the sense amplifier 630. REF_LT The second section is about converting the actual read current IRD into a read voltage VRD at the second terminal 636 of the sense amplifier 630 .

[0125] Thus, in the first segment, reference switch 622 and reference switch 626 are closed (i.e., in their conducting, "on" or "enabled" state), and sense switch 634 is open (not conducting, "non-conducting" or "disabled"). The bias voltage VUBL for unselected cells is applied to all bit lines of memory array 610, including bit line 612 for the target cell and bit line 613 for the unselected cells. Thus, all cells sharing the selected word line are "half-selected," and the current output on selected word line 614 is the read current ΣIoff. (The current output on word line 614 is actually slightly different from the read current ΣIoff because the half-selected target cell also contributes. However, for conventional larger arrays, the difference can be ignored. Alternatively, the bit line 612 for the target cell can be biased at voltage VWL, in which case the target cell does not contribute to the read current ΣIoff.) This current level is added to the reference current Iref from current source 620, and converted by current-to-voltage conversion stage 632 to a drain current tracking reference bias V REF_LT =Vref+Voff. Figure 6a 642. Next, in the second segment of the read operation, reference switch 622 and reference switch 626 are turned on and sense switch 634 is turned off. The bias voltage VUBL for unselected cells is applied to all bit lines 613 of memory array 610 other than the selected bit line 612, to which the bias voltage VBL is applied. Thus, the target cell is now fully selected, and all other cells sharing the selected word line are "half selected." The current output on the selected word line 614 is now Icell+∑Ioff. (Again, this may be slightly different from Icell+∑Ioff, but on larger arrays, the difference may be negligible.) This current level is converted to a read voltage VRD=Vcell+Voff by a current-to-voltage conversion stage 638. Figure 6b for Figure 6a A copy of the accompanying drawing of , differing in the position of the switch of this second reading section. Figure 6b The current associated with this second read segment is indicated by arrow 644 in FIG. Sense amplifier 630 is then enabled and the read voltage VRD is compared to the drain current tracking reference bias voltage V REF_LT This cancels out the data dependent effects of the half-selected cells by comparison.

[0126] Either or both steps of the read process may be facilitated by determining a precharge voltage at current summing node 624. Figure 7a , Figure 7b , Figure 8a as well as Figure 8b In these figures, the Figure 1BThe memory array 610 is again drawn in the 4×4 array shown in order to identify unselected cells, half-selected cells, fully selected cells, and various currents. In addition, example circuit-level elements have been replaced Figure 6a and Figure 6b . Reference current source 620 has been implemented by a P-channel transistor having a bias voltage applied to its gate terminal; switch 622, switch 626, and switch 634 have been implemented by transistor 722, transistor 772, and transistor 734; current-to-voltage conversion stage 632 and current-to-voltage conversion stage 638 have been implemented as capacitor 732 and capacitor 738 coupled to word line read voltage VRD, respectively; and pre-set stage 640 has been implemented as a transistor coupled to read voltage VRD. Capacitor 732 and / or capacitor 738 may be any type of capacitor, including, for example, MOS capacitors, MIM capacitors, metal line capacitors, parasitic capacitors, etc., and combinations of such devices. In general, either or both of current-to-voltage conversion stage 632 and current-to-voltage conversion stage 638 may be implemented using "capacitors".

[0127] In operation, in the first read segment pre-set phase, a pre-set path is initiated that establishes a read voltage VRD as an initial voltage at the reference node 628 of the sense amplifier 630. This is accomplished by simultaneously performing all of the following operations: applying voltage VUBL to all bit lines 612, 613; applying voltage VUWL to all unselected word lines 115; turning on transistor 726 and transistor 740; and not turning on transistor 722 and transistor 734, so that the voltage on capacitor 732 is the read voltage VRD, as is the voltage on the selected word line 614, with current indicated by arrow 742. As used herein, "simultaneous" application of bias and signal means that there is a time period during which both the bias and signal are valid, although they do not necessarily share a start time, end time, or duration.

[0128] In the leakage current acquisition phase of the first read section, the preset path is closed and the reference path is turned on. Figure 7b , this is with transistor 740 turned off and transistor 722 turned on. Transistor 734 remains off and transistor 726 remains on. Voltage VUBL remains applied to all bit lines 612, bit lines 613, and voltage VUWL remains applied to all unselected word lines 115. As indicated by arrow 744, the resulting current of Iref+ΣIoff charges capacitor 732 to voltage Vref+Voff, which is the drain current tracking reference bias voltage V REF_LT .

[0129] In the second read section pre-set phase, a pre-set path is started, which establishes a read voltage VRD as an initial voltage at the sensing node 636 of the sense amplifier 630. Figure 8a , this is with transistors 722 and 726 turned off and transistors 734 and 740 turned on. Voltage VUBL remains applied to all bit lines 612, bit line 613, and voltage VUWL remains applied to all unselected word lines 115. As indicated by arrow 846, the resulting current causes the voltage on capacitor 738 to be the read voltage VRD, as does the voltage on selected word line 614.

[0130] In the data acquisition phase of the second read segment, the pre-set path is again closed and the selected bit line 612 is biased to the bit line read bias voltage VBL. The voltage VUBL remains applied to all unselected bit lines 613. Transistor 722, transistor 726, and transistor 740 are all turned off and transistor 734 is turned on, allowing the actual read current IRD to charge capacitor 738. Since voltage VBL is now applied to the selected bit line 612, the read current IRD is primarily determined by the logic state in the target memory cell 818, except for the contribution from the current flowing through each of the half-selected memory cells of the shared word line 614. Therefore, IRD = Icell + ∑Ioff, and the resulting voltage established on the sense node 636 of the sense amplifier 630 is Vcell + Voff.

[0131] Figure 7a , Figure 7b , Figure 8a as well as Figure 8b , the control signal PRE, the control signal SWR, the control signal SWS, and the control signal ENB_REF are indicated. Fig. 9 A timing diagram is provided to illustrate the extent to which the voltages of these signals and others change during the read operation just described. Fig. 9As shown in , the entire read operation includes a first read segment followed by a second read segment. The first read segment includes a pre-set phase followed by a leakage current acquisition phase, and the second read segment includes a pre-set phase followed by a data acquisition phase. As shown by line 910, the entire read operation is initiated by the READ signal rising from low to high. As indicated by line 912, the control signal PRE signal turns on transistor 740 during the two pre-set phases, and does not turn on the transistor 740 during the leakage current acquisition phase and the data acquisition phase. As indicated by line 914, the control signal SWR signal activates the reference current path by turning on transistor 726 during the first read segment but not during the second read segment. Conversely, as indicated by line 916, the control signal SWS signal activates the sensing current path by turning on transistor 734 during the second read segment but not during the first read segment. The control signal ENB_REF signal (line 918) enables the reference current Iref to reach the current summing node 624 only during the leakage current acquisition phase of the first read segment by keeping the gate voltage of the P-channel transistor 722 low only during the leakage current acquisition phase of the first read segment. For the first three phases, the voltage on the selected bit line 612 remains at the voltage VUBL and is only raised to the voltage VBL (line 920) during the data acquisition phase, and the resulting voltage curve on the selected word line 614 is shown in line 922.

[0132] Line 922 shows four cases: a larger leakage current Ioff when the target cell is in the set state; a larger leakage current Ioff when the target cell is in the reset state; a smaller leakage current Ioff when the target cell is in the set state; and a smaller leakage current Ioff when the target cell is in the reset state. In all four cases, the voltage on the selected word line 614 is reduced to the read voltage VRD during the pre-set phase of the first read segment. In the leakage current acquisition phase, this voltage increases to a larger value Vref+Voff2 in the case of a larger leakage current Ioff, or increases to a smaller value Vref+Voff1 in the case of a smaller leakage current Ioff. This is the leakage current tracking reference bias voltage V REF _ LT , and it is acquired by capacitor 732 when control signal SWR does not turn on transistor 726. Then, in the second segment, the pre-set phase again causes the voltage on the selected word line 614 to drop to the read voltage VRD. Then, in the data acquisition phase, the voltage is increased to a value that depends on the state of the target memory cell and the value of the drain current Ioff. Fig. 9As shown from top to bottom in FIG. 1 , the voltage is the highest in the case of a larger leakage current Ioff when the target cell is in the set state. The next highest is the case of a larger leakage current Ioff when the target cell is in the reset state. Next is the case of a smaller leakage current Ioff when the target cell is in the set state, and the lowest is the case of a smaller leakage current Ioff when the target cell is in the reset state.

[0133] At the end of the data acquisition phase, sense amplifier 630 compares the acquired sense voltage (at sense node 636) to the drain current tracking reference voltage (at reference node 628) acquired at the end of the drain current acquisition phase. Fig. 9 924 in shows two signals superimposed on each other, with the acquired sense voltage being the solid line and the drain current tracking reference voltage being the dashed line. In the first read segment, the dashed line is a copy of line 922. In the second read segment, the dashed line remains at a fixed (acquired) drain current tracking reference voltage, while the solid line is a copy of line 922. It can be seen that at the end of the second read segment, the drain current tracking reference voltage is roughly midway between the read voltages sensed for the set state and the reset state of the target memory cell, and this is true for both the larger drain current Ioff case and the smaller drain current Ioff case. In fact, this will be true for any possible drain current Ioff value. Thus, the ability to distinguish the logical state of the target memory cell is maintained regardless of the number of other cells sharing the selected word line that are in one state or the other.

[0134] It should be noted that in the embodiments described above, the current detected is the current present on the word lines of the array. In other embodiments, the current may be detected on the bit lines of the array. Due to interchangeability, bit lines and word lines are sometimes also generally referred to herein as "primary access lines" and "secondary access lines." In one embodiment, the primary access lines are bit lines and the secondary access lines are word lines, while in another embodiment, the primary access lines are word lines and the secondary access lines are bit lines. The terms "primary" and "secondary" should be considered herein merely as labels and do not imply that one access line takes precedence over another access line in any embodiment.

[0135] Alternative Embodiment: Use of Reference Memory Array

[0136] exist Figure 7a , Figure 7b , Figure 8a as well as Figure 8b, a reference current Iref is provided to a voltage Vcc by biasing a P-channel transistor 720. Other types of current sources are well known and may be substituted for the single transistor 720. In other embodiments, the reference current may be provided by other methods. In one such alternative embodiment, the reference current is provided via a reference memory array rather than by a separate reference current source 620. The reference memory array may share all of the same word lines as the main memory array.

[0137] Fig.11 An alternative embodiment of a dual array structure is shown. Figure 2 The memory array of the present invention is substantially identical to the main memory array 1110, and the reference memory array 1112. The reference memory array 1112 includes only a single row of memory cells that share a single reference bit line BLR 1114. Each of the memory cells in the reference memory array 1112 shares a respective word line with the memory cells of the corresponding column in the main memory array. Preferably, the reference cell is in a resistance state that is substantially intermediate between the set state and the reset state.

[0138] Fig.12a , Figure 12b , Fig.13a as well as Fig.13b The operation of this alternative embodiment is shown in FIG. 1 . In operation, the first read segment pre-setup phase is shown in FIG. Fig.12a In this phase, a pre-set path is initiated which establishes a read voltage VRD as the initial voltage at the reference node 628 of the sense amplifier 630. This is achieved by applying a voltage VUBL to all bit lines 1212, 1213; applying a voltage VUWL to all unselected word lines 1215; turning on transistors 726 and 740, and not turning on transistor 734. The voltage VUBL is also applied to the reference bit line 1114. Thus, with the current indicated by arrow 742, the voltage on the capacitor 732 is made the read voltage VRD, just like the voltage on the selected word line 614.

[0139] In the leakage current acquisition phase of the first read section ( Figure 12b), closing the preset path and turning on the reference path. This is about turning off transistor 740 and putting transistor 734 in a non-conducting state. Transistor 726 remains on. Voltage VUBL remains applied to all bit lines 1212, bit lines 1213 in the main array, and voltage VUWL remains applied to all unselected word lines 115. But now the voltage on the reference bit line 1114 rises to voltage VBLR. Voltage VBLR can be the same as voltage VBL. Therefore, current (Iref) flows from the reference bit line 1114 through the reference memory cell 1216 that shares the selected word line and is added to the current flowing out of the selected word line into the current summing node 624. As indicated by arrow 1244, the resulting current of Iref+∑Ioff charges capacitor 732 to voltage Vref+Voff, which is the drain current tracking reference bias voltage V REF_LT .

[0140] In the second read segment pre-setting phase ( Fig.13a ), starts a pre-set path that establishes a read voltage VRD as an initial voltage at the sense node 636 of the sense amplifier 630. This is with transistor 726 turned off and transistors 734 and 740 turned on. Voltage VUBL remains applied to all bit lines 1212, bit lines 1213 of the main memory array 1110, and also to the reference array bit line 1114. Voltage VUWL remains applied to all unselected word lines 115. As indicated by arrow 1346, the resulting current causes the voltage on capacitor 738 to be the read voltage VRD, as well as the voltage on the selected word line 1214.

[0141] In the data acquisition phase of the second read segment ( Fig.13b ), the pre-set path is again closed, and the selected bit line 1212 is biased to the bit line read bias voltage VBL. Voltage VUBL remains applied to all unselected bit lines 1213 of the main memory array 1110, and is also applied to the reference bit line 1114 of the reference memory array 1112. Both transistors 726 and transistor 740 are turned off, and transistor 734 is turned on, so that the actual read current IRD charges capacitor 738. Since voltage VBL is now applied to the selected bit line 1212, the read current IRD is primarily determined by the logic state in the target memory cell 1218, except for the contribution from the current flowing through each of the half-selected memory cells (including the half-selected reference cell 1216) of the shared word line 1214. Therefore, IRD=Icell+∑Ioff, and the resulting voltage established on the sense node 636 of the sense amplifier 630 is Vcell+Voff.

[0142] about Figure 7a , Figure 7b , Figure 8aas well as Figure 8b An embodiment of Fig.11 The embodiment provides the advantage that the operation of the reference cell will be similar to the operation of a normal array. On the other hand, Fig.11 The embodiment is related to larger layout area and it is difficult to fine-tune a larger number of reference cells.

[0143] Fig.14a is a timing diagram showing how the voltage of a signal changes during the read operation just described. The lines shown are Fig. 9 , except that line 918 has been replaced by line 1418, which represents the enable signal for transistor 722, which represents the voltage applied to the reference bit line 1114 of the reference memory array 1112. It can be seen that this voltage starts low (at voltage VUBL) and only rises to voltage VBLR during the leakage current acquisition phase of the first read segment. It then returns back down to voltage VUBL for the remainder of the read operation. It can be further seen from line 1424, which shows the acquired sense voltage (at sense node 636) superimposed on the leakage current tracking reference voltage (at reference node 628) acquired at the end of the leakage current acquisition phase, as if Figure 6a , Figure 6b , Figure 7a as well as Figure 7b As with the embodiments of , the ability to distinguish the logic state of the target memory cell 1218 is maintained regardless of the number of other cells sharing the selected word line that are in one state or the other.

[0144] Fig.14b Another timing diagram is shown. Fig.14a The lines shown are similar to Fig.14a , except that line 1418 is replaced by line 1419, which represents the voltage applied to reference bit line 1114 of reference memory array 1112. Fig.14b , line 1420 is replaced by line 1421, which represents the voltage applied to the selected bit line 1212. Fig.14b In the operation of the embodiment of Fig.14b The operation of the embodiment is different from Fig.14a The operation of the embodiment is compared to Fig.14a In , the voltage on the reference bit line 1114 increases to the voltage VBLR earlier. The voltage rises during the pre-setup phase of the first read segment and remains at the voltage VBLR until the end of the first read segment, rather than rising only during the leakage current acquisition phase of the first read segment. Similarly, in Fig.14b In comparison with Fig.14aIn the embodiment, the voltage on the selected bit line 1212 increases to the voltage VBL earlier. The voltage is raised during the pre-setup phase of the second read section and remains at the voltage VBL until the end of the read operation, rather than being raised only during the data acquisition phase of the second read section. Fig.14b Embodiments can reduce the time required to obtain leakage current and data to achieve the desired effect. Fig.14a On the other hand, since the high voltage bias is applied for a longer period of time in each read operation, Fig.14b The embodiment creates more stress on the cell. This increases the risk of read disturbance. Figure 6a , Figure 6b , Figure 7a as well as Figure 7b As with the embodiments of , the ability to distinguish the logic state of the target memory cell 1218 is maintained regardless of the number of other cells sharing the selected word line that are in one state or the other.

[0145] Fig.16 for Fig. 9 , Fig.14a as well as Fig.14b Flow chart of Fig. 9 , Fig.14a as well as Fig.14b The timing diagram of is an example expression in signal form. In step 1610, the read operation begins. In step 1612, the first read segment pre-setup phase occurs, in which the selected word line is biased to the read voltage VRD. In step 1614, the leakage current acquisition phase of the first read segment occurs. The current-to-voltage conversion stage is used to construct a leakage current tracking reference bias voltage V by using the reference current Iref and the leakage current ∑Ioff. REF_LT , to charge both the word line and the reference capacitor Cr. In one embodiment, the reference current Iref is generated by a current mirror circuit, however in another embodiment it is generated by a reference array that shares the same word line (WL) as the main array. In step 1616, the second read segment pre-setup phase occurs, where the word line is biased to a read voltage VRD. In the data acquisition phase of the second read segment, the selected bit line is raised to the bit line bias voltage VBL. The cell current I CELL The word line and the sense capacitor Cs are charged to the sense voltage Vcell+Voff by the drain current ΣIoff (step 1618). In step 1620, the read operation is completed, wherein the sense amplifier compares the reference voltage on the reference capacitor Cr with the sense voltage on the sense capacitor Cs to determine the logic state of the target cell.

[0146] Then use the leakage current to track the reference bias

[0147] Fig. 9 , Fig.14a as well as Fig.14b Each shows an embodiment of an entire read operation, including both the first segment and the second segment. In one embodiment, each read operation goes through both the first segment and the second segment. However, for two consecutive read operations, if the selected word line for the second read segment is the same as the selected word line for the first read segment, then conventionally there is no need to repeat the first segment because the leakage current will not change. Therefore, the process of reading more than one memory cell that shares a single word line can be accelerated by omitting the first read segment from each of the second and subsequent read operations. This is shown in FIG. Fig.15a , Fig.15b as well as Fig.15c middle. Fig.15a An embodiment with multiple consecutive read operations is shown. The "1" in the square indicates the first read segment, and the "2" in the circle indicates the second read segment. Therefore, each "1-2" pair represents a complete read operation. Fig.15a In the embodiment of FIG. 1 , after the first read segment 1510, the selected word line address does not change except for read operation 1512 and read operation 1514. In this case, except for read operation 1510, read operation 1512, and read operation 1514, it is not necessary to perform the first read segment for any of the read operations. Fig.15b The omitted first read segment is shown as an "X" superimposed on a "1" in the square. The results are shown in Fig.15c : A full read operation 1510 is followed by a plurality of second-segment-only read operations, followed by another full read operation 1512, followed by a number of more second-segment-only read operations, followed by another full read operation 1514. Fig.15c As can be seen in FIG. 1 , of the 26 read segments shown, only 16 contain the first read segment.

[0148] If the value representing the leakage current is stored in a capacitor, such as in Figure 7a , Figure 7b , Figure 8a , Figure 8b , Fig.12a , Figure 12b , Fig.13a as well as Fig.13bIn an embodiment, there is a limit on the length of time that the stored value remains valid due to the leakage current on the capacitor. Therefore, in one embodiment, the leakage current value is updated at a specific time by forcibly repeating the first read segment even if the word line address has not changed. A forced update caused only by capacitor leakage current would traditionally not occur in the first read operation after the read operation that previously determined the leakage current value, but may occur during the second read operation or subsequent consecutive read operations after the read operation that previously determined the leakage current value. In one embodiment, the control circuit triggers the update after a predetermined time period (e.g., 100 μs) or after a predetermined number of consecutive second read segments. In another embodiment, a reference voltage Vref detector monitors the voltage on the reference capacitor and triggers an update when the voltage drops below a predetermined minimum voltage Vmin. Preferably, the predetermined minimum voltage Vmin can be selected as a voltage at which the read operation has a significant probability of failure. In general, the reference voltage Vref should be between the voltage Vcell (set) and the voltage Vcell (reset) (i.e., Vcell (set)>Vref>Vcell (reset)). However, if the predetermined minimum voltage Vmin is lower than Voff+Vcell(reset), some "reset" cells will fail to read (ie, will be improperly read as being in the "set" state). Therefore, the predetermined minimum voltage Vmin is preferably selected to be greater than or equal to Voff+Vcell(reset).

[0149] In general, a reference validity determination module 1038 may be provided that sends a signal to the controller 1034 to notify whether to perform the first read segment of the current read operation. If it is determined that the most recently acquired leakage current reference value is still valid, the first read segment is omitted and only the second read segment is performed in the current read operation. Otherwise, the first read segment is performed. In various embodiments, if the current read operation addresses a memory cell that does not share a secondary access line with the first memory cell, or if a predetermined amount of time has passed since the most recently acquired leakage current reference value was acquired, or if more than a predetermined number of read operations have been performed since the most recently acquired leakage current reference value was acquired, the most recently acquired leakage current reference value is deemed invalid. Other criteria for determining validity or invalidity will be apparent to those skilled in the art. A given embodiment may monitor more than one condition, under which an update of the leakage current reference value is required or desired, and force the first read segment in any read operation where any of the conditions occurs. Embodiments may also force updates for other reasons. Many variations will be apparent to those skilled in the art.

[0150] Figure 31 is an example flow chart for increasing the read speed of consecutive read operations by omitting the first read segment when the target memory cell does not share a word line with the previous target memory cell. In step 310, the controller determines whether the word line of the current target memory cell is different from the word line of the previous target cell (that is, the two target cells do not share a word line). Determining whether the word line of the current target memory cell is different from the word line of the previous target cell can be simplified to: obtain the word line portion of the address in the buffer at each read, and compare the word line portion of the address of the current target cell with the previously obtained word line address at the subsequent read operation. If the two addresses are different, the word line of the current target memory cell does not match; otherwise, the word lines match.

[0151] If the two word line addresses are different, then in step 312, the controller performs a first read segment of the current read operation followed by a second read segment (step 314). On the other hand, if the two word line addresses match, the controller skips step 312 and proceeds directly to step 314 to perform the second read segment of the current read operation. In step 316, the current read operation is complete.

[0152] Figure 4 4 is an example flow chart in which the read speed for consecutive read operations is increased by omitting the first read segment when the target memory cell does not share a word line with the previous target memory cell, but an update is forced anyway if too much time has passed since the most recent first read segment or too many consecutive read operations have been performed. In step 410, the controller determines whether the word line of the current target memory cell is different from the word line of the previous target cell. If the two word line addresses are different, then in step 412, the controller performs the first read segment of the current read operation. Subsequently, in step 414, the controller performs the second read segment of the current read operation. The current read operation is then completed (step 416). On the other hand, if in step 410, the controller determines that the word line of the current target memory cell is the same as the word line of the previous target cell, then in step 413, the controller determines whether too much time has passed since the last leakage current was acquired (in time or the number of second read segments performed). If so, then in this case, the controller also performs both the first read segment 412 and the second read segment 414, and the current operation is completed (step 416). If the controller determines in step 413 that too much time has not passed since the last leakage current was acquired, then only in this case does the controller skip the first read segment 412 and proceed directly to the second read segment 414. Then in step 416, the current reading operation is complete.

[0153] Fig.1717 is an example flow chart in which the read speed for a continuous read operation is increased by omitting the first read segment when the target memory cell does not share a word line with the previous target memory cell, but an update is forced anyway if the acquired leakage current tracking reference voltage has dropped to a level below a predetermined minimum value. In step 1710, the controller determines whether the word line of the current target memory cell is different from the word line of the previous target cell. If the two word line addresses are different, then in step 1712, the controller performs the first read segment of the current read operation and then proceeds to perform the second read segment of the current read operation in step 1715. The current operation is then completed in step 1716. On the other hand, if in step 1710, the controller determines that the word line of the current target memory cell is the same as the word line of the previous target cell, then in step 1712, the controller determines whether the reference voltage (e.g., on the reference capacitor 732) has dropped to a point below the predetermined minimum voltage Vmin due to charge leakage across the capacitor. If so, then in this case the controller also performs both the first read segment 1712 and the second read segment 1715, and the current operation is completed (step 1716). If the controller determines in step 1714 that the reference voltage has not fallen below the predetermined minimum voltage Vmin, then only in this case the controller skips the first read segment 1712 and proceeds directly to the second read segment 1715. Then in step 1716, the current reading operation is completed.

[0154] Application of write operation

[0155] Many of the above concepts are also applicable to memory write operations since the data dependency of the drain current Ioff also affects the write current.

[0156] Fig.18The structure for writing to a selected target cell 1818 is symbolically shown. As known, a selected bit line voltage VBL is applied to a selected bit line 1812, an unselected bit line voltage VUBL is applied to all other bit lines 1813 in the array, a selected word line voltage VWL is applied to a selected word line 1814, an unselected word line voltage VUWL is applied to all other word lines 1815 in the array, and the selected word line 1814 is connected to a write current source 1820. The current source 1820 draws a write current Iwrite from the selected word line 1814, which is calculated to write a predetermined value into the target cell 1818. As an example, it is assumed that the desired write current is Iwrite=100μA. However, some of the current on the word line 1814 is drawn from other bit lines in the array via the half-selected memory cells that share the word line 1814 with the target cell. These undesired currents are leakage currents, similar to the leakage currents generated in the context of the read operation described above. For example, if the leakage current is equivalent to 30 μA, the current flowing through the target cell will only be 100 μA-30 μA=70 μA, which is insufficient to reliably write the desired logic value into the target cell. Increasing the write current drawn by current source 1820 may be considered, but as in the context of a read operation, the leakage current used for any particular write operation depends on the logic value subsequently stored in the half-selected memory cells, since different stored logic values ​​are represented by different resistance values.

[0157] As in the context of a read operation, the data dependency problem can be mitigated by adjusting the current drawn from the selected word line according to the number of memory cells in the first logic state that share the selected word line and the number of memory cells in the second logic state that share the selected word line. Fig.19a and Fig.19b The structure includes a leakage current collector 1932 and a write current generator 1920, which may be a current source such as 1820. The selected word line 1814 may be connected to the leakage current collector 1932 via a leakage current switch 1926, and may be connected to the write current generator 1920 via a write current switch 1934.

[0158] In operation, a "double write operation" is performed, which is a write operation including a first segment and a second segment. In the first segment, Fig.19aAs shown in , the non-selected bit line voltage VUBL is applied to all bit lines 1812, bit line 1813; the selected word line voltage VWL is applied to the selected word line 1814, and the non-selected word line voltage VUWL is applied to all other word lines 1815 in the array. The leakage current switch 1926 is closed (conductive), and the write current switch 1934 is turned on (non-conductive). Subsequently, the current output on the selected word line 1814 is equal to the leakage current, which is acquired and stored in the leakage current collector 1932. Next, in the second segment of the write operation, Fig.19b , a select bit line voltage VBL is applied to the selected bit line 1812, an unselected bit line voltage VUBL is applied to all other bit lines 1813 in the array; a select word line voltage VWL is applied to the selected word line 1814, and an unselected word line voltage VUWL is applied to all other word lines 1815 in the array. The leakage current switch 1926 remains closed (conducting), and the write current switch 1934 is also now closed (non-conducting). The write current generator 1920 is currently drawing the required write current from the word line 1814 (100 μA in the above example), but the leakage current collector 1932 is currently drawing an additional amount of current from the word line 1814, as previously recorded in the first segment of the write operation (30 μA in the above example). Therefore, the total current drawn from line 1814 is 100 μA + 30 μA = 130 μA, which is sufficient to compensate for the amount of write current leaked through target cell 1818 to share word line 1814, and draw the required 100 μA through target cell 1818. It can be seen that the current Icell drawn through the selected cell in the second segment will be equal to Iwrite + Ileak_collect - Ileak, where the write current Iwrite is the current drawn on word line 1814 through write current generator 1920, Ileak_collect is the current drawn through leakage current collector 1932, and Ileak is the leakage current drawn through all half-selected cells sharing the same word line 1814. Optionally, since Ileak = Ileak_collect, the current drawn through the selected cell in the second segment will be equal to the write current Iwrite. Therefore, the write current used to write the selected cell is not affected by the leakage current.

[0159] Fig.20a and Fig.20b (collectively referred to as FIG. 20) are respectively shown Fig.19a and Fig.19b In FIG20 , the circuit implementation diagram of the configuration is shown. Figure 1B18. The memory array 1810 is redrawn in the 4×4 array shown in FIG. In addition, the write current generator 1920 has been implemented as a transistor 2016 coupled to a voltage VWR, which is biased by a write bias voltage WRBIAS applied to the gate terminal. The leakage current collector 1932 has been redrawn in schematic form, and the leakage current switch 1926 and the write current switch 1934 have been redrawn as pass transistors. The leakage current collector 1932 includes a transistor 2014 connected in series from the word line 1814 to the voltage VWR, and the gate terminal of the transistor 2014 is connected to the voltage VWR via the capacitor 2012. The gate terminal of the transistor 2014 is also connected to the node 2018, which is connected in series to the word line 1814 via the pass transistor 1926. The node 2018 is also connected in series to the voltage VWR via the discharge transistor 2010, and the gate conductor of the discharge transistor 2010 is connected to the discharge voltage to reset the charge on the capacitor 2012 to zero when appropriate.

[0160] In the first segment of the write operation, voltage VWL is applied to the selected word line 1814, while voltage VUBL is applied to all bit lines 2020, 2022. Pass transistor 1926 is conductive, while pass transistor 1934 is non-conductive. The array then drives the leakage current on word line 1814 to partially charge capacitor 2012 until the voltage on the gate of transistor 2014 is the correct voltage for transistor 2014 to pass the actual leakage current. The amount of this leakage current is captured in the form of charge on capacitor 2012. As mentioned above, this leakage current depends on the data value stored in each of the cells sharing word line 1814. In the second segment of the write operation, Fig.20b 1814 . As shown, pass transistor 1926 is non-conductive and pass transistor 1934 is conductive. A write bias voltage WRBIAS is applied to the gate terminal of transistor 2016, which causes transistor 2016 to draw a write current Iwrite from word line 1814. At the same time, the voltage obtained on capacitor 2012 applies a bias voltage to the gate terminal of transistor 2014, which is the correct level to cause transistor 2014 to draw a leakage current Ileak (currently referred to as Ileak_captured) from word line 1814. Therefore, the total current drawn from word line 1814 is Iwrite+Ileak_captured. Since the amount of leakage current Ileak drawn by the unselected cells sharing word line 1814 is the same as Ileak_captured, the remaining current drawn by the selected cells is Iwrite+Ileak_captured-Ileak, which is equal to the required write current Iwrite.

[0161] All changes described elsewhere herein for the read operation case also apply to the write operation case, and how to adapt the changes will be apparent to one skilled in the art. This includes techniques for speeding up by avoiding unnecessary first write segments, and forcing the first write segment to proceed anyway if the stored leakage current detection bias is no longer considered valid.

[0162] The above technique can be applied to any memory having a crossbar array structure. Examples include phase change memory (PCM), resistive random access memory (RRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), flash memory, read-only memory (ROM), multi-level crossbar structure, etc. Examples also include a stacked structure, the stacked structure includes a storage element coupled in series with a device selection element, the device selection element such as a bidirectional critical switch (PCM+OTS) selector device. In addition, the read operation to which the above technique can be applied includes any operation, and the read operation forms a part of any of the operations. This includes simple read, write verification, set verification, reset verification, programmed verification, erase verification, etc.

[0163] Fig.16 , Figure 3 , Figure 4 , Fig.17 The flowchart logic of can be implemented using a processor, which is programmed using a computer program, by dedicated logic hardware, or by a combination of dedicated hardware and computer programs, the computer program is stored in a memory accessible to a computer system and can be executed by a processor, the dedicated logic hardware includes digital / analog circuits and field programmable integrated circuits. As with all flowcharts herein, it should be understood that many steps can be combined, executed in parallel, or executed in different sequences without affecting the functions achieved. For example, in some embodiments, the second read segment of the read operation is performed first, and the first read segment is performed second. In some cases, as those skilled in the art will understand, the reconfiguration step will achieve the same result as long as certain other changes are also made. In other cases, as those skilled in the art will understand, the reconfiguration step will achieve the same result as long as certain conditions are met. In addition, it will be understood that the flowcharts herein only show steps related to understanding the present invention, and it will be understood that in specific embodiments, many additional steps may be performed before, after, and between the steps shown to achieve other functions of the embodiments.

[0164] As used herein, a given signal, condition, or value is "responsive" to a previous signal, condition, or value if the previous signal, condition, or value affects it, and may still be "responsive" to the previous signal, condition, or value if there are intermediate processing elements, steps, or time periods. If an intermediate processing element or step incorporates more than one signal, condition, or value, the signal output of the processing element or step is considered to be "responsive" to each of the signal, condition, or value inputs. If a given signal, condition, or value is the same as a previous signal, condition, or value, this is merely a simplified case where the given signal, condition, or value is still considered to be "responsive" to the previous signal, condition, or value. The "dependency" of a given signal, condition, or value on another signal, condition, or value is similarly defined.

[0165] As used herein, "identifying" an item of information does not necessarily require directly specifying the item of information. Information may "identify" a field by simply referring to the actual information indirectly through one or more layers, or by identifying one or more items of different information that together are sufficient to determine the actual item of information. Additionally, the term "indicates" is used herein to mean the same as "identify."

[0166] The foregoing description of the preferred embodiments of the present invention has been provided for the purpose of illustration and description. It is not intended to be exhaustive or to limit the present invention to the precise form disclosed. Obviously, many modifications and variations will be apparent to those skilled in the art. Specifically and without limitation, any and all variations described, proposed or incorporated by reference in the prior art section of this patent application are specifically incorporated by reference into the description of the embodiments of the present invention.

[0167] The embodiments described herein were chosen and described in order to best explain the principles of the invention and its practical application, thereby enabling those skilled in the art to understand the invention for various embodiments and with various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.

Claims

1. A method of reading a target memory cell, for reading data from a first target memory cell in a memory cell array, each of the plurality of memory cells in the memory cell array providing a resistive current path between one of a plurality of primary access lines and one of a plurality of secondary access lines, the plurality of memory cells in the memory cell array sharing each of the plurality of primary access lines, and more than one of the plurality of memory cells in the memory cell array sharing each of the plurality of secondary access lines, the primary access line of the first target memory cell being a first of the plurality of primary access lines and the secondary access line of the first target memory cell being a first of the plurality of secondary access lines, the current path provided by each particular one of the plurality of memory cells in the memory cell array having a resistance that is higher when the particular cell is in a first logic state than when the particular cell is in a second logic state, wherein during a read operation for addressing the first target memory cell, the method comprises: selecting the first target memory cell to provide a read current on the first primary access line; as well as determining a logic state of the first target memory cell based on the read current and further based on the number of memory cells in the first logic state for sharing the first desired access line and the number of memory cells in the second logic state for sharing the first desired access line; The following steps are performed simultaneously in the first section of the read operation: applying a main access line read non-select voltage to all the main access lines in the memory cell array, applying a secondary access line read select voltage to the first secondary access line, and applying a secondary access line read non-select voltage to all of the secondary access lines in the memory cell array but not to the first secondary access line; and using a value obtained based on a current level on the first primary access line generated by the first section of the read operation as a reference current value; The following steps are performed simultaneously in the second section of the read operation: applying a primary access line read select voltage to the first primary access line, applying the main access line read non-select voltage to all the main access lines in the memory cell array but not to the first main access line, applying the secondary access line read select voltage to the first secondary access line, and applying a secondary access line read non-select voltage to all of the secondary access lines in the memory cell array but not to the first secondary access line; using a value obtained according to a current level on the first primary access line generated by the second section of the read operation as a read current value; and determining the logic state of the first target memory cell according to a difference between the read current value and the reference current value; wherein, for use with a reference array of reference cells, each provides a resistive current path between a reference primary access line and a respective one of the plurality of secondary access lines, Wherein taking a value obtained according to a current level on the first access line generated by the first section of the read operation as the reference current value comprises: The following steps are performed concurrently with the applying step in the first section of the read operation: applying a primary access line reference voltage to the reference primary access line; and charging a reference capacitor with a current from the first access line, And wherein taking a value obtained according to a current level on the first access line generated by the second section of the read operation as the read current value comprises: The following steps are performed concurrently with the applying step in the second section of the read operation: applying the main access line read non-select voltage to the reference main access line; and charging a sensing capacitor with current from the first access line, And wherein the step of determining the logic state of the first target memory cell includes comparing a voltage on a charged reference capacitor with a voltage on a charged sensing capacitor.

2. The method of reading a target memory cell according to claim 1, wherein selecting the first target memory cell comprises applying a read select voltage difference on the first main access line and the first secondary access line, while applying a voltage difference less than the read select voltage difference on each of the plurality of memory cells other than the first target memory cell in the memory cell array.

3. The method of reading a target memory cell according to claim 2, wherein applying a read selection voltage difference between the first main access line and the first secondary access line comprises: applying a primary access line read select voltage to the first primary access line; applying a main access line read non-select voltage to all the main access lines in the memory cell array but not to the first main access line; applying a secondary access line read select voltage to the first secondary access line; as well as A secondary access line read non-select voltage is applied to all of the secondary access lines in the memory cell array but not to the first secondary access line.

4. The method of reading a target memory cell according to claim 1 , wherein determining the logic state of the first target memory cell comprises: determining a leakage current level on the first access line; as well as The logic state of the first target memory cell is determined according to the detected read current level and the determined drain current level.

5. The method of reading a target memory cell according to claim 4, wherein determining the leakage current level on the first access line comprises: applying a main access line read non-select voltage to all of the main access lines in the memory cell array; applying a secondary access line read select voltage to the first secondary access line; as well as A secondary access line read non-select voltage is applied to all of the secondary access lines in the memory cell array but not to the first secondary access line.

6. The method of reading a target memory cell according to claim 1, wherein taking a value obtained according to a current level on the first primary access line generated by the first section of the read operation as the reference current value comprises: charging the reference capacitor with the sum of the current from the first access line and a predetermined reference current, and wherein taking as the read current value a value derived from the current level on the first primary access line generated by the second segment of the read operation comprises charging a sense capacitor with current from the first primary access line, And wherein determining the logic state of the first target memory cell includes comparing a voltage on a charged reference capacitor to a voltage on a charged sense capacitor.

7. The method of reading a target memory cell according to claim 6, wherein taking a value obtained according to a current level on the first access line generated by the first section of the read operation as the reference current value further comprises: before charging the reference capacitor with the sum of the current from the first access line and the predetermined reference current, precharging the reference capacitor to a predetermined voltage, And wherein taking a value obtained according to a current level on the first primary access line generated by the second section of the read operation as the read current value comprises: precharging the sensing capacitor to a predetermined voltage before charging the sensing capacitor with current from the first primary access line.

8. The method of reading a target memory cell according to claim 1, wherein the primary access line is a bit line of the memory cell array and the secondary access line is a word line of the memory cell array.

9. The method of reading a target memory cell according to claim 1, wherein the primary access line is a word line of the memory cell array and the secondary access line is a bit line of the memory cell array.

10. The method of reading a target memory cell according to claim 1, further used to read data from a second memory cell in the plurality of memory cell arrays, the secondary access line of the second target memory cell being a second one of the plurality of secondary access lines, Wherein determining the logic state of the first target memory cell comprises: using a value obtained according to the number of memory cells in the first logic state for sharing the first access line and the number of memory cells in the second logic state for sharing the first access line as a first leakage current reference value; as well as determining the logic state of the first target memory cell according to the read current and the acquired first leakage current reference value, The method further comprises: making a validity determination of the acquired first leakage current reference value for a data read operation addressing the second target memory cell; and If the validity determination indicates that the acquired first leakage current reference value is valid for a data read operation addressing the second target memory cell, then selecting the second target memory cell to provide a second read current on the second primary access line; and The logic state of the second target memory cell is determined according to the second read current and further according to the acquired first leakage current reference value.

11. The method of reading a target memory cell according to claim 10, wherein making a validity determination comprises: If the second primary access line is different from the first primary access line, it is determined that the first leakage current reference value is not valid for a data read operation addressing the second target memory cell.

12. The method of reading a target memory cell according to claim 10, wherein making a validity determination comprises: If a predetermined amount of time has elapsed since the first leakage current reference value was acquired, it is determined that the first leakage current reference value is not valid for a data read operation addressing the second target memory cell.

13. The method of reading a target memory cell according to claim 10, wherein making a validity determination comprises: If at least a predetermined number N of intermediate read operations have been performed on cells of the memory cell array since the first leakage current reference value was obtained, and N>1, it is determined that the first leakage current reference value is not valid for a data read operation addressing the second target memory cell.

14. The method of reading a target memory cell according to claim 10, wherein making a validity determination comprises: If the first leakage current reference value has dropped below a predetermined minimum value, it is determined that the first leakage current reference value is not valid for a data read operation addressing the second target memory cell.

15. A method of writing to a target memory cell, for writing data to a first target memory cell in a memory cell array, each of the plurality of memory cells in the memory cell array providing a resistive current path between one of a plurality of primary access lines and one of a plurality of secondary access lines, the plurality of memory cells in the memory cell array sharing each of the plurality of primary access lines, and more than one of the plurality of memory cells in the memory cell array sharing each of the plurality of secondary access lines, the primary access line of the first target memory cell being a first of the plurality of primary access lines, and the secondary access line of the first target memory cell being a first of the plurality of secondary access lines, the current path provided by each particular one of the plurality of memory cells in the memory cell array having a resistance that is higher when the particular cell is in a first logic state than when the particular cell is in a second logic state, wherein during a write operation to address the first target memory cell, the method comprises: detecting leakage current based on the number of memory cells in the first logic state for sharing the first access line and the number of memory cells in the second logic state for sharing the first access line; as well as When the first target memory cell is selected for writing, applying a write current to the first primary access line according to a desired data value for writing and a detected leakage current; Wherein, the detecting leakage current comprises: The following application steps are performed simultaneously: applying the main access line write non-select voltage to all of the plurality of main access lines in the memory cell array, applying the secondary access line write select voltage to the first secondary access line, and applying the secondary access line write non-select voltage to all of the plurality of secondary access lines in the memory cell array without applying it to the first secondary access line; and acquiring a leakage current value according to the current on the first primary access line generated by the applying step; Wherein applying the write current on the first primary access line includes: providing a write current given by a predetermined write current required by the target memory cell on the first primary access line so as to write the required data value into the target memory cell, and adding a leakage current compensation current according to the acquired leakage current value.

16. An integrated circuit, applied to the method for reading a target memory cell according to claim 1, the integrated circuit comprising: a memory cell array, each of the plurality of memory cells in the memory cell array providing a resistive current path between one of a plurality of primary access lines and one of a plurality of secondary access lines, the plurality of memory cells in the memory cell array sharing each of the plurality of primary access lines, and more than one of the plurality of memory cells in the memory cell array sharing each of the plurality of secondary access lines, the primary access line of a first target memory cell being a first of the plurality of primary access lines, and the secondary access line of the first target memory cell being a first of the plurality of secondary access lines, the current path provided by each particular one of the plurality of memory cells in the memory cell array having a resistance that is higher when the particular cell is in a first logic state than when the particular cell is in a second logic state; a controller coupled to the memory cell array to provide a bias voltage configuration to the plurality of primary access lines and the plurality of secondary access lines of the memory cell array in a read operation addressing the first target memory cell, the bias voltage configuration comprising: a first bias configuration for generating a leakage current on the first primary access line according to the logic states of all the plurality of memory cells in the memory cell array sharing the first primary access line, and a second bias configuration for generating a read current on the first primary access line based on the logic state of the target memory cell and the logic states of all other of the plurality of memory cells in the memory cell array that share the first primary access line; as well as A sensing circuit detects the logic state of the target memory cell based on both the read current generated when the second bias configuration is applied and the leakage current generated when the first bias configuration is applied.

17. An integrated circuit, applied to the method of writing into a target memory cell according to claim 15, the integrated circuit comprising: a memory cell array, each of the plurality of memory cells in the memory cell array providing a resistive current path between one of a plurality of primary access lines and one of a plurality of secondary access lines, the plurality of memory cells in the memory cell array sharing each of the plurality of primary access lines, and more than one of the plurality of memory cells in the memory cell array sharing each of the plurality of secondary access lines, the primary access line of a first target memory cell being a first of the plurality of primary access lines, and the plurality of secondary access lines of the first target memory cell being a first of the secondary access lines, the current path provided by each particular one of the plurality of memory cells in the memory cell array having a resistance that is higher when the particular cell is in a first logic state than when the particular cell is in a second logic state; Leakage current acquisition circuit; writing a current generator; A controller, coupled to the memory cell array, for addressing the target memory cell in a write operation: providing a first bias voltage configuration to the plurality of primary access lines and the plurality of secondary access lines of the memory cell array, the first bias voltage configuration being configured to generate a leakage current on the first secondary access line according to the logic states of all the plurality of memory cells in the memory cell array sharing the first secondary access line; controlling the leakage current acquisition circuit according to the leakage current to acquire the leakage current value; providing a second bias configuration to the plurality of primary access lines and the plurality of secondary access lines of the memory cell array in order to select the target memory cell for writing; as well as The write current generator is controlled to drive a write current onto the first access line, the write current being dependent on a desired data value for writing and the acquired drain current value.