Integrated circuit having current monitoring cells for testing

Abstract: Current monitoring cells (12) are located at selected locations on power supply lines (16) within a chip. Each cell (12) compares the current flow at predetermined times with a reference. If the current exceeds the reference, a signal is provided indicating a fault in the chip. A flip flop (30) in the cell is set to maintain an indication of the fault condition. In two embodiments, the cells are connected with a scan chain which is used to sequentially access the test results for each cell. A third embodiment does not include the scan chain but the cells (12) are individually selectable. A current divider (56) may be included in each cell to isolate the voltage drop of the fault sensor from the functional circuit to minimize the impact of measuring the current for fault detection purposes.

Description: The present invention relates to apparatus for testing integrated circuits. The development of manufacturing test programs for CMOS (complementary metal-oxide-semiconductor) integrated circuits is a time-consuming and costly development activity. As the design complexity of CMOS integrated circuits increases, manufacturing test development is becoming a major portion of the design cycle. At present, the majority of techniques for test program development are based upon the use of "stuck-at-fault" arrangements. The "stuck-at-fault" model is the basis for fault simulation, ATPG (automatic test pattern generation), scan testing, BIST (built-in self test technique) and some embedded test structures. The "stuck-at-fault" model has been shown to be inadequate in identifying the majority of possible manufacturing defects. As an alternative approach, US Patent No. 5,097,206 discloses Iddq (static or quiescent power supply current) testing for detecting manufacturing faults for static CMOS circuits. The Iddq test is based upon monitoring the quiescent Iddq current. Variations in the quiescent Iddq current can indicate a faulty circuit. The apparatus known from said US Patent has the disadvantage of utilizing two modes of operation, normal mode and test mode. The Journal of Electronic Testing, vol.3, no.4, December 1992, pages 111-120, discloses an apparatus for testing for faults in an integrated circuit and which includes a plurality of current monitoring cells embedded within the integrated circuit for detecting faults therein. Also, US-A-5,115,191 discloses a scanning system which allows for the reading of a plurality of values representative of tests of signals in an integrated circuit. It is an object of the present invention to provide apparatus for testing an integrated circuit wherein continuous testing can be performed in an adaptable and efficient manner during normal operation. Therefore, according to the present invention as it is defined in the appended claims, there is provided apparatus for testing for faults in an integrated circuit, including a plurality of current monitoring cells embedded within said integrated circuit and capable of detecting faults therein, wherein a scanning circuit is coupled to said current monitoring cells for scanning said current monitoring cells, said integrated circuit including power supply buses and internal power buses and said current monitoring cells providing interconnections between said power supply buses and said internal power buses, and characterized in that said current monitoring cells also include sensing circuitry arranged to supply the said internal power busses with a supply current from the said power busses for operation of the integrated circuit during a test mode and so as to monitor the said supply current while maintaining a supply current to the integrated circuit, and bypass circuitry for bypassing said sensing circuitry. Embodiments of the present invention will now be described, by way of example, with reference to the accompanying drawings, in which:- Fig. 1 is a schematic view of an integrated circuit which includes an embedded built-in Iddq test capability. Fig. 2 is a circuit diagram of an Iddq current monitor cell. Fig. 3 is a circuit diagram similar to Fig. 2, but showing an Iddq current monitor cell which includes a current divider. Fig. 4 is a circuit diagram showing a plurality of current monitor cells with common current sensing. Referring now to Fig. 1, shown there is an integrated circuit 10 having a built-in Iddq test circuit. The test circuit comprises a plurality of Iddq current monitoring cells 12 which are used for both power distribution and current sensing. The cells 12 are arranged in the illustrated embodiment in vertical columns and horizontal rows, with internal power busses 14 distributing power to these cells. Power is distributed to the internal power busses 14 by supply busses 16 which run perpendicular to the internal power busses 14 in the illustrated embodiment. Standard or gate array cells 18 for performing the particular functions for which the circuit 10 is designed are positioned between the current monitoring cells 12, and power is provided to these cells 18 by the internal power busses 14. It will be seen that an Iddq current monitor cell 12 can be used at all, or selective, grid connection points between the supply busses 16 and the internal busses 14 for both power distribution and Iddq current monitoring. Each of the Iddq current monitor cells 12 can test the Iddq current at a desired point in the array. The Iddq current monitor cells 12 are connected with a scan chain 20 which is used to access sequentially the Iddq current test results for each cell 12. The Scan Out connection of one cell 12 is connected to the Scan In position of an adjacent cell 12, and so on. The Scan Out connections terminate in test control logic 22, where the results of the test are received and analyzed. Reference voltages are provided by the test control logic 22 and are applied to the various cells 12 over conductive paths 24. Each Iddq current monitor cell 12 is part of the power grid distribution which is used to monitor the quiescent Idd current at various connection points in the power grid of the integrated circuit 10. Each cell 12 both distributes the power and monitors the current. The cell 12 as shown in Fig. 2 includes three main components: a current sensor 26 which converts the Iddq current to a voltage drop V(Iddq) which is a function of the current; a comparator 28 which compares the voltage drop to a reference voltage; and a scan flip flop 30 which is used to scan and latch out the result. The current sensor 26 comprises a transistor having its emitter coupled via a conductor 32 and a node 34 to the VSS supply 16, having its collector coupled via a node 36 and a conductor 38 to the internal power bus 14, and having its base coupled via a conductor 40 to the node 36. Said transistor 26 can optionally be switched out of the circuit during normal operation in order to avoid the possible performance impact of the voltage drop in the current sensor by operating a bypass circuit 42 comprising an MOS transistor 44 which is connected between the node 34 and the internal power bus 14, and can be caused to conduct by applying a signal to the gate of said transistor over a bypass line 46. The voltage reference VREF in Fig. 2 is set to test for the maximum Iddq current for a non-faulty circuit. A higher current than this maximum Iddq current indicates a faulty circuit. The voltage VREF can also be varied to measure different current levels which can be used to analyze the current flow within the power grid. In normal operation, the current sensor converts the Iddq current to the V(Iddq) voltage level, which is then applied to the plus terminal of the comparator 28, to the minus terminal of which is applied the reference voltage VREF via line 24. The two voltages are compared by the comparator 28, and if the comparison indicates the presence of a fault in the circuit, a signal of appropriate level is applied to the data terminal D of the scan flip flop 30, which sets the flip flop. The state of the flip flop is subsequently ascertained by the scan chain 20, via the Scan In line coupled to the scan data terminal SD and the Scan Out line coupled to the output Q of the flip flop 30. If the flip flop 30 is in a predetermined one of its two possible states, it indicates no fault in the circuit, whereas if it is in the other state, the presence of a fault is indicated. A second implementation of the Iddq current monitor of the present invention is shown in Fig. 3. This implementation is similar to the implementation of Fig. 2, insofar as it includes a current sensor 50, a comparator 52 and a scan flip flop 54. It differs however in also including a current divider 56, comprising two MOS transistors 58 and 60. This circuit minimizes the impact of measuring the current. A voltage VDD is applied to the gate of each of the transistors 58 and 60. The transistor 58 is connected with its source to the VSS supply 16, and the drain is connected to a node 62, which is connected to the internal bus 14. The transistor 60 has its drain connected through a node 64 to the plus terminal of the comparator 52. The output of the comparator 52 is connected to the data input D of the flip flop 54, as in the embodiment of Fig. 2. The emitter of the current sensor 50 is connected to a voltage source VSOURCE, while its collector is connected through a node 66 to the node 64, and its base is also connected to the node 66. As mentioned above, the two transistors 58, 60 act as a current divider, and are sized relative to each other so that only a relatively small portion of the total current is used for the testing function. This minimizes the effect of conducting the test on the normal continuing operation of the integrated circuit 10. The quantity W/L is a ratio of width to length which relates to the size of the transistor. The relative sizes of the transistors are proportional to the currents drawn by the two transistors. The term N is the ratio of the relative sizes of the two transistors. Thus it will be seen that the size of the transistor 58 is N times the size of the transistor 60, which means that only a small proportion of the total amount of current passes through the transistor 60 and is used in performing the testing function. By virtue of this arrangement, the current through the current sensor is Iddq/(N-1) , the voltage drop of the current sensor is V(Iddq) and the current through the transistor 58 is Iddq*N/(N-1) . The operation of the circuit of Fig. 3 is essentially similar to that of Fig. 2, except that only a relatively small proportion of the total current is employed for comparison purposes. That proportion is converted to the V(Iddq) voltage level by the current sensor 50, and that voltage level is compared with the VREF voltage level in the comparator 52, with a signal representing the result of the comparison being applied to the scan flip flop 54. The state of the flip flop is scanned during a scan operation via the Scan In and Scan Out conductors, as previously described. A third implementation of the Iddq current monitor of the present invention is shown in Fig. 4. In this implementation, simplification is achieved by moving the current sensor and the comparator to the test control logic, which will be shared by all the current monitor cells, as represented by the block 70, which may be considered to be included in the test control logic 22 of Fig. 1. Fig. 4 shows two similar Iddq current monitor cells 72 and 74 arranged in a single column, but it is contemplated that an integrated circuit could readily contain a plurality of such cells, arranged in a plurality of rows and columns, similar to the arrangement shown in Fig. 1. The cell 72 contains a pair of MOS transistors 76 and 78, similar to the transistors 58 and 60 in the embodiment of Fig. 3. The transistor 76 is connected between the VSS supply 16 and a node 80, while the transistor 78 is connected between the node 80 and a conductor 82. The node 80 is connected to the VSS internal bus 14 which supplies current Iddq(I,J), representing the current in the cell located in column I, row J, to the node 80 and the transistors 76 and 78. The gate of the transistor 76 is connected to a voltage source VDD, while the gate of the transistor 78 is connected to a select line 82 to which a select signal SELECT(I,J) may be applied. The cell 74 is similarly configured, with a transistor 86 being connected between the VSS supply 16 and a node 90, and a transistor 88 being connected between the node 90 and the conductor 82. The node 90 is connected to the VSS internal bus 14. The gate of the transistor 86 is connected to a voltage source VDD, while the gate of the transistor 88 is connected to a select line 92 to which a select signal SELECT(I,K) may be applied. The conductor 82 is connected through first and second nodes 94 and 96 to the collector of a current sensor transistor 98 in the test logic block 70. The emitter of said transistor is connected to a source of voltage VSOURCE, and the base is connected to the node 96. The node 94 which is electrically coupled to the collector of the current sensor transistor 98 is connected to the plus input of a comparator 100, the minus input of which is connected to a reference voltage VREF. The output of the comparator is on a line 102. The current measured by the test logic 70 is the sum of Iddq currents divided by (N-1) of all of the selected cells. Each cell, such as cell 72, can be individually interrogated by applying a suitable select signal such as SELECT(I,J) to the conductor 82 connected to the gate of the transistor 78. As previously described in connection with Fig. 3, the two transistors 76 and 78 act as a voltage divider, so that the integrated circuit which includes the cell 72 can continue its normal operation while testing is being carried on. Application of the signal SELECT(I,J) to the gate of the transistor 78 causes a signal to be applied to the plus input of the comparator 100, resulting in an output signal on the output line 102 having a logic level which is descriptive of whether or not there is a fault in the portion of the integrated circuit being monitored by the cell 72. The output of the comparator 100 can be sampled at times corresponding to the times of application of the various select signals such as SELECT(I,J) in order to determine which, if any, of the cells is indicating the presence of a fault. It will be appreciated that the described embodiments can be used for real time monitoring of current, current flow analysis and the identification of faults.

Claims: Apparatus for testing for faults in an integrated circuit, including a plurality of current monitoring cells (12) embedded within said integrated circuit and capable of detecting faults therein, wherein a scanning circuit is coupled to said current monitoring cells for scanning said current monitoring cells, said integrated circuit including power supply buses (16) and internal power buses (14) and said current monitoring cells (12) providing interconnection between said power supply buses (16) and said internal power buses (14), and characterized in that said current monitoring cells (12) also include sensing circuitry (26) arranged to supply the said internal power busses (14) with a supply current from the said power busses (16) for operation of the integrated circuit during a test mode and so as to monitor the said supply current while maintaining a supply current to the integrated circuit, and bypass circuitry (42) for bypassing said sensing circuitry (26). Apparatus according to Claim 1, characterized in that said sensing circuitry includes respective transistor means (26) and comparison circuitry (28) coupled to said transistor means (26) for comparing a static power voltage with a reference voltage. Apparatus according to any one of the preceding claims, characterized in that said current monitoring cells (12) also include a storage device (30, 54) coupled to said comparison circuitry for latching the result of a fault test. Apparatus according to Claim 1 or 2, characterized in that said current monitoring cells (12) also include current divider circuitry (58, 60) to divide the current drawn by the cell (12) into current to be distributed to the integrated circuit and current to be employed for fault detection. Apparatus according to Claim 4, characterized in that said divider circuitry includes a plurality of interconnected MOS transistors (58, 60). Apparatus according to Claim 1, characterized in that said scanning circuit includes a plurality of selectable devices (78, 88) adapted to connect selected current monitoring cells (12) to common current sensing means (98) and comparator means (100).

Inventors: TEENE ANDRES R, TEENE, ANDRES R.
Applicants: HYUNDAI ELECTRONICS AMERICA, NCR INT INC, SYMBIOS LOGIC INC, NCR INTERNATIONAL, INC., SYMBIOS, INC.
Application year: 1994
Main classification: G06F11
IPC codes: G01R31, H01L21