Method to locate logic errors and defects in digital circuits
First Claim
1. A method for testing a circuit when in the course of said testing information is developed that indicates that an error is present in one or more signals Sj,l(k), where j is an index that distinguishes different ones of said signals, l is a level indicator that is initially set at 0, and k indicates a number of operational clock periods following a given condition when said error signals appear, said method starting with a variable m equal to k, and comprising the steps of:
- for at least one of the signals Sj,i(m),(a) identifying an associated fanin cone;
(b) re-testing said circuit, and capturing input signals of said fanin cone;
(c) processing information about said fanin cone to(1) identify an error within said fanin cone, or(2) identify a collection of input signals of said fanin code that potentially are at in error, and further identify said collection of input signals to be(i) input signals of the circuit, or(ii) internal signals of said circuit Sj,i(k), with index l incremented by 1, that are output signal of memory elements of said circuit, each storing associated p logic values, and each having been subjected to an input signal Sj,i(m−
p);
(d) setting m to m−
p, thus forming signals Sj,i(m), and with respect to each of the formed signals Sj,l(m) returning to step (a); and
(e) terminating said method when no input signals of any fanin code is identified as an output signal of a memory element of said circuit.
2 Assignments
0 Petitions
Accused Products
Abstract
When, in the course of an integrated circuit'"'"'s functional test an assertion fires at clock k, the operational clock is stopped, the sequence is reapplied to capture inputs to the assertion circuit that fired, signals within the assertion circuit are computed, and the error is backtraced. Once one or more inputs of the assertion circuit are identified as potentially the source of the error, the process of backtracing is performed for each such input. When the input that is potentially the source of the error emanates from a memory circuit, the fanin cone of the memory circuit is identified and the process of backtracing through the last-identified fanin cone is undertaken for clock k−1. This is repeated iteratively until either a module of the integrated circuit is found to be the source of the error, or the error is extended to inputs of the SoC.
215 Citations
20 Claims
-
1. A method for testing a circuit when in the course of said testing information is developed that indicates that an error is present in one or more signals Sj,l(k), where j is an index that distinguishes different ones of said signals, l is a level indicator that is initially set at 0, and k indicates a number of operational clock periods following a given condition when said error signals appear, said method starting with a variable m equal to k, and comprising the steps of:
for at least one of the signals Sj,i(m), (a) identifying an associated fanin cone; (b) re-testing said circuit, and capturing input signals of said fanin cone; (c) processing information about said fanin cone to (1) identify an error within said fanin cone, or (2) identify a collection of input signals of said fanin code that potentially are at in error, and further identify said collection of input signals to be (i) input signals of the circuit, or (ii) internal signals of said circuit Sj,i(k), with index l incremented by 1, that are output signal of memory elements of said circuit, each storing associated p logic values, and each having been subjected to an input signal Sj,i(m−
p);(d) setting m to m−
p, thus forming signals Sj,i(m), and with respect to each of the formed signals Sj,l(m) returning to step (a); and(e) terminating said method when no input signals of any fanin code is identified as an output signal of a memory element of said circuit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
20. A method for testing a circuit comprising the steps of:
-
at-speed testing of the circuit with a sequence of input signals; stopping said at-speed testing when an error signal Sj,l(k) is detected, where the index j distinguished different signals, subscript l designates a level, which at this step is 0, and k is a number of at-speed operational clock periods following a given condition when said error signal is detected; and starting with variable m=k, and setting signal Sj,l(m) as a subject signal, executing an error localization process that (a) identifies an associated fanin cone of the subject signal, and input signals of said associated fanin cone; (b) re-tests said circuit by once applying said sequence of input signals, and capturing said input signals of the fanin cone at clock period m following said given condition; (c) from information regarding design of said circuit, and logic value of the subject signal, computes logic values of said input signals of said associated fanin cone, and analyzes the computed logic values to (1) identify an error within said fanin cone, or (2) identify a collection input signals of said fanin code that potentially are at in error, and further identify said collection of input signals to be (i) input signals of the circuit, or (ii) internal signals of said circuit, Sj,l(k), with index l incremented by 1, that are output signals of flip-flops of said circuit that have been respectively subjected to input signal Sj,l(m−
1);(d) decrements m by 1, thus forming signal to Sj,l(m) as a new subject signals, and with respect to each of the formed signals Sj,l(m) returns to step (a); and (e) terminating said method when no input signals of any fanin code is identified as an output signal of a flip-flop of said circuit.
-
Specification