The present invention relates to a method for locating a fault in an integrated circuit (IC) having a plurality of digital outputs coupled to compaction logic in a test mode of the integrated circuit, the compaction logic comprising at least one output for providing a test response.
The present invention further relates to a test apparatus implementing such a method.
IC testing is rapidly becoming a dominating factor in the manufacturing costs of ICs. One of the main reasons for this is that for complex ICs testing is time-consuming. This is mainly because large amounts of test input and output data have to be communicated with the IC under test. Consequently, measures to reduce the size of the data involved in this communication have attracted considerable attention.
For instance, test solutions have been disclosed in which digital test input data has been compacted, with the IC having an on-board extractor for restoring the test input data to its original size. Similarly, the digital test outputs of the IC under test have been compacted by an on-board compactor, and the IC test results are provided to the outside world in this compacted form. An example of this approach can be found in: “Parity-based output compaction for core-based SOCs” by Sinanoglu et al., Proc. Of the Eight IEEE European Test Workshop, pages 15-20, IEEE ETW 2003. In such approaches, each compacted test response to a test input, e.g. a test vector provided to the IC under test is analyzed to determine whether the provided test vector triggered the detection of a fault.
A drawback of using compacted test results is that test resolution may be lost, especially when using parity-tree based compactors, which are typically based on exclusive OR logic gates. Hence, the occurrence of a fault producing an even number of faulty bits on the outputs of the IC that are fed into the compactor, or the simultaneous occurrence of an even number of faults may lead to the faulty bits cancelling each other out. Also, the location of the fault may become more difficult because of fault aliasing, in which multiple faults simultaneously produce faulty bits on different outputs of the IC, which means that the compacted test response is only indicative of the occurrence of a number of faulty bits without the possibility of assigning them to a specific fault.
The present invention seeks to provide an improved method for testing an IC according to the opening paragraph.
The present invention further seeks to provide a test apparatus for implementing the improved method.
According to an aspect of the present invention, there is provided a method as claimed in claim 1. The invention is based on the realization that a fault in an IC is likely to be observable in a number of compacted test responses, because several test inputs are capable of uncovering the fault. Thus, by constantly observing the outputs of the compaction logic, i.e. collecting responses to a plurality of test patterns from these outputs, the chance that the observability of this fault is destroyed by error bit cancellation or the localizability of the fault is destroyed through fault aliasing is greatly reduced.
According to another aspect of the invention, there is provided a test apparatus as claimed in claim 6. Such a test apparatus facilitates the improved test coverage provided by the method of the present invention.
The invention is described in more detail and by way of non-limiting examples with reference to the accompanying drawings, wherein:
It should be understood that the Figures are merely schematic and are not drawn to scale. It should also be understood that the same reference numerals are used throughout the Figures to indicate the same or similar parts.
The present invention proposes an original approach for fault diagnosis with test responses that have been compacted by space compaction logic (SCL). The key idea is to observe the SCL outputs continuously during the entire test. This exploits the fact that a defect in a circuit under test (CUT) will cause multiple fault effects that usually can be observed in multiple cycles at the scan chain outputs of the CUT in one or multiple test patterns. Most faults therefore have a unique SCL output sequence, which facilitates accurate fault detection and diagnosis. This approach differs from the aforementioned prior art approaches, in which diagnosis is based on identifying all failing scan cells in each cycle.
Definitions used in this description:
A response bit contains (part of) the test response to a test stimulus such as a test pattern or test vector. In scan-based testing, a response bit is captured in a scan flip-flop in the scan capture cycle, and is next shifted out. We define set R that contains all response bits (of all test patterns) for a given CUT.
An observation bit is a response bit in which a fault effect is observed. Set O⊂R contains all observations bits (of all test patterns) for a CUT.
A fault signature is a set of all observation bits Of⊂O in which the fault effects of a fault f are observed.
A failure set is a set of faults that all have the same fault signature. Failure set FSi={Fi, Oi} consists of a set of faults Fi and fault signature Oi such that ∀fεFi: Of=Oi. For a CUT with n failure sets and set F of all faults, holds that ∪1≦i≦nFi=F, and ∪1≦i≦nOi=O.
The sets of faults in the failure sets are unique and disjoint: ∀FSi={Fi, Oi}, FSj={Fj, Oj}, i≠j: Fi∩Fj=Ø.
The fault signatures in the failure sets are unique but usually not disjoint: ∀FSi={Fi, Oi}, FSj={Fj, Oj}, i≠j: Oi≠Oj. Note that Oi≠Oj implies: (Oi∩Oj=Ø)v(Oi⊂Oj)v(Oi⊃Oj)v(Oi∩Oj⊂Oj).
FS is the set of all p failure sets of a CUT when observing fault effects at the n scan chain outputs, and FSSCL is the set of all q failure sets of the CUT+SCL when observing fault effects at the outputs of the SCL. It holds that p≧q.
The fault coverage FC is the ratio of all faults that are detected for a given test pattern set when observing the CUT outputs. The fault coverage FCSCL is the ratio of all faults that are detected for a given test pattern set when observing the outputs of the SCL.
The diagnostic resolution DR is defined as the ratio of the number of failure sets observed at the SCL outputs (q) and the number of failure sets observed at the CUT outputs (p). Hence, DR=100% q/p.
Fault cancellation of failure set FSi={Fi, Oi} occurs when the number of observation bits in Oi at the inputs of each exclusive OR (XOR)-network of the SCL compaction network is zero or even in all cycles. Fault cancellation implies that the fault effects of all faults fεFi cannot be observed at the SCL outputs. Hence, fault cancellation causes loss of both fault coverage and diagnostic resolution.
Fault aliasing occurs when multiple failure sets FSi at the CUT outputs result in the same failure set FSjSCL at the SCL outputs. Fault aliasing does not cause fault coverage loss, but causes loss of diagnostic resolution.
Theoretical analysis shows that both fault cancellation and fault aliasing probabilities are very small when applying the method of the present invention. Both probabilities furthermore decrease drastically with increasing number of response bits.
Fault cancellation and fault aliasing are illustrated in the following example (see
Suppose that the CUT 120 has the following failure sets:
An automated test pattern generation (ATPG) tool (not shown) creates a fault dictionary of all target faults and generates test patterns to detect these faults. The fault coverage can be derived easily by means of fault simulation, and expresses the percentage of detected faults out of the target faults. The failure sets can be derived by fault simulation of all test patterns without fault dropping. In this way, all observation bits in all test patterns are identified for each fault. The random-testable faults are usually detected by many test patterns, and hence the number of observation bits for such faults can grow very large. The storage requirements for the failure sets may therefore become excessive for large circuits and can easily take several Gigabytes. A practical way for reducing this data volume is to introduce a fault isolation limit, such that the maximum number of observation bits in each failure set does not exceed this limit. During fault simulation, a fault is now dropped after it has been detected by the number of observation bits as specified by the fault isolation limit, thus providing an upper limit for the number of bits in the signature of the fault. The fault isolation limit should not be chosen too small, since this would reduce the number of failure sets and hence reduce the diagnostic resolution. Practical values for the fault isolation limit are in the range of a few hundreds.
Preferably, the failure sets are generated for stuck-at faults. Although actual defects rarely behave as stuck-at faults, matching the failing responses of a defective circuit with such failure sets often allows identifying a small number of candidate defect locations that can be resolved further by physical failure analysis.
At this point, it is emphasized that the values of some test responses cannot be determined a priori, while other test responses may be tri-stated or unreliable. These unknown, tri-stated, and unreliable test responses, referred to as ‘X’ test responses, cause that reliable compaction of test responses becomes very difficult or even impossible. SCL is relatively insensitive to X's, although the SCL output sequence becomes less useful if X's show up in many cycles. As a solution to this problem, X-masking logic (XML, not shown) in front of the compaction logic 140 may be used to mask all X's before the responses are compacted. An example of such XML is for instance described in PCT application WO2005/031378. In this application, it is demonstrated that he XML transforms all ‘X’ test responses into fixed, known responses.
The X-masking logic can also be used to reduce fault cancellation. Fault cancellation occurs in case an even number of observation bits appears at the inputs of each XOR-tree in the same cycle. By masking one or more of the observation bits, the number of observation bits can be transformed from even to odd, and now the fault effect can be observed at the SCL outputs. Bit masking should be applied with care, since each observation bit is usually contained in multiple failure sets. Hence, repairing fault cancellation for one failure set may cause fault cancellation for other failure sets, while also fault aliasing may occur. For each failure set suffering from fault cancellation, we therefore for instance mask only one observation bit that is used least often in other failure sets.
Fault cancellation can also be reduced by ATPG tool enhancements. After generating each pattern, fault simulation of the CUT 120 plus SCL 140 should be performed. In case of fault cancellation, the cancelled fault should be considered as undetected and targeted by ATPG in subsequent patterns.
Preferably, the ATPG tool should be instructed to sensitize each fault to an odd number of observation bits, which causes that at least in one cycle an odd number of observation bits appears at the inputs of the SCL.
Fault aliasing is more difficult to repair, since fault aliasing can only be analysed after all patterns have been generated. Nevertheless, bit masking can also be applied to reduce fault aliasing. In case of aliasing of two failure sets, an observation bit can be masked that appears in only one of the failure sets. The ATPG tool can be used to generate additional patterns to resolve fault aliasing, although this increases pattern count.
Next, in step 240, a plurality of bits in the plurality of responses that define a signature of the fault are identified as previously explained.
Consequently, an IC 100 can be tested using said signature. In step 250, the integrated circuit is provided with a further plurality of test patterns, e.g. by a test apparatus as shown in
The test patterns applied in step 210 and 250 may be identical. Alternatively, the analysis leading to the definition of the fault signature may be used to modify the further plurality of test patterns, e.g. by limiting the number of bits in the fault signature as previously explained, or by removing those patterns that do not contribute to the fault signature.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word “comprising” does not exclude the presence of elements or steps other than those listed in a claim. The word “a” or “an” preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements. In the device claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
Number | Date | Country | Kind |
---|---|---|---|
05110387 | Nov 2005 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2006/053889 | 10/23/2006 | WO | 00 | 9/12/2008 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2007/069098 | 6/21/2007 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4194113 | Fulks et al. | Mar 1980 | A |
5475694 | Ivanov et al. | Dec 1995 | A |
6347395 | Payne et al. | Feb 2002 | B1 |
6476076 | Lee et al. | Nov 2002 | B1 |
6681357 | Pendurkar | Jan 2004 | B2 |
6971054 | Kurtulik et al. | Nov 2005 | B2 |
7007213 | Wang et al. | Feb 2006 | B2 |
7246277 | Lukanc | Jul 2007 | B2 |
7437640 | Rajski et al. | Oct 2008 | B2 |
7487420 | Keller | Feb 2009 | B2 |
7509550 | Rajski et al. | Mar 2009 | B2 |
7509551 | Koenemann et al. | Mar 2009 | B2 |
7552373 | Wang et al. | Jun 2009 | B2 |
7865794 | Rajski et al. | Jan 2011 | B2 |
7987442 | Rajski et al. | Jul 2011 | B2 |
20030120988 | Rajski et al. | Jun 2003 | A1 |
20050138509 | Kiryu et al. | Jun 2005 | A1 |
20060020860 | Tardif et al. | Jan 2006 | A1 |
20060041812 | Rajski et al. | Feb 2006 | A1 |
20060041814 | Rajski et al. | Feb 2006 | A1 |
20070100586 | Cheng et al. | May 2007 | A1 |
20090177933 | Rajski et al. | Jul 2009 | A1 |
Number | Date | Country |
---|---|---|
1342138 | Mar 2002 | CN |
1460923 | Dec 2003 | CN |
1548974 | Nov 2004 | CN |
62-159246 | Jul 1987 | JP |
04-264276 | Sep 1992 | JP |
06-103101 | Apr 1994 | JP |
11-174126 | Jul 1999 | JP |
11-202026 | Jul 1999 | JP |
2000-137061 | May 2000 | JP |
2001-273160 | Oct 2001 | JP |
2002-267719 | Sep 2002 | JP |
2005031378 | Mar 2005 | WO |
Number | Date | Country | |
---|---|---|---|
20090077439 A1 | Mar 2009 | US |