Fast FLASH EPROM programming and pre-programming circuit design

Abstract: A circuit (10) for speeding up the pre-programming of floating gate storage transistors such as FLASH EPROMS, and particularly speeding up the pre-programming of a block or array (11) of floating gate storage transistors includes a controllable voltage source (18) that supplies gate programming potential across the control gate and source of the FLASH EPROM transistor cells to be programmed. A control circuit is provided that controls the voltage source to vary the gate programming potential during a programming interval as a function of time in order to decrease the time required for a given amount of charge movement to program the selected floating gate transistors. The wordline voltages are varied, while the source voltage is held constant.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to the design of erasable and programmable non-volatile memory integrated circuits; and more particularly to circuits for programming and pre-programming memory cells in the device, suited for FLASH EPROM or EEPROM memory cells. Description of Related Art Non-volatile memory design based on integrated circuit technology represents an expanding field. One popular class of non-volatile memory cell is known as electrically erasable-programmable read only memory (EEPROM), which includes standard EEPROM and FLASH EPROM designs. Both the FLASH EPROM and EEPROM technologies are based on a memory transistor which consists of a source, channel, and drain with a floating gate over the channel and a control gate isolated from the floating gate. The act of programming the cell involves charging the floating gate with electrons, which causes the turn on threshold of the memory cell to increase. FLASH EPROM typically uses a hot electron programming technique to charge the cells. When programmed the cell will not turn on, that is it will remain non-conductive, when addressed with a read potential applied to its control gate. The act of erasing the cell involves removing electrons from the floating gate to lower the threshold. With the lower threshold, the cell will turn on to a conductive state when addressed with a read potential to the control gate. The programming and erasing modes for FLASH EPROMS according to the prior art are described in U.S. Patent No. 5,053,990, invented by Kreifels, et al. See also, U.S. Patent No. 4,875,118, entitled VOLTAGE MARGINING CIRCUIT FOR FLASH EPROM, invented by Jungroth; and Am28F020, 262,144 X 8 Bit CMOS Flash Memory, Advance Information, Advanced Micro Devices, Inc., March 1991. JP-A-2-37597 describes a non-volatile semiconductor memory in which the word line voltage for a specified transistor is increased during the program period to more reliably ensure that the programming operation is enabled, even when the cell being programmed has been over-erased. US-5,132,935 relates to an EEPROM array in which errors caused by over-erased cells are eliminated by initially applying alternating high-level erasing and programming voltages and then decreasing these levels. EP-A-0,509,184 relates to a memory comprised of a matrix of FLASH cells formed into sectors which may be selected during writing or erasure. EP-A-0,328,918 provides information on the variation in threshold voltage with programming time required for programming data into a MOS transistor having a triple gate structure. In addition, the prior art techniques for erasing floating gate memory cells involve erasing the entire memory array in one operation. In order to erase a cell, and insure that the right amount of charge is removed from the entire block being erased, all cells in the chip are pre-programmed to a known state (00 hex). This way, when the chip is erased, all of the memory cells will start with substantially the same amount of charge in the floating gate. However, the pre-programming stage in a chip erase operation takes a substantial amount of time. Each byte in the block to be erased must be programmed, and then the success of programming verified. Only after the entire chip has been pre-programmed and verified, can the erase operation occur. Thus, it is desirable to provide a fast programming and pre-programming technique for floating gate memory devices, such as FLASH EPROMs. SUMMARY OF THE INVENTION Viewed from a first aspect, the present invention provides an integrated circuit memory comprising: a memory array of non-volatile programmable memory cells having control gates, sources and drains; a plurality of bitlines, the plurality of bitlines arranged in a plurality of byte-wide sets of bitlines, each bitline coupled to the drains of a column of cells in the memory array; a plurality of wordlines, each coupled to the control gates of a row of cells in the memory array; a plurality of source lines, coupled to the sources of a plurality of cells in the memory array; pre-programming circuits, coupled to the plurality of bitlines and the plurality of wordlines, to apply a gate programming potential to a subset having more than one member of the plurality of wordlines, and a data-in programming potential to at least one of the byte-wide sets of bitlines to program a plurality of bytes of selected cells during a pre-programming interval; and erasing circuits, coupled to the plurality of wordlines and the plurality of source lines, to apply an erasing potential to a plurality of pre-programmed memory cells after the pre-programming interval. Viewed from a second aspect, the present invention provides an integrated circuit memory, comprising: a memory array of non-volatile programmable memory cells having control gates, sources and drains; a plurality of bitlines, the plurality of bitlines arranged in a plurality of byte-wide sets of bitlines, each bitline coupled to the drains of a column of cells in the memory array; a plurality of wordlines, each coupled to the control gates of a row of cells in the memory array; a plurality of source lines, coupled to the sources of a plurality of cells in the memory array; pre-programming circuits, coupled to the plurality of bitlines and the plurality of wordlines, to apply a gate programming potential to a particular wordline of the plurality of wordlines, and a data-in programming potential to a group having more than one member of the plurality of byte-wide sets of bitlines to program a plurality of selected bytes of cells coupled to the particular wordline during a pre-programming interval; and erasing circuits, coupled to the plurality of wordlines, and the plurality of source lines, to apply an erasing potential to a plurality of pre-programmed cells after the pre-programming interval. The present invention provides a circuit for speeding up the programming of floating gate storage transistors, and particularly speeding up the programming of a block or array of floating gate storage transistors. In order to speed up pre-programming or programming of a sector of memory cells, in a preferred system, a programming potential is applied to one byte on each of four wordlines (4X wordlines) or four bytes on a single wordline (4X bitlines) in parallel during a single programming interval. This results in four times the speed for sector programming (such as used in pre-programming) of the prior art. The circuit of one embodiment includes a controllable voltage source that supplies a gate programming potential across the control gate and drain of the floating gate transistors to be programmed which causes charge to move into the floating gate. In addition, a control circuit may be provided that controls the voltage source to vary the gate programming potential during a programming interval as a function of time in order to decrease the time required for a given amount of charge movement to program the selected floating gate transistors. In the preferred system, the wordline voltages are varied, while the drain voltage is held constant. By starting at a lower wordline voltage, and increasing during the programming interval to a higher wordline voltage, the programming speed is increased, and a high final turn-on threshold voltage for the programmed floating gate storage transistors is achieved. The control circuit can control the voltage source so that the gate programming potential increases from a beginning potential to an ending potential during programming. The waveform generated in a preferred system may be a three-level step starting at a first programming potential, stepping up during the programming interval to a second potential, and finally stepping up during the programming interval to a third programming potential. Alternatively, a two-level step may be implemented, or a more continuously increasing algorithm may be applied as suits the needs of a particular implementation. According to one embodiment of the present invention, programming speed can be increased by controlling the load resistance on the bitlines during a programming interval. In particular, the programming circuit according to the present invention may include circuitry that reduces the load resistance of selected bitlines during programming. This has the effect of increasing the slope of the load line on the cells to be programmed, thereby increasing the efficiency of the charge injection operation. According to one embodiment of the present invention, the programming circuitry is applied to a segmentable FLASH EPROM circuit, which supports block and chip erase operations. In sum, in one embodiment, better programming performance is achieved using a stepped or increasing programming potential during the programming of FLASH EPROM integrated circuits. Further, by increasing the program potential with stepped wordline voltage, over-erased cells are more likely to be successfully programmed. In addition, during pre-programming, particularly in segmented architectures in which the load resistance on a particular cell during programming may be relatively high, the technique of programming multiple cells in parallel further improves performance of the integrated circuit. Further, adjusting the load lines on cells during programming provides better programming speeds. Other aspects and advantages of the present invention can be seen upon review of the figures, the detailed description, and the claims which follow. BRIEF DESCRIPTION OF THE FIGURES Fig. 1 is a schematic block diagram of a FLASH EPROM integrated circuit according to the present invention. Fig. 2 is a schematic diagram of a segmentable architecture FLASH EPROM array according to the present invention. Fig. 3 is a graph illustrating the programming speed and programming potential for floating gate storage cells according to the present invention. Fig. 4 is a plot of one shot curves for prior art FLASH EEPROM cell with the programming potential of 12 volts. Fig. 5 is a plot of one shot curves for the contactless virtual ground FLASH EPROM cell used in the array of Fig. 2, with a programming potential of 12 volts and a programming potential of 10 volts. Fig. 6 is a schematic diagram of a circuit for controlling the load on the bitlines in the array of Fig. 2 during pre-programming. Fig. 7 is a schematic diagram of a controllable voltage source for use in the circuit of Fig. 1. Fig. 8 illustrates the programming potential as a function of time during the programming interval according to a preferred embodiment of the present invention. Fig. 9 illustrates an alternative, more continuous programming potential as a function of time according to the present invention. Figs. 10A-10C are flowcharts illustrating an embedded erase operation with pre-programming according to the present invention. DETAILED DESCRIPTION A detailed description of preferred embodiments of the present invention is provided with reference to the figures. Fig. 1 provides a functional overview of an integrated circuit according to the present invention. Figs. 2 and 3 provide details concerning implementation of a segmented FLASH EPROM array according to the present invention. Figs. 3-5 are plots used to describe the operation of the present invention. Figs. 6 and 7 illustrate circuits for increasing the programming and pre-programming speed of the FLASH EPROM circuit according to the present invention. Figs. 8 and 9 illustrate alternative programming potential waveforms. Figs. 10A-10C illustrate an embedded block level erase routine with improved pre-programming speed for a FLASH EPROM. System Overview (Figs. 1 and 2) As shown in Fig. 1, an integrated circuit, generally 410, is provided that includes a FLASH EPROM memory array 411. The FLASH EPROM memory array 411 is addressed using wordline drivers 412, and column select circuits 413. An address decoder/generator 414 is used to control the wordline drivers, and the column select circuit 413. A FLASH EPROM memory array, as known in the art, includes a plurality of modes, including a read mode, a program mode, a program verify mode, an erase mode, including a program and verify phase, and an erase verify mode. Thus, command logic 415 is provided by which the mode of the integrated circuit is controlled in response to user inputs. The command logic 415 may be implemented as done in standard FLASH EPROM integrated circuits, such as the Am28F020 flash memory chip manufactured by Advanced Micro Devices, Inc., of Sunnyvale, California, with such additional commands as used in the block erase mode described below. In response to commands issued by the command logic 415, a mode control circuit 416 generates mode control signals which are distributed as indicted by arrows 417 throughout the chip to control an embedded erase operation. To support the modes of operation of the integrated circuit, a controlled voltage source 418, that includes a multi-level program mode is included. This controlled voltage source is coupled to the wordline drivers 412 to control the voltage applied to the control gate of cells in the memory array 411. Also, a virtual ground and erase high voltage circuit 419 is coupled to the array 411, and controlled in response to the mode control signals. Finally, sense amps and program data in structures 420 are coupled to the output of the column select circuits 413. The sense amps supply data out on line 421. Also, data on line 421 are supplied to verify circuits 422 which are used in the erase and program verify modes. The verify circuits 422 are coupled to the mode control circuit 416 as shown. The sense amps and program data in structures 420 are also responsive to the mode control, as described below. In particular, during pre-programming, or programming, the load of the bitlines is adjusted to increase the programming speed. The address decoder/generator 414 is also responsive to mode control signals. During pre-programming and erasing, the address generator is enabled to generate the addressing sequences for block and chip erase functions. Also, during pre-programming, the address generator is enabled to pre-program four cells in parallel by, for example, energizing four wordlines during a single programming interval. To accomplish this, the two least significant bits of the wordline address at the output of the generator are masked, and all four wordlines are driven in parallel. The FLASH EPROM memory array 411 according to the present invention has a segmentable array architecture, which allows for block and chip erase operations. Fig. 2 illustrates the preferred segmentable array architecture according to the present invention having a virtual ground cell structure. The array uses a drain-source-drain configuration for the FLASH EPROM circuit, as described in US patent 5,453,391, which is a patent divided from an application, filed January 22, 1992, entitled NONVOLATILE MEMORY CELL AND ARRAY ARCHITECTURE, owned now and at the time of both inventions by the same Assignee as the present application, and incorporated herein by reference for information about the state of the art. The circuit includes a first local bitline 10 and a second local bitline 11. The first and second local bitlines 10, 11 are implemented by buried diffusion conductors. Also included is a local virtual ground line 12 implemented by buried diffusion. A plurality of floating gate transistors having gates, drains and sources are coupled to the local bitlines 10, 11 and local virtual ground line 12. The sources of the plurality transistors are coupled to the local virtual ground line 12. The drains of a first column of transistors, generally 13, are coupled to the first local bitline 10, and the drains of a second column of transistors, generally 14, are coupled to the second local bitline 11. The gates of the floating gate transistors are coupled to wordlines WL 0 through WL N , where each wordline (e.g., WL 1 ) is coupled to the gate of a transistor (e.g., transistor 15) on the first local bitline 10 and a transistor (e.g., transistor 16) on the second local bitline 11. Thus, transistors 15 and 16 share a source diffusion region. The act of charging the floating gate is called the program step for the FLASH EPROM cell. This is accomplished through hot electron injection by establishing a large positive voltage between the gate and the source and a positive voltage between the drain and the source, such as six volts. The act of discharging the floating gate is called the erase step for the FLASH EPROM cell. This is accomplished through F-N (Fowler-Nordheim) tunneling mechanism between the floating gate and the source (source erase) or between the floating gate and the substrate (channel erase). The source erasing is performed by applying a positive bias to the source, such as twelve volts or seven volts, while the gate is grounded or negatively biased, such as minus seven volts. The channel erasing is performed by applying a negative bias to the gate and/or a positive bias to the substrate. A first global bitline 17 and a second global bitline 18 are associated with each drain-source-drain block. The first global bitline 17 is coupled to the source of top block select transistor 19 through a metal-to-diffusion contact 55. Similarly, the second global bitline 18 is coupled to the source of top block select transistor 21 through a metal-to-diffusion contact 56. The drains of the top block select transistors 19, 21 are coupled to the first and second local bitlines 10 and 11, respectively. The gates of the top block selector transistors 19, 21 are controlled by a top block select signal TBSEL A on line 23. The local virtual ground line 12 is coupled to a virtual ground terminal across conductor 54A through bottom block selector transistor 65A. The drain of the bottom block select transistor 65A is coupled to the local virtual ground line 12. The source of the bottom block select transistor 65A is coupled to the conductor 54A. The gate of the bottom block select transistor 65A is controlled by a bottom block select signal BBSEL A across line 26. In the preferred system, the conductor 54A is a buried diffusion conductor which extends to a metal-to-diffusion contact 60A at a position displaced horizontally through the array, which provides contact to a vertical metal virtual ground bus 25. The global bitlines extend vertically through the array to respective column select transistors 70, 71, through which a selected global bitline is coupled to sense amps and program data-in circuitry (not shown). Thus, the source of column select transistor 70 is coupled to global bitline 17, the gate of column select transistor 70 is coupled to a column decode signal Y n0 , and the drain of the column select transistor 70 is coupled to conductor 29. Conductor 29 is in turn coupled to the sense amps and program data in structure. The FLASH EPROM array as shown in Fig. 1 is configured into a plurality of subarrays as illustrated in Fig. 2. Fig. 2 illustrates two subarrays within a larger integrated circuit. The subarrays are divided generally along dotted line 50 and include subarray 51A generally above the line 50 and subarray 51B generally below the line 50. A first group 52 of cells is laid out in a mirror image with a second group 53 of cells along a given bitline pair (e.g., bitlines 17, 18). As one proceeds up the bitline pair, the memory subarrays are flipped so as to share virtual ground conductors 54A, 54B (buried diffusion) and metal-to-diffusion contacts 55, 56, 57, 58. The virtual ground conductors 54A, 54B extend horizontally across the array to a vertical virtual ground metal line 25 through metal-to-diffusion contacts 60A, 60B. Thus, the subarray layout requires two metal contact pitches per column of two transistor cells for the global bitlines and one metal contact pitch per subarray for the metal virtual ground line 25. Furthermore, four subarrays (two are illustrated in Fig. 2) may share wordline signals because of the additional decoding provided by the top and bottom block select signals TBSELA, TBSELB, BBSELA, and BBSELB. During program or erase operations, the program or erase potentials are applied only to blocks selected by the block select transistors. According to one aspect of the present invention, during pre-programming, or other programming operations in which an entire array or segment of memory cells are to be programmed, the present invention provides for the parallel programming of a plurality of bytes. In a preferred embodiment, the four subarrays which share wordline signals are driven in parallel so that a byte of data in each of the four subarrays is programmed in parallel. Thus, for an 8 bit byte, having one bit stored per subarray, 8 sets of four subarrays are driven in parallel to program 4 bytes in parallel. In this approach, the signal BBSELA for each of the four subarrays is energized to connect each of the four subarrays selected by respective TBSELAs to the array ground through contact 60B and line 25. This results in the current for programming four bits in parallel to be supplied across a given bitline for each set of four subarrays. The load on the bitline in this case is controlled as described below with respect to Fig. 6. In an alternative system, four bytes may be programmed in parallel with four bits, one from each of the four bytes being programmed, taken from a single subarray. This is accomplished by energizing a single subarray per column of subarrays using the TBSEL signal. The wordlines are energized as before, but subarrays in which the TBSEL signal is not energized will not conduct current for the programming operation. The four bits in a single subarray are selected using the column select signals Y N onto a single data line 29. In this alternative embodiment, the column select transistor driven by the signal Y N will only carry the current for programming a single cell. Thus, the alternative approach may be preferred in some applications of the invention. As can be seen, the architecture according to the present invention provides a sectored FLASH EPROM array. This is beneficial because the source and drain of transistors in non-selected subarrays during a read, program or erase cycle may be isolated from the currents and voltages on the bitlines and virtual ground lines. Thus, during a read operation, sensing is improved because leakage current from subarrays not selected does not contribute to current on the bitlines. During the program and erase operations, the high voltages of the virtual ground line, and the bitlines, are isolated from the unselected blocks. This allows a sectored erase operation. From the programmability perspective, the contactless virtual ground cell of Fig. 2 has certain drawbacks as compared to conventional NOR array FLASH EPROM cells. In particular, extra resistance in the buried diffusion local bitlines, and in the top and bottom select transistors adds extra load resistance in the programming path. The top block select transistors 19, 21 are added to allow the sharing of wordlines with neighboring subarrays due to very tight cell layout in the Y direction. Because this transistor has to be squeezed in the X direction of the cell pitch, the transistor width is very small and the equivalent resistance may be as high as 3000 Ohms. The conductance of the bottom block select transistor 65A is much better however, because it can be shared among neighboring bitlines. The extra load on the contactless, virtual ground cells in the preferred memory array according to the present invention tends to decrease the programming speed, by reducing the voltage available to program the memory cell, and by reducing the efficiency of programming at high vol tages . The programming performance of the memory cell is illustrated in Fig. 3, for a constant 12 volt gate-to-source voltage along trace 100, a constant 10 volt gate-to-source voltage along trace 101, and a two-step gate-to-source voltage along trace 102 according to the present invention. The waveform for the gate-to-source voltage in each of the three modes is illustrated in the lower section of Fig. 3. Thus, for the 12 volt only trace 100, the gate-to-source voltage is constant at 12 volts, as illustrated along trace 103. For the 10 volt only gate-to-source voltage trace 101, the gate-to-source voltage remains constant at 10 volts, as illustrated along trace 104. For the two-step programming technique of trace 102, the gate-to-source voltage steps as illustrated by the bold trace 105. The upper graph in Fig. 3 shows threshold voltage VT achieved versus time of the programming interval. As can be seen, trace 100 eventually achieves a relatively high threshold voltage, but programs more slowly than the 10 volt only trace 101. The 10 volt only trace 101 does not achieve as high a final VT voltage, but the 10 volt only trace has a very rapid rise during the first portion of the programming phase and then begins to level off. To take advantage of the very rapid rise of the 10 volt only trace 101, and the high threshold potential of the 12 volt only trace 100, a two-step programming potential, as illustrated by trace 105, can be applied according to the present invention. This results in a trace 102, which increases rapidly during the first 10 volt phase, and then continues to rapidly increase during the second 12 volt phase to the high programming potential that can be achieved with a 12 volt programming potential. Also, the time to achieve the high threshold voltage is significantly decreased using a programming potential which increases as a function of time during the programming interval. One shot curves of Figs. 4 and 5 provide some context for the need for the controlled programming potential according to the present invention in the contactless, virtual ground array. In particular, the prior art one shot curve for conventional NOR array cells is shown in Fig. 4. This curve is characterized by very steep load lines, generally 200, and relatively high DC programming current (more than 100 micro amps) during the segment, generally 201. Also, the cell programming begins at the knees, generally 202, in the curve. The distance between the knees 202, and the load lines 200 is relatively good. This provides good efficiency for the programming operation for the conventional FLASH EPROM cell. In contrast, the one shot curves for the contactless, virtual ground cell is shown in Fig. 5. It includes a first trace 210 for a programming potential of 12 volts, and a second trace 211 for a programming potential of 10 volts to emulate an over-erased cell. Also, a load line 213 is illustrated which has a significant slope compared to the load line of Fig. 4. This slope is due to the increased resistance on the cells as described above. The knee 212 on trace 210 for the 12 volt programming potential is quite close to the load line 213, indicating a lower drain overdrive voltage. This reduces the efficiency of the programming during initial phases, and increases the time required for programming. As can be seen, for the 10 volt programming potential along trace 211, the drain overdrive voltage represented by the distance between the knee 214 and the load line is significantly greater than for the 12 volt trace 210. Thus, the programming efficiency is increased. Furthermore, the one shot plot in Fig. 5 illustrates that the DC programming current is quite low for the contactless, virtual ground cells according to the present invention. To take advantage of the low programming current, and the fact that the programming data is the same for all cells in a block during pre-programming, four cells are pre-programmed and verified in parallel for embedded erase operations as mentioned above. Also, since the programming speed is faster with a lower programming potential during the beginning of the interval due to more drain overdrive voltages assuming the same programming load line, the cells according to the present invention are programmed with a lower programming potential during the beginning of the programming interval. During the end of the programming interval, higher control gate voltage is used to achieve higher turn-on threshold VT. As mentioned above, a further enhancement is provided by reducing the load on the bitlines during the pre-programming. The circuit for implementing the reduced load is illustrated in Fig. 6. In Fig. 6, the column select transistor 250 is coupled to a global bitline BL. The output of the column select transistor 250 is coupled to data line 251 which is connected to the sense amp circuitry 252, and to program data-in circuitry, generally 253. The program data-in circuitry, 253 includes diode connected transistor 254 which is coupled between the V PP power supply and transistor 255. The gate of transistor 255 is supplied to a data-in selector 256. The data-in selector 256 is enabled when the selected bitline is to be programmed to a zero value. The selector has a first input at a pre-specified voltage V, and a second input at the pre-specified voltage V+0.5 volts. During the pre-programming, in which four cells are programmed in parallel, the control input 4X is energized to select the voltage V+0.5. Otherwise, the voltage V is applied, where V is about 8.5 volts for an embodiment using the architecture of Fig. 2. This has the effect of controlling the effective resistance of transistor 255, and the load on the selected bitline. The source of transistor 255 is coupled to the drain of transistor 256. The gate of transistor 256 is coupled to the reference voltage V DD . The source of transistor 256 is coupled to the drain of transistor 257. The gate of transistor 257 is coupled to control signal RECOVER. The source of transistor 257 is coupled to ground. The RECOVER signal and transistor 257 are used for data line (251) discharge after programming. By controlling the effective resistance of transistor 255, the slope of the load line, represented by trace 213 in Fig. 5, can be increased, thereby increasing the distance between the knee 214 and the load line in a given programming sequence, that is increasing the drain overdrive voltages. Fig. 7 illustrates an architecture for a controllable voltage source according to the present invention. The voltage source receives a programming potential V PP (12V ± 0.5) on line 300 and a power supply potential V DD (5V ± 0.5) on line 301. A sequence of voltage dividers, including a program verify voltage source 302, an erase verify voltage source 303, a program high source voltage 304, a program medium voltage source 305, and a program low voltage source 306, are coupled between the V PP potential 300 and the output line 307 supplying the voltage AVX to the wordline drivers. In addition, a negative voltage generator (not shown), for use during an erase mode is coupled to the wordlines. A read voltage source 308 is coupled between the V DD line 301 and the AVX line 307. Control signals on line 309 control the voltage sources under control of the mode control circuit. In the preferred system, in combination with the load line adjustment described with reference to Fig. 6, a three-step waveform is illustrated in Fig. 8 is implemented using a controllable voltage source such as shown in Fig. 7. The three-step interval includes a first subinterval, generally 320, for 5 microseconds at a voltage of approximately 7.5 volts. A second subinterval 321 is included in which the control voltage is stepped up to approximately 10 volts for 5 microseconds. Finally, a third subinterval, generally 322, is included in which the programming potential on the control gate is stepped up to approximately 12 volts for 15 additional microseconds. This achieves a high threshold voltage in a short pre-programming interval, for cells coupled to four wordlines in parallel. Alternative waveforms in which the programming voltage is varied as a function of time during a programming interval are illustrated in Fig. 3, as described above, and in Fig. 9. In Fig. 9, a more continuous control function is implemented in which the voltage increases generally linearly from 7 volts to 12 volts during a first subinterval, generally 323, and is held at 12 volts constant during a second subinterval, generally 324. An embedded sector erase operation using the programming techniques designed above is shown in Figs. 10A and 10C, which provide a detailed flow chart for the embedded erase operation according to the present invention, with block level pre-programming, erasing, and verification. A detailed block diagram of a logic architecture for executing this algorithm is set out in our US patent 5,414,664 entitled FLASH EPROM WITH BLOCK ERASE FLAGS FOR OVER-ERASE PROTECTION, filed on the same day as the present application and owned by the same Assignee. The algorithm begins with a loop consisting of steps 600, 601, and 602 in Fig. 10A waiting for a command consisting of two 20(hex) values on the input. Thus, the loop includes a reset step 600, which proceeds to a test for 20(hex) (step 601). If the test fails, the algorithm loops back to the reset step 600. If the test is successful, then the algorithm tests for a D0(hex) in step 602. If the test for D0(hex) fails, then the algorithm loops back to the reset step 600. If a sequence of 20 (hex) followed by D0(hex) is detected at step 602, then the algorithm goes to step 603 to assert the LOAD signal. This results in setting one of 32 flags in response to a decode of the incoming address. At this point, a timer is enabled in step 604. Next, the algorithm tests for assertion of the PGRES signal, which indicates that the chip enable goes low during assertion of output enable to signal that the chip should latch another address and set another flag. If the signal is high, then the algorithm loops to step 606 to reset the RV timer, then a flag is set in response to the input address (step 607). At that point, the algorithm loops back to the step 604 to enable the RV timer. If the PGRES signal is not high at step 605, then the algorithm tests for expiration of the RV timer (step 608). In the preferred system, this is about 100 microseconds. If the timer has not expired, then the algorithm loops to step 604. If the timer has expired, then the PGLOEND signal is asserted at step 609 indicating the ending of the sector address load sequence for latching the blocks to be erased. After step 609, the algorithm loops to Fig. 10B. In Fig. 10B, the algorithm begins after the set PGLOEND signal in step 609 of Fig. 10A. The flag for block zero is ready for evaluation (step 610) , and the PEVAL is set to indicate the pre-programming flag evaluation interval of the erase mode (step 611). After the setting of PEVAL, the FLAGRESB signal is evaluated in step 612. If the signal is zero, then the algorithm determines whether the last block has been evaluated in step 613. If the last block has been evaluated, then the PEVAL signal is reset in step 614 and the ERS signal is set high in step 615. If at step 613, the last block had not been evaluated, then the MSB counter is incremented in step 654 and the algorithm loops back to step 611 to evaluate the balance of the blocks having set flags. If at step 612, the FLAGRESB was not zero, indicating a set flag, then the algorithm loops to step 616. At step 616, the PGM signal is set high and the PEVAL signal is reset. This results in supplying the programming potentials to the bitlines, wordlines, and virtual ground terminals in the block to be erased. In one embodiment, four wordlines in respective sectors of the memory are enabled and parallel so that four bytes are pre-programmed in parallel. After enabling the programming voltages as indicated by step 617, a timer PGMREC1 is enabled to wait for program voltage recovery (step 618). After step 618, program verify voltages are driven (step 619). A second verify timer is enabled for program verify voltage recovery in step 620. After expiration of the timer in step 620, the logic determines whether the output of the comparator that tests the cells energized during step 619 is high (step 621). If it is high, then the algorithm tests whether Q13 is high in step 621, which indicates that the least significant address counter has overflowed. In an embodiment pre-programming 4 bytes in parallel, when the two least significant bits (Q12, Q13) are masked, the algorithm tests for Q11, which indicates counter overflow for 4 byte increments. If it has overflowed, then the algorithm determines whether the last block has been verified (step 623). If the last block has been verified, then PGM is reset in step 624 and the ERS signal is set high in step 625. If at step 623, the last block had not been programmed, then the algorithm loops to step 614 to increment the MSB counter and proceed to the next block having a set flag. If at step 622, the Q13 (or Q11) value had not overflowed, then the least significant bit counter is incremented by one (or by four when testing on Q11) and the PECNT signal is reset (step 626). Next, the algorithm loops to step 617 to continue programming the block. The PECNT signal is a retry counter which is incremented in the event the match signal at step 621 was not high. Thus, if after step 621 the match signal is not high, the algorithm tests whether the retry counter PECNT has overflowed (block 627). If it had overflowed, then an error is indicated and the algorithm hangs up (step 628). If the counter has not overflowed then it is incremented in step 629 and the algorithm loops back to step 617. As indicated with respect to Fig. 10B, when the last block has been successfully preprogrammed, the ERS signal is set high, either at step 615 or step 625. After the setting of ERS high, the algorithm loops to the procedure illustrated in Fig. 10C. As shown in Fig. 10C, the first step is to set up the erase operation by applying the proper erase voltages to the blocks to be erased as controlled to the sources through the bottom block select transistor BBSEL and to wordlines in an array as shown in Fig. 2 (step 630). After the erase operation, an erase recovery timer is used to allow for recovery of the erase voltages (step 631). After recovery in step 631, the ERSVFY signal goes high and the chip enters an erase verify operation (step 632). Next, the delayed erase verify signal DEV goes high (step 633). At this point, the erase compare latch accepts data from an addressed cell (step 634). After that point, the algorithm, tests for no match, a match and an overflow indicated by the signal Q13, or the FLAGRESB signal being low (step 635). If any one of these conditions is not met, indicating that a successful match on the byte has occurred, or the end of the block has not been reached, or there is a flag still yet to be reset, then the algorithm loops to step 636 where the LSB address is incremented. After step 636, the algorithm returns to step 634 to latch the data from the next byte. If at step 635 the byte did not verify, or it verified and the address counter had overflowed, or the flag of the block under test, then the algorithm loops to step 637 where it tests for the successful match with overflow condition. If it is a successful match, then the flag is reset for the block (step 638). After resetting the flag, the algorithm loops back to step 639 where it tests whether the last block has been tested. Similarly, if at step 637 the reason for reaching step 637 was other than a successful match and overflow of the LSB counter, then the algorithm goes to step 639. At step 639, if the last block has not been tested, then the algorithm loops to step 640 where the block address is incremented and the LSB address is reset. From step 640, the algorithm loops to step 634 to begin testing the next block having a set flag. If at step 639, the last block has been tested, then the algorithm goes to step 641 where the ERSVFY and DEV signals are reset, and a recovery timer is initiated. After expiration of the recovery timer, the ALFGRES signal is tested (step 642). If, in,testing the ALSGRES signal, it is determined that all flags have been reset, then the erase operation is complete, and the control circuits reset (step 643). If all flags had not been reset, then the attempt counter PECNT is tested (step 644) to determine whether it has exceeded a selected value, such as 1,024 (8FF hex). If it has exceeded the selected value, then an error has occurred and the attempt is given up (step 645). If the counter in step 644 has not expired, then it is incremented in step 646 and the algorithm loops to step 630 to re-erase blocks that did not pass erase verify. In sum, a circuit for speeding up the pre-programming speed during embedded erase operations for FLASH EPROMs is provided. The circuit is particularly useful in the contactless, virtual ground array architecture described above, or other architectures in which the load on the cells being programmed is relatively high. The foregoing description of preferred embodiments of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in this art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical application, thereby enabling others 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: An integrated circuit memory comprising: a memory array (411) of non-volatile programmable memory cells having control gates, sources and drains; a plurality of bitlines, the plurality of bitlines arranged in a plurality of byte-wide sets of bitlines, each bitline coupled to the drains of a column of cells in the memory array (411); a plurality of wordlines, each coupled to the control gates of a row of cells in the memory array (411); a plurality of source lines, coupled to the sources of a plurality of cells in the memory array; pre-programming circuits, coupled to the plurality of bitlines and the plurality of wordlines, to apply a gate programming potential to a subset having more than one member of the plurality of wordlines, and a data-in programming potential to at least one of the byte-wide sets of bitlines to program a plurality of bytes of selected cells during a pre-programming interval; and erasing circuits, coupled to the plurality of wordlines and the plurality of source lines, to apply an erasing potential to a plurality of pre-programmed memory cells after the pre-programming interval. An integrated circuit memory, comprising: a memory array (411) of non-volatile programmable memory cells having control gates, sources and drains; a plurality of bitlines, the plurality of bitlines arranged in a plurality of byte-wide sets of bitlines, each bitline coupled to the drains of a column of cells in the memory array (411); a plurality of wordlines, each coupled to the control gates of a row of cells in the memory array (411); a plurality of source lines, coupled to the sources of a plurality of cells in the memory array; pre-programming circuits, coupled to the plurality of bitlines and the plurality of wordlines, to apply a gate programming potential to a particular wordline of the plurality of wordlines, and a data-in programming potential to a group having more than one member of the plurality of byte-wide sets of bitlines to program a plurality of selected bytes of cells coupled to the particular wordline during a pre-programming interval; and erasing circuits, coupled to the plurality of wordlines, and the plurality of source lines, to apply an erasing potential to a plurality of pre-programmed cells after the pre-programming interval. The integrated circuit memory of claim 1 or claim 2, wherein the pre-programming circuits include a circuit (253) coupled with the plurality of bitlines to reduce load resistance of the subset of the plurality of bitlines during pre-programming. The integrated circuit memory of claim 1, wherein the subset of the plurality of wordlines includes. four members and the at least one of the byte-wide sets of bitlines includes one member. The integrated circuit memory of claim 2, wherein the group of the plurality of byte-wide sets of bitlines includes four members. The integrated circuit memory of claim 1 or claim 2, wherein the pre-programming circuits include: a voltage supply circuit (418), coupled to the plurality of wordlines, to supply the gate programming potential to the control gate of floating gate storage transistors coupled to the plurality of wordlines; and control circuits (416), coupled to the voltage supply circuit (418) to control the voltage supply circuit to vary the gate programming potential during the pre-programming interval as function of time in order to decrease time required to program the selected floating gate transistors. The integrated circuit memory of claim 6, wherein the gate programming potential remains substantially constant at a first level(104) for a first particular time interval, and remains substantially constant at a second level (103) for a second particular time interval. The integrated circuit memory of claim 7, wherein change from the first level(104) to the second level (103) occurs relatively abruptly after the first particular time interval. The integrated circuit memory of claim 7, wherein change from one level to another occurs relatively gradually. The integrated circuit memory of claim 6, wherein the programming circuits include a controllable voltage source coupled to the plurality of wordlines to apply a voltage to selected wordlines, and control the gate programming potential by maintaining the voltage on the selected virtual ground terminals at a substantially constant programming voltage and controlling the controllable voltage source to vary voltage applied to the selected wordlines. The integrated circuit memory of any of the preceding claims, wherein the memory array comprises: a plurality of subarrays, having N columns and M rows of FLASH EPROM floating gate storage transistors, storage transistors in the subarrays having respective control gates, sources and drains; an address generator (414), coupled to the plurality of subarrays, to generate address signals to access selected subarrays and selected floating gate storage transistors; a plurality of wordlines, coupled to the control gates of storage cells in respective rows; a plurality of global bitlines, coupled to respective columns of storage cells; a plurality of local bitlines, each coupled to the drains of the storage cells in a respective column; a first selector, coupled to the address generator to selectively connect the local bitlines in a subarray of storage cells to the corresponding global bitlines in response to the address signals a plurality of local virtual ground lines, each coupled to the sources of storage cells a respective column; a second selector to connect the local virtual ground lines in a subarray of storage cells with a virtual ground terminal; column select circuits, coupled to the global bitlines and the address generator to selectively enable access to columns of storage cells in response to the address signals; programming circuits, coupled to the plurality of wordlines, the plurality of bitlines and the plurality of virtual ground lines, to supply a gate programming potential to selected wordlines, and a data-in potential to selected bitlines to program selected floating gate storage transistors in response to the address signals, The integrated circuit of claim 11, further including a circuit coupled with the plurality of bitlines to reduce load resistance of selected bitlines during programming. The integrated circuit of claim 11, wherein the programming circuits include program data-in drivers, each coupled to a set of global bitlines of a particular subarray, and the column select circuits include circuits for enabling the selection of a subset of the set of global bitlines within the particular subarray during a single programming interval.

Inventors: HSIAO LING-WEN, LIN TIEN-LER, SHONE FUCHIA, WAN RAY L, YIU TOM DANG-HSING, HSIAO, LING-WEN, LIN, TIEN-LER, SHONE, FUCHIA, WAN, RAY L., YIU, TOM DANG-HSING
Applicants: MACRONIX INT CO LTD, MACRONIX INTERNATIONAL CO., LTD.
Application year: 1993
Main classification: G11C16
IPC codes: G11C16