Patent ReferencesApparatus and method for synchronously providing a fullness indication of a dual ported buffer situated between two asynchronous buses Multi-block erase and verification circuit in a nonvolatile semiconductor memory device and a method thereof Non-volatile semiconductor integrated circuit Sectored flash memory comprising means for controlling and for refreshing memory cells Flexible internal address counting method and apparatus Patent #: 7164613 InventorsApplicationNo. 11829527 filed on 07/27/2007US Classes:365/236CountingExaminersPrimary: Auduong, Gene N.Attorney, Agent or FirmForeign Patent References
International ClassG11C 8/00DescriptionFIELD OF THE INVENTIONThe present invention relates to nonvolatile memory devices, and more particularly, to an address counter for setting a memory location to a selected page in the nonvolatile memory device. An example nonvolatile memory is a NAND flash memorydevice. BACKGROUND OF THE INVENTION A page mode nonvolatile memory device includes a counter for controlling the addressing of memory locations in the selected page. The address counter starts from the value that is input thereto by the user during a specific command, and asillustrated in the data path flow scheme of FIG. 1, during read operations the value assumed by the address counter selects the memory location from which data is output. This is while during a program operation the value assumed by the address counterselects the memory location where data will be written. The address counter plays an important role, and represents a critical component of the device. To better illustrate the technical problems to be addressed, a brief review of the manner in which the address counter functions during a readsequence and a program sequence follows. Referring to the read sequence depicted in FIG. 2, the following are issued to the memory device in order to enter a read mode: a read command (00h), four address cycles (for the example taken into consideration) and a read confirm command (30h). The internal address counter is initialized by the issuance of the four address cycles, and after this busy state the internal address counter is incremented at every toggling of the external read enable signal REN. During each address latching cycle ALE, the internal address counter loads input data I/O into the correct position according to the number of the ALE cycle. When the read-confirm command (30h) is issued, the memory device enters a busy state. The memory cell array is accessed and information stored in the page selected by the row address is read and stored into a data register commonly referred to as page buffer. After this busy state has ended, the external user will toggle the REN read enable command for outputting data read from the page buffer. Data is accessed on a byte or word base such that for any new RE toggling the column address counter willbe incremented to select consecutive data stored in the selected page. Referring to FIG. 3, the following are issued to the memory device in order to enter a program mode: the program command (80h) followed by four address input cycles (for the considered sample case) are issued to the memory device, serial data isloaded in the page buffer, and the program-confirm command (10h). The internal address counter is initialized by the four address cycles, and subsequently, the counter is incremented at every toggling of the write enable signal WEN during the data cycles. During each ALE cycle, the internal address countercontrols the loading of input address bits in the correct positions, according to the number of the ALE cycle. When the last address cycle is issued, the row address (A27-A12) is frozen while the column address (A11-A0) is incremented at every toggling of the WEN signal during the data cycles in order to load input data in the page buffer in a consecutivemode. An elementary cell of an internal address counter as typically realized for implementing the above described algorithms for read and program operations is shown in FIG. 4. The external command LOADADD is applied on a pad of the memory device. The ADD signal is cleared when RESET_ADD is high, or briefly H. At the rising edge of the signal address counter CK_ADD, which is internally generated by the input logiccircuitry of the counting flip flop (F/F) of the elementary cell or module of the address counter, latches an ADD value which is either: 1) LOADADD, when ENLOAD is H, or 2) (CARRY xor ADD) when ENCOUNT is H and ENLOAD is L. In all other cases, the ADD value maintains the logical value previously set in the flip flop F/F. ADD represents a Counted Address Value (all ADD values constitute a first internal address bus). ADD_A is a second Internal address bus that is generated from the ADD values of the first internal address bus to implement a pipeline arrangement for internal simultaneous multiple data transfers. ENLOAD is high when the memory device loads PAD data as address values during the ALE cycles. If ENLOAD is high, CK_ADD is logically equal to WEN (CLK_SEL=00) and the ADD value is latched according to its PAD value. After the busy state triggered by a read command sequence has ended, the user reads data from the page buffer by toggling REN. In this case, CK_ADD is logically equal to REN (CLK_SEL01), and the internal column counter value (ADD) is incrementedby every new pulse of the REN signal. Erase Verify is performed to verify whether all cells of a selected block have been erased. To check this condition, an internal algorithm is executed, which downloads cell information in the page buffer and checks whether the data stored in thepage buffer data are all 1 on a byte-by-byte bases. For this purpose, column addresses are scanned from beginning to end. During Erase Verify, CK_ADD is equal to Erase_verify_ck (CLK_SEL=10) that is generated during the execution of the erase verifyalgorithm, and the ADD value is incremented at every new Erase_verify_ck pulse. During execution of data cycles, the address counter needs to be incremented by WEN. Therefore, CK_ADD is equal to WEN_1CK (CLK_SEL=11) and the internal address counter value ADD is incremented at every WEN toggling. WEN_1CK is a signal whosefunction is to skip address counter increments during the first data cycle. The reason why such a WEN_1CK signal is used during data cycle is that when loading program data into the page buffer, the first data is to be loaded at the address set duringthe ALE cycle. Therefore, it is necessary to skip incrementing the address counter during the first WEN pulse of data cycle. Of course, the address counter value ADD is incremented by WEN_1CK starting from the WEN pulse of the second data cycle. To get a sufficient timing margin for loading data from I/O in the page buffer (or for transferring data from the page buffer to I/O pads), a parallel processing scheme of data transfer is adopted. This is generally referred to as pipelining. FIG. 5 illustrates an example of a pipeline for a read operation. The example pipeline is for the case of transferring two data in parallel. Therefore, two internal address buses, and two internal data buses are implemented. As described in the previous section, the counted address that is the ADD valuesstored in the gain or counting flip-flops F/F, that compose the Address Counter in FIG. 4, is the address counter information that forms a first internal address bus (ADD). Another or second internal address bus (ADD-A) is generated by using an adderaccording to the circuit diagram of FIG. 4 relative to an elementary (or module) of the Address Counter. In the shown pipeline, whenever the counted address ADD changes, the internal address buses BUS0,1[n:1] also changes. Because there is no bit[0] in the internal address bus BUS1, the latter is updated every other RE pulse. The internal addressbus BUS represents the adder result (ADD-A) of the counted address (ADD). This fact implies the occurrence of glitches on the internal address buses BUS0,1 during the portion indicated by the symbol (*) in FIG. 5 (i.e., the falling edge of RE) becauseof different timing delays in adding the result of a counted address for each bit of the internal address bus bit. The values of BUS0,1 during the (*) portion of RE in FIG. 5 is unstable because they are changing during such an interval of time. Therefore, they are considered as unknown. On the other hand, these are as other internal address buses aredirectly connected to the page buffer and to the redundancy block. Therefore, whenever the buses BUS0,1 have glitches, redundancy will be evaluated for changing address values. Moreover, the addressing of the page buffer will also suffer instabilities. The more the duration of these instabilities (i.e., the * portion of RE in FIG. 5) is reduced, the more stable the operation of the page buffer and of the redundancy block will be. Typically, in the case of a NAND Flash of small page size organization, the specifications require the user to issue a pointer (50h) to access a spare area before performing a read operation or a program operation. Therefore, it is known whetherthe user is going to access spare area or not before the input of an address. In case of a small page organization of the memory, the spare area of each page is generally 16 bytes or 8 words. Therefore, when the external user inputs an address through a certain number of ALE cycles to access the spare area, only addresses(or more precisely the address bits) [3:0] (also indicated thereinafter with the short-hand notation A[3:0]) of the column address are available. Other address bits A[7:4] are discarded regardless of the users full address that has been input. From the point of view of the address counter design, it is necessary to fix the address bits A[7:4] either to a low or high state to ensure correct operation of the counter. In a memory with a small page organization, this is possible becauseof the above described pointer requisite. In contrast, in case of a large page organization of the memory device, there is no pointer command for accessing the spare area of the memory device, and to do so the user needs to input the address bit All setto a high logic value (X8 mode). Commonly, in case of a large page organization, the spare area on each page is 64 bytes or 32 words. When the user, through the sequence of ALE cycles, inputs an address in the spare area, only the address bits [5:0] among the column addressbits are available. The other address bits[10:6] are to be discarded regardless (X8 mode). Referring to FIG. 7, there is no chance to set A[10:6] to a low logic value because the information A11 that indicates that the access is to the spare area comes after the address bits A[10:6] have been input. Therefore, the address bits A[10:6]will be different according to the user's input, and because of this the design of the internal counter is generally more complicated to handle this situation. SUMMARY OF THE INVENTION In view of the foregoing background, an object of the present invention is to reduce the glitch problem associated with address counters for nonvolatile memory devices. This and other objects, advantages and features in accordance with the invention are provided based on a modified address counter architecture. In each elementary cell or module of the address counter, an additional address latching flip-flop isprovided for loading each externally applied memory address bit at the rising edge of an external address loading clock signal. This may be performed during ALE cycles to be successively transferred from the address loading flip flops to the mainaddress counting flip flops of the address counter cell or module. In this way, the generation of glitches because of different timing delays in adding the counted address values may be prevented by separately controlling the loading of the external address, and the counting thereof by the address countingflip-flop of the cell. Moreover, instead of employing an adder as in prior art architectures to generate at least a second internal address bus based on the address bus values output by the Internal Address Counter, for implementing a pipeline according to a preferredembodiment, an internal address bus (or buses) may be generated by adding respective internal address values bus driving flip flops in each bit cell (module) of the address counter, and controlled by the values stored in the leading and main flip flopsthrough a control logic. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a data path flow scheme of a nonvolatile NAND type memory according to the prior art. FIG. 2 illustrates a read sequence according to the prior art. FIG. 3 illustrates a program sequence according to the prior art. FIG. 4 shows a cell of a common internal counter architecture, and related clock conditions according to the prior art. FIG. 5 illustrates an example of a pipeline implemented for a read operation according to the prior art. FIG. 6 illustrates the behavior of an internal address counter for accessing a spare area in a memory device having a small page organization (256MX8) according to the prior art. FIG. 7 illustrates the program sequence for accessing a spare area in a memory device having a large page organization (1GX8) according to the prior art. FIG. 8A is a basic circuit diagram of the address counter according to the present invention. FIG. 8B shows a pipeline implementation in a cell of the address counter of FIG. 8A. FIG. 9 illustrates the behavior of the address counter for a read operation according to the present invention. FIG. 10 illustrates the behavior of the address counter for a program operation according to the present invention. FIG. 11 illustrates the behavior of the address counter when accessing a spare area in a memory device having a large page organization (1GX8) during a program operation according to the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In describing the features of the illustrated architecture of an internal (column) address counter compared to those in the known architecture of FIG. 5, the following TABLE 1 on the meanings of the numerous signal labels and circuit labels usedin the drawings and in this description may be of assistance to the reader TABLE-US-00001 TABLE 1 CLE Command Latch Enable. ALE Address Latch Enable. R/B ! Ready/Busy. WEN Negate of Write Enable REN Negate of Read Enable I/O0~7 Data Inputs/Outputs Erase_verify_ck Clock that is generated when executing the eraseverify algorithm WEN AFTER ALE cycle WEN signal after ALE cycle. That is, WEN cycle for pure data load. CARRY[n] the logic result of CARRY[n-1] and ADD(Q)[n-1] LOADADD Address data input from PAD during ALE cycle. It is the start address requested bythe user. ENCOUNT `H` when the Address Counting F/F(of the Main Counter) should be incremented at rising edge of every CK_ADD. LOAD_UPDATE `H` when initially the value of the Address Loading F/F is loaded in the Address Counting F/F(of the Main Countercell or module) to set the start address according to the user's input. ENLOAD `H` during ALE cycles AX_INC_2 In order to make a pipeline for a read operation, a value LOADADD 2 must initially be loaded in the Internal Address F/F of the InternalAddress BUS ADD_A0 of the novel Address Counter architecture. READCTRL_CLE `H` when READ confirm (30h) is input. AX_LOAD11 For the Address Counting F/F[10:6], AX_LOAD11 is the Address[11] value among the start address bit values input by the user. Forthe Address Counting F/F[5:0], AX_LOAD11 is fixed to `L`. AX_INC_1 In order to make a pipeline for a read operation, a value LOADADD 1 must be loaded in the Internal Address F/F off the Internal Address BUS ADD_A1 of the novel Address Counterarchitecture. AX_LOAD0 Address[0] value among the start address bit values input by the user. CK_LOAD Corresponds to the WEN signal when ALE is high Address Loading F/F Is the added F/F of each cell or module of the novel Address Counter for storingAddress data input through the PAD when ALE is high and WEN is low. Address Counting Is the main F/F of the basic F/F Address Counter architecture. The value stored in the Address Loading F/F is loaded in the main Address Counting F/F to set the startaddress value according to the user's input with LOAD_UPDATE `H`. Once the Address Counting F/F has loaded the value stored in the Address Loading F/F, the address may start to be incremented by CK_ADD. ADD output value of any of the Address CountingF/F that compose the Address Counter ADD[0] The counted address value of the Address Counting F/F[0] Counted Address The values stored in the Address value Counting F/F that compose the Address Counter. The number of Address Counting F/F depend on thecapacity of device (for 1 Gbit (Large) page, the number is 27, for a 512 M (Large) Page, the number is 26) Adder In prior art architectures, it adds ADDs values to make a pipeline. In FIG. 5, Internal Address BUS0 is Counted Address value[n:1] CountedAddress value[0], whilst Internal Address BUS1 is Counted Address value[n:1]. ADD_A output of Adder. The number of ADD_A values depends on the capacity of device(1 Gbit Large page 26, 512 M Large Page 25). ADD_A corresponds to Internal Address BUS0 ofFIG. 5. Internal Address output of Adder. That is ADD_A BUS0[n:1] values. The width of Internal Address BUS0 depends on the capacity of device(1 Gbit Large page 26, 512 M Large Page 25). Internal Address The Counted Address values[n:1], BUS1[n:1]That is the ADD values The width of Internal Address BUS1 depends on the capacity of device(1 Gbit Large page 26, 512 M Large Page 25). ADD_A0 Corresponds with the Internal Address BUS0[n:1] of FIG. 5. That is one internal address to make a readpipeline. ADD_A1 Corresponds with the Internal Address BUS1[n:1] of FIG. 5. That is the other internal address to make a pipeline. With reference to the diagram of FIG. 8A, address loading of externally input address values and their storing in the main address counting flip flop of the address counter is handled in two distinct flip-flops F/F1 and F/F2, respectively, foreach cell of the address counter. The counter is realized by coupling together a plurality of cells of FIG. 8B such that the bit CARRY generated by a cell is fed to the cell that follows in the cascade. The address loading flip-flop F/F1 stores the externally input address bit during ALE cycles. The functioning of the illustrated address counter for carrying out a read operation is as follows. The signal CK_LOAD is equal to WEN signal only during ALE cycles. The address bit value is updated in the address loading F/F1 by CK_LOAD, and corresponds to a bit of the address input by the external user. The bit value or counted address value ADD in the main or address counting flip-flop F/F2 of a cell of the address counter is eventually updated to correspond to the bit in the address loading flip flop F/F1 at the rising of CK_ADD during theread confirm cycle (30h). At this time, in order to support a pipeline operation as the one depicted in FIG. 5, the full counted address given by the multibit bus of all the ADD bit values of the cells of the address counter is incremented by two compared to the fulladdress loaded in the address loading flip flops F/F1 of all the cells of the address counter. This "increment by two" of the loaded address (AX_INC--2=Q_LOAD_int[11:0] 2) takes place before LOAD_UPDATE. In other words, this is before the loadedexternally input address becomes stored into the main counted flip flops F/F2 of the address counter. Therefore, in a read operation, the signal READCTRL_CLE becomes high and the counted address value (ADD) can be updated to the incremented by two addresses at the rising edge of CK_ADD when LOAD_UPDATE=high (i.e., during the read confirm cycle(30h)). The pipelining can be implemented with the illustrated address counter of FIG. 8A as illustrated in FIG. 8B, which depicts a cell of the cascade of cells of the counter. FIG. 8B illustrates a cell of the cascade of cells that forms the address counter. This also includes the circuitry for implementing a pipeline identified in the circled area. When the internal address counter is incremented at every toggling of the RE signal, the internal address buses BUS0 and BUS1 are updated to the bit values A[27:1] assumed by the cells of the internal address counter. This is according to thevalue a[0] of the address counting flip flop F/F of the first cell of the internal address counter. This behavior is a key feature of the pipelining of the illustrated address counter because the page buffer, contrary to what happens in the prior art architectures of the address counter, is no longer directly connected to an address counterthat implements the addition. On the contrary, in the new architecture, the page buffer will receive new address values latched in the address loading flip flops at the rising edge of the CK_ADD signal. That is, after the adding by two of the inputaddress has been already completed (AX_INC--2=Q_LOAD_int[11:0] 2). Therefore, the risk of occurrence of glitches is significantly reduced compared to the known architectures. Focusing on the circuitry for implementing a pipeline in the labeled circle, internal address buses BUS0 and BUS1 are updated to "load address 1" and "load address", respectively, at the same moment when the main address counter value ADD isfinally updated to the "incremented-by-two" value of the externally input address previously latched in the address loading flip flops of the cells of the counter. That is, this value is Ax_INC--2=Q_LOAD_int[11:0] 2. The value of the internalsignal AX_INC--1 of the pipelining circuitry is AX_INC_1=Q_LOAD_int[11:0] 1. Thereafter, when the internal address counter is incremented by every RE signal toggling, the internal address buses BUS0 and BUS1 are updated to the address ADD stored in the internal address counter main address counting flip flops [27:1] Thisdepends from the value of the first bit cell [0] of the internal address counter. With the illustrated architecture, the page buffer of the memory device is no longer directly connected to a counter that accomplishes the addition on the fly. On the contrary, the page buffer will receive the new latched address bits at therising edge of CK_ADD after the addition has already been completed. Therefore, the risk of glitches is reduced. CK_LOAD corresponds to the WEN signal only during an ALE cycle. The input address values LOADADD are updated in the address loading flip flops F/F1 at the rising edge of CK_LOAD. The main F/F2 or address counting flip flops are updated to the values in the address loading flip flops F/F1 at the rising of CK_ADD during the first toggling of the input WEN of a data cycle. There is no need to increment the address at the first rising edge of the WEN signal during a data cycle. Therefore, the first rising edge of WEN can be exploited for updating the main address counting flip flops F/F2 to the address bits inputduring the ALE cycles. During a first WEN cycle, LOAD_UPDATE is high and READCTRL_CLE is low and CK_ADD corresponds to WEN. Therefore, the address counting flip flops F/F2 of the cell can be updated to the loaded address bits present in the address loading flip flopsF/F1 of the cell. From the second WEN cycle onward, the column address is incremented and the internal address buses BUS0 and BUS1 are updated to the counted address [27:1] according to the value of the first cell [0] of the internal address counter. As shown in FIG. 11 for a program operation, the address counter values are updated to the loaded address Values during the first WEN cycle of data cycle This is similar to a confirm cycle for read operation. Therefore, when the external user inputs an address through ALE cycles, accessing a spare area of the array, the spare area address is loaded in the address loading flip flops F/F1 by CK_LOAD. As explained above in discussing the counting problem of known address counters, in X8 mode, the spare area access in case of a large page organization is addressed through the bit [11] (X8 mode). Therefore, with the illustrated architecture, when the user sets the input address bit [11] to high, during the ALE cycles, AX_LOAD11 becomes high and it is possible to update the address bits A6-A10 to 00000 while the other address bitscorrespond to those of the input address in order to ensure a correct counter operation. |