Abstract:
A wordline internal current leakage self-detection method, system and a computer-readable storage medium thereof employ the originally existed high voltage supply unit and the voltage detector connected to the wordline in the flash memory device, in which the high voltage supply unit applies the test signal to the selected wordline, and the voltage detector detects the voltage signal of the wordline. By comparing the test signal with the voltage signal, the wordline will be indicated as current leakage when the voltage signal is lower than the test signal.

Description:
FIELD OF TECHNOLOGY 
       [0001]    The present invention relates to a self-detection method, system and computer-readable storage medium for NOR-type flash memory device, and particularly to a self-detection method, system and computer-readable storage medium for internal wordline current leakage of NOR-type flash memory device. 
       BACKGROUND 
       [0002]    Following the continuous development of semiconductor processing technology, the integrity of elements inside the semiconductor memory is increasingly enhanced. The extremely minor defects produced in the process will become the critical factors whether the semiconductor is failed. Recently, the fault detection for detecting the memory has become the critical standard procedure in the process. 
         [0003]    Referring to  FIG. 1 , the figure shows a current leakage path when the wordline in NOR-type flash memory has occurred the current leakage. As shown in  FIG. 1 , the cell array  3  is provided with a plurality of cells, and each cell is provided a corresponding local wordline driver (not shown) inside a wordline driver set  1  to transmit a selection instruction for each cell in a row direction. Each cell is located at the intersection between a wordline WL and a bitline BL, and the neighbored two rows share a source line SL. The bitlines BL are driven by a row selector  5 . 
         [0004]    There are various reasons for occurrence of current leakage in NOR-type flash memory, such as wordline leakage P 1  (between neighbored wordlines), junction leakage P 2  (between gate and source/drain) or leakage from wordline driver itself P 3 . These current leakage situations will cause the flash memory being not able to be successfully programmed, erased, written or read. Conventionally, the memory test is conducted through erasing/programming/reading procedures by an external device to analyze and confirm the location of current leakage. However, during the actual testing, because the memory test conducted externally cannot clearly identify the location of current leakage, it is easily occurred with testing overhead and incorrect test results. And, in order to achieve more correct results, it is easily occurred with over-testing situations. Thus, the conventional memory testing methods have various inconveniences and disadvantages. 
       SUMMARY 
       [0005]    An object of the present invention is to provide a self-detection method, system and computer-readable storage medium for wordline current leakage in NOR-type flash memory device, which is able to directly conduct the self test inside the memory. 
         [0006]    In order to achieve the above object and other objects, the internal wordline current leakage self-detection method according to the present invention includes the following steps: a high voltage supply unit as a boost circuit applying a high voltage test signal to a selected wordline; grounding the unselected wordlines, all the bitlines and all the source lines of a cell array; a voltage detector embedded inside the NOR-type flash memory device detecting a voltage signal of the wordline; and, comparing the high voltage test signal with the voltage signal, and determining the current leakage status of the wordline based on the voltage difference between the two signals. 
         [0007]    In order to achieve the above object and other objects, the computer-readable storage medium storing with testing programs therein executes the above-mentioned self-detection method. In an embodiment, the computer-readable storage memory can further store the address of wordline with current leakage therein. 
         [0008]    In order to achieve the above object and other objects, the internal wordline current leakage self-detection system according to the present invention comprises: a high voltage supply unit providing with a high voltage test signal; a voltage detector, which is electrically connected with all wordlines for detecting a voltage signal of the selected wordline; a control unit, which is electrically connected with the high voltage supply unit and the voltage detector to make the high voltage supply unit applying the high voltage test signal to the selected wordline, and to ground the unselected wordlines, all the bitlines and all the source lines of a cell array, and to receive the voltage signal of the wordline detected by the voltage detector to compare the high voltage test signal with the voltage signal, and determining the current leakage status of the wordline based on the voltage difference between the two signals. 
         [0009]    In an embodiment according to the present invention, the internal wordline current leakage self-detection method is to determine all the wordlines for the current leakage status individually according to the address sequence. 
         [0010]    In an embodiment according to the present invention, when the wordline is determined to be at current leakage status, the remaining redundant units can be used to directly replace the memory units below the wordline with current leakage. 
         [0011]    Therefore, the direct detection for current leakage status from the internal circuit can greatly reduce the probability of fault determination, and precisely detect various possibilities of current leakage, such as current leakage between neighbored wordlines, current leakage between gate and source/drain, and even the current leakage of wordline driver itself. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0012]      FIG. 1  is a diagram of current leakage path for the wordline occurring with current leakage in NOR-type flash memory; 
           [0013]      FIG. 2  is a configuration diagram of the self-detection system in an embodiment according to the present invention; and 
           [0014]      FIG. 3  is a flow chart of the self-detection method in an embodiment according to the present invention. 
       
    
    
     DETAILED DESCRIPTION 
       [0015]    In order to fully appreciate the objects, features and effectiveness of the present invention, the present will be described in details with the following embodiments in connection with the attached figures. 
         [0016]    Referring to  FIG. 2 , the figure is a configuration diagram of the self-detection system in an embodiment according to the present invention. As for an ordinary NOR-type flash memory device, each memory unit in the cell array  103  is controlled by a wordline driver set  101  and a row selector  105 . The wordline driver set  101  comprises a plurality of wordline drivers WD 1 ˜WDm, and each wordline driver is connected with a wordline WL 1 ˜WLm. The intersection of each wordline WL 1 ˜WLm with the bitlines BL 1 -BLm is the location of one memory unit. 
         [0017]    The high voltage supply/monitor device  200  selectively provides with the power supply voltage Vcc or boost voltage Vpp through the control of voltage switch circuit  202  and control unit  111  to the selected wordline driver WD 1 ˜WDm. The high voltage supply unit  204  as a boost circuit is activated by the control unit  111 , and employs the power supply voltage Vcc to generate the boost voltage Vpp after activation. The switch of the voltage switch circuit  202  is controlled by the control unit  111 , and makes the output of the voltage switch circuit  202  as the power supply voltage Vcc under reading mode, and makes the output of the voltage switch circuit  202  as the boost voltage Vpp under programming or erasing mode, and further provides with the voltages required by the wordline drivers WD 1 ˜WDm under various modes. In which, the control unit  111  usually comprises a counter and a status controller (not shown). The counter may be used for counting of wordline address, and the status controller may be used to control the operation of other units electrically connected thereto. 
         [0018]    The voltage detector  206  is connected with each wordline driver WD 1 ˜WDm, and used to monitor the voltage level on the wordline drivers WD 1 ˜WDm. When the wordlines WL 1 ˜WLm indicated by the column decoder  109  require a high voltage, the control unit will make the output of the voltage switch circuit  202  as a boost voltage Vpp, and the voltage detector  206  will detect/monitor the boost voltage Vpp. When the boost voltage Vpp did not reach the predetermined value, it will feedback a signal to the control unit  111 , and the control unit  111  will make the high voltage supply unit  204  to increase the boost voltage to reach the predetermined value. 
         [0019]    The column decoder  109  activate the specific wordline drivers WD 1 ˜WDm according to the address instruction for the control unit  111 , and further makes the voltage supplying to the selected wordlines WL 1 ˜WLm. 
         [0020]    The present invention employs such internally operating mechanism to proceed the internal current leakage self-detection method for wordlines WL 1 ˜WLm. 
         [0021]    Referring to  FIG. 3 , the figure is a flow chart of the self-detection method in an embodiment according to the present invention. First, in the step S 101 , select the wordline with a specific address through the control unit  111  and the column decoder  109 , which starts with the first bitline with the most front address in the cell array  103  in this embodiment. However, the selection method with other sequence can also be suitable for the present invention. 
         [0022]    In Step S 103 , the high voltage supply unit  204  and the voltage switch circuit  202  apply a high voltage detection signal to the selected wordline. At this time, the control unit  111  simultaneously connects the other unselected wordlines, all the bitlines and all the source lines of the cell array to the ground. 
         [0023]    In Step S 105 , the voltage detector  206  measures the voltage signal of the selected wordline, and transmits it to the control unit  111 . The control unit  111  compares the high voltage test signal with the voltage signal. If the high voltage test signal is matched with the voltage signal, it indicates there is not current leakage for the selected wordline; if the high voltage test signal has a voltage difference with the voltage signal, and is not matched therewith, it indicates there is a current leakage for the selected wordline, and marks the bitline as fault. In other embodiments, it can also consider a tolerance and set the voltage difference within a certain range representing no current leakage. 
         [0024]    In Step S 107 , the control unit  111  determines if there is any wordline not being tested. In this embodiment, it is determined if the wordline being tested currently is the last wordline in a sequence; if so, entering Step S 111 , and the control unit  111  will stop the testing step, and mark the cell array as passed; if not, entering Step S 109 , and the address counting of this cell array will be incremented with one, which returns to Step S 103  to select the next wordline, and continue the testing step. 
         [0025]    The above-mentioned testing method is a sequential test with automatic counting, but the other kind of sequence can also be suitable for the present invention. 
         [0026]    The above-mentioned method employs the current leakage self-detection system according to the present invention to complete the internal wordline current leakage self-detection method. The test program for these methods can also be stored in a computer-readable storage medium, such as an external memory unit or a memory block in the control unit  111 . 
         [0027]    Moreover, the detected wordline address with current leakage status as described above can also be stored in a computer-readable storage medium, such as an external memory unit or a memory block in the control unit  111 . 
         [0028]    Furthermore, a preferred embodiment according to the present invention further employs the redundant units to replace the memory units below the fault wordlines. In such an embodiment, the cell array  103  comprises a lot of redundant units for replacing the memory units below the fault wordlines. Thus, after Step S 105  determined the selected wordline having current leakage (being fault), Step S 201  is executed to determine if there is still remaining redundant unit; if so, entering Step S 203  to replace the memory units below fault wordlines with the remaining redundant units, and then the remaining amount of redundant units will be decremented with one; if not, entering Step S 205 , and the control unit  111  stops the testing step, and marks the cell array as being fault. 
         [0029]    The measurement result for selected wordlines will be outputted by the control unit  111  to the outside with the information for passing the test or not; and, when the wordline is determined with current leakage (being fault), it will output the address information for the wordline based on the calculation of the counter. 
         [0030]    In a summary, the present invention does not need external testing equipment and employs the programmed testing program to conduct the wordline current leakage self-detection directly inside the NOR-type flash memory device, and further precisely detect various possibilities of current leakage, such as current leakage between neighbored wordlines, current leakage between gate and source/drain, and even the current leakage of wordline driver itself. 
         [0031]    The present invention has been disclosed in the above context with preferred embodiments. However, the skilled in the art should appreciate that these embodiments are only used to describe the present invention, and should not be comprehended as limiting the scope of the present invention. It should be noted that all the modifications and variations equivalent to these embodiments should be within the scope of the present invention. Thus, the protection scope for the present invention should be only defined by the claims.