ADDRESS COUNTER FOR NONVOLATILE MEMORY DEVICE
An address counter for a nonvolatile memory device includes a cascade of cells. Each cell includes an address counting flip-flop that is updated to a value of every newly counted address bit, or latches a column address bit value input by an external user of the memory device during ALE cycles for addressing a start memory location on a selected page. Each cell further includes an additional address loading flip-flop for loading the column address bit value input during ALE cycles for addressing the start memory location on the selected page during the ALE cycles. A logic circuit updates the address counting flip flop to the address bit value during a read confirm cycle in a read sequence, and during a first data input cycle in a program sequence.
Latest STMicroelectronics S.r.l. Patents:
The 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 memory device.
BACKGROUND OF THE INVENTIONA 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 as illustrated in the data path flow scheme of
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 read sequence and a program sequence follows.
Referring to the read sequence depicted in
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 will be incremented to select consecutive data stored in the selected page.
Referring to
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 counter controls 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 consecutive mode. 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
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, internally generated by the input logic circuitry 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 incremented by 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 the page 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 verify algorithm, 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_ICK (CLK_SEL=11) and the internal address counter value ADD is incremented at every WEN toggling. WEN—1CK is a signal whose function 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 during the 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. In the following
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 values stored in the gain or counting flip-flops F/F, that compose the Address Counter in
In the shown pipeline, whenever the counted address ADD changes, the internal address buses BUSO,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 address bus 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
The values of BUS0,1 during the (*) portion of RE in
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 whether the 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 low or high state to ensure correct operation of the counter. In a memory with a small page organization, this is possible because of 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 set to 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 address bits are available. The other address bits[10:6] are to be discarded regardless (XS mode).
Referring to
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 is provided for loading each externally applied memory address bit at the rising edge of an external address loading clock signal. This may be peformed during ALE cycles to be successively transferred from the address loading flip flops to the main address 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 counting flip-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 preferred embodiment, 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 flops through a control logic.
In describing the features of the illustrated architecture of an internal (column) address counter compared to those in the known architecture of
With reference to the diagram of
The counter is realized by coupling together a plurality of cells of
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 the read confirm cycle (30h).
At this time, in order to support a pipeline operation as the one depicted in
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
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 the value A[c0] of the address counting flip flop F/F of the first cell of the 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 counter that 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 input address 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 is finally 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 internal signal 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] This depends 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 the rising 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 input during 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 flops F/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
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 XS 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 bits correspond to those of the input address in order to ensure a correct counter operation.
Claims
1. An address counter for a nonvolatile memory device comprising a memory cell array and a page buffer for storing data read from a selected memory array page and to be read therefrom starting from an addressed memory array location during a read sequence and during data input cycles to the device to be written starting from an addressed memory array location during a program sequence, the address counter comprising a cascade of elementary cells each including an address counting flip-flop (F/F2) that is updated to the value of every newly counted address bit (ADD) or latches a column address bit value (ADD) input by an external user of the memory device during ALE cycles for addressing said start memory location on the selected page at the rising edge of a clock signal (CK_ADD) generated by an input logic circuitry managing external user's commands, and a carry signal (CARRY) propagation logic circuit along the cascaded elementary cells that form the address counter, characterized in that each elementary cell of the address counter further comprises:
- an additional address loading flip-flop (F/F1) for loading such a column address bit value (LOADADD) input by an external user of the memory device during ALE cycles for addressing a start memory location on a selected page at the rising edge of said clock signal (CK_LOAD) during ALE cycles;
- logic circuit means for updating said address counting flip flop (F/F2) at the rising edge of said clock signal (CK_ADD) to said address bit value (LOADADD) input by an external user of the memory device during ALE cycles for addressing a start memory location on the selected page when is active an internally generated control signal (ENLOAD) that is raised during a read confirm cycle (30h) in a read sequence, and during a first data input cycle (D0), in a program sequence.
2. The address counter of claim 1,
- including circuit means for implementing a parallel data transfer scheme (pipeline), by generating, from each new counted address in the cells of said address counter, two distinct counted address buses (BUS0, BUS1), the second (BUS1) of which is without the first bit [0] and is updated every other toggling of an external user's read enable clock signal (RE) or write enable clock signal (WE) during a read or a program sequence, respectively, said circuit means of each cell of the address counter comprising first and second address buses (BUS0, BUS1) driving flip flops (F/F3, F/F4) and related circuit for updating the address bit content of said driving flip flops (F/F3, F/F4) at every change of the counted address in the address counting flip flop (F/F2) of cells of the address counter at the rising edge of the logic AND signal of said clock signal (CK_ADD) with the negate of the first bit value (ADD[0]) of the new counted address, for the first internal bus (BUS0), and with the direct first bit value (ADD[0 ]) of the new counted address, for the second internal bus (BUS1).
3. The address counter of claim 2, wherein during a read sequence said updating circuit of the bus driving flip flops (F/F3, F/F4) respectively updates one to the loaded externally input address value plus one and the other to the externally input address value at the instant the counted address in the counting flip flops (F/F2) of the address counter is incremented-by-two at the rising edge of the clock signal (CK_ADD) and thereafter, upon incrementing the address counter at every toggling of an external user's read enable command (RE), said internal address bus driving flip flops (F/F3, F/F4) are updated according to said first bit value (ADD[0]) of every new counted address.
Type: Application
Filed: Jul 27, 2007
Publication Date: Feb 28, 2008
Applicants: STMicroelectronics S.r.l. (Agrate Brianza (MI)), STMicroelectronics Asia Pacific Pte Ltd (Singapore), Hynix Semiconductor Inc. (Ichon-si)
Inventors: Hyungsang Lee (Gyeonggi-Do), Dae Sik Song (Gyeonggi-Do), Jacopo Mulatti (Latisana)
Application Number: 11/829,580