Failure bit count circuit for memory and method thereof
11513880 · 2022-11-29
Assignee
Inventors
Cpc classification
G11C29/24
PHYSICS
G06F11/0727
PHYSICS
G11C16/3459
PHYSICS
International classification
Abstract
A failure bit count (FBC) circuit for memory array is provided. The memory array includes pages each having plural sectors and a redundancy column. The FBC circuit includes FBC units, in which each FBC unit is respectively coupled to each sector for providing a failure bit count current; a redundancy FBC unit coupled to the redundancy column and provides a redundancy current; a switch having a first end and a second end capable of being switched to couple to one of outputs of the FBC units to receive the failure bit count current from one of the FBC units; a comparator having a first input end that receives a reference current, and a second input end that receives a measurement current obtained by adding the failure measurement current and the redundancy current, and an output end outputting a judge signal to indicate a number of failure bits for each sector.
Claims
1. A failure bit count circuit for memory array, wherein the memory array comprises a plurality of pages and each of the pages comprises a plurality of sectors and a redundancy column, the failure bit count circuit for each of the pages comprising: a plurality of failure bit count units, in which each of the plurality of failure bit count units is respectively coupled to each of the plurality of sectors for providing a failure bit count current; a redundancy failure bit count unit which is coupled to redundancy column and provides a redundancy current; a switch which has a first end and a second end that is capable of being switched to couple to one of outputs of the plurality of failure bit count units to receive the failure bit count current from one of the plurality of failure bit count units; and a comparator, having a first input end that receives a reference current, and a second input end that receives a failure measurement current that is obtained by adding the failure bit count current and the redundancy current, and an output end that outputs a judge signal to indicate a number of failure bits for each sector by comparing the reference current and the failure measurement current.
2. The failure bit count circuit for memory array according to claim 1, further comprising: a first current-voltage converter that converts the reference current into a reference voltage; and a second current-voltage converter that converts the measurement current into a measurement voltage.
3. The failure bit count circuit for memory array according to claim 2, further comprising: a voltage divider that divides the reference voltage into N divided reference voltages, in which N is equal to an allowable number of failure bits for each of the plurality of sectors.
4. The failure bit count circuit for memory array according to claim 3, wherein the comparator further comprises N comparator modules, each of the N comparator modules has a first input end that receives a corresponding divided reference voltage among the N divided reference voltages, each of the N comparator modules has a second input end that receives measurement voltage, and outputs of the N comparator modules provide the judge signal.
5. The failure bit count circuit for memory array according to claim 1, wherein the switch comprises a plurality of transistors having the same number as the plurality of sectors, the plurality of transistors is respectively and correspondingly connected to the plurality of sectors, and the plurality of transistors is connected in parallel and operated in a manner that one of the plurality of transistors is turned on one at a time.
6. The failure bit count circuit for memory array according to claim 1, wherein each of plurality of failure bit count units comprises a current mirror and a latch coupled to the current mirror, and a result of a program verify to the sector is latched in the latch so as to activate the current mirror in a case that the program verify has failed.
7. The failure bit count circuit for memory array according to claim 1, wherein the redundancy failure bit count unit has the same configuration as each of the plurality of failure bit count units.
8. The failure bit count circuit for memory array according to claim 1, further comprising at least one reference current generator for generating the reference current.
9. The failure bit count circuit for memory array according to claim 8, wherein the at least one reference current generator is provided in a well pickup region in a page buffer of the memory array.
10. The failure bit count circuit for memory array according to claim 1, wherein the plurality of failure bit count units and the redundancy failure bit count unit are provided in a page buffer of the memory array.
11. The failure bit count circuit for memory array according to claim 1, wherein the comparator and the switch are provided in a peripheral region of the memory array.
12. The failure bit count circuit for memory array according to claim 1, wherein the judge signal is provided by using a thermometer code or a binary code.
13. A method of failure bit count circuit for memory array, wherein the memory array comprises a plurality of pages and each of the pages comprises a plurality of sectors and a redundancy column, each of the plurality of sectors being provided with a failure bit count unit and the redundancy column being provided with a redundancy failure bit count unit, the method for each sector comprising: providing a failure bit count current by the failure bit count unit; providing a redundancy current by redundancy failure bit count unit; switching between outputs of the plurality of failure bit count units to receive the failure bit count current from the plurality of failure bit count units, respectively; generating a failure measure current by adding the failure bit count current and the redundancy current; receiving a reference current; and comparing the failure measure current with the reference current to provide a judge signal to indicate a number of failure bits for each sector.
14. The method according to claim 13, further comprising: converting the failure measure current to a failure measure voltage; converting the reference current to a reference voltage; and comparing the failure measure voltage with the reference voltage to provide the judge signal.
15. The method according to claim 13, wherein the judge signal is provided by using a thermometer code or a binary code.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments of the disclosure and, together with the description, serve to explain the principles of the disclosure.
(2)
(3)
(4)
(5)
(6)
(7)
DESCRIPTION OF THE EMBODIMENTS
(8)
(9) In addition, a plurality of failure bit count units FBC-1, FBC-2, FBC-3 and FBC-4 is provided in the page buffer 108, and each of the failure bit count units FBC-1, FBC-2, FBC-3, and FBC-4 is respectively coupled to each of the sector-1, sector-2, sector-3, sector-4 (the regular area 102). For example, when there are failure bits existed in sector-1, i.e., when the program verify is failed, a low level signal L is issued to the failure bit count unit FBC-1, and the failure bit count unit FBC-1 outputs a failure bit count current I.sub.SEC1 that is n times the failure bit current I.sub.FB. Namely, the failure bit count current I.sub.SEC1 is equal to n times the failure bit current I.sub.FB, where n is the number of the failure bits.
(10) In addition, a redundancy failure bit count unit FBC-RED is also provided in the page buffer 108 for the redundancy area 104. The failure bit count unit FBC-RED has the same structure as the failure bit count units FBC-1, FBC-2, FBC-3, and FBC-4. The redundancy failure bit count unit FBC-RED may output a redundancy current RED.
(11) In addition, a switch SW1 is further provided and has a first end and a second end that is capable of being switched to couple to the outputs of the failure bit count units FBC-1, FBC-2, FBC-3, and FBC-4. Namely, the switch SW1 may be operated to switch to connect to each of the failure bit count units FBC-1, FBC-2, FBC-3, and FBC-4 at every predetermined time period, so that the failure bit count currents I.sub.SEC1˜I.sub.SEC4 of the failure bit count units FBC-1, FBC-2, FBC-3, and FBC-4 can be respectively read out.
(12) In addition, a comparator 106 is also provided and has a first input end that receives a reference current I.sub.REF and a second input end that receives a failure measurement current I.sub.MEAS, and output a judge signal JUDGE[n] that indicates the number of failure bits for each sector by comparing the reference current I.sub.REF and the failure measurement current I.sub.MEAS. failure measurement current I.sub.MEAS is obtained by adding the failure bit count current I.sub.SEC1 (I.sub.SEC2, I.sub.SEC3, or I.sub.SEC4) and the redundancy current I.sub.RED.
(13) For example, when the switch SW1 is switched to connected to the failure bit count unit FBC-1, the failure bit count unit FBC-1 will provide the failure bit count currents I.sub.SEC1 to the second input end of the comparator 106. Also, the redundancy current I.sub.RED is also provided to the second input end of the comparator 106. As a result, the second input end of the comparator 106 receives the failure measurement current I.sub.MEAS1 that is an addition of the failure bit count currents I.sub.SEC1 and redundancy current I.sub.RED. Then, the comparator 106 compares the failure measurement current I.sub.MEAS1 and the reference current I.sub.REF that is provided to the first input end of the comparator 106, and the judge signal JUDGE[n] for the regular area 102 of the sector-1 is output. Therefore, the number of the failure bits of the sector-1 can be determined.
(14) Then, the failure bit counting is sequentially performed for the other sector-2, sector-3, and sector-4.
(15)
(16) As shown in
(17) As shown in
(18) In addition, the reference current IREF provided to the comparator 106 is configured by current mirror. The reference current generators FBREF are relocated into the well-taps 110 in the region of page buffer 108. The locations of the reference current generators FBREF are labeled by “star” marks. In addition, the number of reference current generators FBREF and their locations are considered by a basic device mismatching improvement. The more the reference current generators FBREF, the less the device mismatching. In this example, m reference current generators FBREF are provided.
(19) As an example, the reference current generator FBREF comprises NMOS transistors N11 and N12. The gate of the NMOS transistor N12 is coupled to a voltage source VDD and the drain of the NMOS transistor N12 is connected to the source of the NMOS transistor N11. The drain of the NMOS transistor N11 is grounded and the gate of the NMOS transistor N11 is biased by a bias voltage BIAS1. The NMOS transistors N11 and N12 have the same dense pattern situation as the NMOS transistor N1 and N2 of the failure bit count unit FBC-1 (or FBC-2˜FBC-4). In addition, the size of NMOS transistors N11-N12 in the reference current generator FBREF and the size of NMOS transistors N1-N2 in the failure bit count unit FBC are the same.
(20) In addition, the switch SW1, the comparator 106 of the failure bit count circuit shown in
(21)
(22) Referring to
(23) JUDGE[n] of the comparator module COM0˜3. In the result, the judge signal JUDGE[3:0] presents the thermometer code and may recognizes 3 failure bits. In a case of 4 failure bits or more, all JUDGE[3:0] of the judge signal JUDGE[n] becomes the high level H. In addition, a binary code can be also used for the judge signal JUDGE[n].
(24) TABLE-US-00001 TABLE 1 JUDGE[n] failure bit 0 1 2 3 I.sub.MEAS 0 L L L L 0 1 H L L L I.sub.FB 2 H H L L 2I.sub.FB 3 H H H L 3I.sub.FB ≥4 H H H H 4I.sub.FB
(25) In addition, as shown in
(26) In
(27) In addition, a voltage divider 130 having resistors that are serially connected is further included. In this example, voltage divider 130 includes four resistors 0.5R, R, R, R to divide the reference voltage V.sub.REF into four reference voltages (divided reference voltages) V.sub.REF0˜V.sub.REF3, and the reference voltages V.sub.REF0˜V.sub.REF3 are respectively and correspondingly provided to one input end of the comparator module COM0-3. In addition, the number of the divided reference voltages is corresponding to the allowable failure bit number. In this example, each sector can allow 4 failure bits, and the reference voltage VREF is divided into four reference voltages V.sub.REF0˜V.sub.REF3.
(28) For example, the reference voltage V.sub.REF0 is provided to one input end of the comparator A1 of the comparator module COM0, the reference voltage V.sub.REF1 is provided to one input end of the comparator A1 of the comparator module COM1, the reference voltage V.sub.REF2 is provided to one input end of the comparator A1 of the comparator module COM2 and the reference voltage V.sub.REF3 is provided to one input end of the comparator A1 of the comparator module COM3.
(29) In addition, four failure bit count units FBC-1˜FBC-4 are provided as an example, and each failure bit count unit FBC includes NMOS transistors N3, N4, like the failure bit count units FBC-1˜FBC-4 shown in
(30) Moreover, in order to keep same dense pattern between reference current generators FBREF and the failure bit count units FBC-1˜FBC-4, the size of the NMOS transistors N1, N2 and the size of the NMOS transistors N3, N4 are the same. As a result, the reference current I.sub.REF is equal to the failure bit current I.sub.FB.
(31) The NMOS transistors N21[1]˜N21[4] serves as the switch SW1 shown in
(32) A NMOS transistor N23 is further provided to connect to the redundancy failure bit count unit FBC-RED that provides the redundancy current IRE D as shown in
(33) The NMOS transistors N21[1]˜N21[4] and the NMOS transistor N23 are operated to provide the failure measurement current I.sub.MEAS, which is an addition of the redundancy current I.sub.RED and one of the failure bit count currents I.sub.SEC1˜I.sub.SEC4. This failure measurement current I.sub.MEAS is then provided to the comparator modules COM0˜3.
(34) A second current-voltage (IV) convertor having a negative feedback configuration with unity gain is further provided, and includes NMOS transistors N20, N22 and a current source I.sub.BIAS. The node NET22 is forced to the threshold voltage V.sub.TH of NMOS transistor N20 by the negative feedback. This second I-V convertor may convert the failure measurement current I.sub.MEAS into a failure measurement voltage V.sub.MEAS at the node NET23. Then, the failure measurement voltage V.sub.MEAS is provided to another input end of the comparator modules COM0˜3.
(35) Then, using the sector-1 as an example, the NMOS transistor N21[1] is turned on and the NMOS transistor N21[1] is turned off. As a result, the failure measurement current I.sub.MEAS becomes the addition of the failure bit count currents I.sub.SEC1˜and the redundancy current I.sub.RED and is converted into the failure measurement V.sub.MEAS that is provided to the another input ends of comparator modules COM0-3. In addition, the reference voltages V.sub.REF0˜V.sub.REF3 are respectively and correspondingly provided to the one input end of the comparator modules COM0˜3, such as the reference voltages V.sub.REF0 for the comparator module COM0, the reference voltages V.sub.REF2 for the comparator module COM2, etc. Then, the comparator module COM0 compares the failure measurement V.sub.MEAS with the reference voltages V.sub.REF0, the comparator module COM1 compares the failure measurement V.sub.MEAS with the reference voltages V.sub.REF1, the comparator module COM2 compares the failure measurement voltage V.sub.MEAS with the reference voltages V.sub.REF2, and the comparator module COM3 compares the failure measurement voltage V.sub.MEAS with the reference voltages V.sub.REF3 Like listed in Table 1, for example, if there are 2 failure bits in the sector-1, then the failure measurement voltage V.sub.MEAS becomes 2I.sub.FB. As a result, the output JUDGE[0] and JUDGE[1] of the comparator modules COM0, COM1 are the high level H, while the output JUDGE[2] and JUDGE[3] of the comparator modules COM2, COM3 are the low level L. Thus, the judge signal JUDGE[n] output from the comparator 106 becomes “1100”, if the low level L is defined as “0” and the high level H is defined as “1”. Therefore, the number of the failure bits of the sector-1 can be determined.
(36) Next, the operations of the comparator modules COM0˜COM3 are described in detail. Each of the comparator modules COM0˜COM3 has the same configuration. In this embodiment, sample-hold comparators are used as an example for the comparator modules COM0˜COM3. As shown in
(37) For each sector, after the program verify is performed, the result of the program verify is latched at the node L1R by the latch (including inverters INV1 INV2, as shown in
(38) Then, the comparator modules COM0˜COM3 enter the holding period. The switch SW2 is thus switched to the positive-end voltage V.sub.POS (i.e., V.sub.MEAS), the switch SW3 is turned off and the switch SW4 is turned on. When the switch SW2 is switched to the voltage V.sub.POS, the potential of capacitor C1 at the switch SW2 side changes from the negative-end voltage V.sub.NEG to the positive-end voltage V.sub.POS. In addition, holding voltage V.sub.HOLD follows the potential of C1 at the switch SW2 side. Thus, the operational amplifier A1 functions a comparator to compare the failure measurement voltage V.sub.MEAS (V.sub.POS) and the reference voltage V.sub.REF(V.sub.NEG) and the output of the operational amplifier A1 is latched by the latch LAT1. Therefore, the comparator modules COM0˜COM3 output the judge signal JUDGE [3:0].
(39)
(40) As shown in
(41) In step S102, a redundancy current I.sub.RED is also provided by redundancy failure bit count unit FBC-RED as shown in
(42) Then, in step S104, a failure measure current I.sub.MEAS is generated by adding the failure bit count current I.sub.SEC1 and the redundancy current I.sub.RED. The failure bit count current I.sub.SEC1 is also provided to the same second input end of the comparator 106, so that the addition (the failure measure current I.sub.MEAS) of the failure bit count current I.sub.SEC1 and the redundancy current I.sub.RED can be provided to the comparator 106.
(43) In step S106, the failure measure current I.sub.MEAS is compared with a reference current IREF to provides a judge signal JUDGE[n] to indicate a number of failure bits for the sector. judge signal JUDGE[n] can be presented by a thermometer code or a binary code. Table 1 illustrates an example. By using the judge signal JUDGE[n], the number of the failure bits can be determined.
(44) In summary, according to the disclosure, the failure bit count units are provided for each sector of a page, and the redundancy column is also provided with the same failure bit count unit. Furthermore, the addition of the failure bit count current and the redundancy current is used to compared with the reference, so that the number of the failure bits in each sectors can be effectively determined.
(45) It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed embodiments without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the disclosure covers modifications and variations provided that they fall within the scope of the following claims and their equivalents.