This invention relates generally to semiconductor memories, and more particularly to methods and circuitry for sensing logical states of data stored in memories.
As is well known in the art, a memory cell in a memory device, such as but not limited to, random access memory (RAM), read-only memory (ROM) and non-volatile memory (NVM), can be configured to provide an electrical output signal during a read operation. A sense amplifier is coupled to receive the electrical output signal, and in response, provide a data output signal representative of the logic state of the data stored by the memory cell.
In general, sense amplifiers determine the logical value stored in a memory cell by comparing the electrical output signal (voltage or current) provided by the cell with a threshold value (voltage or current). If the electrical output signal exceeds the threshold value, the sense amplifier provides a data output signal having a first logic value (e.g., logic “1”), thereby indicating that the memory cell is in a first logic state (e.g., erased). Conversely, if the electrical output signal is less than the threshold value, the sense amplifier provides a data output signal having a second logic value (e.g., logic “0”), thereby indicating that the memory cell is in a second logic state (e.g., programmed).
The threshold value is typically set at a level that is between the expected electrical output signal for a programmed state of a memory cell and the expected electrical output signal for an erased state of a memory cell. It is desirable to set the threshold value at a level that is sufficiently far from both expected levels, so that noise on the electrical output signal will not cause false results.
In a virtual ground array, the readout of a cell may depend on the state of its neighbor cells. A change in the state of the neighbors of a cell may affect the cell readout reliability. This undesired effect is known in the art as the “neighbor effect”.
The neighbor effect will be better understood by reference to
Thus, for example, if cell MC 3 is read out from its drain side (shown in
A memory cell, such as MC 3 in
Methods for reducing the neighbor effect in reading data in a non-volatile memory array have been proposed, such as that described in U.S. patent application Ser. No. 20050232024 to Atir and Dadashev, assigned to the present assignee of the present application.
The present invention seeks to provide novel sensing scheme for current signals generated from the source of a memory cell. The scheme involves folding of a memory cell current into a sense amplifier, generating an internal signal inside the sense-amplifier, which after a sufficient sensing time is compared to a reference signal. A logical signal based on the difference between the memory cell signal and the reference signal is then obtained, as described in detail herein below. One advantage of the current invention is that it provides a mean for reducing the neighbor effect of a virtual ground array as explained in detail hereinbelow. The devices and methods may be used for source sensing of memory cells, in particular for NVM memory applications.
There is thus provided in accordance with an embodiment of the invention a method for sensing logical content stored in a memory cell, the method including inputting an input cell current of a selected array cell of a memory array to an input stage, and folding the input cell current and using it to discharge an input of a latch, the latch providing an output digital signal indicative of a logical content stored in the selected array cell.
In accordance with an embodiment of the invention folding the input cell current is carried out by an NMOS current mirror using an NMOS source-follower in the input stage.
Further in accordance with an embodiment of the invention the method includes inputting bias voltages to the input stage so as to provide a constant current signal at drains of the NMOS current mirror, the current signal being defined by a folding ratio associated with the NMOS current mirror.
In accordance with an embodiment of the invention the method includes inputting a current signal cmi and a reference signal tref to the input stage, the input stage generating voltages V_latch_in and V_latch_in_b corresponding to the current signal cmi and the reference signal tref, respectively, the voltages being used to discharge the input of the latch. The current signal cmi and reference signal tref define a differential current signal ‘I_cmi-I_tref′, and the voltages V_latch_in and V_latch_in_b define a differential voltage signal ‘V_latch_in-V_latch_in_b′, wherein the differential voltage signal may be proportional to the differential current signal.
Further in accordance with an embodiment of the invention the latch creates a logical differential signal based on the differential voltage signal, the logical differential signal being latched by a digital latching stage as a constant output latched signal until another latch signal is issued.
There is also provided in accordance with an embodiment of the invention a system for sensing logical content stored in a memory cell, the system including a first stage including an analog input stage that receives an input cell current of a selected array cell of a memory array, the input stage including a current mirror operative to fold the input cell current, a second stage including an analog latch stage which generates a digital signal out of an analog signal coming from the input stage, and a third stage including a digital latching stage operative to output a digital signal indicative of a logical content stored in the selected array cell.
In accordance with an embodiment of the invention the input stage includes an NMOS current mirror using an NMOS source-follower. The second stage may include a cross-coupled latch, and the digital latching stage may include a set-reset flip flop.
In accordance with an embodiment of the invention the first, second and third stages are part of a sense amplifier device. Alternatively, in accordance with another embodiment of the invention, the first and second stages are part of a sense amplifier device, and the third stage is external to the sense amplifier device.
The present invention will be understood and appreciated more fully from the following detailed description taken in conjunction with the drawings in which:
In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the invention. However, it will be understood by those of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known methods and procedures have not been described in details so as not to obscure the present invention.
Reference is now made to
Reference is now made to
Reference is now made to
The current folding input stage 16A of sense amplifier 16 may further include a pair of NMOS transistors M2A and M2B that receive a voltage signal ‘nbias2’. These NMOS transistors may also be operated in a common gate configuration. Specifically, in the non-limiting illustrated embodiment, voltage signal ‘nbias2’ is input to a gate of M2A, a source and bulk of M2A are connected at circuit node n1 to input cmi, and a drain of M2A is connected to a source of an NMOS transistor M4A (enable transistor described below). The gates of NMOS transistors M2A and M2B are connected to each other. A source and bulk of M2B are connected at circuit node n2 to reference signal tref, and a drain of M2B is connected to a source of an NMOS transistor M4B (enable transistor described below).
NMOS transistor pairs M1A and M1B and M2A and M2B are current mirrors. A current mirror is defined as a circuit element or portion of a circuit that receives an input current and outputs the same input current or a multiple thereof. NMOS transistors M2A and M2B together with NMOS transistors M1A and M1B may provide a constant current signal 10 at the drain of NMOS transistors M1A and M1B. A typical value of I0 would be 10 μA, and a typical value for cmi/tref voltage (at the drain of NMOS transistors M1A and M1B, respectively) would be 100 mV. The signals ‘nbias1’ and ‘nbias2’ may be generated from a global biasing circuit, well known in the art and not described here. This circuit can be designed such that the current signal I0 and the drain voltage of NMOS transistors M1A and M1B are kept constant for a set of temperature ranges, voltage supply VDD ranges and process corners.
The current folding input stage 16A of sense amplifier 16 may further include a pair of NMOS transistors M4A and M4B, which may serve as enabling devices for the circuit, receiving an input signal sa_en (sense amplifier enable). Specifically, in the non-limiting illustrated embodiment, input signal sa_en is input to a gate of M4A, and the gates of M4A and M4B are connected to each other. A drain of M4A is connected at a circuit node n3 to a drain of a PMOS transistor M3A (pre-charge device described below) and to signal latch_in. A drain of M4B is connected at a circuit node n4 to a drain of a PMOS transistor M3B (pre-charge device described below) and to signal latch_in_b.
The current folding input stage 16A of sense amplifier 16 may further include a pair of PMOS transistors M3A and M3B, which may be used as pre-charge devices for the nodes ‘latch_in’ and ‘latch_in_b’. Specifically, in the non-limiting illustrated embodiment, an input signal sen is input to a gate of M3A, and the gates of M3A and M3B are connected to each other. As mentioned above, the drain of M3A is connected at circuit node n3 to signal latch_in, and the drain of M3B is connected at circuit node n4 to signal latch_in_b. The sources of PMOS transistors M3A and M3B may be connected to supply voltage VDD.
Reference is now made to
The operating principle of the input stage 16A shown in
The starting point of operation is when the voltages ‘nbias1’ and nbias2’ are ready, input sa_en=logical ‘1’, input sen=logical ‘0’ and input lat=logical ‘0’. Once a current signal I_cmi is generated at the node cmi (i.e., node n1), the voltage of cmi will rise. By proper sizing of NMOS transistors M1A and M2A, and proper biasing of voltages ‘nbias1’ and ‘nbias2’, the voltage rise would be very small (approximately, without limitation, in the range of 10 mV-20 mV). In this manner, the drain current of NMOS transistor M1A would almost remain constant, and as well known in the art, the source/drain current of NMOS transistor M2A would reduce proportionally to the value of the input current I_cmi.
The drain current of NMOS transistor M2A is thus given by: I0-k*I_cmi. The parameter ‘k’ is called the folding ratio, where k=1 is the ideal case. Typical values for ‘k’ may be in the range of 0.7-0.9. Once the drain current of NMOS transistor M2A stabilizes, the signal sen rises to a logical ‘1’, thus stopping the current flow from the drain of PMOS transistor M3A into the node ‘latch_in’ (i.e., via node n3). However, the drain current of NMOS transistor M4A (which is equal to the drain current of NMOS transistor M2A, namely I0-k*I_cmi) discharges the node ‘latch_in’ creating a voltage signal, ‘V_latch_in’ (
The same event sequence described above is also true for I_tref, M1B, M2B, M3B and M4B. Specifically, once a reference signal I_tref, is generated at the node tref (i.e., node n2), the voltage of tref will rise. By proper sizing of NMOS transistors M1B and M2B, and proper biasing of voltages ‘nbias1’ and ‘nbias2’, the voltage rise would be very small (approximately, without limitation, in the range of ˜10 mV-20 mV). In this manner, the drain current of NMOS transistor M1B would almost remain constant, and as well known in the art, the source/drain current of NMOS transistor M2B would reduce proportionally to the value of the input current I_tref. The drain current of NMOS transistor M2B is thus given by: I0-k2*I_tref wherein k2 is some folding ratio (not necessarily=k above). Once the drain current of NMOS transistor M2B stabilizes, the signal sen rises to a logical ‘1’, thus stopping the current flow from the drain of PMOS transistor M3B into the node ‘latch_in_b’ (i.e., via node n4). However, the drain current of NMOS transistor M4B (which is equal to the drain current of NMOS transistor M2B, namely I0-k2*I_tref) discharges the node ‘latch_in_b’ creating a voltage signal, ‘V_latch_in_b’ (
Accordingly, a voltage signal, ‘V_latch_in_b’ is generated at the node ‘latch_in_b’ which is proportional to the reference current I_tref and the capacitance associated with node ‘latch_in_b’. If the capacitances associated with nodes ‘latch_in’ and ‘latch_in_b’ (
The rise of the signal ‘lat’ (
Reference is now made to
Advantages of the sensing method and architecture described above include, but are note limited to:
1. Efficient Gain/Area/Power Tradeoff.
Prior art sense amplifiers for a close-to-ground source-sensing scheme typically involve one of three options: PMOS input differential stage, PMOS level shifting stage, and AC coupled stage. There are disadvantages to the prior art sense amplifiers. The PMOS differential stage has low gain and thus relatively large random offset due to process variations. The PMOS level shifting stage sinks extra power and also has a large random offset. The AC coupled stage takes up a relatively large area.
In contrast, the current folding scheme of the present invention uses an NMOS differential input stage, which has high gain and thus relatively low random offset. Thus, one reason for the large gain of the method of the present invention is the use of NMOS devices rather than PMOS devices. Another reason is the voltage signals ‘V_latch_in’ and ‘V_latch_in_b’ are generated across relatively small capacitances associated with the nodes latch_in and latch_in_b, respectively. In a typical source sensing scheme, the signal is generated across the global bit line capacitance with is approximately ten times larger. In terms of area consumed, the current folding sensing scheme of the present invention is relatively small and thus enables using a large amount of sense amplifiers for fast parallel reading.
2. Reduction of Neighbor Effect in VGA (Virtual Ground Array) Topologies.
The current folding sensing scheme of the present invention, when applied to VGA topologies can effectively reduce the neighbor effect, which was described in the background. The reduction of the neighbor effect may be understood by comparing
Signals cmi and tref are typically linearly rising voltage signals. Accordingly, if for example, cmi is connected to the source of memory cell MC3 in
In contrast, as described above and appreciated from examining
In summary, in brief and simplistic terms, the input cell current of a selected array cell of memory array 10 is to the input stage 16A. The input cell current is folded and used to discharge the input of a latch, the second stage 16B of sense amplifier 16. The latch provides an output digital signal (sa_out of third stage 16C) indicative of a logical content stored in the selected array cell. Folding the input cell current is carried out by a current mirror using an NMOS source-follower in input stage 16A.
The present invention may be useful in data flash applications as a method for little or no residual discharge for sequential readings. The invention may enable using a single reference cell per multiple sense amplifiers. The invention may be implemented for multilevel cell sensing.
The scope of the present invention includes both combinations and subcombinations of the features described hereinabove as well as modifications and variations thereof which would occur to a person of skill in the art upon reading the foregoing description and which are not in the prior art.
Number | Date | Country | |
---|---|---|---|
60632199 | Dec 2004 | US |