# Patent

## Title
Low power multiple bit sense amplifier

## Abstract

A sense amplifier for multiple level flash memory cells is comprised of a voltage ramp generator that generates a ramp voltage signal. Reference sense amplifiers compare an input reference current to a ramp current generated from the ramp voltage signal. When the ramp voltage signal is greater than the reference current, an output latch signal is toggled. A sense amplifier compares an input bit line current to a threshold and outputs a logical low when the bit line current goes over the threshold. The sense amplifier output is latched into one of three digital latches at a time determined by the latch signals. An encoder encodes the data from the three digital latches into two bits of output data.

## Background
RELATED APPLICATION
This application is a Continuation of U.S. application Ser. No. 11/416,672, filed May 3, 2006, now U.S. Pat. No. 7,324,381 titled “LOW POWER MULTIPLE BIT SENSE AMPLIFIER” (allowed), which claims priority to Italian Patent Application Serial No. RM2005A000353, filed Jul. 4, 2005, entitled “LOW POWER MULTIPLE BIT SENSE AMPLIFIER,” which is commonly assigned and incorporated herein by reference.


TECHNICAL FIELD OF THE INVENTION
The present invention relates generally to memory devices and in particular the present invention relates to sense amplifiers in flash memory devices.
BACKGROUND OF THE INVENTION
Memory devices are typically provided as internal, semiconductor, integrated circuits in computers or other electronic devices. There are many different types of memory including random-access memory (RAM), read only memory (ROM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), and flash memory.
A flash memory is a type of memory that can be erased and reprogrammed in blocks instead of one byte at a time. A typical flash memory comprises a memory array, which includes a large number of memory cells. Each of the memory cells includes a floating gate field-effect transistor capable of holding a charge. The cells are usually grouped into blocks. Each of the cells within a block can be electrically programmed in a random basis by charging the floating gate. The data in a cell is determined by the presence or absence of the charge in the floating gate. The charge can be removed from the floating gate by a block erase operation.
Flash memory devices use a variety of sense amplifiers to read or verify the state of memory cells in a memory array. Verification of a non-volatile memory cell is accomplished by applying a potential to the control gate of the cell to be verified and then using a sense amplifier to compare a current generated by the cell with a known current from a reference cell. The reference cell is a non-volatile memory cell or bit that has a predefined charge that is set or trimmed by the manufacturer of the memory to produce a specific reference current in response to a known gate voltage. The sense amplifier determines whether the memory cell to be verified draws more or less current than the reference current. The sense amplifier thus determines if the memory cell is in a programmed state or an erased state.
Sense amplifiers can experience various problems. For example, in order to make flash memory devices more compatible with battery-operated devices, manufacturers of memory devices are reducing the supply voltage of flash memory devices. This can cause problems with the sense amplifier circuitry since the analog circuitry may not operate properly at lower supply voltages. Sense amplifiers also typically require a DC bias current of 20 to 50 μA. This can result in significant overall power consumption during read and verify operations, especially if a large number of sense amplifiers (typically 64 or 128) are simultaneously enabled. This would be the case in memory devices that support page and/or burst read access.
Additionally, in multi-level cell (MLC) memories, each sense amplifier requires a set of three or more reference cells with related circuitry. This increases the overall system power consumption as well as the silicon area of the die that is required for the circuitry. The larger quantity of reference cells also requires additional time for programming at the manufacturing site, resulting in longer test times and adding to the fabrication costs.
Another problem occurs with the latest introduction of multi-level cells. Each cell is capable of storing multiple bits of information. Each read operation of the N-bits stored in each memory cell requires N subsequent memory accesses. Therefore, the memory access time increases proportionally to the number of bits per cell.
For the reasons stated above, and for other reasons stated below which will become apparent to those skilled in the art upon reading and understanding the present specification, there is a need in the art for an improved sense amplifier circuit for use in higher performance memory devices.
SUMMARY
The above-mentioned problems with erasing a non-volatile memory device and other problems are addressed by the present invention and will be understood by reading and studying the following specification.
The present invention encompasses a sense amplifier circuit that senses a programmed state of an array of memory cells that are each capable of storing multiple bits. The sense amplifier is comprised of a voltage ramp generator that generates a ramp voltage signal. Reference sense amplifiers compare an input reference current to a ramp current generated from the ramp voltage signal. When the ramp voltage signal is greater than the reference current, an output latch signal is toggled. A sense amplifier compares an input bit line current to a threshold and outputs a logical low when the bit line current goes over the threshold. The sense amplifier output is latched into one of three digital latches at a time determined by the latch signals. An encoder encodes the data from the three digital latches into two bits of output data.
Further embodiments of the invention include methods and apparatus of varying scope.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 shows a simplified schematic diagram of one embodiment of a NAND flash memory array of the present invention.
FIG. 2 shows a schematic diagram of one embodiment for sense amplifier circuitry of the present invention.
FIG. 3 shows a schematic diagram of one embodiment for sense amplifiers in accordance with the circuit of FIG. 2.
FIG. 4 shows a schematic diagram of one embodiment of the voltage ramp generator circuit in accordance with the circuit of FIG. 2.
FIG. 5 shows a timing diagram of the voltage ramp generator circuit in accordance with FIG. 4.
FIG. 6 shows a block diagram of one embodiment of an electronic system of the present invention.



DETAILED DESCRIPTION
In the following detailed description of the invention, reference is made to the accompanying drawings that form a part hereof, and in which is shown, by way of illustration, specific embodiments in which the invention may be practiced. In the drawings, like numerals describe substantially similar components throughout the several views. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. Other embodiments may be utilized and structural, logical, and electrical changes may be made without departing from the scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims and equivalents thereof.
FIG. 1 illustrates a simplified schematic diagram of one embodiment for a NAND flash memory array of the present invention. This figure is for purposes of illustration only as the present invention is not limited to any one array architecture. For example, other possible array architectures that can use the embodiments of the sense amplifier of the present invention include NOR and AND architectures.
The memory array of FIG. 1, for purposes of clarity, does not show all of the elements typically required in a memory array. For example, only three bit lines are shown (BL1, BL2, and BL3) when the number of bit lines required actually depends upon the memory density. Each memory block can have thousands of bit lines.
The array is comprised of an array of floating gate cells 101 arranged in series columns 103, 104, 105. Each of the floating gate cells 101 are coupled drain to source in each series chain 103, 104, 105. A word line (WL0-WL31) that spans across multiple series strings 103, 104, 105 is coupled to the control gates of every floating gate cell in a row in order to control their operation. The bit lines (BL1-BL3) are eventually coupled to sense amplifiers (not shown) that detect the state of each cell.
In operation, the word lines (WL0-WL31) select the individual floating gate memory cells in the series chain 103, 104, 105 to be written to or read from and operate the remaining floating gate memory cells in each series string 103, 104, 105 in a pass through mode. Each series string 103, 104, 105 of floating gate memory cells is coupled to a source line 106 by a source select gate 115, 116, 117 and to an individual bit line (BL1-BL3) by a drain select gate 111, 112, 113. The source select gates 115, 116, 117 are controlled by a source select gate control line SG(S) 118 coupled to their control gates. The drain select gates 111, 112, 113 are controlled by a drain select gate control line SG(D) 114.
Each cell can be programmed as a single bit per cell (i.e., single level cell—SLC) or multiple bits per cell (i.e., multi-level cell—MLC). Each cell's threshold voltage (Vt) determines the data that is stored in the cell. For example, in a single bit per cell, a Vt of 0.5V might indicate a programmed cell while a Vt of −0.5V might indicate an erased cell. The multi-level cell may have multiple Vt windows that each indicates a different state. Multi-level cells take advantage of the analog nature of a traditional flash cell by assigning a bit pattern to a specific voltage range stored on the cell. This technology permits the storage of two or more bits per cell, depending on the quantity of voltage ranges assigned to the cell.
During a typical prior art programming operation, the selected word line for the flash memory cell to be programmed is biased with a series of programming pulses starting at a predetermined voltage (e.g., approximately 16V) and incrementing until the cell is programmed or a maximum program voltage is reached.
FIG. 2 illustrates one embodiment for sense amplifier circuitry of the present invention. The circuitry uses a voltage ramp generator 207 to generate a time-varying voltage to the sense amplifiers.
The sense amplifier circuitry is comprised of N sense amplifiers SA[0]-SA[N−1] 201, 250. The sense amplifiers 201, 250 each have an input coupled to a bit line BL[0]-BL[N−1] of the memory array 200. The quantity of sense amplifiers required depends on the memory array density since each bit line of the array is coupled to a sense amplifier. Hence, N bit lines requires N sense amplifiers. The sense amplifiers are described subsequently in greater detail with reference to FIG. 3.
In one embodiment, the sense amplifier circuitry is comprised of three reference sense amplifiers 209-211. Alternate embodiments may use other quantities of reference amplifiers 209-211. A reference Floating Gate Avalanche Metal Oxide Semiconductor (FAMOS) cell 220-222 is coupled to each reference amplifier 209-211 through a bit line decoding structure BL_REF0 through BL_REF2. The reference cells 220-222 are coupled to a dedicated reference word line WLREF and row decoding circuitry that is substantially similar to that used in the memory array 200.
The voltage ramp generator circuit 207 is coupled to the reference sense amplifiers 209-211 and the sense amplifiers 201, 250. The voltage ramp generator 207 generates the time-varying voltage that is used by the reference sense amplifiers 209-211 to produce a reference current that varies over time. The time varying reference current is used to determine the current range to which the memory cell current belongs in order to determine the data values stored in each cell. A typical prior art sense amplifier uses only a constant current since the sense amplifier has just to discriminate whether the memory cell current is less than or greater than the reference current. The voltage ramp generator 207 is described subsequently in greater detail with reference to FIG. 4.
The output of each sense amplifier 201, 250 is coupled to multiple D-type latches DL0-DL2 202-204. The output signals SL0-SL2 from the reference sense amplifiers 209-211 are used to control the operation of DL0-DL3 202-204, respectively. The quantity of D latches is dependent on the quantity of reference sense amplifiers. The composition and operation of DL0-DL2 is discussed subsequently with reference to FIG. 3.
An encoder circuit 205 is coupled to the output of DL0-DL2 202-204. Each encoder 205 outputs data bits to the DQ outputs of the memory device. In this embodiment, DQ0[0] and its complement DQ0[1] are output. Note that DQ0[0] and DQ0[1] are not logical complements but are the sense amplifier digital outputs according to the table below. Other encoders that are coupled to sense amplifiers for other data bits output DQ1-DQN. The composition and operation of the encoder 205 is discussed subsequently with reference to FIG. 3.
In operation, the current Icell[0]-Icell[N−1] from a selected bit line is input to its respective sense amplifier SA[0]-SA[N−1]. The reference sense amplifiers 209-211 compare the reference currents I0-I2 from the reference cells 220-222 with the ramped current from the ramp generator 207. As the ramped current becomes equal to or higher than the reference current, the corresponding reference amplifier output S1[i] toggles.
The digital latches 202-204 sample the sense amplifier 201 output value at the time instant determined by the reference sense amplifiers 209-211. The sampling time is determined by the toggling of the SL0-SL2 signals to the latches 202-204.
The outputs DL0-DL2 from the latches 202-204 are input to the encoder circuit 205. These values are then encoded, using the subsequently discussed table, into the digital output signals DQ[i].
FIG. 3 illustrates a schematic diagram of one embodiment of the sense amplifier SA[0] 201, DL0-DL2 data latches 202-204, and the encoder 205 of FIG. 2. The remaining SA[1]-SA[N−1] sense amplifiers and peripheral circuitry are substantially similar to the circuitry illustrated in FIG. 3.
The sense amplifier 201 is comprised of a column decoder 300 that is enabled by column select signals GBL and LBL. The column select signals are coupled to the control gates of two n-channel transistors 301, 302. A logical high signal on both of these signals substantially simultaneously causes them to turn on, connecting the sense amplifier 201 to the drain of the selected FAMOS cell.
A cascode n-channel transistor 303 controls the maximum bit line voltage during the sensing operation. When the sense amplifier input node IN is precharged to VCC, the cascode transistor 303 limits the bit line and, therefore, the cell drain voltage to VBLsense=VSABIAS−VgsNCAS where VSABIAS is the gate bias and VgsNCAS is the gate-to-source voltage of the transistor 303.
A sense amplifier enable signal SAENB is used to disable the sense amplifier during the stand-by mode when PCHG=GBL=LBL=0V. Both SAENB and the precharge enable signal PCHG are, in one embodiment, generated by a memory controller circuit on the memory device that is described later with reference to FIG. 6.
The sensing operation is performed in two phases: the pre-charge phase and the discharge phase. The pre-charge transistor 305 is activated by the PCHG signal. This signal is set to VCC during the pre-charge phase of a read cycle. The logic high during the pre-charge phase is inverted to a low by an inverter 306 that then turns on the transistor 305. During this phase, the sense amplifier input and the selected bit line are charged to VCC and VBLsense, respectively.
A voltage ramp signal VRAMP, generated by the voltage ramp generator 207 of FIG. 2 and described subsequently in FIG. 5, is applied to the gate of a ramp circuit transistor 308 during the discharge phase. The RC circuit 309 connected to the source of the p-channel transistor 310 filters out power supply noise that could disturb the operation of the sense amplifier inverter 312. This inverter is comprised of the p-channel transistor 310 and an n-channel transistor 311.
Once the circuit is enabled (i.e., SAENB=0) and the addressed memory cell is selected (GBL=LBL=4.5V), the pre-charge signal PCHG is set to VCC to start the bit line pre-charge phase. As a result, the sense amplifier input IN and the bit line BL are pre-charged to VCC and VBLsense, respectively as previously discussed. During the pre-charge phase, the gate of the ramp circuit transistor 308 is biased to a constant voltage VRAMPmin so that the transistor 308 sources a constant current IR0. This current is approximately 30% higher than the maximum level of FAMOS reference cell current I0.
Once the BL capacitance is fully pre-charged to VBLsense, the pre-charge signal PCHG is set to 0V while VRAMP starts to rise from its initial steady value VRAMPmin. This condition initiates the sensing phase in which the sense amplifier input node IN and the bit line BL are pulled up by ramp circuit transistor 308 current and, at substantially the same time, discharged by the FAMOS cell current.
At the beginning of the sensing phase, the pull-up current is higher than the cell current so that the sense amplifier input IN remains tied to VCC. When the pull-up current becomes smaller than the cell current, the latter starts discharging the BL capacitance and, consequently, the sense amplifier input node. As soon as the sense amplifier input voltage becomes lower than the sense amplifier inverter 312 threshold, the sense amplifier output node SAOUTB toggles from VCC to ground.
If it is assumed, as a 0-order approximation, that the current Iramp, sourced by the ramp circuit transistor 308, varies linearly with the time t with a slew rate SR then: Iramp=Irmax−SR·t. It is then well known by those skilled in the art that the time, ΔT, that it takes for the sense amplifier output node SAOUTB to switch from VCC to ground is given by:




  
    Δ
    ⁢
    
      
    
    ⁢
    T
  
  =
  
    
      
        I
        
          r
          ⁢
          
            
          
          ⁢
          max
        
      
      -
      
        I
        cell
      
      +
      
        
          S
          ⁢
          
            
          
          ⁢
          R
          *
          C
          *
          
            (
            
              
                V
                CC
              
              -
              
                V
                trip
              
            
            )
          
        
      
    
    
      S
      ⁢
      
        
      
      ⁢
      R
    
  




where Icell is the FAMOS cell current, C the capacitance of the input node IN and Vtrip is the switching threshold voltage of the sensing inverter 312. As a result, the sense amplifier operates as a current-to-time conversion circuit that translates the FAMOS cell current into a voltage pulse, with a time duration of ΔT.
As one example of operation, assuming the three reference cells that are connected to their respective reference sense amplifiers have the following current levels: I0=30 μA, I1=20 μA, and I2=10 μA and assuming that SR=1 μA/ns, VCC=1.8V, Imax=40 μA, C=10 fF, and Vtrip=0.8V then ΔT0=14 ns, ΔT1=24 ns, and ΔT2=34 ns. Therefore, the sensing circuit of the present invention provides equally spaced time pulses in response to equally spaced input currents.
The three reference sense amplifiers 209-211 of FIG. 2 generate three data latching signals SL0, SL1, and SL2. These signals control the three data latches DL0, DL1, and DL2 that are coupled to the output of each sense amplifier. The output of a regular sense amplifier is a voltage pulse ΔTcell. The duration of which depends on the cell current Icell according to the above equation for ΔT. Therefore, at the end of the sensing operation, the data D[2,0], stored in the three latches DL2-DL0, is as shown in the following table:

















D[2]
D[1]
D[0]
DQ[1]
DQ[0]






















Icell < Iref2
ΔT > ΔT2
0
0
0
0
0


Iref2 < Icell <
ΔT1 < ΔT < ΔT2
1
0
0
0
1


Iref1


Iref1 < Icell <
ΔT0 < ΔT < ΔT1
1
1
0
1
0


Iref0


Icell > Iref0
ΔT < ΔT0
1
1
1
1
1









The three bits, D[2], D[1], and D[0], are then converted into the 2-bit output data DQ[1,0] by the encoder 205 of FIG. 2. Each physical memory cell of the present invention, therefore, can store two digital bits that represent four analog values.
FIG. 4 illustrates a schematic diagram of one embodiment for the voltage ramp generator 207 of FIG. 2. This circuit generates the VRAMP signal as discussed previously.
A power supply and temperature independent voltage Vref are fed into the non-inverting input of an operational transconductance amplifier (OTA) 401. The output of the OTA 401 drives the gate of an n-channel transistor 403 MN1. The source of MN1 is connected to the circuit ground through a resistor network Rref 405.
The Rref network 405 is adjustable through a set of digital signals TRref0, TRref1, and TRref2 that drive the gates of control transistors 407-409. The digital signals turn on their respective transistor 407-409 in order to adjust the current Iref. Even thought three resistors and their control transistors are shown in the Rref network 405, the actual quantity of resistors and control transistors can be varied in alternate embodiments according to the desired trimability range and granularity. In one embodiment, the trimming digital signals TRref0, TRref1, TRref2 can be stored in dedicated on-chip non-volatile latches to be written to the circuit.
The OTA 401 forces the voltage of the source of transistor MN1 403 to be equal to Vref. Iref is, therefore, given by Iref=Vref/Rref. The voltage of node SABIAS is then VSABIAS=Vref+VgsMN1 where VgsMN1 is the gate-to-source voltage of transistor MN1 403 when its drain current is equal to Iref. Circuit node SABIAS is connected to the gate of transistor MN2 410.
The source of transistor MN2 410 is connected to ground through resistor network Rimax 411 and transistor MN11 413. Transistor MN11 413 is turned on when SAEN is asserted to a high level. Rimax value is adjustable in a substantially similar method to Rref as described previously. Digital signals Tirmax0, Tirmax2, and Tirmax2 are input to gates of control transistors 420-422 in order to adjust current Isabias. Even thought three resistors and their control transistors are shown in the Rimax network 411, the actual quantity of resistors and control transistors can be varied in alternate embodiments according to the desired trimability range and granularity. In one embodiment, the trimming digital signals Tirmax0, Tirmax1, Tirmax2 can be stored in dedicated on-chip non-volatile latches to be written to the circuit.
Transistor MN2 410 carries drain current Isabias that is given by Isabias=(VSABIAS−VgsMN2)/Rimax. By substituting for VSABIAS from above: Isabias=(Vref+VgsMN1−VgsMN2)/Rimax. If transistor MN1 403 is fabricated with the same sizing and shape as transistor MN2 410 and if, by properly configuring Rref's and Rimax'S trimming signals, Iref is made equal to Isabias, then VgsMN1=VgsMN2 and thus Isabias=Vref/Rimax. The same result could be obtained if the inverting input of the OTA were connected to the source of transistor MN2 410 with no need for network Rref 405 and transistor MN1 403. This circuit is used in order to meet the output data valid specification for a flash memory device.
Typically flash memory devices should have the output data valid within an access time less than 100 ns. When not accessed, the memory chip is in a stand-by mode that is characterized by a supply current consumption of less than 50 μA. For the sensing circuits to respond in such a short time, the voltage SABIAS has to be permanently present from chip power-up since the OTA 401 would not be ready within a memory access time. On the other hand, the OTA 401 power consumption has to be small not to impair the stand-by power specification. Therefore, by adding transistor MN1 403 and resistor network Rref 405, it is possible to keep the OTA 401 and Iref always on so as to ensure that SABIAS is already present when an access to the memory is requested. Rref can be made much larger than Rimax to ensure stand-by power requirements. For the condition that VgsMN1=VgsMN2 needed for the equation above to hold true is satisfied when Rref=K×Rimax provided that the width over length ratio of transistor MN2 410 is made K times larger than that of MN1 when transistor MN1 403 and transistor MN2 410 have the same channel current density. Rimax can be thus made sufficiently small so as to ensure the desired quick response time when the memory access is initiated by the SAEN signal.
Referring again to FIG. 4, current Isabias is fed into the current mirror formed by transistors MP1 430 and MP2 431. The drain current of transistor MP2 431, Irmax, is fed into the current mirror circuit comprised of transistor MN3 432, transistor MN4 434, transistor MN5 435, and transistor MN9 436. The drain current of transistor MN4 434 is substantially equal to Irmax. The drain current Ir1 of transistor MN5 is made substantially equal to a fraction of Irmax by properly choosing the width over length (W/L) ratios of transistors MN5 435 and MN3 432. In one embodiment, Ir1/Irmax=2/3 is one example for the timing requirements of state of the art NOR-type memory devices at deep sub-micron technology nodes. The drain current of transistor MN9 436 is made substantially equal to Irmax itself.
The gate of transistor MP1 430 is also connected to the gates of transistors MP3 440, MP4 441, and MP5 442 in order to generate a set of binary weighted currents Isr0, 2·Isr0, and 4·Isr0. These currents are combined according to a three bit digital word Tsri (I=2, 1, 0) applied to the gates of transistors MP3a 443, MP4a 444, and MP5a 445 respectively. This determines the current Isr that, as seen later, determines the voltage ramp slew rate SR where




  
    I
    sr
  
  =
  
    
      ∑
      
        i
        =
        0
      
      2
    
    ⁢
    
      
    
    ⁢
    
      
        
          T
          sri
        
        _
      
      ·
      
        2
        i
      
      ·
      
        
          I
          
            sr
            ⁢
            
              
            
            ⁢
            0
          
        
        .
      
    
  




The quantity of trimming bits Tsri can be changed depending on the desired adjustability range and granularity.

The timing of the voltage ramp generator circuit of FIG. 4 is illustrated in FIG. 5. At time T0, the enabling signal SAEN is asserted high. After a short delay, at time T1, the pre-charge phase is initiated by the assertion of signal PCHG. At time T1, the voltage of node VRAMP is at a value close to that of VCC. At T1, the drain currents of transistors MP7 455 and MP8 456 of FIG. 4 are substantially close to 0, transistors MN8 457 and MP10 459 are on since PCHG is logically high and PCHGB is logically low. Transistor MN9 458 starts to discharge the capacitance Cvramp of node VRAMP. Since drain currents of transistors MP7 455 and MP8 456 are close to 0, the inputs of inverters INV1 451 and INV2 450 are pulled to ground (logic 0) by transistors MN5 435 and MN4 434 respectively. Therefore, transistors MN6 452 and MN7 453 turn on and their drain currents contribute to quickly discharge Cvramp toward ground. This is needed since Irmax alone would not be sufficient for the VRAMP node voltage to reach the desired VVRAMPMIN value within the PCHG pulse duration TWPCHG (e.g., tens of nanoseconds) as desired. As the VRAMP voltage drops, the drain currents of transistors MP7 455 and MP8 456 gradually increase. As, at time T2, these currents reach a value Ir1<Irmax, the INV1 451 input goes high and MN6 452 turns off and the discharge speed of Cvramp decreases. This is useful for preventing VRAMP voltage from under-shooting below the VVRAMPMIN value. The VRAMP voltage continues to decrease at a lower speed until the drain currents of transistors MP7 455 and MP8 456 become substantially equal to Irmax. At this time (e.g., time T3 in FIG. 5), inverter INV2 450 input goes high, transistor MN7 453 turns off and the VRAMP voltage stays at the VRAMPMIN value given by: VVRAMPMIN=VCC−Irmax·RS−VgsMP9 where VgsMP9 designates the source to gate voltage of transistor MP9 454.
The VRAMP voltage remains at VRAMPMIN until the PCHG signal is de-asserted at time T4 in FIG. 5. At time T4, since PCHG is low and PCHGB is high, transistors MP10 459 and MN8 457 turn off and transistor MP6 460 turns on. This allows current Isr, illustrated in the equation above, to begin recharging up the VRAMP node capacitance. The VRAMP voltage increases linearly with time until it reaches the VRAMPMAX value given by VRAMPMAX=VCC−VgsMP9. Note that while VRAMP voltage increases and, consequently, drain currents of transistors MP7 455 and MP8 456 decrease, transistor MN10 461 is forced off by the PCHG de-assertion, thus preventing drain currents from transistors MN6 452 and MN7 453 from altering the VRAMP slew rate (SR). SR is therefore dependent on Isr and CVRAMP only. The following equation applies to the voltage ramp between times T4 and T5 of FIG. 5: CVRAMP=Isr·ΔT/ΔV. The voltage ramp slew rate is therefore given by: SR=ΔV/ΔT=Isr/CVRAMP.
The VRAMP signal, when applied to the gate of the current generators, each formed by the series resistor identical to Rs and a transistor identical to MP9, forces them to source currents varying linearly from Irmax to zero. The source currents are used in the sense amplifier bank to read information from the memory cell array as described previously.
FIG. 6 illustrates a functional block diagram of a memory device 600 of one embodiment of the present invention that is coupled to a processor 610. The processor 610 may be a microprocessor, a processor, or some other type of controlling circuitry. The memory device 600 and the processor 610 form part of an electronic system 620. The memory device 600 has been simplified to focus on features of the memory that are helpful in understanding the present invention.
The memory device includes an array of memory cells 630. In one embodiment, the memory cells are non-volatile floating-gate memory cells and the memory array 630 is arranged in banks of rows and columns.
An address buffer circuit 640 is provided to latch address signals provided on address input connections AO-Ax 642. Address signals are received and decoded by a row decoder 644 and a column decoder 646 to access the memory array 630. It will be appreciated by those skilled in the art, with the benefit of the present description, that the number of address input connections depends on the density and architecture of the memory array 630. That is, the number of addresses increases with both increased memory cell counts and increased bank and block counts.
The above-described embodiments have focused on a NAND architecture memory array. However, the present invention is not limited to this architecture. The embodiments of the memory block erase method of the present invention can be used in any architecture of memory device (e.g., NAND, NOR, AND).
The memory device 600 reads data in the memory array 630 by sensing voltage or current changes in the memory array columns using sense/latch circuitry 650. The sense/latch circuitry, in one embodiment, is coupled to read and latch a row of data from the memory array 630. Data input and output buffer circuitry 660 is included for bi-directional data communication over a plurality of data connections 662 with the controller 610). Write circuitry 655 is provided to write data to the memory array.
Control circuitry 670 decodes signals provided on control connections 672 from the processor 610. These signals are used to control the operations on the memory array 630, including data read, data write, and erase operations. In one embodiment, the control circuitry 670 controls operation of the embodiments of the sensing scheme of the present invention. The control circuitry 670 may be a state machine, a sequencer, or some other type of controller.
The flash memory device illustrated in FIG. 6 has been simplified to facilitate a basic understanding of the features of the memory. A more detailed understanding of internal circuitry and functions of flash memories are known to those skilled in the art.
CONCLUSION
In summary, the sense amplifier circuitry of the present invention provides low voltage operation with low power consumption. Additionally, the silicon area required on the IC die is reduced over the prior art sense amplifier. Reference cell programming time is significantly reduced while the access time for multi-bit read operations is increased.
Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that any arrangement that is calculated to achieve the same purpose may be substituted for the specific embodiments shown. Many adaptations of the invention will be apparent to those of ordinary skill in the art. Accordingly, this application is intended to cover any adaptations or variations of the invention. It is manifestly intended that this invention be limited only by the following claims and equivalents thereof.

## Claims

1. A circuit for determining a programmed state of a memory cell, comprising:
a memory cell signal compare circuit generating an output signal;
a plurality of reference compare circuits each generating an output signal;
a plurality of reference signal generators wherein each reference signal generator generates a reference signal that is coupled to a different reference compare circuit;
a ramped time varying signal generator that generates a ramped time varying signal that is coupled to the plurality of reference compare circuits, wherein the output signal of each reference compare circuit toggles when a level of its reference signal is exceeded by a level of the ramped time varying signal;
a memory cell signal generator that generates a memory cell signal that is coupled to the memory cell signal compare circuit, wherein the output signal of the memory cell signal compare circuit toggles in response to the memory cell signal; and
a plurality of latches, each latch coupled to the memory cell signal compare circuit and a single reference compare circuit, wherein each latch latches the output of the memory cell signal compare circuit in response to the output of its coupled reference compare circuit.

2. A circuit for determining programmed states of memory cells, comprising:
a first and second plurality of compare circuits, wherein each compare circuit generates an output signal;
a plurality of reference signal generators wherein each reference signal generator generates a reference signal that is coupled to a different compare circuit of the first plurality of compare circuits;
a ramped time varying signal generator that generates a ramped time varying signal that is coupled to the first plurality of compare circuits, wherein the output signal of each of the first plurality of compare circuits toggles when a level of its coupled reference signal is exceeded by a level of the ramped time varying signal level;
a plurality of memory cell signal generators wherein each memory cell signal generator generates a memory cell signal each coupled to a single compare circuit of the second plurality of compare circuits, wherein the output signal of each of the second plurality of compare circuits toggle in response to the memory cell signals; and
a plurality of latches each coupled to a compare circuit of the first and second plurality of compare circuits, wherein each latch latches the output of the compare circuit of the second plurality of compare circuits in response to the output of the compare circuit of the first plurality of compare circuits.

3. The circuit of claim 2 wherein the memory cell signals are current signals.

4. The circuit of claim 2 wherein the reference signals are current reference signals.

5. The circuit of claim 2 wherein the reference signals are generated by a plurality of reference memory cells.

6. The circuit of claim 2 wherein the second plurality of compare circuits are sense amplifier circuits.

7. The circuit of claim 2 wherein the first and second plurality of compare circuits are sense amplifier circuits.

8. The circuit of claim 2 wherein the ramped time varying signal is further coupled to the second plurality of compare circuits.

9. The circuit of claim 2 further comprising an array of memory cells and a plurality of memory array bit lines, wherein the memory cell signals are coupled to the second plurality of compare circuits by the plurality of memory array bit lines.

10. The circuit of claim 2 further comprising a plurality of encoder circuits coupled to the plurality of latches, wherein the encoder circuits output a predetermined data signal in response to latched outputs of compare circuits of the second plurality of compare circuits.

11. A memory device, comprising:
an array of flash memory cells arranged in rows and columns, each column coupled to a bit line having a bit line current; and
a circuit for sensing programmed states of the flash memory cells, the circuit comprising:
a first and second plurality of compare circuits, wherein each compare circuit generates an output signal;
a plurality of reference signal generators wherein each reference signal generator generates a reference signal each coupled to a single compare circuit of the first plurality of compare circuits;
a ramped time varying signal generator which generates a ramped time varying signal coupled to the first plurality of compare circuits, wherein the output signal of each of the first plurality of compare circuits toggles when a level of its coupled reference signal is exceeded by a level of the ramped time varying signal;
a second plurality of compare circuits each generating an output signal and coupled to a bit line, wherein the output signal of each of the second plurality of compare circuits toggle in response to the bit line current; and
a plurality of latches each coupled to a compare circuit of the first and second plurality of compare circuits, wherein each latch latches the output of the compare circuit of the second plurality of compare circuits in response to the output of the compare circuit of the first plurality of compare circuits.

12. The memory device of claim 11 further comprising a plurality of encoder circuits, each coupled to a different set of latches of the plurality of latches and configured to output a predetermined data signal in response to the latched outputs of the second plurality of compare circuits.

13. The memory device of claim 11 wherein the ramped time varying signal generator comprises a voltage ramp generator to generate the ramped time varying signal.

14. The memory device of claim 11 wherein the plurality of reference signal generators comprise a plurality of reference memory cells that generate the plurality of reference signals.

15. The memory device of claim 12 wherein each encoder is coupled to a set of three latches and wherein each encoder output comprises two bits of data.

16. The memory device of claim 11 wherein the flash memory cells are multi-level memory cells.

17. The memory device of claim 11 wherein the second plurality of compare circuits are coupled to the ramped time varying signal.

18. The memory device of claim 17 wherein the outputs of the second plurality of compare circuits further toggle in response to the ramped time varying signal.

19. The memory device of claim 11 wherein the latches are D-type latches.

20. An electronic system, comprising:
a processor for generating memory control signals; and
a memory device coupled to the processor and operating in response to the memory control signals, the memory device comprising:
an array of flash memory cells arranged in rows and columns, each column coupled to a bit line having a bit line current; and
a circuit for determining programmed states of the flash memory cells, the circuit comprising:
a first and second plurality of compare circuits wherein each compare circuit generates an output signal;
a plurality of reference signal generators wherein each reference signal generator generates a reference signal each coupled to a different compare circuit of the first plurality of compare circuits;
a ramped time varying signal generator which generates a ramped time varying signal coupled to the first plurality of compare circuits, wherein the output signal of each of the first plurality of compare circuits toggles when a level of its coupled reference signal is equal to or exceeded by a level of the ramped time varying signal;
a second plurality of compare circuits each generating an output signal and coupled to a bit line, wherein the output signal of each of the second plurality of compare circuits toggle in response to the bit line current; and
a plurality of latches each coupled to a compare circuit of the first and second plurality of compare circuits, wherein each latch latches the output of the compare circuit of the second plurality of compare circuits in response to the output of the compare circuit of the first plurality of compare circuits.