WO2008100520A2 - Low power scan testing techniques and apparatus - Google Patents

Low power scan testing techniques and apparatus Download PDF

Info

Publication number
WO2008100520A2
WO2008100520A2 PCT/US2008/001866 US2008001866W WO2008100520A2 WO 2008100520 A2 WO2008100520 A2 WO 2008100520A2 US 2008001866 W US2008001866 W US 2008001866W WO 2008100520 A2 WO2008100520 A2 WO 2008100520A2
Authority
WO
WIPO (PCT)
Prior art keywords
test
scan
scan chains
circuit
integrated circuit
Prior art date
Application number
PCT/US2008/001866
Other languages
French (fr)
Other versions
WO2008100520A3 (en
Inventor
Xijiang Lin
Dariusz Czysz
Mark Kassab
Grzegorz Mrugalski
Janusz Rajski
Jerzy Tyszer
Original Assignee
Mentor Graphics Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mentor Graphics Corporation filed Critical Mentor Graphics Corporation
Priority to CN2008800116867A priority Critical patent/CN101663648B/en
Priority to JP2009549612A priority patent/JP5537158B2/en
Priority to EP20080725491 priority patent/EP2122466B1/en
Publication of WO2008100520A2 publication Critical patent/WO2008100520A2/en
Publication of WO2008100520A3 publication Critical patent/WO2008100520A3/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3185Reconfiguring for testing, e.g. LSSD, partitioning
    • G01R31/318533Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
    • G01R31/318575Power distribution; Power saving

Definitions

  • FIELD This application relates generally to the field of testing integrated circuits. In particular, this application relates to tools and techniques that reduce power consumption during testing.
  • test data reduction schemes for example, use on-chip decompression and compression hardware. By using such hardware, a tester can deliver test patterns in a compressed form, and the on-chip decompressor can expand (or decompress) the compressed test patterns into the actual data loaded into scan chains.
  • the latter operation is possible because typically only a small number of bits in the decompressed test patterns are specified bits designed to target one or more specific faults in the integrated circuit.
  • the remaining unspecified bits of the decompressed test pattern are termed "don't care" bits and are typically randomly determined as a result of the decompressor structure.
  • the high number of randomly filled test pattern bits can cause excessive switching in the scan cells of the scan chains as the decompressed test pattern is loaded. This, in turn, leads to undesirably high power consumption during the test procedure.
  • test responses that are captured after the test patterns have been loaded into the scan chains and launched into the system logic often contain many test response bits that are not indicative of the presence of any targeted fault. Because these test response bits do not contribute to fault detection or diagnosis, such test response bits can be termed "don't care” test response bits. As with the "don't care” test pattern bits, the "don't care” test response bits can also cause excessive switching in the scan cells of the scan chains when the test response is captured and/or when the test response is shifted out of the scan chains.
  • the excessive power used during the scan chain loading, capturing, and/or unloading processes can result in overheating or supply voltage noise — either of which can cause a device to malfunction, be permanently damaged, or exhibit reliability degradation due to accelerated electro-migration. Accordingly, improved methods and test architectures for reducing power consumption during testing are desired.
  • Embodiments of the disclosed technology can be used to provide a low power test scheme and can be integrated with a variety of compression hardware architectures (e.g., an embedded deterministic test (“EDT”) architecture).
  • EDT embedded deterministic test
  • the integrated circuit comprises a first test stimulus source configured to generate original test pattern values, a second test stimulus source configured to generate a constant value, a controller configured to generate control signals, and a test stimulus selector having inputs coupled to the first test stimulus source, the second test stimulus source, and the controller.
  • the test stimulus selector also has outputs coupled to a plurality of scan chains in the integrated circuit.
  • the test stimulus selector is configured to selectively output either an original test pattern value from the first test stimulus source or the constant value from the second test stimulus source at each of its respective outputs based on the control signals from the controller.
  • the test stimulus selector is configured to selectively output values on a cycle-by-cycle basis, a scan-chain-segment-by-scan- chain-segment basis, or a pattern-by-pattern basis.
  • the first test stimulus source can be a decompressor configured to receive compressed test pattern values from an external tester.
  • the test stimulus selector comprises a plurality of multiplexers. Each of the multiplexers of these implementations has a first input coupled to a respective output of the first test stimulus source, a second input coupled to a respective output of the second stimulus source, a third input coupled to a respective output of the controller, and an output coupled to a respective one or more of the scan chains.
  • the controller can be a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated circuit.
  • the constant value is a first constant value
  • the integrated circuit further comprises a third test stimulus source configured to generate a second constant value
  • the test stimulus selector further has inputs coupled to the third stimulus source
  • the test stimulus selector is configured to selectively output either an original test pattern value from the first test stimulus source, the first constant value from the second test stimulus source, or the second constant value from the third test stimulus source at each of its respective outputs based on the control signal from the controller.
  • the first constant value and the second constant value can be 0 and 1 , respectively, or 1 and 0, respectively.
  • test stimulus selector of these implementations can comprise a plurality of multiplexers, where each of the multiplexers has a first input coupled to a respective output of the first test stimulus source, a second input coupled to a respective output of the second stimulus source, a third input coupled to a respective output of the third stimulus source, a fourth input coupled to a respective output of the controller, and an output coupled to a respective one or more of the scan chains.
  • the controller can comprise one or more shift registers for loading and outputting control data.
  • the one or more shift registers can comprise a plurality of shift registers that form a multistage register pipeline.
  • the plurality of shift registers can be configured to load data serially in response to a register shift clock and/or the plurality of shift registers can be configured to shift in parallel control data from one of the shift registers to another of the shift registers in response to a pipeline shift clock.
  • One or more shadow registers can also be coupled to the one or more shift registers.
  • the controller can comprise an XOR or XNOR network coupled to at least one of the one or more shift registers.
  • the controller can further comprise a biasing circuit coupled to the XOR or XNOR network.
  • the biasing circuit can be configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value.
  • the biasing circuit can also be, for instance, a reconfigurable biasing circuit configured to bias one or more of the outputs of the XOR or XNOR network by a selectable amount.
  • an integrated circuit comprises a test stimulus source configured to generate original test pattern values, a controller configured to generate control signals, and a test stimulus selector having inputs coupled to the test stimulus source and the controller and outputs coupled to a plurality of scan chains in the integrated circuit.
  • the test stimulus selector is configured to selectively output either an original test pattern value from the first test stimulus source or a constant value at each of its respective outputs based on the control signals received from the controller.
  • the test stimulus source can comprise gating logic configured to generate the constant value.
  • the test stimulus selector is configured to selectively output values on a cycle-by-cycle basis, a scan-chain-segment-by-scan-chain- segment basis, or a pattern-by-pattern basis.
  • the test stimulus source is a decompressor configured to receive compressed test pattern values from an external tester.
  • the controller can also be a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated circuit.
  • the control can, in some implementations, comprise one or more shift registers for loading and outputting control data.
  • the one or more shift registers can comprise a plurality of shift registers that form a multi-stage register pipeline.
  • the controller can further comprise an XOR or XNOR network coupled to at least one of the one or more shift registers. Additionally, the controller can comprise a biasing circuit coupled to the XOR or XNOR network. In such implementations, the biasing circuit can be configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value.
  • original test pattern values for testing an integrated circuit are received on m paths.
  • the original test pattern values can be received, for example, from a decompressor.
  • the test pattern values on at least n of the m paths are selectively modified, where n is less than m, so that the test pattern values on the n paths become at least two consecutive constant values.
  • Test pattern values on m scan chain input paths are output. These test pattern values include the at least two consecutive constant values on n of the m scan chain input paths.
  • control data indicating which of the m paths are to be modified is received.
  • the control data can be reused for multiple additional test patterns.
  • the outputted test pattern values can include all specified bits of the original test pattern that target one or more faults in the integrated circuit.
  • the act of selectively modifying the test pattern values can comprise applying control signals to logic gates configured to produce the at least two consecutive constant values.
  • an integrated circuit comprises a decompressor coupled to data inputs of scan chains in the integrated circuit, a controller configured to generate control signals, and a scan enable circuit having an input coupled to the controller and outputs coupled to scan enable inputs of scan cells of the scan chains.
  • the scan enable circuit is configured to generate independently controllable scan enable signals at one or more of the outputs of the scan enable circuit.
  • the values of the independently controllable scan enable signals are based at least in part on the control signals from the controller.
  • the values of the independently controllable scan enable signals can comprise a first scan enable value and a second scan enable value.
  • the first scan enable value can be used to cause one or more of the scan chains to operate in a shift mode
  • the second scan enable value can be used to cause the one or more of the scan chains to operate in a normal circuit mode.
  • the input of the scan enable circuit is a first input
  • the scan enable circuit further comprises a second input configured to receive a global scan enable signal.
  • the scan enable circuit can be configured so that at least some of the scan enable signals generated by the scan enable circuit are controlled in part by the global scan enable signal.
  • Each output of the scan enable circuit can be coupled to the scan enable inputs of the scan cells in a respective one or more of the scan chains of the integrated circuit.
  • the integrated circuit can comprise a test stimulus selector having outputs that are configured to be coupled to scan chains formed by the scan cells.
  • the test stimulus selector can be configured to selectively output either an original test pattern value or a constant value at each respective one of the outputs of the test stimulus selector.
  • the controller can be a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated circuit.
  • the controller can comprise, for instance, one or more shift registers for loading and outputting control data.
  • the one or more shift registers can comprise a plurality of shift registers that form a multi-stage register pipeline. Further, one or more shadow registers can be coupled to the one or more shift registers.
  • the controller can also comprise, in some implementations, an XOR or XNOR network coupled to at least one of the one or more shift registers. Furthermore, the controller can comprise a biasing circuit coupled to the XOR or XNOR network. The biasing circuit can be configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value. Exemplary embodiments for applying scan enable signals to a circuit during testing are also disclosed herein. For instance, in some embodiments, a scan enable signal is applied to scan chains of a circuit-under-test as a decompressed test pattern from a decompressor is loaded into the scan chains. The scan enable signal causes the scan chains to operate as one or more shift registers.
  • the scan enable signal is applied to one or more of the scan chains as a test response to the decompressed test pattern is captured in a remainder of the scan chains to which the scan enable signal is not applied.
  • the one or more of the scan chains to which the scan enable signal is applied comprise one or more scan chains that would otherwise capture unknown values.
  • the scan enable signal can be applied to the scan chains of the circuit-under-test as the test response is unloaded from the scan chains. Control signals can also be received that control which of the scan chains will have the scan enable signal applied as the test response to the decompressed test pattern is captured. These control signals can be reused as multiple additional decompressed test patterns are loaded into the scan chains. Still further, the control signals for a next test pattern can be loaded as the test pattern is being loaded into the scan chains.
  • one or more computer- readable media storing computer-executable instruction for causing a computer to perform a method.
  • the method comprises simulating a test pattern being applied to a circuit-under-test and thereby producing a simulated test response, identifying one or more scan chains of the circuit-under- test that capture unknown states from the simulated test response, generating control signals for causing a scan enable circuit to suppress scan enable signals at the one or more identified scan chains during a capture window, and storing the control signals on one or more computer-readable media.
  • integrated circuits comprising clock enable circuits.
  • an integrated circuit comprises a decompressor coupled to data inputs of scan chains in the integrated circuit, a controller configured to generate control signals, and a clock enable circuit.
  • the clock enable circuit of these embodiments has inputs coupled to the controller and outputs coupled to clock inputs of scan cells of the scan chains. Further, the clock enable circuit is configured to generate independently controllable clock signals at one or more of the outputs of the clock enable circuit based at least in part on the control signals from the controller.
  • the independently controllable clock signals generated by the clock enable circuit can be capture clock signals.
  • the inputs of the clock enable circuit can be first inputs
  • the clock enable circuit can further comprise a second input configured to receive a source clock signal
  • the clock signals generated by the clock enable circuit can be derived from the source clock signal.
  • the clock enable circuit further comprises a third input configured to receive a global clock enable signal
  • the clock enable circuit is configured to generate clock signals at all of the outputs of the clock enable circuit when the global clock enable signal is activated.
  • Each output of the clock enable circuit can be coupled to the clock inputs of the scan cells in a respective one or more of the scan chains of the integrated circuit.
  • the clock enable circuit can comprise individual clock enabler circuits for controlling each respective output of the clock enable circuit.
  • the integrated circuit further comprises a test stimulus selector having outputs that are configured to be coupled to scan chains formed by the scan cells.
  • the test stimulus selector can be configured to selectively output either an original test pattern value or a constant value at each respective one of the outputs of the test stimulus selector.
  • the controller can be a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated ciruict.
  • the controller can comprise, for example, one or more shift registers for loading and outputting control data.
  • the one or more shift registers can comprise a plurality of shift registers that form a multi-stage register pipeline. Further, one or more shadow registers can be coupled to the one or more shift registers.
  • the controller can also comprise an XOR or XNOR network coupled to at least one of the one or more shift registers.
  • the controller further comprises a biasing circuit coupled to the XOR or XNOR network, the biasing circuit being configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value.
  • a clock signal is applied to scan chains of a circuit-under-test as a decompressed test pattern from a decompressor is loaded into the scan chains of the circuit-under-test.
  • the clock signal is suppressed to one or more but not all of the scan chains or segments of the scan chains as a test response to the decompressed test pattern is captured during a capture window.
  • the suppression of the clock signal causes the one or more but not all of the scan chains or segments of the scan chains to remain in a constant state during the capture window.
  • the one or more but not all of the scan chains or segments of the scan chains can comprise one or more scan chains or segments of the scan chains that would otherwise capture unknown values.
  • the clock signal has a first frequency as the test pattern is loaded into the scan chains and a second frequency as the test response is captured in the capture window.
  • the disclosed embodiments can further comprise applying the clock signal to the scan chains of the circuit-under-test as the test response is unloaded from the scan chains.
  • control signals can be received that control which scan chains or segments of the scan chains will have the clock signal suppressed during the capture window.
  • the control signals can be reused as test responses to multiple additional decompressed test patterns are captured.
  • the control signals for a next test pattern can also be loaded as the test pattern is being loaded into the scan chains.
  • one or more computer- readable media storing computer-executable instruction for causing a computer to perform a method.
  • the method comprises simulating a test pattern being applied to a circuit-under-test and thereby producing a simulated test response, identifying one or more scan chains of the circuit-under- test that capture unknown states from the simulated test response, generating control signals for causing a clock enable circuit to suppress the capture clock at the one or more identified scan chains during a capture window, and storing the control signals on one or more computer-readable media.
  • integrated circuits comprising reset enable circuits.
  • an integrated circuit comprises a decompressor coupled to data inputs of scan chains in the integrated circuit, a controller configured to generate control signals, and a reset enable circuit having inputs coupled to the controller and outputs that are coupled to reset inputs of scan cells of the scan chains.
  • the reset enable circuit can be configured to selectively generate a reset signal at one or more of the outputs of the reset enable circuit based at least in part on the control signals from the controller.
  • the scan cells in the integrated circuit can be configured to be reset to 0 or 1 when the reset signal is applied to the reset inputs.
  • the inputs of the reset enable circuit can be first inputs of the reset enable circuit, and the reset enable circuit can further comprise a second input configured to receive a source reset signal.
  • the reset enable circuit comprises individual reset enabler circuits for controlling each respective output of the reset enable circuit.
  • each output of the reset enable circuit can be coupled to the reset inputs of the scan cells in a respective one or more of the scan chains of the integrated circuit.
  • the reset inputs of the scan cells can comprise asynchronous control pins of the scan cells.
  • the integrated circuit can further comprise a shift clock enable circuit having outputs that are coupled to shift clock inputs of scan chains in the integrated circuit.
  • the shift clock enable circuit of these embodiments can be configured to selectively generate a shift clock signal at one or more of the outputs of the shift clock enable circuit.
  • the shift clock enable circuit can further comprise inputs coupled to the controller, and the shift clock signals that are selectively generated can be based at least in part on the control signals from the controller. Further, the shift clock enable circuit can comprise individual shift clock enabler circuits for controlling each respective output of the shift clock enable circuit.
  • the integrated circuit can also comprise a test stimulus selector having outputs that are configured to be coupled to scan chains formed by the scan cells. The test stimulus selector can be configured to selectively output either an original test pattern value or a constant value at each respective one of the outputs of the test stimulus selector.
  • the controller in the integrated circuit is a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated circuit.
  • the controller can comprise one or more shift registers for loading and outputting control data. Further, the one or more shift registers can comprise a plurality of shift registers that form a multi-stage register pipeline. One or more shadow registers can be coupled to the one or more shift registers.
  • the controller can further comprise an XOR or XNOR network coupled to at least one of the one or more shift registers. Still further, the controller can comprise a biasing circuit coupled to the XOR or XNOR network. The biasing circuit can be configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value.
  • Exemplary embodiments for applying reset signals to a circuit during testing are also disclosed herein.
  • a test response to a test pattern (e.g., a test pattern decompressed by a decompressor) is captured in scan chains of a circuit-under-test.
  • a reset signal is applied to one or more but not all of the scan chains or segments of the scan chains after the test response to the test pattern is captured.
  • the contents of the scan chains are unloaded after the reset signal is applied.
  • the one or more scan chains or segments of the scan chains to which the reset signal is applied can comprise one or more scan chains or segments of the scan chains that would otherwise capture unknown values.
  • the application of the reset signal can cause values captured into the one or more but not all of the scan chains or segments of the scan chains to become a single constant value (e.g., a 1 or 0).
  • Control signals can be received that control which scan chains or segments of the scan chains will have the reset signal applied. These control signals can be reused for test responses to multiple additional test patterns. Further, control signals for a next test pattern can be loaded as the test pattern is being loaded into the scan chains.
  • one or more computer- readable media storing computer-executable instruction for causing a computer to perform a method.
  • the method comprises simulating a test pattern being applied to a circuit-under-test and thereby producing a simulated test response, identifying one or more scan chains of the circuit-under- test that capture unknown states from the simulated test response, generating control signals for causing a reset enable circuit to generate reset signals at the one or more identified scan chains, and storing the control signals on one or more computer- readable media.
  • test pattern generation methods can be implemented, for instance, in one or more computer-readable media storing computer-executable instructions for causing a computer to perform a method.
  • a number of scan chains to be driven by an original test stimulus source is determined. The number is typically less than the number of available scan chains in a circuit design.
  • a fault from a target fault list is selected.
  • a test cube for the selected fault is generated.
  • the test cube can comprise specified bits in a number of specified scan chains.
  • a determination is made as to whether the number of specified scan chains in the test cube is less than the number of scan chains to be driven by the original test stimulus source.
  • the test cube is stored.
  • the fault is a first fault and the test cube is rejected if the number of specified scan chains in the test cube exceeds the number of scan chains to be driven by the original test stimulus.
  • the acts of selecting, generating, determining, and storing can then be repeated for a second fault from the target fault list.
  • the fault is a first fault, and a second fault is selected from the target fault list.
  • the test cube for the first fault can be expanded to include one or more additional specified bits for detecting the second fault.
  • the number of scan chains to be driven by the original test stimulus source can be based on the maximum number of scan chains that can be individually controlled by a test stimulus selector.
  • the original test stimulus source is a decompressor configured to decompress compressed test patterns provided by an external tester.
  • control signals for a test stimulus selector can be generated based on the test cube. These control signals can be capable of causing the test stimulus selector to apply constant values to the unspecified scan chains as a test pattern with the test cube is loaded during testing.
  • a number of scan chains usable to observe fault effects is determined. The number is typically less than the number of available scan chains in a circuit design.
  • a fault from a target fault list is selected.
  • a test cube for the selected fault is generated.
  • the number of scan chains used to observe fault effects from the test cube is determined.
  • An evaluation is made as to whether the number of scan chains used to observe fault effects from the test cube is less than the number of scan chains usable to observe fault effects. If the number of scan chains used to observe fault effects from the test cube is less than the number of scan chains usable to observe fault effects, the test cube is stored.
  • the fault is a first fault
  • the test cube is rejected if the number of scan chains used to observe fault effects from the test cube exceeds the number of scan chains usable to observe fault effects.
  • the acts of selecting, generating, determining, evaluating, and storing can be performed for a second fault from the target fault list.
  • the fault from the target fault list is a first fault from the target fault list, and a second fault from the target fault list is selected.
  • the test cube for the first fault is expanded to include one or more additional specified bits for detecting the second fault. A determination is made as to whether the one or more additional specified bits cause the number of scan chains used to observe fault effects from the expanded test cube to exceed the number of scan chains usable to observe fault effects.
  • the expanded test cube is stored. If the number of scan chains used to observe fault effects from the test cube exceeds the number of scan chains usable to observe fault effects, the expanded test cube can be rejected.
  • the acts of selecting, expanding, determining, and storing can be repeated for a third fault from the target fault list.
  • the encoding capacity for a controller of a scan enable circuit, a controller of a clock enable circuit, a controller of a reset enable circuit, or a controller of a shift clock enable circuit can be determined in order to determine the number of scan chains usable to observe fault effects.
  • the number of scan chains used to observe fault effects from the test cube can be determined by simulating application of the test cube to a circuit-under- test.
  • the original test stimulus source is a decompressor configured to decompress compressed test patterns provided by an external tester.
  • control signals for a scan enable circuit can be generated based on the test cube. These control signals can be capable of causing the scan enable circuit to suppress scan enable signals from scan chains that do not observe fault effects from the test cube when a test pattern with the test cube is applied during testing.
  • control signals for a clock enable circuit can be generated based on the test cube.
  • control signals can be capable of causing the clock enable circuit to suppress clock signals from scan chains that do not observe fault effects from the test cube when a test pattern with the test cube is applied during testing.
  • control signals can be generated for a reset enable circuit based on the test cube.
  • control signals can be capable of causing the reset enable circuit to apply reset signals to scan chains that do not observe fault effects from the test cube after a test response to a test pattern with the test cube is captured during testing.
  • control signals for a shift clock enable circuit can be generated based on the test cube.
  • control signals can be capable of causing the shift clock enable circuit to suppress shift clock signals from scan chains that do not observe fault effects from the test cube after a test response to a test pattern with the test cube is captured during testing.
  • a number of scan chains to be driven by an original test stimulus source is also determined.
  • the number of scan chains to be driven by the original test stimulus source is based on the maximum number of scan chains that can be independently controlled by a scan enable circuit, a clock enable circuit, a reset enable circuit, or a shift clock enable circuit.
  • any of the disclosed embodiments can be performed in a variety of environments, including a simulation environment. Further, any of the disclosed methods can be implemented on one or more computer-readable media storing computer-executable instructions for causing a computer to perform any of the methods. Any of the disclosed methods implemented in a computer environment can be performed by a single computer or via a network. Further, computer- readable media storing test patterns, test pattern values, or control data (or any other final or intermediate results) produced by any of the disclosed methods are also disclosed. Additionally, any of the disclosed apparatus can be generated by a suitable electronic design automation (“EDA”) software tool and stored as design data on one or more computer-readable media.
  • EDA electronic design automation
  • any of the disclosed testing architectures can be described or represented in an HDL file (such as a Verilog, VHDL, or register-transfer level file), a gate-level netlist, or other such EDA design file (e.g., a GDSII file or Oasis file).
  • HDL file such as a Verilog, VHDL, or register-transfer level file
  • gate-level netlist e.g., a GDSII file or Oasis file.
  • FIG. 1 is a schematic block diagram illustrating an exemplary testing environment in which embodiments of the disclosed technology can be used.
  • Figs. 2(a)-2(d) are graphs showing the distributions of the number of scan chains having specified bits for primary target transition faults in exemplary test circuits.
  • Figs. 3(a)-3(d) are graphs showing the distribution of scan chains with specified bits after dynamic compaction for the exemplary test circuits.
  • Fig. 4 is a graph showing the pattern count increase for a test generation scheme with a restricted number of scan chains having specified bits as compared to a test generation scheme that has no restrictions for the exemplary test circuits.
  • Figs. 5(a)-5(d) are graphs showing the number of scan chains observing additional detected faults for the exemplary test circuits.
  • Fig. 6 is a schematic block diagram of a first exemplary embodiment of an integrated circuit comprising a programmable test stimulus selector.
  • Fig. 7 is a schematic block diagram of a second exemplary embodiment of an integrated circuit comprising a programmable test stimulus selector.
  • Fig. 8 is a schematic block diagram of an exemplary selector circuit as may be used in the embodiments of Fig. 6 or Fig. 7.
  • Figs. 9(a)-9(c) are schematic block diagrams of exemplary selector circuits as may be used in the embodiments of Fig. 6 or Fig. 7.
  • Fig. 10 is a schematic block diagram of an exemplary programmable controller as can be used in the embodiments of Fig. 6 or Fig. 7.
  • Fig. 1 1 is a schematic block diagram of an exemplary shift register file as may be used in the controller of Fig. 10.
  • Fig. 12 is a schematic block diagram of an exemplary clocking circuit for the shift register file of Fig. 1 1.
  • Fig. 13 is a schematic block diagram of an exemplary shift register file using a shadow register as may be used in the controller of Fig. 10.
  • Figs. 14(a)-14(b) are schematic block diagrams of exemplary biasing circuits as can be used in the controller of Fig. 10.
  • Fig. 15 is a schematic block diagram of an exemplary reconfigurable biasing circuit as can be used in the controller of Fig. 10.
  • Fig. 16 is a schematic block diagram of another exemplary reconfigurable biasing circuit as can be used in the controller of Fig. 10.
  • Fig. 17 is a schematic block diagram of an exemplary circuit having a test stimulus controller with a biasing circuit.
  • Fig. 18 is a schematic block diagram of a first exemplary embodiment of an integrated circuit comprising a programmable scan enable circuit.
  • Fig. 19 is a schematic block diagram of an exemplary programmable scan enable circuit as can be used in the integrated circuit of Fig. 18.
  • Fig. 20 is a schematic block diagram of a scan enable circuit as can be used in the embodiment of Fig. 19.
  • Fig. 21 is a schematic block diagram of a second exemplary embodiment of an integrated circuit comprising a programmable scan enable circuit. This embodiment further comprises a programmable test stimulus selector.
  • Fig. 22 is a schematic block diagram of an exemplary circuit having a programmable scan enable circuit and a programmable test stimulus selector with a biasing circuit.
  • Fig. 23 is a schematic block diagram of an exemplary circuit having a programmable scan enable circuit with a biasing circuit.
  • Fig. 24 is a schematic block diagram of a first exemplary embodiment of an integrated circuit comprising a programmable clock enable circuit.
  • Fig. 25 is a schematic block diagram of an exemplary programmable clock enable circuit as can be used in the integrated circuit of Fig. 24.
  • Figs. 26(a)-26(b) are schematic block diagrams showing exemplary configurations for coupling outputs of clock enable circuits to scan chains as can be used in the embodiment of Fig. 25.
  • Fig. 27 is a schematic block diagram of an exemplary clock enable circuit as can be used in the embodiment of Fig. 25.
  • Figs. 28(a)-28(b) are schematic block diagrams of exemplary clock enable circuits as can be used in the embodiments of Fig. 25.
  • Fig. 29 is a schematic block diagram of an exemplary circuit having a programmable clock enable circuit and a programmable test stimulus selector.
  • Fig. 30 is a schematic block diagram of an exemplary circuit having a programmable clock enable circuit and a programmable test stimuli selector with a biasing circuit.
  • Fig. 31 is a schematic block diagram of an exemplary circuit having a programmable clock enable circuit with a biasing circuit.
  • Fig. 32 is a schematic block diagram of a first exemplary embodiment of an integrated circuit comprising a programmable reset/shift clock circuit.
  • Fig. 33 is a schematic block diagram of an exemplary shift clock enable circuit as can be used in the integrated circuit of Fig. 32.
  • Fig. 34 is a schematic block diagram of an exemplary reset clock enable circuit as can be used in the integrated circuit of Fig. 32.
  • Fig. 35 is a schematic block diagram of an exemplary circuit having a programmable clock enable circuit, a programmable test stimulus selector, and a programmable shift/reset clock enable circuit.
  • Fig. 36 is a schematic block diagram of an exemplary circuit having a programmable test stimuli selector with a biasing circuit and used to analyze embodiments of the disclosed technology.
  • Fig. 37 is a schematic block diagram a first distributed computing network as can be used to perform or implement any of the disclosed embodiments.
  • Fig. 38 is a schematic block diagram a second distributed computing network as can be used to perform or implement any of the disclosed embodiments.
  • Fig. 39 is a flowchart showing an exemplary method for performing or implementing any of the disclosed embodiments using a distributed computer network (such as the networks of Figs. 37 and 38).
  • Fig. 40 is a flowchart of an exemplary method for selectively modifying test pattern values to be loaded into scan chains of an integrated circuit.
  • Fig. 41 is a flowchart of an exemplary method for selectively applying a scan enable signal as a test response is captured during testing.
  • Fig. 42 is a flowchart of an exemplary method for selectively suppressing clock signals as a test response is captured during testing.
  • Fig. 43 is a flowchart of an exemplary method for selectively applying a reset signal to scan chains after a test response is captured during testing.
  • Fig. 44 is a flowchart of an exemplary test pattern generation method for generating test cubes where the number of scan chain to be driven by a test stimulus source is restricted.
  • Fig. 45 is a flowchart of an exemplary test pattern generation method for generating test cubes where the number of scan chains that observe fault effects during testing is to be restricted.
  • the disclosed apparatus can be implemented in a wide variety of scan-based or partially-scan-based circuits (e.g., application-specific integrated circuits ("ASICs”) (including mixed-signal ASICs), systems-on-a-chip (“SoCs”), or programmable logic devices (“PLDs”), such as field programmable gate arrays (“FPGAs”)).
  • ASICs application-specific integrated circuits
  • SoCs systems-on-a-chip
  • PLDs programmable logic devices
  • FPGAs field programmable gate arrays
  • circuits can be used in a vast assortment of electronic devices, ranging from portable electronics (e.g., cell phones, media players, and the like) to larger-scale items (e.g., computers, control systems, airplanes, automobiles, factories, and the like). All such items comprising one or more circuits having embodiments of the disclosed testing apparatus are considered to be within the scope of this disclosure.
  • portable electronics e.g., cell phones, media players, and the like
  • larger-scale items e.g., computers, control systems, airplanes, automobiles, factories, and the like. All such items comprising one or more circuits having embodiments of the disclosed testing apparatus are considered to be within the scope of this disclosure.
  • any of the disclosed apparatus can be described or represented as design data or design information stored on one or more computer-readable media.
  • any of the disclosed testing architectures can be described or represented in an HDL file (such as a Verilog, VHDL, or register-transfer level file), a gate-level netlist, or other such EDA design file (e.g., a GDSII file or Oasis file).
  • EDA design file e.g., a GDSII file or Oasis file.
  • Such design data or design information can be created in whole or in part through the use of software comprising computer-executable instructions stored on computer-readable media (e.g., computer-readable media, such as one or more CDs, volatile memory components (such as DRAM or SRAM), or nonvolatile memory components (such as hard drives)).
  • any of the disclosed techniques can also be implemented in whole or in part by software comprising computer-executable instructions stored on computer-readable media.
  • software can comprise, for example, an appropriate electronic design automation (“EDA”) software tool (e.g., an automatic test pattern generation (“ATPG”) tool).
  • EDA electronic design automation
  • AVG automatic test pattern generation
  • Such software can be executed on a single computer or on a networked computer (e.g., via the Internet, a wide-area network, a local-area network, a client- server network, or other such network).
  • EDA electronic design automation
  • AVG automatic test pattern generation
  • Such software can be executed on a single computer or on a networked computer (e.g., via the Internet, a wide-area network, a local-area network, a client- server network, or other such network).
  • a networked computer e.g., via the Internet, a wide-area network, a local-area network, a client- server network, or other such network.
  • the disclosed technology can be implemented using any commercially available computer executing a program written in any commercially available or otherwise suitable language. Any of the disclosed methods can alternatively be implemented (partially or completely) in hardware (e.g., an ASIC, PLD, or SoC). Any data produced from any of the disclosed methods (e.g. , intermediate or final test patterns, test patterns values, or control data) can be stored on computer- readable media (e.g., tangible computer-readable media, such as one or more CDs, volatile memory components (such as DRAM or SRAM), or nonvolatile memory components (such as hard drives)) using a variety of different data structures or formats. Such data can be created, updated, or stored using a local computer or over a network (e.g., by a server computer).
  • computer- readable media e.g., tangible computer-readable media, such as one or more CDs, volatile memory components (such as DRAM or SRAM), or nonvolatile memory components (such as hard drives)
  • Such data can be created, updated,
  • any of the disclosed methods can also be performed in a computer simulation or other EDA environment (e.g., in a simulation environment where test patterns are simulated as being applied to representations of circuits).
  • the disclosed methods can be performed using circuit design information representative of a circuit-under-test and the associated test hardware (for example, a netlist, HDL file (such as a Verilog, or VHDL file), RTL file, GDSII file, Oasis file, or the like) and stored on computer-readable media.
  • circuit design information representative of a circuit-under-test and the associated test hardware for example, a netlist, HDL file (such as a Verilog, or VHDL file), RTL file, GDSII file, Oasis file, or the like
  • circuit-under-test including the various components of the circuit-under-test
  • testing hardware including the various components of the hardware
  • physical counterparts for example, scan chains, scan cells, shift register, shadow register, and other such terms.
  • the singular forms “a,” “an,” and “the” include the plural forms unless the context clearly dictates otherwise. Additionally, the term “includes” means “comprises.” Moreover, unless the context dictates otherwise, the term “coupled” means electrically or electromagnetically connected or linked and includes both direct connections or direct links and indirect connections or indirect links through one or more intermediate elements not affecting the intended operation of the circuit.
  • test stimulus source refers to a test stimulus generator that provides test stimuli directly or indirectly to scan chains and primary inputs.
  • the test stimulus generator be can implemented in various forms. Such forms include, but are not limited to, external test equipment, weighted or non- weighted pseudo random pattern generators ("PRPGs"), PRPGs with phase shifter and/or biasing circuit, decompressors, sources producing a constant logic value 0, and sources producing a constant logic value 1.
  • PRPGs weighted or non- weighted pseudo random pattern generators
  • decompressors sources producing a constant logic value 0
  • sources producing a constant logic value 1 sources producing a constant logic value 1.
  • decompressor refers to a functional unit that decompresses compressed test stimuli, such as deterministic test stimuli from external test equipment, for delivery to a circuit-under-test on the chip.
  • a decompressor can be implemented in various forms.
  • Such forms can include, but are not restricted to, broadcast circuits, selectable broadcast circuits, combinational circuits (including, but not limited to, MUX-based or XOR-based combinational circuits) with or without biasing circuits, feedback shift registers with or without phase shifters and/or biasing logic, and/or a feedback shift registers with reseeding.
  • test stimulus selector refers to a functional unit that selects at least one test stimulus source (e.g., from a plurality of such sources) that feeds scan chain inputs.
  • programmable test stimulus selector refers to a functional unit that can comprise, for example, two components: a programmable controller and a test stimulus selector.
  • the programmable controller can, for example, be coupled to external test equipment or to an embedded test generator and configured to receive control data from the external tester or from the embedded test generator.
  • scan chain segment refers to a group of scan cells in a scan chain that are connected consecutively.
  • scan enabler or “scan enable circuit” refers to a functional unit that configures the scan chains in a shift mode or a functional capture mode (sometimes referred to as the "normal circuit” mode) during a capture window.
  • programmable scan enabler or “programmable scan enable circuit” refers to a functional unit that can comprise, for example, two components: a programmable controller and a scan enable circuit.
  • the programmable controller can be coupled to external test equipment or to an embedded test generator and be configured to receive control data from the external tester or from the embedded test generator.
  • clock enabler or “clock enable circuit” refers to a functional unit that enables/disables a set of state elements to capture a system response in the capture window.
  • programmable clock enabler or “programmable clock enable circuit” refers to a functional unit that can comprise, for example, two components: a programmable controller and a clock enable circuit.
  • the programmable controller can be coupled to external test equipment or to an embedded test generator and be configured to receive control data from the external tester or from the embedded test generator.
  • shift clock enabler or “shift clock enable circuit” refers to a functional unit that enables/disables a group of scan chains to load/unload test data during scan shift.
  • reset enabler or “reset enable circuit” refers to a functional unit that enables/disables a reset clock or reset signal that resets the scan cells in a scan chain.
  • programmable reset/shift enabler refers to a functional unit that can comprise, for example, three components: a programmable controller, a shift clock enable circuit, and a reset enable circuit.
  • the programmable controller can be coupled to external test equipment or to an embedded test generator and be configured to receive control data from the external tester or from the embedded test generator.
  • the technology disclosed herein relates to methods and apparatus for low- power testing.
  • the disclosed technology is sometimes discussed in the context of an embedded deterministic test ("EDT") environment, though it should be understood that the principles described herein are not limited to this environment.
  • EDT embedded deterministic test
  • the low-power testing techniques and apparatus described herein can be used with other compression schemes that involve encoding test cubes having specified bits or with testing schemes that do not use compression hardware.
  • Fig. 1 illustrates an exemplary testing environment 100 in which compressed test stimuli 112 are delivered to a decompressor 118 embedded in a circuit-under- test 110.
  • the illustrated embodiment shows a typical EDT environment in which the compressed test stimuli are provided by automatic test equipment ("ATE") 114 external to the circuit-under-test 110.
  • ATE automatic test equipment
  • the test stimuli are decompressed and applied as test patterns to scan chains 120.
  • Outputs from the scan chains are compacted by a compactor 122 and delivered as compressed test responses 124 to the ATE 1 14 for analysis.
  • Examples of EDT decompressors 118 and exemplary EDT environments that are suitable for use with the disclosed technology are described in, for example, U.S. Patent Nos. 6,327,687; 6,353,842; 6,557,129; 6,684,358; 6,874,109; and U.S. Patent Application Publication No. 2003/0120988, all of which are hereby incorporated herein by reference.
  • Deterministic test vectors typically have only a small fraction of bits that are specified. The remaining positions can be either randomly filled with Os and 1 s, or they can be filled in other ways, often without compromising test coverage. Furthermore, a substantial amount of experimental evidence indicates that, very often, the locations of specified bits are confined to only a few scan chains. In order to illustrate this phenomenon, consider data collected from four industrial designs using EDT technology. The characteristics of these exemplary designs are reported in Table 1.
  • Figs. 2(a)-2(d) are graphs 200, 202, 204, 206, and show the distributions of the number of scan chains having specified bits for all primary target transition faults in the circuits C1-C4. Note that the number of scan chains with specified bits is counted before dynamic compaction. As can be seen, the majority of test cubes feature specified bits in less than 20% of the scan chains, and no test cube has specified bits in more than 50% of the scan chains.
  • Dynamic compaction is typically used to reduce the pattern count during test generation. Starting from a test cube generated for a primary target fault, dynamic compaction expands this cube to cover additional faults by assigning appropriate values to the unspecified positions. As a result, the number of scan chains having specified bits gradually increases as dynamic compaction progresses. To employ scan chains that have no specified bits and that can be used to reduce toggling during test application, one desirably maximizes the number of such scan chains while minimizing the possible impact on the pattern count during dynamic compaction. To analyze the correlation between the pattern count and the number of scan chains with specified bits during test generation with dynamic compaction, one can limit the number of scan chains with specified bits.
  • dynamic compaction can be carried out only if a test cube has less than a specified quantity (e.g., 20%) of scan chains with specified bits; and, among the scan chains with no specified bits, some specified quantity (e.g., 50%) of the total number of scan chains can be chosen randomly, and the scan cells in those scan chains can be filled with a constant value. For the rest of the unspecified bits, their logic values can be determined by the decompressor.
  • the distribution of scan chains with specified bits after dynamic compaction for the circuits C1-C4 is shown in graphs 300, 302, 303, 304 of Figs. 3(a)-3(d).
  • graph 400 in Fig. 4 shows the pattern count increase as compared to a test generation scheme that has no restrictions as far as scan chains hosting specified bits are concerned for the circuits C1-C4.
  • a conventional EDT environment e.g., as shown in Fig. 1 was used as an experimental platform.
  • Fig. 6 is a schematic block diagram illustrating a generalized version of a programmable selector 650 that is positioned between test stimulus sources 610 (comprising an original stimulus source, a weighted circuit coupled to the original stimulus source, a logic 0 source, and a logic 1 source) and scan chain inputs 122a, 122b, 122N of scan chains 120a, 122b, 122N.
  • the exemplary programmable selector 650 can comprise one or more test stimulus selectors 652 and one or more programmable controllers 660.
  • a single test stimulus selector can be coupled, for example, to more than one scan chain input.
  • the programmable selector 650 can be driven, for example, by multiple sources of test data. In the illustrated embodiment, for instance, four types of test data are possible as test stimulus: original test stimulus biased by a biasing circuit, original test stimulus not biased by a biasing circuit, constant values of 0, or constant values of 1.
  • An exemplary test application method using the exemplary programmable selector 650 comprises loading control data of the test stimulus into the programmable controller; providing the test stimuli from the original test stimulus source; shifting the test stimuli into the scan chains; at each scan shift cycle, using the programmable controller to determine the source passing through the test stimulus selector; applying capture clocks; and unloading test responses from the scan chains.
  • the switching activity created during scan shifting can be reduced by reducing the amount of toggling that occurs in successive scan cells during scan chain loading.
  • Such a reduction can be achieved by performing any one or more of the following acts: loading a constant 0 or 1 into a group of scan chains; loading a constant 0 or 1 into one or more segments of a scan chain; or employing a weighting circuit to increase the probability of receiving the same logic value in consecutive scan cells when the scan chains are driven by the original test stimulus source.
  • the programmable controller in one exemplary form increases the flexibility of selecting a test stimulus source during scan shift operations while reducing the hardware overhead and additional test data volume for each test pattern.
  • Fig. 40 is a flowchart of one exemplary method for selectively modifying test pattern values using, for example, a programmable test stimulus selector.
  • original test pattern values for testing an integrated circuit are received on m paths.
  • the original test pattern values can be received, for example, from a decompressor.
  • the test pattern values on at least n of the m paths are selectively modified, where n is less than m, so that the test pattern values on the n paths become at least two consecutive constant values.
  • test pattern values are output on m scan chain input paths. These test pattern values include the at least two consecutive constant values on n of the m scan chain input paths.
  • control data indicating which of the m input paths are to be modified is received.
  • the control data can be reused for multiple additional test patterns.
  • the outputted test pattern values can include all specified bits of the original test pattern that target one or more faults in the integrated circuit.
  • the test pattern values can be modified at 4012 in response to control signals being applied to logic gates configured to produce the at least two consecutive constant values.
  • exemplary test stimulus selector can comprise a group of selectors with the same or different functionality.
  • Fig. 7 is a schematic block diagram of a programmable test stimulus selector 750 that may be used as the programmable test stimulus selector 650 of Fig. 6 and that includes multiple selectors, each coupled to one or more scan chains.
  • a selector can drive a single given scan chain (such as selector 754 shown driving scan chain 120N) or can drive a group of two or more scan chains (such as selector 752 shown driving scan chains 120a, 120b).
  • FIG. 8 An exemplary form of selector is shown in the schematic block diagram of Fig. 8 and has two or more inputs and a single output.
  • the illustrated selector 800 can be used, for example, as one of the selectors 752, 754 illustrated in Fig. 7. Each of the inputs of the selector is driven by a selected test stimulus source from among multiple test stimulus sources 810.
  • the test stimulus sources can comprise any number of test stimulus sources and are represented as test stimulus source 810a to test stimulus source 810N.
  • the other inputs to the selector 800 in this example are coupled to the programmable controller 860 and are used to control which one of the test sources 810a-810N is to be passed to the output of the selector 800.
  • a multiplexer 802 is used to implement the selector 800.
  • Other exemplary forms of selectors as may be used for the test stimulus selection circuitry are shown in Figs. 9(a)-9(c).
  • Figs. 9(a)-9(c) show three exemplary selectors 900, 902, 904.
  • Selector 900 is coupled to an original stimulus source 910 and is controlled by programmable controller 920 to produce either the value output from the original stimulus source 910, a logic 0, or a logic 1, using AND gate 930 and OR gate 940.
  • Selector 902 is coupled to the original stimulus source 910 and is controlled by the programmable controller 922 to produce either the value output from the original stimulus source 910 or a logic 1 using OR gate 942.
  • Selector 904 is coupled to the original stimulus source 910 and is controlled by the programmable controller 924 to produce either the value output from the original stimulus source 910 or a logic 0 using AND gate 952.
  • the programmable controller 660 of the exemplary architecture shown in Fig. 6 can receive control data from, for example, an external tester, an embedded test generator, or an embedded ROM.
  • the controller 660 is responsible for providing signals that select a test stimulus source during each scan shift cycle.
  • a programmable controller desirably exhibits two properties: it controls each available selector circuit independently; and it selects a test stimulus source in a cycle-based manner.
  • the programmable controller is configured to select the test stimulus source one scan- chain-segment-by-scan-chain-segment basis or test-pattern-by-test-pattern basis.
  • the illustrated controller 1000 comprises a shift register file 1010, an XOR network 1020, and an optional biasing circuitry 1030.
  • the shift register file 1010 (representing an arrangement of two or more shift registers) stores the compressed control data.
  • the compressed control data can be delivered, for instance, from a source such as an external tester, an embedded test generator, or an embedded ROM. That data is decompressed by means of the XOR network 1020 and passes through the biasing circuitry 1030 before driving the test stimulus selector.
  • Fig. 1 1 illustrates an exemplary implementation 1 100 of the shift register file 1010.
  • the illustrated shift register file 1100 comprises N shift registers (numbered 1 11 Oa-11 ION in this example) and employs a clock Register Shift _Clock signal 1 120 to shift the control data into each of its state elements (e.g., the flip-flops of the shift register).
  • the registers in the register file 1100 can also be coupled to each other in a concatenated fashion so that control can be serially shifted into the register file in response to the shift clock.
  • each of the registers in the register file can load data through its own dedicated input.
  • each register file contains the control data that selects a different test stimulus source for a scan chain segment during scan shift operations.
  • the N shift registers can form an iV-stage register pipeline.
  • a pipeline clock signal (Pipeline Shift _Clock) 1 130 is generated by a pipeline shift clock generator 1 132.
  • This implementation allows one to dynamically change test patterns up to N times during scan shift operations.
  • the test source for each scan chain is fixed during the entire scan shift operation. In such implementations, it is possible to use only one shift register, as there is no need to include a pipeline shift clock generator.
  • the circuit 1200 in the exemplary form shown, includes a counter 1210 coupled to a Shift _Clock signal line 1212.
  • the counter 1210 has an output coupled to a clock enable circuit 1230.
  • the clock enable circuit 1230 outputs a 1 (or other appropriate value) every k cycles to shift the pipeline register file.
  • the illustrated form of clock gating logic 1240 is a glitch-free design, and comprises or consists of a latch 1242 and an AND gate 1244.
  • the Shift _Clock signal line 1212 can be controlled directly from an external tester. In such a case, there is no hardware overhead related to the pipeline shift clock generator.
  • the Shift Clock signal may, in some cases, be the Register _Shift Clock signal.
  • a shift register file 1300 can be implemented with a shadow register file 1310.
  • the control data for test pattern / can be shifted into the shift register file 1300 in parallel while loading test pattern t,. ⁇ to the scan chains through the shadow register file 1310.
  • the Update Clock signal 1322 also referred to as the Copy Clock signal
  • the control data in the shadow register file 1310 can then be used to select the test stimulus source while loading test pattern /,.
  • the architecture shown in Fig. 13 uses N shift registers and N shadow registers to support changing the control data N times during scan shift. To reduce area overhead, the registers shown in Fig. 13 can be replaced with a single shift register and a single shadow register.
  • a control procedure can be performed.
  • An example of a suitable control procedure is described below.
  • S be the number of scan cells to
  • N be loaded into the i th scan segment, where ie[l,NJ and ⁇ S, is equal to the scan
  • the XOR network 1020 of the exemplary controller 1000 shown in Fig. 10 can be designed as an ⁇ Mnput, M-output linear mapping circuit, where N and Mare the numbers of control bits and inputs of the biasing circuit, respectively.
  • each output of the block can be obtained by XOR-ing certain control bits whose identity is provided by a ⁇ -term polynomial.
  • the XOR network 1020 can be configured in such a way that high encoding efficiency is obtained (e.g., close to a 100% ratio of successfully encoded pre-specified output signals to the number of control bits).
  • the XOR network can be implemented using other types of logic gates (e.g., XNOR gates or other such linear logic gates).
  • a biasing circuit (such as biasing circuit 1030 in Fig. 10) can be employed to increase the probability of producing a binary 0 or 1 at any one or more respective outputs of the XOR network 1020. Assuming that every input of the biasing circuit sees substantially a 50-50 split of zeros and ones, a biasing circuit implemented by, for example, a two-input AND (OR) gate increases the probability of having the value 0 (1) to 75% while reducing the probability of having the value 1 (0) to 25%.
  • Two implementations 1400, 1450 of exemplary biasing circuitry are shown in Figs. 14(a) and 14(b), respectively.
  • the exemplary biasing circuitry 1400 in Fig. 14(a) is configured to provide three test stimulus sources.
  • the probabilities of selecting an original test stimulus source 1410, selecting the constant 0, or selecting the constant 1 are 12.5%, 37.5%, and 50%, respectively.
  • the exemplary biasing circuitry 1450 in Fig. 14(b) is configured to provide two test stimulus sources.
  • the probabilities of selecting an original test stimulus source 1410, or selecting the constant 0 are 25% and 75%, respectively.
  • the fraction of scan chains driven by the decompressor can be changed in the manner of Fig. 14(a) by adding more inputs to the AND gates on the outputs of the XOR network.
  • the actual number of scan chains that can be driven by the decompressor may depend on the encoding capabilities of the programmable controller. Because the encoding process is equivalent to solving a set of linear equations ⁇ see, e.g., U.S. Patent No. 6,327,687), setting an output signal of the XOR network 1020 to a pre-specified value requires, on the average, one control bit ⁇ e.g., one variable). Therefore, for the biasing circuit 1400 shown in Fig. 14(a), it will typically be necessary to solve three equations (one per each gating signal) in order to drive the associated scan chain with specified bits.
  • a scan chain contains specified bits of only one value
  • the scan chain can be driven by a matching constant value.
  • the biasing circuit (such as biasing circuit 1030 shown in Fig. 10) can be designed as a reconfigurable device.
  • An exemplary form of a reconfigurable biasing circuit 1500 is shown in Fig. 15. This example comprises or consists of plural biasing circuits 1510a-l 5 ION with different probabilities of selecting test stimulus sources.
  • a programmable controller 1520 can be used to select one of the biasing circuits 151 Oa-151 ON. Control data can be loaded into the programmable controller 1520 using, for example, an external tester, an internal test generator, or an embedded ROM.
  • the selected biasing circuit 1510a-1510N can remain unchanged during the whole scan shift period; or (2) various biasing circuits 1510a-l 510N can be chosen for different scan chain segments during scan shift.
  • the architecture of the programmable controller 1520 can be the same as that of the other programmable controllers discussed above and used to control the test stimulus selector 652.
  • a reconfigurable biasing circuit 1600 is shown in Fig. 16.
  • the probability of selecting the original test stimulus or the constant 0 is 50%, provided that the control data loaded into shadow data flip flop 1610 ("DFF") is equal to 1.
  • the control data loaded into the shadow DFF 1610 is set to 0, then the probability of selecting the original test stimulus source or the constant 0 is 25% or 75%, respectively.
  • Fig. 17 is a schematic block diagram illustrating one exemplary architecture 1700 for which the ATPG procedure can be used.
  • the test stimulus selector is implemented as a decompressor 1710 (e.g., an EDT decompressor).
  • the decompressor 1710 e.g., an EDT decompressor
  • the constant 0 is produced by controller 1720, which comprises a biasing circuit 1730 of AND gates, an XOR network 1740, a shadow register 1750 and a shift register 1760.
  • controller 1720 which comprises a biasing circuit 1730 of AND gates, an XOR network 1740, a shadow register 1750 and a shift register 1760.
  • the type of test stimulus source driving a scan chain can remain unchanged during a scan loading operation.
  • the XOR network 1740 can be designed in such a way that loading shadow register 1750 with an all-1 pattern will result in all of the scan chains being driven by the decompressor 1710.
  • test stimulus selector The exemplary hardware shown in Fig. 17 can select up to 75% of scan chains to be driven by the constant 0.
  • target fault list F is not empty, do: a. Set test cube C to an all-x pattern. b. Pick a fault/from F and remove it from F. c. Generate test cube C/ for/ d. If/is untestable, continue from step 4. e. Merge C/ with C and set S to be the number of specified scan chains in C. f. Mark every fault in F as untried. g. While there exist untried faults in F and S is not greater than N, do: i. Pick an untried fault g from F and mark it as tried, ii. Assign C to C g . iii. Expand C g by specifying additional x bits in C g to detect g. iv.
  • Table 4 Exemplary Pseudocode for Generating Test Patterns with the Exemplary Test Stimulus Selector of Fig. 17
  • the exemplary procedure set forth in Table 4 includes a procedure that provides an additional check ⁇ e.g., before act 4(g)(v)) to verify whether the control data for the test selector 1740 can be generated such that all the scan chains with specified bits can be driven by the decompressor. If the control data cannot be generated for the test cube C g , it can be discarded and the original test cube can be kept unchanged. Moreover, if the only specified bits in a scan chain are 0s, then, in this example, there is no need to count this chain in S.
  • Fig. 44 is a flowchart of another exemplary embodiment for test pattern generation according to the disclosed technology. At 4410, the number of scan chains to be driven by an original test stimulus source is determined.
  • the number is typically less than the number of available scan chains in a circuit design.
  • the original test stimulus source is a decompressor configured to decompress compressed test patterns provided by an external tester.
  • the encoding capacity of a controller for a test stimulus selector is used to determine the number of scan chains to be driven by an original test stimulus source. For instance, the number of scan chains to be driven by the original test stimulus source can be based on the maximum number of scan chains that can be individually controlled by a test stimulus selector.
  • a fault from a target fault list is selected.
  • a test cube for the selected fault is generated. The test cube comprises specified bits in a number of specified scan chains.
  • control signals for a test stimulus selector can be generated based on the stored test cubes. These control signals can be capable of causing the test stimulus selector to apply constant values to the unspecified scan chains as a test pattern with the test cube is loaded during testing.
  • Selecting different constant logic values loaded into the scan chains and fed by the constant test stimulus source can have a different impact on the switching activity during the capture phase.
  • a preferred fill approach (embodiments of which are described in U.S. Patent Application Publication No. 2007/0250749, which is hereby incorporated herein by reference) can be used with embodiments of the disclosed technology. Such approaches use signal probabilities to help determine the filling value during test pattern generation that reduces the switching activity during capture.
  • These strategies can be used with the disclosed technology, for example, to select the constant test stimulus source in such a way that a constant 0 is chosen anytime the number of scan cells with the preferred value 0 is greater than or equal to the number of scan cells with the preferred value 1.
  • the term "the number of scan cells” refers here either to all scan chains having the same test source, a group of scan chains sharing the same test source, or an individual scan chain driven by its own test source.
  • both the scan-in shift power and the scan-out shift power can be reduced. This is due to the fact that the values captured into the scan cells that are held in the scan shift mode will be the same as the loading values. Thus, the values do not create transitions that cause toggling in the downstream gates during the capture window and during the unloading of a test response. Even if the scan chain is not designed to operate at speed when the scan mode is enabled, the logic value at a scan cell operated in the shift mode during the capture window will not ordinarily become unknown during that time frame as the data input value of the scan cell will be unchanged.
  • FIG. 18 shows a programmable scan enabler 1810 inserted between a Global Scan Enable signal line 1812 and scan enable inputs 1814 of the scan chains.
  • the scan enabler 1810 can, for example, comprise or consist of two components: a scan enable circuit 1820 and a programmable controller 1830.
  • An exemplary test application procedure using the programmable scan enabler 1810 comprises loading control data for the test pattern t into the programmable test stimulus selector and the programmable scan enabler; asserting the Global Scan Enable signal to switch the circuit into a shift mode; shifting the test stimulus t into the scan chains; de-asserting the Global Scan Enable signal to switch the circuit into a capture mode; selectively asserting a scan enable signal to one or more selected scan chains; applying capture clocks; and asserting the Global jScan Enable signal to switch circuit into the shift mode and unload a test response from the scan chains.
  • Fig. 41 is a flowchart illustrating an exemplary embodiment for applying scan enable signals to a circuit during testing.
  • a scan enable signal is applied to scan chains of a circuit-under-test as a decompressed test pattern from a decompressor is loaded into the scan chains.
  • the scan enable signal causes the scan chains to operate as one or more shift registers.
  • the scan enable signal is applied to one or more of the scan chains as a test response to the decompressed test pattern is captured in a remainder of the scan chains to which the scan enable signal is not applied.
  • the one or more of the scan chains to which the scan enable signal is applied comprise one or more scan chains that would otherwise capture unknown values.
  • Control signals can also be received that control which of the scan chains will have the scan enable signal applied as the test response to the decompressed test pattern is captured. These control signals can be reused as multiple additional decompressed test patterns are loaded into the scan chains. Still further, the control signals for a next test pattern can be loaded as the test pattern is being loaded into the scan chains.
  • the scan enable circuit 1820 of Fig. 18 can be implemented in a variety of ways.
  • One exemplary scan enable circuit 1900 is shown in Fig. 19.
  • scan enable circuit 1900 comprises plural scan enablers (two of which are numbered as 1910, 1912 in Fig. 19).
  • a scan enabler can drive either a single scan chain's scan enable input (as with scan enabler 1912) or two or more scan chains' scan enable inputs (as with scan enabler 1910).
  • the function of the exemplary scan enablers is to handle the Global ' Scan Enable signal in such a way that when the signal is de-asserted, the individual scan enable signal that the scan enablers output to the one or more scan chains is controlled by programmable controller 1930.
  • An implementation of one form of scan enabler (such as 1910) is shown as scan enabler 2000 in Fig. 20.
  • a scan enable programmable controller ⁇ e.g., programmable controller 1830 shown in Fig. 18
  • the use of an independent programmable controller for test stimulus selection in addition to a programmable scan enabler controller allows for the flexible control of scan enable signals for a group of scan chains loaded with a constant value.
  • the use of both a programmable controller for test stimulus selection and a programmable scan enable controller can increase the test data volume and create additional area overhead. Therefore, in certain embodiments, the programmable test stimulus selector and the programmable scan enabler share a programmable controller.
  • FIG. 21 An exemplary architecture having a shared controller is shown in Fig. 21.
  • Fig. 21 shows an architecture 2100 in which a shared controller 21 10 is used to control both test stimulus selector 2120 and scan enable circuit 2130.
  • the controller 2110 can be implemented using any of the controller designs introduced above.
  • the test generation procedure for a scan-based architecture with a programmable scan enabler can be similar to the test generation procedure described above.
  • an exemplary test generation procedure will be described for the exemplary scan architecture illustrated in Fig. 22.
  • the exemplary architecture 2200 of Fig. 22 includes a single programmable controller 2210 that is used to control a test stimulus selector 2222 and a scan enabler 2224.
  • the exemplary procedure described herein can be extended to other scan architectures having both a programmable test stimulus selector and a programmable scan enabler.
  • Fig. 22 two types of test stimulus sources are illustrated: decompressor 2220 and a source for the constant 0 (implemented by the AND gates in the test stimulus selector 2222).
  • the type of test stimuli fed to a scan chain in this example remains unchanged during the scan loading process.
  • the Scan Enable signal of the chain is asserted.
  • the Scan Enable signal can be applied not only during the scan shift phase of testing, but also during the capture phase so that the scan chain remains loaded with constant 0s.
  • the XOR network 2230 can be designed in such a way that all the scan chains are driven by the decompressor 2220 when control shadow register 2240 is loaded with an all-1 pattern.
  • Table 5 includes exemplary pseudocode that describes one particular procedure for generating test patterns using test architectures that include both a test stimulus selector and a scan enabler.
  • Exemplary Procedure generate tests jwithjest stimulus selector _and_scan_enabler
  • target fault list F is not empty, do: a. Set test cube C to an all-X pattern. b. Pick a fault/from F and remove it from F. c. Generate test cube C/ for/ d. If/is untestable, continue from step 4. e. Merge C/ with C and set S to be the number of scan chains in C having specified bits and/or being used to observe fault effects of/ f. Mark every fault in F as untried. g. While there exist untried faults in F and S is not greater than N, do: i. Pick an untried fault g from F and mark it as tried, ii. Assign C to C g . iii.
  • Expand C 8 by specifying additional x bits in C g to detect g. iv. If fault g cannot to be detected by expanding C g , continue from act 4(g). v. If the number of scan chains in C g having specified bits and/or being used to observe the fault effects for the fault g and all the faults targeted and detected by C is greater than S, continue from act 4(g). vi. Remove g from F. h.
  • Fault simulate t and drop detected faults from F. k. Add / to test set T. 5. Return generated test set T.
  • Table 5 Exemplary Pseudocode for Generating Test Patterns with the Exemplary Test Stimulus Selector and Scan Enable Circuitry of Fig. 22
  • the exemplary procedure set forth in Table 5 includes a procedure ⁇ e.g., before act 4(g)(vi)) that is used to verify if the control data for the test selector can be generated such that all the scan chains with specified bits can be driven by the decompressor. If the control data cannot be generated for the test cube C g , it can be discarded and the original test cube can be kept unchanged. Moreover, if the only specified bits in a scan chain are Os, and the scan chain is not used to observe any fault effect, there is no need in this example to count this chain in S.
  • Fig. 45 is a flowchart illustrating an exemplary test pattern generation procedure for generating test patterns in architectures having a scan enable circuit. At 4510, a number of scan chains usable to observe fault effects is determined. The number is typically less than the number of available scan chains in a circuit design.
  • the encoding capacity for a controller of a scan enable circuit is used to determine the number of scan chains usable to observe fault effects.
  • the number of scan chains usable can be determined from the encoding capacity of a controller of a clock enable circuit, a controller of a reset enable circuit, or a controller of a shift clock enable circuit.
  • a fault from a target fault list is selected.
  • a test cube for the selected fault is generated and the number of scan chains used to observe fault effects from the test cube is determined (e.g., using fault simulation).
  • an evaluation is made as to whether the number of scan chains used to observe fault effects from the test cube is less than the number of scan chains usable to observe fault effects. If the number of scan chains used to observe fault effects from the test cube is less than the number of scan chains usable to observe fault effects, the test cube is stored and an additional fault is selected from the fault list at 4518. If the number of scan chains used to observe fault effects from the test cube exceeds the number of scan chains usable to observe fault effects, then the test cube is rejected at 4524 and the process is repeated if there are additional faults in the fault list (as determined at 4532). At 4518, the test cube for the first fault is expanded to include one or more additional specified bits for detecting the second fault.
  • Control signals for the scan enable circuit can be generated based on the test cube. These control signals can be capable of causing the scan enable circuit to suppress scan enable signals from scan chains that do not observe fault effects from the test cube when a test pattern with the test cube is applied during testing.
  • embodiments of the test pattern generation methods can also be used for architectures that include both a scan enable circuit and a programmable test stimulus source.
  • the determination of whether a test cube or expanded test cube can be accepted or not can also involve determining whether the number of specified chains in the test cube is less than the number of scan chains to be driven by the original test stimulus source.
  • the number of scan chains to be driven by the original test stimulus source can be based, for instance, on the maximum number of scan chains that can be independently controlled by a scan enable circuit.
  • Unknown states can potentially render a test useless.
  • Sources of X states include uninitialized memory elements, bus contentions, non-scan flip-flops, floating buses, internal three-state logic, and multicycle and false paths when generating at-speed tests.
  • X states once captured in scan cells, can be subsequently injected into a test response compactor. In the test response compactor, X states can severely affect test results.
  • the potential for test response corruption due to X states is especially great if a time compactor is used. For example, in time compactors, an X state can quickly multiply due to the feedback fan-out, contaminate the signature, and stay in the compactor until the signature is read out.
  • combinational compactors which are a form of spatial compactor
  • Such compactors sometimes have to observe each scan chain on two or more outputs.
  • Finite memory compactors flush X states out of their registers after a number of scan shift cycles.
  • programmable scan enabler 2310 can be used to keep any of scan chains 120a- 120N in the shift mode throughout a test cycle. This technique essentially prevents the scan chains 120a- 12On from capturing X states and loading them into compactor 2320.
  • Fig. 23 approximately 75% of the scan chains can remain in the scan shift mode during application of a given test pattern and not capture any test response values from the combinational logic of the circuit. The remaining 25% of the scan chains can capture the test response values that include values indicative of the presence of a targeted fault.
  • the approach of Fig. 23 can be easily integrated with the solution described in connection with Fig. 22. As a result, the same control circuitry used to handle parallel power dissipation can be used to handle the presence of unknown states.
  • An exemplary technique for generating control data for the scan enable circuit that prevents X states from being captured comprises simulating a test pattern being applied to a circuit-under-test to generate a simulated test response; identifying one or more scan chains of the circuit-under-test that capture unknown states from the simulated test response; and generating control signals that cause the scan enable circuit to suppress the scan enable signal of one or more of the identified scan chains during the capture window.
  • the control signals that are generated can be stored on one or more computer-readable media and subsequently loaded into the programmable controller of the scan enable circuit during test application.
  • the respective clocks for these scan chains can be disabled such that the switching activity in the capture window is reduced.
  • the relevant clocks may be a dedicated capture clock that is distributed to each of the scan cells of a scan chain or a single clock distributed though a single clock tree that provides both the shift signals (e.g. , at a first frequency) and the capture signals (e.g., at a second frequency). In the latter scenario, the shift signals and the capture signals can be generated by a clock generator coupled to the clock tree.
  • FIG. 24 is a schematic block diagram showing an exemplary scan-based architecture 2400 employing a programmable clock enabler 2410.
  • the programmable clock enabler 2410 is inserted between the clock (e.g., a capture clock) and a clock tree driving scan chains 120a- 120N.
  • an exemplary programmable clock enabler 2410 can comprise or consist of two components: a clock enable circuit 2420 and a programmable controller 2430.
  • An exemplary test application procedure using the architecture 2400 comprises loading control data of a test pattern t into the programmable controller 2430; asserting Global ClockJEnable signal 2440 before scan shifting starts; shifting the test stimulus t into the scan chains; de-asserting Global _Clock_Enable signal 2440 at the end of scan shift operation; applying the capture signals to selected scan chains; and asserting Global _Clock_Enable signal 2440 before unloading test response from the scan chains.
  • Fig. 42 is a flowchart showing an exemplary method for applying and suppressing clock signals during testing.
  • a clock signal is applied to scan chains of a circuit-under-test as a decompressed test pattern from a decompressor is loaded into the scan chains of the circuit-under-test.
  • the clock signal is suppressed at one or more but not all of the scan chains or segments of the scan chains as a test response to the decompressed test pattern is captured during a capture window.
  • the suppression of the clock signal causes the one or more but not all of the scan chains or segments of the scan chains to remain in a constant state during the capture window.
  • the one or more but not all of the scan chains or segments of the scan chains can comprise one or more scan chains or segments of the scan chains that would otherwise capture unknown values.
  • control signals can be received that control which scan chains or segments of the scan chains will have the clock signal suppressed during the capture window.
  • the control signals can be reused as test responses to multiple additional decompressed test patterns are captured.
  • the clock enable circuit 2410 can be implemented in a variety of ways.
  • Fig. 25 illustrates one implementation of a clock enable circuit 2510.
  • clock enable circuit 2510 can comprise or consist of plural clock enablers (two of which are numbered 2520, 2522 in Fig. 25).
  • a clock enabler drives the clock tree of either a single scan chain (as with clock enabler 2522) or a group of two or more scan chains (as with clock enabler 2520).
  • clock enabler 2520 is shown in Fig. 25 driving scan chains 120a, 120b, whereas clock enabler 2522 is shown driving scan chain 120N.
  • Figs. 26(a) and 26(b) Two alternative exemplary configurations of clock enablers are shown in Figs. 26(a) and 26(b).
  • Fig. 26(a) plural clock enablers 2610, 2612 drive different segments of the same scan chain 2620.
  • Fig. 26(b) the same clock enabler 2650 drives plural segments of different scan chains 2660, 2662. Note that there is no need in these examples for a segment of a scan chain to be connected in a continuous manner. Instead, a segment of a scan chain can include any two or more scan cells in the scan chain.
  • the clock enabler 2410 can control the clocks at each state element so that the original clock is applied when the Global _Clock_Enable signal 2440 is asserted.
  • the clock 2450 that triggers the scan cells in the scan chains can be gated using the control data loaded into the programmable controller 2430.
  • FIG. 27 An exemplary glitch-free exemplary implementation 2700 of a clock enabler is shown in Fig. 27.
  • latch 2710 shown in Fig. 27 can be removed and the output of OR gate 2720 can be directly connected to the input of AND gate 2730.
  • a clock enable circuit (e.g., clock enable circuit 2420) can be shared with the existing clock gating logic, if applicable.
  • An example of original clock gating logic 2800 is shown in Fig. 28(a).
  • the Scan_Enable signal 2810 serves as a global clock enable signal. For instance, when the Scan Enable signal is a 1, all clock gates (e.g., gate 2830) in the design are enabled by ignoring the signal 2820 from the functional controller.
  • FIG. 28(b) An exemplary modification 2850 of the existing clock gating logic 2800 is shown in Fig. 28(b).
  • AND gate 2852 is inserted between the OR gate 2860 and signal path 2870 from the functional controller.
  • ScanJEnable signal 2880 is a 0
  • the signal from the programmable clock enabler 2890 enables/disables the functional clock control signal 2870.
  • the controller 2430 for the programmable clock enabler can be implemented using any of the controller designs introduced above.
  • the controller can be implemented using only one shift register.
  • a shift register file comprising two or more pipelined shift registers (such as the shift register file of Fig. 1 1 ) can be used.
  • FIG. 29 An exemplary scan architecture 2900 having both a programmable clock enabler and a programmable test stimulus selector is shown in Fig. 29. The most efficient reduction of switching activity is observed when the scan chains loaded with constant test stimuli are disabled to capture new data such that there is no transition when unloading test responses from those scan chains.
  • the programmable controller for the programmable clock enabler can be shared with the programmable test stimulus selector.
  • Fig. 30 shows an implementation 3000 with such a shared programmable controller.
  • the test pattern generation procedure for a scan-based architecture using a programmable clock enabler can be similar to the test pattern generation procedures described above.
  • the scan architecture is as shown in Fig. 30.
  • Fig. 30 there are two types of test sources: a decompressor 3010 and a source producing the constant 0 (produced by gates 3020 in combination with the programmable controller 3030).
  • the type of test stimuli fed to a scan chain is unchanged in this example during scan shifting.
  • the clock driving the scan chain is disabled during capture.
  • XOR network 3040 is designed in such a way that the decompressor 3010 drives all the scan chains when the control data at the shadow register 3050 is loaded with an all- 1 pattern.
  • Table 6 includes exemplary pseudocode that describes one particular procedure for generating test patterns using test architectures that include both a test stimulus selector and a clock enabler.
  • Exemplary Procedure generate Jests jwith Jest _stimulus _selector jxnd_clock_enabler
  • target fault list F is not empty, do: a. Set test cube C to an all-X pattern. b. Pick a fault /from F and remove it from F. c. Generate test cube C/ for/ d. If/is untestable, continue from step 4. e. Merge C/ with C and set S to be the number of scan chains in C having specified bits in all the capture clock cycles and/or being used to observe the fault effect of/ f. Mark every fault in F as untried. g. While there exist untried faults in F and S is not greater than N, do: i. Pick an untried fault g from F and mark it as tried, ii. Assign C to C g . iii.
  • Expand C g by specifying additional x bits in C g to detect g. iv. If fault g cannot to be detected by expanding C g , continue from step 4g. v. If the number of scan chains in C g having specified bits in all the capture clock cycles and/or being used to observe the fault effects for the fault g and all the faults targeted and detected by C is greater than S, continue from step 4g. vi. Remove g from F. h.
  • Table 6 Exemplary Pseudocode for Generating Test Patterns with the Exemplary Test Stimulus Selector and Clock Enable Circuitry of Fig. 30
  • the exemplary procedure set forth in Table 6 employs additional checking before act 4(g)(vi) to verify if the control data for the programmable controller can be generated such that the scan chains with specified bits can be driven by the decompressor. If the control data cannot be generated for the test cube C g , it can be discarded and the original test cube can be left unchanged. Moreover, if the only specified bits in a scan chain are Os, and the scan chain is not used to observe any fault effect, there is no need in this example to count this chain in S.
  • the procedure can be modified for architectures having just a clock enable circuit.
  • the variable S can be set to represent only the number of scan chains used to observe fault effects and the evaluation made at act 4(g)(v) can be based on the number bits used to observe faults in the expanded test cube.
  • the exemplary embodiment shown in Fig. 45 and discussed above can also be used to generate test patterns for architectures having a clock enable circuit.
  • control signals for a clock enable circuit can be generated based on the generated test cubes.
  • the control signals can be capable of causing the clock enable circuit to suppress clock signals from scan chains that do not observe fault effects from the test cube when a test pattern with the test cube is applied during testing.
  • the programmable clock enabler can be used to preclude the propagation of X states into scan cells. A significant number of X states that might be otherwise captured can be neutralized by using programmable clock enablers to perform scan chain selection.
  • One exemplary architecture 3100 that can be used to suppress X states in a scan-based environment is shown in Fig. 31.
  • the architecture 3100 can be used to help reduce the amount of X masking on the outputs of a test response compactor (e.g. , compactor 3110 in Fig. 31).
  • a test response compactor e.g. , compactor 3110 in Fig. 31.
  • the desired functionality can be achieved by disabling clocks of the selected scan chains during capture.
  • the programmable clock enablers 3120 can be driven, for instance, by precomputed data (e.g., computed in any of the exemplary manners described in U. S Patent Application Publication Nos. 2007/0234157, 2007/0234163, and 2007/0234169, and G. Mrugalski et al.).
  • This exemplary technique essentially prevents the scan chains from capturing X states and loading them into the compactor 3110. In the example of Fig.
  • An exemplary technique for generating control data for the clock enable circuit that prevents X states from being captured comprises simulating a test pattern being applied to a circuit-under-test to generate a simulated test response; identifying one or more scan chains of the circuit-under-test that capture unknown states from the simulated test response; and generating control signals that cause the clock enable circuit to suppress the capture clock of one or more of the identified scan chains during the capture window.
  • the control signals that are generated can be stored on one or more computer-readable media and subsequently loaded into the programmable controller of the clock enable circuit during test application.
  • flip-flops are usually designed with one or more asynchronous control inputs intended for state initialization (e.g., an asynchronous set input or an asynchronous reset input), it is possible to reduce toggling during the scan shift phase by using a programmable signal e.g. that forces the scan cells into a known state through one of these asynchronous control inputs (e.g., an asynchronous set signal or an asynchronous reset signal).
  • a programmable signal e.g. that forces the scan cells into a known state through one of these asynchronous control inputs (e.g., an asynchronous set signal or an asynchronous reset signal).
  • a programmable signal e.g. that forces the scan cells into a known state through one of these asynchronous control inputs (e.g., an asynchronous set signal or an asynchronous reset signal).
  • a programmable signal e.g. that forces the scan cells into a known state through one of these asynchronous control inputs (e.g., an
  • the exemplary architecture uses a programmable controller, which can be implemented using any of the controller designs described above.
  • a programmable controller which can be implemented using any of the controller designs described above.
  • the test pattern t is typically applied right after the test pattern t,-i.
  • These scan chains can be identified, for example, during the ATPG process. According to one specific implementation, the scan chains can be controlled so that only the identified scan chains respond to the shift clock signal.
  • the other scan chains can remain quiescent as their shift clock signals are suppressed. As a result, switching activity due to both scan shifting and clocking itself can be reduced. Furthermore, in some instances, there can be a small number of scan chains that remain active as a side effect of the encoding process. In general, the particular configuration of the biasing circuitry will affect the percentage of unnecessary scan chains that are activated. To avoid unknown values at the quiescent scan chains' outputs, their outputs can be gated to have a constant value before feeding to the inputs of the compactor.
  • the gating control signals can come from the programmable controller that controls the shift clock signal.
  • Toggling in the scan chains can be further reduced by taking advantage of the fact that in many cases, the test response values captured in certain scan chains are used to observe fault effects of targeted faults that have not been previously detected by earlier test patterns whereas the test response values captured in other scan chains are used to observe fault effects of targeted faults that have been previously detected by the earlier test patterns. Shifting out the response values in the latter subset of scan chains does not ordinarily improve the fault coverage. Accordingly, in certain embodiments, these scan chains can be reset before a previously captured test response is unloaded and the next test pattern is loaded in. This causes the scan chain to be set to all constant values before loading the next test pattern, thus reducing the amount of toggling that occurs when the scan chain is loaded with the next test pattern. Resetting a scan chain prior to application of a new test vector can reduce the switching activity by half (assuming that there is no inversion between adjacent scan cells).
  • a programmable reset/shift clock enabler 3210 is inserted between the primary input pins Reset Clock 3220 and Shift Clock 3222, and the reset clock and the shift clock trees driving the scan chains.
  • the exemplary programmable reset/shift clock enabler 3200 comprises or consists of three components: a shift clock enable circuit 3230, a reset enable circuit 3232, and a programmable controller 3240.
  • 3200 of Fig. 32 comprises loading the control data to control the reset enable of a test pattern /, and the control data to control the shift clock enable of the next test pattern into a programmable controller; shifting the test stimulus /, into scan chains (the control data to control the shift clock enable of the test pattern t t is loaded when the test stimuli for t t . ⁇ is shifted in); applying capture clocks; asserting the
  • Reset _Clock pin on selected scan chains and holding it at an active state for as many clock cycles as required; de-asserting Reset Clock pin; and shifting out a test response from the scan chains.
  • the shift clock enable circuit 3230 is omitted from the design.
  • the test application procedure outlined above will be modified in such embodiments so that no control data for the shift clock enabler is used.
  • Fig. 43 is a flowchart illustrating an exemplary embodiment for applying reset signals to a circuit during testing.
  • a test response to a test pattern ⁇ e.g., a test pattern decompressed by a decompressor
  • a reset signal is applied to one or more but not all of the scan chains or segments of the scan chains after the test response to the test pattern is captured.
  • the contents of the scan chains are unloaded after the reset signal is applied.
  • the one or more scan chains or segments of the scan chains to which the reset signal is applied can comprise one or more scan chains or segments of the scan chains that would otherwise capture unknown values.
  • the application of the reset signal can cause values captured into the one or more but not all of the scan chains or segments of the scan chains to become a single constant value ⁇ e.g., a 1 or 0).
  • Control signals can be received that control which scan chains or segments of the scan chains will have the reset signal applied. These control signals can be reused for test responses to multiple additional test patterns. Further, control signals for a next test pattern can be loaded as the test pattern is being loaded into the scan chains.
  • the shift clock enable circuit 3230 can comprise or consist of plural shift clock enablers. Furthermore, the shift clock enabler can drive either a single scan chain's shift clock input or a group of two or more scan chains' shift clock inputs. In general, the function of the shift clock enable circuit 3230 is to enable/disable scan chains to operate in a shift mode during scan shift.
  • An exemplary glitch-free implementation 3300 of the shift clock enabler is shown in Fig. 33.
  • the reset enable circuit 3232 can comprise or consist of a group of plural reset enablers.
  • the reset enabler can drive either a single scan chain's reset clock input or a group of two or more scan chains' reset clock inputs.
  • the function of the reset enabler is to enable/disable ResetjClock and thereby reset the scan chains when the Reset Clock is active.
  • An exemplary implementation 3400 of the reset enabler is shown in Fig. 34.
  • An exemplary form of the programmable controller 3240 can comprise or consist of two modules: one to control the shift clock enabler and the other to control the reset enabler. Each controller module can have the same architecture as the exemplary programmable controllers used with the programmable test stimulus selector 652 and described previously.
  • test pattern generation procedures for architectures having any of the reset clock enable circuit or shift clock enable circuits described herein are substantially similar to the test pattern generation procedures described above with respect to Tables 5 and 6 for the architectures having clock enablers or scan enablers and need not be set forth separately here.
  • the test pattern generation procedures can be used to generate control data for the controller of a reset enable circuit so that the reset enable circuit resets one or more scan chains that do not observe fault effects before their test response is shifted out.
  • the exemplary embodiment shown in Fig. 45 and discussed above can also be used to generate test patterns for architectures having a reset enable circuit.
  • reset signals for the reset enable circuit can be generated based on the generated test cubes.
  • the reset signals can be capable of causing the reset enable circuit to apply reset signals to scan chains that do not observe fault effects from the test cube after a test response to a test pattern with the test cube is captured during testing.
  • the exemplary embodiment shown in Fig. 45 and discussed above can also be used to generate test patterns for architectures having a shift clock enable circuit (e.g., in combination with the reset enable circuit).
  • control signals for a shift clock enable circuit can be generated based on the test cubes. These control signals can be capable of causing the shift clock enable circuit to suppress shift clock signals from scan chains that do not observe fault effects from the test cube after a test response to a test pattern with the test cube is captured during testing.
  • the programmable reset/shift clock 3210 can be used in combination with a programmable test stimulus selector and a programmable clock enabler as described in any of the previous sections.
  • An exemplary scan architecture 3500 for such an implementation is shown in Fig. 35.
  • An exemplary test application procedure using this implementation comprises loading the control data to control the reset enable of a test pattern t, and the control data to control the shift enable of the test pattern t, + ⁇ into programmable controller; shifting the test stimulus t, into the scan chains (the programmable test pattern selector selects the source of the test pattern during the shifting in of the test stimuli); de-asserting Global Clock Enable at the end of a scan shift operation; applying capture clocks (the scan cells that are selected to capture new data are controlled by the programmable clock enabler); asserting the Reset Clock pin and holding it at an active state for as many clock cycles as required; de-asserting the Reset Clock pin; asserting the Global _Clock_Enable signal; and shifting out a test response from the scan chains.
  • the shift clock and the capture clock are the same.
  • the architecture of Fig. 35 can be adapted, however, to use different shift and capture clocks.
  • Global Clock Enable in a scan shift mode, Global Clock Enable can be asserted to 1 , and the shift clock can be controlled by the programmable shift/reset clock enabler.
  • Global _Clock_Enable In the capture mode, Global _Clock_Enable can be de-asserted, and the capture clock can be controlled by the programmable clock enabler.
  • the pin Global Clock Enable can be shared with the pin Scan Enable.
  • the programmable reset enable circuit can be used to prevent X states from being output from the scan chains. For example, a significant number of X states that might be otherwise captured and output can be eliminated using programmable reset enablers.
  • the Reset _Clock signal can be enabled at one or more scan chains that are known to have captured unknown states but that did not capture test response values indicative of targeted faults (or that captured test response values that do not significantly contribute to the desired test coverage). Consequently, the values in the scan chains will be reset to known constants. As was the case with using scan enablers, there is no need to use any customized gating logic at the outputs of the scan chains when using reset enablers to prevent X states from being captured.
  • the desired functionality can be achieved by resetting the desired scan chains after the test response is captured.
  • the programmable reset enabler 3210 can be driven, for instance, by precomputed data (e.g., computed in any of the exemplary manners described in U. S Patent Application Publication Nos. 2007/0234157, 2007/0234163, and 2007/0234169, and G. Mrugalski et al.)).
  • An exemplary technique for generating control data for the reset enable circuit that prevents X states from being output comprises simulating a test pattern being applied to a circuit-under-test to generate a simulated test response; identifying one or more scan chains of the circuit-under-test that capture unknown states from the simulated test response; and generating control signals that cause a reset enable circuit to reset the values in one or more of the identified scan chains after the test response having the unknown states is captured.
  • the control signals that are generated can be stored on one or more computer-readable media and subsequently loaded into the programmable controller of the reset enable circuit during test application.
  • Scan shift operations dissipate power, which depends directly on the number of transitions that occur in the scan chains and other parts of the circuit-under-test ("CUT").
  • the resultant switching activity can be estimated by a weighted transition metric that not only counts the number of invoked transitions in successive scan cells, but also takes into account their relative positions.
  • T b ⁇ b t ... b m represent a test vector with bit b ⁇ scanned in before ⁇ k+ i-
  • the normalized form of the metric can then be defined as follows:
  • the average scan power dissipated during test application can be obtained by summing up results provided by the above formula over all scan chains and all test patterns.
  • a server computer 3700 can have an associated storage device 3702 (internal or external to the server computer).
  • the server computer 3700 can be configured to generate test patterns, test pattern values, or control data according to any of the disclosed methods or to generate design data for implementing any of the disclosed architectures (for example, as part of an EDA software tool, such as a test pattern generation tool).
  • the server computer 3700 can be coupled to a network, shown generally at 3704, which can comprise, for example, a wide-area network, a local-area network, a client-server network, the Internet, or other suitable network.
  • One or more client computers, such as those shown at 3706, 3708, may be coupled to the network 3704 using a network protocol.
  • the work may also be performed on a single, dedicated workstation, which has its own memory and one or more CPUs.
  • Fig. 38 shows another exemplary network.
  • One or more computers 3802 communicate via a network 3804 and form a computing environment 3800 (for example, a distributed computing environment).
  • a computing environment 3800 for example, a distributed computing environment.
  • Each of the computers 3802 in the computing environment 3800 can be used to perform at least a portion of the test pattern generation, control data generation, or test hardware generation process.
  • the network 3804 in the illustrated embodiment is also coupled to one or more client computers 3808.
  • Fig. 39 shows that design information for a circuit-under-test (for example, an HDL file, netlist, GDSII file, Oasis file, or other suitable design file representing the circuit-under-test together with its scan chains) can be analyzed using a remote server computer (such as the server computer 3700 shown in Fig. 37) or a remote computing environment (such as the computing environment 3800 shown in Fig. 38) in order to generate test patterns, control data, or test hardware according to any embodiment of the disclosed technology.
  • the client computer sends the integrated circuit design information to the remote server or computing environment.
  • the integrated circuit design information is received and loaded by the remote server or by respective components of the remote computing environment.
  • test pattern generation is performed in order to implement any of the disclosed embodiments.
  • the remote server or computing environment sends the resulting test patterns, control signals, or design data storing the generated test hardware to the client computer, which receives the data at process block 3910.
  • the example shown in Fig. 3900 is not the only way to generate test patterns, control data, or design data for test hardware using multiple computers.
  • the CUT design information may be stored on a computer-readable medium that is not on a network and that is sent separately to the server or computing environment (for example, a CD-ROM, DVD, or portable hard drive).
  • the server computer or remote computing environment may perform only a portion of the test pattern generation, control data generation, or test hardware generation procedures.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Semiconductor Integrated Circuits (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

Disclosed below are representative embodiments of methods, apparatus, and systems used to reduce power consumption during integrated circuit testing. Embodiments of the disclosed technology can be used to provide a low power test scheme and can be integrated with a variety of compression hardware architectures {e.g., an embedded deterministic test ('EDT') architecture). Among the disclosed embodiments are integrated circuits having programmable test stimuli selectors, programmable scan enable circuits, programmable clock enable circuits, programmable shift enable circuits, and/or programmable reset enable circuits. Exemplary test pattern generation methods that can be used to generate test patterns for use with any of the disclosed embodiments are also disclosed.

Description

LOW POWER SCAN TESTING TECHNIQUES AND APPARATUS
CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of U.S. Provisional Patent Application
No. 60/901,079, which was filed on February 12, 2007, and which is incorporated herein by reference.
FIELD This application relates generally to the field of testing integrated circuits. In particular, this application relates to tools and techniques that reduce power consumption during testing.
BACKGROUND Design-for-testability ("DFT") techniques based on scan and automatic test pattern generation ("ATPG") are commonly used as part of integrated circuit manufacturing to provide high test coverage. For large circuits, however, the volume of test data required to test such circuits can cause a significant increase in test time and tester memory requirements. In order to cope with these challenges, various test data reduction schemes have been introduced. Some test data reduction schemes, for example, use on-chip decompression and compression hardware. By using such hardware, a tester can deliver test patterns in a compressed form, and the on-chip decompressor can expand (or decompress) the compressed test patterns into the actual data loaded into scan chains. The latter operation is possible because typically only a small number of bits in the decompressed test patterns are specified bits designed to target one or more specific faults in the integrated circuit. The remaining unspecified bits of the decompressed test pattern are termed "don't care" bits and are typically randomly determined as a result of the decompressor structure. The high number of randomly filled test pattern bits, however, can cause excessive switching in the scan cells of the scan chains as the decompressed test pattern is loaded. This, in turn, leads to undesirably high power consumption during the test procedure.
Similarly, the test responses that are captured after the test patterns have been loaded into the scan chains and launched into the system logic often contain many test response bits that are not indicative of the presence of any targeted fault. Because these test response bits do not contribute to fault detection or diagnosis, such test response bits can be termed "don't care" test response bits. As with the "don't care" test pattern bits, the "don't care" test response bits can also cause excessive switching in the scan cells of the scan chains when the test response is captured and/or when the test response is shifted out of the scan chains.
The excessive power used during the scan chain loading, capturing, and/or unloading processes can result in overheating or supply voltage noise — either of which can cause a device to malfunction, be permanently damaged, or exhibit reliability degradation due to accelerated electro-migration. Accordingly, improved methods and test architectures for reducing power consumption during testing are desired.
SUMMARY
Disclosed below are representative embodiments of methods, apparatus, and systems used to reduce power consumption during integrated circuit testing.
Embodiments of the disclosed technology can be used to provide a low power test scheme and can be integrated with a variety of compression hardware architectures (e.g., an embedded deterministic test ("EDT") architecture).
Some of the disclosed embodiments include an integrated circuit comprising a test stimulus selector. For example, in particular embodiments, the integrated circuit comprises a first test stimulus source configured to generate original test pattern values, a second test stimulus source configured to generate a constant value, a controller configured to generate control signals, and a test stimulus selector having inputs coupled to the first test stimulus source, the second test stimulus source, and the controller. The test stimulus selector also has outputs coupled to a plurality of scan chains in the integrated circuit. In these embodiments, the test stimulus selector is configured to selectively output either an original test pattern value from the first test stimulus source or the constant value from the second test stimulus source at each of its respective outputs based on the control signals from the controller. In particular embodiments, the test stimulus selector is configured to selectively output values on a cycle-by-cycle basis, a scan-chain-segment-by-scan- chain-segment basis, or a pattern-by-pattern basis. Furthermore, the first test stimulus source can be a decompressor configured to receive compressed test pattern values from an external tester. In some implementations, the test stimulus selector comprises a plurality of multiplexers. Each of the multiplexers of these implementations has a first input coupled to a respective output of the first test stimulus source, a second input coupled to a respective output of the second stimulus source, a third input coupled to a respective output of the controller, and an output coupled to a respective one or more of the scan chains. The controller can be a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated circuit. In certain implementations, the constant value is a first constant value, the integrated circuit further comprises a third test stimulus source configured to generate a second constant value, the test stimulus selector further has inputs coupled to the third stimulus source, and the test stimulus selector is configured to selectively output either an original test pattern value from the first test stimulus source, the first constant value from the second test stimulus source, or the second constant value from the third test stimulus source at each of its respective outputs based on the control signal from the controller. In these implementations, the first constant value and the second constant value can be 0 and 1 , respectively, or 1 and 0, respectively. Further, the test stimulus selector of these implementations can comprise a plurality of multiplexers, where each of the multiplexers has a first input coupled to a respective output of the first test stimulus source, a second input coupled to a respective output of the second stimulus source, a third input coupled to a respective output of the third stimulus source, a fourth input coupled to a respective output of the controller, and an output coupled to a respective one or more of the scan chains. For any of these implementations, the controller can comprise one or more shift registers for loading and outputting control data. Further, the one or more shift registers can comprise a plurality of shift registers that form a multistage register pipeline. For instance, the plurality of shift registers can be configured to load data serially in response to a register shift clock and/or the plurality of shift registers can be configured to shift in parallel control data from one of the shift registers to another of the shift registers in response to a pipeline shift clock. One or more shadow registers can also be coupled to the one or more shift registers. Furthermore, the controller can comprise an XOR or XNOR network coupled to at least one of the one or more shift registers., and the controller can further comprise a biasing circuit coupled to the XOR or XNOR network. For instance, the biasing circuit can be configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value. The biasing circuit can also be, for instance, a reconfigurable biasing circuit configured to bias one or more of the outputs of the XOR or XNOR network by a selectable amount.
In other disclosed embodiments, an integrated circuit comprises a test stimulus source configured to generate original test pattern values, a controller configured to generate control signals, and a test stimulus selector having inputs coupled to the test stimulus source and the controller and outputs coupled to a plurality of scan chains in the integrated circuit. In these embodiments, the test stimulus selector is configured to selectively output either an original test pattern value from the first test stimulus source or a constant value at each of its respective outputs based on the control signals received from the controller. Further, the test stimulus source can comprise gating logic configured to generate the constant value. In particular embodiments, the test stimulus selector is configured to selectively output values on a cycle-by-cycle basis, a scan-chain-segment-by-scan-chain- segment basis, or a pattern-by-pattern basis. In certain implementations, the test stimulus source is a decompressor configured to receive compressed test pattern values from an external tester. The controller can also be a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated circuit. The control can, in some implementations, comprise one or more shift registers for loading and outputting control data. The one or more shift registers can comprise a plurality of shift registers that form a multi-stage register pipeline. The controller can further comprise an XOR or XNOR network coupled to at least one of the one or more shift registers. Additionally, the controller can comprise a biasing circuit coupled to the XOR or XNOR network. In such implementations, the biasing circuit can be configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value.
In one exemplary method disclosed herein, original test pattern values for testing an integrated circuit are received on m paths. The original test pattern values can be received, for example, from a decompressor. In this exemplary method, the test pattern values on at least n of the m paths are selectively modified, where n is less than m, so that the test pattern values on the n paths become at least two consecutive constant values. Test pattern values on m scan chain input paths are output. These test pattern values include the at least two consecutive constant values on n of the m scan chain input paths. In certain implementations, control data indicating which of the m paths are to be modified is received. The control data can be reused for multiple additional test patterns. The outputted test pattern values can include all specified bits of the original test pattern that target one or more faults in the integrated circuit. Further, the act of selectively modifying the test pattern values can comprise applying control signals to logic gates configured to produce the at least two consecutive constant values.
Also disclosed herein are embodiments of integrated circuits having exemplary scan enable circuits. For example, in particular embodiments, an integrated circuit comprises a decompressor coupled to data inputs of scan chains in the integrated circuit, a controller configured to generate control signals, and a scan enable circuit having an input coupled to the controller and outputs coupled to scan enable inputs of scan cells of the scan chains. In these embodiments, the scan enable circuit is configured to generate independently controllable scan enable signals at one or more of the outputs of the scan enable circuit. The values of the independently controllable scan enable signals are based at least in part on the control signals from the controller. The values of the independently controllable scan enable signals can comprise a first scan enable value and a second scan enable value. The first scan enable value can be used to cause one or more of the scan chains to operate in a shift mode, and the second scan enable value can be used to cause the one or more of the scan chains to operate in a normal circuit mode. In some implementations, the input of the scan enable circuit is a first input, and the scan enable circuit further comprises a second input configured to receive a global scan enable signal. In these implementations, the scan enable circuit can be configured so that at least some of the scan enable signals generated by the scan enable circuit are controlled in part by the global scan enable signal. Each output of the scan enable circuit can be coupled to the scan enable inputs of the scan cells in a respective one or more of the scan chains of the integrated circuit. Further, in certain implementations, the integrated circuit can comprise a test stimulus selector having outputs that are configured to be coupled to scan chains formed by the scan cells. The test stimulus selector can be configured to selectively output either an original test pattern value or a constant value at each respective one of the outputs of the test stimulus selector. In some implementations, the controller can be a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated circuit. The controller can comprise, for instance, one or more shift registers for loading and outputting control data. The one or more shift registers can comprise a plurality of shift registers that form a multi-stage register pipeline. Further, one or more shadow registers can be coupled to the one or more shift registers. The controller can also comprise, in some implementations, an XOR or XNOR network coupled to at least one of the one or more shift registers. Furthermore, the controller can comprise a biasing circuit coupled to the XOR or XNOR network. The biasing circuit can be configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value. Exemplary embodiments for applying scan enable signals to a circuit during testing are also disclosed herein. For instance, in some embodiments, a scan enable signal is applied to scan chains of a circuit-under-test as a decompressed test pattern from a decompressor is loaded into the scan chains. The scan enable signal causes the scan chains to operate as one or more shift registers. Further, the scan enable signal is applied to one or more of the scan chains as a test response to the decompressed test pattern is captured in a remainder of the scan chains to which the scan enable signal is not applied. In some implementations, the one or more of the scan chains to which the scan enable signal is applied comprise one or more scan chains that would otherwise capture unknown values. In further implementations, the scan enable signal can be applied to the scan chains of the circuit-under-test as the test response is unloaded from the scan chains. Control signals can also be received that control which of the scan chains will have the scan enable signal applied as the test response to the decompressed test pattern is captured. These control signals can be reused as multiple additional decompressed test patterns are loaded into the scan chains. Still further, the control signals for a next test pattern can be loaded as the test pattern is being loaded into the scan chains.
In another exemplary embodiment disclosed herein, one or more computer- readable media storing computer-executable instruction for causing a computer to perform a method are disclosed. In certain implementations, the method comprises simulating a test pattern being applied to a circuit-under-test and thereby producing a simulated test response, identifying one or more scan chains of the circuit-under- test that capture unknown states from the simulated test response, generating control signals for causing a scan enable circuit to suppress scan enable signals at the one or more identified scan chains during a capture window, and storing the control signals on one or more computer-readable media. Also disclosed herein are embodiments of integrated circuits comprising clock enable circuits. For example, in certain disclosed embodiments, an integrated circuit comprises a decompressor coupled to data inputs of scan chains in the integrated circuit, a controller configured to generate control signals, and a clock enable circuit. The clock enable circuit of these embodiments has inputs coupled to the controller and outputs coupled to clock inputs of scan cells of the scan chains. Further, the clock enable circuit is configured to generate independently controllable clock signals at one or more of the outputs of the clock enable circuit based at least in part on the control signals from the controller. The independently controllable clock signals generated by the clock enable circuit can be capture clock signals. Further, in some implementations, the inputs of the clock enable circuit can be first inputs, the clock enable circuit can further comprise a second input configured to receive a source clock signal, and the clock signals generated by the clock enable circuit can be derived from the source clock signal. In certain implementations, the clock enable circuit further comprises a third input configured to receive a global clock enable signal, and the clock enable circuit is configured to generate clock signals at all of the outputs of the clock enable circuit when the global clock enable signal is activated. Each output of the clock enable circuit can be coupled to the clock inputs of the scan cells in a respective one or more of the scan chains of the integrated circuit. The clock enable circuit can comprise individual clock enabler circuits for controlling each respective output of the clock enable circuit. In certain implementations, the integrated circuit further comprises a test stimulus selector having outputs that are configured to be coupled to scan chains formed by the scan cells. The test stimulus selector can be configured to selectively output either an original test pattern value or a constant value at each respective one of the outputs of the test stimulus selector. Further, the controller can be a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated ciruict. The controller can comprise, for example, one or more shift registers for loading and outputting control data. The one or more shift registers can comprise a plurality of shift registers that form a multi-stage register pipeline. Further, one or more shadow registers can be coupled to the one or more shift registers. The controller can also comprise an XOR or XNOR network coupled to at least one of the one or more shift registers. In certain implementations, the controller further comprises a biasing circuit coupled to the XOR or XNOR network, the biasing circuit being configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value. Among the disclosed embodiments are methods for applying and suppressing clock signals during testing. For example, in certain disclosed embodiments, a clock signal is applied to scan chains of a circuit-under-test as a decompressed test pattern from a decompressor is loaded into the scan chains of the circuit-under-test. The clock signal is suppressed to one or more but not all of the scan chains or segments of the scan chains as a test response to the decompressed test pattern is captured during a capture window. The suppression of the clock signal causes the one or more but not all of the scan chains or segments of the scan chains to remain in a constant state during the capture window. The one or more but not all of the scan chains or segments of the scan chains can comprise one or more scan chains or segments of the scan chains that would otherwise capture unknown values. In particular implementations, the clock signal has a first frequency as the test pattern is loaded into the scan chains and a second frequency as the test response is captured in the capture window. The disclosed embodiments can further comprise applying the clock signal to the scan chains of the circuit-under-test as the test response is unloaded from the scan chains. Furthermore, control signals can be received that control which scan chains or segments of the scan chains will have the clock signal suppressed during the capture window. The control signals can be reused as test responses to multiple additional decompressed test patterns are captured. The control signals for a next test pattern can also be loaded as the test pattern is being loaded into the scan chains.
In another exemplary embodiment disclosed herein, one or more computer- readable media storing computer-executable instruction for causing a computer to perform a method are disclosed. In certain implementations, the method comprises simulating a test pattern being applied to a circuit-under-test and thereby producing a simulated test response, identifying one or more scan chains of the circuit-under- test that capture unknown states from the simulated test response, generating control signals for causing a clock enable circuit to suppress the capture clock at the one or more identified scan chains during a capture window, and storing the control signals on one or more computer-readable media. Also disclosed herein are embodiments of integrated circuits comprising reset enable circuits. For example, in some embodiments, an integrated circuit comprises a decompressor coupled to data inputs of scan chains in the integrated circuit, a controller configured to generate control signals, and a reset enable circuit having inputs coupled to the controller and outputs that are coupled to reset inputs of scan cells of the scan chains. The reset enable circuit can be configured to selectively generate a reset signal at one or more of the outputs of the reset enable circuit based at least in part on the control signals from the controller. The scan cells in the integrated circuit can be configured to be reset to 0 or 1 when the reset signal is applied to the reset inputs. The inputs of the reset enable circuit can be first inputs of the reset enable circuit, and the reset enable circuit can further comprise a second input configured to receive a source reset signal. In particular implementations, the reset enable circuit comprises individual reset enabler circuits for controlling each respective output of the reset enable circuit. Furthermore, in some implementations, each output of the reset enable circuit can be coupled to the reset inputs of the scan cells in a respective one or more of the scan chains of the integrated circuit. The reset inputs of the scan cells can comprise asynchronous control pins of the scan cells. The integrated circuit can further comprise a shift clock enable circuit having outputs that are coupled to shift clock inputs of scan chains in the integrated circuit. The shift clock enable circuit of these embodiments can be configured to selectively generate a shift clock signal at one or more of the outputs of the shift clock enable circuit. The shift clock enable circuit can further comprise inputs coupled to the controller, and the shift clock signals that are selectively generated can be based at least in part on the control signals from the controller. Further, the shift clock enable circuit can comprise individual shift clock enabler circuits for controlling each respective output of the shift clock enable circuit. The integrated circuit can also comprise a test stimulus selector having outputs that are configured to be coupled to scan chains formed by the scan cells. The test stimulus selector can be configured to selectively output either an original test pattern value or a constant value at each respective one of the outputs of the test stimulus selector. In certain implementations, the controller in the integrated circuit is a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated circuit. The controller can comprise one or more shift registers for loading and outputting control data. Further, the one or more shift registers can comprise a plurality of shift registers that form a multi-stage register pipeline. One or more shadow registers can be coupled to the one or more shift registers. The controller can further comprise an XOR or XNOR network coupled to at least one of the one or more shift registers. Still further, the controller can comprise a biasing circuit coupled to the XOR or XNOR network. The biasing circuit can be configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value.
Exemplary embodiments for applying reset signals to a circuit during testing are also disclosed herein. In certain disclosed embodiments, a test response to a test pattern (e.g., a test pattern decompressed by a decompressor) is captured in scan chains of a circuit-under-test. A reset signal is applied to one or more but not all of the scan chains or segments of the scan chains after the test response to the test pattern is captured. The contents of the scan chains are unloaded after the reset signal is applied. The one or more scan chains or segments of the scan chains to which the reset signal is applied can comprise one or more scan chains or segments of the scan chains that would otherwise capture unknown values. The application of the reset signal can cause values captured into the one or more but not all of the scan chains or segments of the scan chains to become a single constant value (e.g., a 1 or 0). Control signals can be received that control which scan chains or segments of the scan chains will have the reset signal applied. These control signals can be reused for test responses to multiple additional test patterns. Further, control signals for a next test pattern can be loaded as the test pattern is being loaded into the scan chains.
In another exemplary embodiment disclosed herein, one or more computer- readable media storing computer-executable instruction for causing a computer to perform a method are disclosed. In certain implementations, the method comprises simulating a test pattern being applied to a circuit-under-test and thereby producing a simulated test response, identifying one or more scan chains of the circuit-under- test that capture unknown states from the simulated test response, generating control signals for causing a reset enable circuit to generate reset signals at the one or more identified scan chains, and storing the control signals on one or more computer- readable media.
Among the various embodiments disclosed herein are test pattern generation methods. These methods can be implemented, for instance, in one or more computer-readable media storing computer-executable instructions for causing a computer to perform a method. In some embodiments, a number of scan chains to be driven by an original test stimulus source is determined. The number is typically less than the number of available scan chains in a circuit design. A fault from a target fault list is selected. A test cube for the selected fault is generated. The test cube can comprise specified bits in a number of specified scan chains. A determination is made as to whether the number of specified scan chains in the test cube is less than the number of scan chains to be driven by the original test stimulus source. If the number of specified scan chains in the test cube does not exceed the number of scan chains to be driven by the original test stimulus source, the test cube is stored. In certain implementations, the fault is a first fault and the test cube is rejected if the number of specified scan chains in the test cube exceeds the number of scan chains to be driven by the original test stimulus. The acts of selecting, generating, determining, and storing can then be repeated for a second fault from the target fault list. In some implementations, the fault is a first fault, and a second fault is selected from the target fault list. The test cube for the first fault can be expanded to include one or more additional specified bits for detecting the second fault. A determination can be made as to whether the one or more additional specified bits causes the number of specified scan chains in the expanded test cube to exceed the number of scan chains to be driven by the original test stimulus source. If the number of specified scan chains in the expanded test cube does not exceed the number of scan chains to be driven by the original test stimulus source, the expanded test cube can be stored. If the number of specified scan chains in the expanded test cube exceeds the number of scan chains to be driven by the original test stimulus source, the expanded test cube can be rejected and the acts of selecting, expanding, determining, and storing repeated for a third fault from the target fault list. In some implementations, the encoding capacity of a controller for a test stimulus selector is determined in order to determine the number of scan chains to be driven by an original test stimulus source. Further, the number of scan chains to be driven by the original test stimulus source can be based on the maximum number of scan chains that can be individually controlled by a test stimulus selector. In certain implementations, the original test stimulus source is a decompressor configured to decompress compressed test patterns provided by an external tester. In some implementations, control signals for a test stimulus selector can be generated based on the test cube. These control signals can be capable of causing the test stimulus selector to apply constant values to the unspecified scan chains as a test pattern with the test cube is loaded during testing.
In other exemplary test pattern generation methods, a number of scan chains usable to observe fault effects is determined. The number is typically less than the number of available scan chains in a circuit design. A fault from a target fault list is selected. A test cube for the selected fault is generated. The number of scan chains used to observe fault effects from the test cube is determined. An evaluation is made as to whether the number of scan chains used to observe fault effects from the test cube is less than the number of scan chains usable to observe fault effects. If the number of scan chains used to observe fault effects from the test cube is less than the number of scan chains usable to observe fault effects, the test cube is stored. In certain implementations, the fault is a first fault, and the test cube is rejected if the number of scan chains used to observe fault effects from the test cube exceeds the number of scan chains usable to observe fault effects. The acts of selecting, generating, determining, evaluating, and storing can be performed for a second fault from the target fault list. In other implementations, the fault from the target fault list is a first fault from the target fault list, and a second fault from the target fault list is selected. The test cube for the first fault is expanded to include one or more additional specified bits for detecting the second fault. A determination is made as to whether the one or more additional specified bits cause the number of scan chains used to observe fault effects from the expanded test cube to exceed the number of scan chains usable to observe fault effects. If the number of scan chains used to observe fault effects from the test cube is less than the number of scan chains usable to observe fault effects, the expanded test cube is stored. If the number of scan chains used to observe fault effects from the test cube exceeds the number of scan chains usable to observe fault effects, the expanded test cube can be rejected. The acts of selecting, expanding, determining, and storing can be repeated for a third fault from the target fault list. In certain implementations, the encoding capacity for a controller of a scan enable circuit, a controller of a clock enable circuit, a controller of a reset enable circuit, or a controller of a shift clock enable circuit can be determined in order to determine the number of scan chains usable to observe fault effects. The number of scan chains used to observe fault effects from the test cube can be determined by simulating application of the test cube to a circuit-under- test. In certain implementations, the original test stimulus source is a decompressor configured to decompress compressed test patterns provided by an external tester. In some implementations, control signals for a scan enable circuit can be generated based on the test cube. These control signals can be capable of causing the scan enable circuit to suppress scan enable signals from scan chains that do not observe fault effects from the test cube when a test pattern with the test cube is applied during testing. In other implementations, control signals for a clock enable circuit can be generated based on the test cube. These control signals can be capable of causing the clock enable circuit to suppress clock signals from scan chains that do not observe fault effects from the test cube when a test pattern with the test cube is applied during testing. In further implementations, control signals can be generated for a reset enable circuit based on the test cube. These control signals can be capable of causing the reset enable circuit to apply reset signals to scan chains that do not observe fault effects from the test cube after a test response to a test pattern with the test cube is captured during testing. In other implementations, control signals for a shift clock enable circuit can be generated based on the test cube. These control signals can be capable of causing the shift clock enable circuit to suppress shift clock signals from scan chains that do not observe fault effects from the test cube after a test response to a test pattern with the test cube is captured during testing. In certain implementations, a number of scan chains to be driven by an original test stimulus source is also determined. In these implementations, the number of scan chains to be driven by the original test stimulus source is based on the maximum number of scan chains that can be independently controlled by a scan enable circuit, a clock enable circuit, a reset enable circuit, or a shift clock enable circuit.
Any of the disclosed embodiments can be performed in a variety of environments, including a simulation environment. Further, any of the disclosed methods can be implemented on one or more computer-readable media storing computer-executable instructions for causing a computer to perform any of the methods. Any of the disclosed methods implemented in a computer environment can be performed by a single computer or via a network. Further, computer- readable media storing test patterns, test pattern values, or control data (or any other final or intermediate results) produced by any of the disclosed methods are also disclosed. Additionally, any of the disclosed apparatus can be generated by a suitable electronic design automation ("EDA") software tool and stored as design data on one or more computer-readable media. For example, any of the disclosed testing architectures can be described or represented in an HDL file (such as a Verilog, VHDL, or register-transfer level file), a gate-level netlist, or other such EDA design file (e.g., a GDSII file or Oasis file).
The foregoing and other objects, features, and advantages of the invention will become more apparent from the following detailed description, which proceeds with reference to the accompanying figures.
BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic block diagram illustrating an exemplary testing environment in which embodiments of the disclosed technology can be used.
Figs. 2(a)-2(d) are graphs showing the distributions of the number of scan chains having specified bits for primary target transition faults in exemplary test circuits. Figs. 3(a)-3(d) are graphs showing the distribution of scan chains with specified bits after dynamic compaction for the exemplary test circuits.
Fig. 4 is a graph showing the pattern count increase for a test generation scheme with a restricted number of scan chains having specified bits as compared to a test generation scheme that has no restrictions for the exemplary test circuits.
Figs. 5(a)-5(d) are graphs showing the number of scan chains observing additional detected faults for the exemplary test circuits.
Fig. 6 is a schematic block diagram of a first exemplary embodiment of an integrated circuit comprising a programmable test stimulus selector. Fig. 7 is a schematic block diagram of a second exemplary embodiment of an integrated circuit comprising a programmable test stimulus selector.
Fig. 8 is a schematic block diagram of an exemplary selector circuit as may be used in the embodiments of Fig. 6 or Fig. 7.
Figs. 9(a)-9(c) are schematic block diagrams of exemplary selector circuits as may be used in the embodiments of Fig. 6 or Fig. 7.
Fig. 10 is a schematic block diagram of an exemplary programmable controller as can be used in the embodiments of Fig. 6 or Fig. 7.
Fig. 1 1 is a schematic block diagram of an exemplary shift register file as may be used in the controller of Fig. 10. Fig. 12 is a schematic block diagram of an exemplary clocking circuit for the shift register file of Fig. 1 1.
Fig. 13 is a schematic block diagram of an exemplary shift register file using a shadow register as may be used in the controller of Fig. 10.
Figs. 14(a)-14(b) are schematic block diagrams of exemplary biasing circuits as can be used in the controller of Fig. 10.
Fig. 15 is a schematic block diagram of an exemplary reconfigurable biasing circuit as can be used in the controller of Fig. 10.
Fig. 16 is a schematic block diagram of another exemplary reconfigurable biasing circuit as can be used in the controller of Fig. 10. Fig. 17 is a schematic block diagram of an exemplary circuit having a test stimulus controller with a biasing circuit. Fig. 18 is a schematic block diagram of a first exemplary embodiment of an integrated circuit comprising a programmable scan enable circuit.
Fig. 19 is a schematic block diagram of an exemplary programmable scan enable circuit as can be used in the integrated circuit of Fig. 18. Fig. 20 is a schematic block diagram of a scan enable circuit as can be used in the embodiment of Fig. 19.
Fig. 21 is a schematic block diagram of a second exemplary embodiment of an integrated circuit comprising a programmable scan enable circuit. This embodiment further comprises a programmable test stimulus selector. Fig. 22 is a schematic block diagram of an exemplary circuit having a programmable scan enable circuit and a programmable test stimulus selector with a biasing circuit.
Fig. 23 is a schematic block diagram of an exemplary circuit having a programmable scan enable circuit with a biasing circuit. Fig. 24 is a schematic block diagram of a first exemplary embodiment of an integrated circuit comprising a programmable clock enable circuit.
Fig. 25 is a schematic block diagram of an exemplary programmable clock enable circuit as can be used in the integrated circuit of Fig. 24.
Figs. 26(a)-26(b) are schematic block diagrams showing exemplary configurations for coupling outputs of clock enable circuits to scan chains as can be used in the embodiment of Fig. 25.
Fig. 27 is a schematic block diagram of an exemplary clock enable circuit as can be used in the embodiment of Fig. 25.
Figs. 28(a)-28(b) are schematic block diagrams of exemplary clock enable circuits as can be used in the embodiments of Fig. 25.
Fig. 29 is a schematic block diagram of an exemplary circuit having a programmable clock enable circuit and a programmable test stimulus selector.
Fig. 30 is a schematic block diagram of an exemplary circuit having a programmable clock enable circuit and a programmable test stimuli selector with a biasing circuit. Fig. 31 is a schematic block diagram of an exemplary circuit having a programmable clock enable circuit with a biasing circuit.
Fig. 32 is a schematic block diagram of a first exemplary embodiment of an integrated circuit comprising a programmable reset/shift clock circuit. Fig. 33 is a schematic block diagram of an exemplary shift clock enable circuit as can be used in the integrated circuit of Fig. 32.
Fig. 34 is a schematic block diagram of an exemplary reset clock enable circuit as can be used in the integrated circuit of Fig. 32.
Fig. 35 is a schematic block diagram of an exemplary circuit having a programmable clock enable circuit, a programmable test stimulus selector, and a programmable shift/reset clock enable circuit.
Fig. 36 is a schematic block diagram of an exemplary circuit having a programmable test stimuli selector with a biasing circuit and used to analyze embodiments of the disclosed technology. Fig. 37 is a schematic block diagram a first distributed computing network as can be used to perform or implement any of the disclosed embodiments.
Fig. 38 is a schematic block diagram a second distributed computing network as can be used to perform or implement any of the disclosed embodiments.
Fig. 39 is a flowchart showing an exemplary method for performing or implementing any of the disclosed embodiments using a distributed computer network (such as the networks of Figs. 37 and 38).
Fig. 40 is a flowchart of an exemplary method for selectively modifying test pattern values to be loaded into scan chains of an integrated circuit.
Fig. 41 is a flowchart of an exemplary method for selectively applying a scan enable signal as a test response is captured during testing.
Fig. 42 is a flowchart of an exemplary method for selectively suppressing clock signals as a test response is captured during testing.
Fig. 43 is a flowchart of an exemplary method for selectively applying a reset signal to scan chains after a test response is captured during testing. Fig. 44 is a flowchart of an exemplary test pattern generation method for generating test cubes where the number of scan chain to be driven by a test stimulus source is restricted.
Fig. 45 is a flowchart of an exemplary test pattern generation method for generating test cubes where the number of scan chains that observe fault effects during testing is to be restricted.
DETAILED DESCRIPTION
I. General Considerations The disclosed methods, apparatus, and systems should not be construed as limiting in any way. Instead, the present disclosure is directed toward all novel and nonobvious features and aspects of the various disclosed methods, apparatus, systems, and equivalents thereof, alone and in various combinations and subcombinations with one another. The present disclosure is not limited to any specific aspect or feature, or combination thereof, nor do the disclosed methods, apparatus, and systems require that any one or more specific advantages be present or problems be solved.
Although the operations of some of the disclosed methods, apparatus, and systems are described in a particular, sequential order for convenient presentation, it should be understood that this manner of description encompasses rearrangement, unless a particular ordering is required by specific language set forth below. For example, operations described sequentially may in some cases be rearranged or performed concurrently. Moreover, for the sake of simplicity, the attached figures may not show the various ways in which the disclosed methods, apparatus, and systems can be used in conjunction with other methods, apparatus, and systems.
Additionally, the description sometimes uses terms like "evaluate" and "determine" to describe the disclosed methods. These terms are high-level abstractions of the actual operations that are performed. The actual operations that correspond to these terms may vary depending on the particular implementation and are readily discernible by one of ordinary skill in the art. The disclosed apparatus can be implemented in a wide variety of scan-based or partially-scan-based circuits (e.g., application-specific integrated circuits ("ASICs") (including mixed-signal ASICs), systems-on-a-chip ("SoCs"), or programmable logic devices ("PLDs"), such as field programmable gate arrays ("FPGAs")). Such circuits can be used in a vast assortment of electronic devices, ranging from portable electronics (e.g., cell phones, media players, and the like) to larger-scale items (e.g., computers, control systems, airplanes, automobiles, factories, and the like). All such items comprising one or more circuits having embodiments of the disclosed testing apparatus are considered to be within the scope of this disclosure.
Any of the disclosed apparatus can be described or represented as design data or design information stored on one or more computer-readable media. For example, any of the disclosed testing architectures can be described or represented in an HDL file (such as a Verilog, VHDL, or register-transfer level file), a gate-level netlist, or other such EDA design file (e.g., a GDSII file or Oasis file). Such design data or design information can be created in whole or in part through the use of software comprising computer-executable instructions stored on computer-readable media (e.g., computer-readable media, such as one or more CDs, volatile memory components (such as DRAM or SRAM), or nonvolatile memory components (such as hard drives)). Any of the disclosed techniques can also be implemented in whole or in part by software comprising computer-executable instructions stored on computer-readable media. Such software can comprise, for example, an appropriate electronic design automation ("EDA") software tool (e.g., an automatic test pattern generation ("ATPG") tool). Such software can be executed on a single computer or on a networked computer (e.g., via the Internet, a wide-area network, a local-area network, a client- server network, or other such network). For clarity, only certain selected aspects of the software-based implementations are described. Other details that are well known in the art are omitted. For example, it should be understood that the disclosed technology is not limited to any specific computer language, program, or computer. For example, the disclosed technology can be implemented using any commercially available computer executing a program written in any commercially available or otherwise suitable language. Any of the disclosed methods can alternatively be implemented (partially or completely) in hardware (e.g., an ASIC, PLD, or SoC). Any data produced from any of the disclosed methods (e.g. , intermediate or final test patterns, test patterns values, or control data) can be stored on computer- readable media (e.g., tangible computer-readable media, such as one or more CDs, volatile memory components (such as DRAM or SRAM), or nonvolatile memory components (such as hard drives)) using a variety of different data structures or formats. Such data can be created, updated, or stored using a local computer or over a network (e.g., by a server computer).
Any of the disclosed methods can also be performed in a computer simulation or other EDA environment (e.g., in a simulation environment where test patterns are simulated as being applied to representations of circuits). For example, the disclosed methods can be performed using circuit design information representative of a circuit-under-test and the associated test hardware (for example, a netlist, HDL file (such as a Verilog, or VHDL file), RTL file, GDSII file, Oasis file, or the like) and stored on computer-readable media. For presentation purposes, however, the present disclosure sometimes refers to the circuit-under-test (including the various components of the circuit-under-test) and the associated testing hardware (including the various components of the hardware) by their physical counterparts (for example, scan chains, scan cells, shift register, shadow register, and other such terms). It should be understood, however, that any such reference in the detailed description or claims not only includes the physical components but also includes representations of such components as are used in simulation, automatic test pattern generation, or other such EDA environments.
As used in this disclosure, the singular forms "a," "an," and "the" include the plural forms unless the context clearly dictates otherwise. Additionally, the term "includes" means "comprises." Moreover, unless the context dictates otherwise, the term "coupled" means electrically or electromagnetically connected or linked and includes both direct connections or direct links and indirect connections or indirect links through one or more intermediate elements not affecting the intended operation of the circuit.
Furthermore, as used herein, the term "test stimulus source" refers to a test stimulus generator that provides test stimuli directly or indirectly to scan chains and primary inputs. The test stimulus generator be can implemented in various forms. Such forms include, but are not limited to, external test equipment, weighted or non- weighted pseudo random pattern generators ("PRPGs"), PRPGs with phase shifter and/or biasing circuit, decompressors, sources producing a constant logic value 0, and sources producing a constant logic value 1. The term "decompressor" refers to a functional unit that decompresses compressed test stimuli, such as deterministic test stimuli from external test equipment, for delivery to a circuit-under-test on the chip. A decompressor can be implemented in various forms. Such forms can include, but are not restricted to, broadcast circuits, selectable broadcast circuits, combinational circuits (including, but not limited to, MUX-based or XOR-based combinational circuits) with or without biasing circuits, feedback shift registers with or without phase shifters and/or biasing logic, and/or a feedback shift registers with reseeding.
The term "test stimulus selector" refers to a functional unit that selects at least one test stimulus source (e.g., from a plurality of such sources) that feeds scan chain inputs.
The term "programmable test stimulus selector" refers to a functional unit that can comprise, for example, two components: a programmable controller and a test stimulus selector. The programmable controller can, for example, be coupled to external test equipment or to an embedded test generator and configured to receive control data from the external tester or from the embedded test generator.
The term "scan chain segment" refers to a group of scan cells in a scan chain that are connected consecutively.
The term "scan enabler" or "scan enable circuit" refers to a functional unit that configures the scan chains in a shift mode or a functional capture mode (sometimes referred to as the "normal circuit" mode) during a capture window. The term "programmable scan enabler" or "programmable scan enable circuit" refers to a functional unit that can comprise, for example, two components: a programmable controller and a scan enable circuit. The programmable controller can be coupled to external test equipment or to an embedded test generator and be configured to receive control data from the external tester or from the embedded test generator.
The term "clock enabler" or "clock enable circuit" refers to a functional unit that enables/disables a set of state elements to capture a system response in the capture window. The term "programmable clock enabler" or "programmable clock enable circuit" refers to a functional unit that can comprise, for example, two components: a programmable controller and a clock enable circuit. The programmable controller can be coupled to external test equipment or to an embedded test generator and be configured to receive control data from the external tester or from the embedded test generator.
The term "shift clock enabler" or "shift clock enable circuit" refers to a functional unit that enables/disables a group of scan chains to load/unload test data during scan shift.
The term "reset enabler" or "reset enable circuit" refers to a functional unit that enables/disables a reset clock or reset signal that resets the scan cells in a scan chain.
The term "programmable reset/shift enabler" refers to a functional unit that can comprise, for example, three components: a programmable controller, a shift clock enable circuit, and a reset enable circuit. The programmable controller can be coupled to external test equipment or to an embedded test generator and be configured to receive control data from the external tester or from the embedded test generator.
It should be noted that these particular term usages should not be construed as limiting, as the terms may encompass additional features understood by those of ordinary skill in the art or indicated by the context of how the term is used. II. Low-Power Testing, Generally
The technology disclosed herein relates to methods and apparatus for low- power testing. The disclosed technology is sometimes discussed in the context of an embedded deterministic test ("EDT") environment, though it should be understood that the principles described herein are not limited to this environment. For example, the low-power testing techniques and apparatus described herein can be used with other compression schemes that involve encoding test cubes having specified bits or with testing schemes that do not use compression hardware.
Fig. 1 illustrates an exemplary testing environment 100 in which compressed test stimuli 112 are delivered to a decompressor 118 embedded in a circuit-under- test 110. The illustrated embodiment shows a typical EDT environment in which the compressed test stimuli are provided by automatic test equipment ("ATE") 114 external to the circuit-under-test 110. The test stimuli are decompressed and applied as test patterns to scan chains 120. Outputs from the scan chains are compacted by a compactor 122 and delivered as compressed test responses 124 to the ATE 1 14 for analysis. Examples of EDT decompressors 118 and exemplary EDT environments that are suitable for use with the disclosed technology are described in, for example, U.S. Patent Nos. 6,327,687; 6,353,842; 6,557,129; 6,684,358; 6,874,109; and U.S. Patent Application Publication No. 2003/0120988, all of which are hereby incorporated herein by reference.
Deterministic test vectors typically have only a small fraction of bits that are specified. The remaining positions can be either randomly filled with Os and 1 s, or they can be filled in other ways, often without compromising test coverage. Furthermore, a substantial amount of experimental evidence indicates that, very often, the locations of specified bits are confined to only a few scan chains. In order to illustrate this phenomenon, consider data collected from four industrial designs using EDT technology. The characteristics of these exemplary designs are reported in Table 1. Figs. 2(a)-2(d) are graphs 200, 202, 204, 206, and show the distributions of the number of scan chains having specified bits for all primary target transition faults in the circuits C1-C4. Note that the number of scan chains with specified bits is counted before dynamic compaction. As can be seen, the majority of test cubes feature specified bits in less than 20% of the scan chains, and no test cube has specified bits in more than 50% of the scan chains.
Figure imgf000026_0001
Table 1: Characteristics of the Circuits Considered
Dynamic compaction is typically used to reduce the pattern count during test generation. Starting from a test cube generated for a primary target fault, dynamic compaction expands this cube to cover additional faults by assigning appropriate values to the unspecified positions. As a result, the number of scan chains having specified bits gradually increases as dynamic compaction progresses. To employ scan chains that have no specified bits and that can be used to reduce toggling during test application, one desirably maximizes the number of such scan chains while minimizing the possible impact on the pattern count during dynamic compaction. To analyze the correlation between the pattern count and the number of scan chains with specified bits during test generation with dynamic compaction, one can limit the number of scan chains with specified bits. For instance, according to one exemplary embodiment, dynamic compaction can be carried out only if a test cube has less than a specified quantity (e.g., 20%) of scan chains with specified bits; and, among the scan chains with no specified bits, some specified quantity (e.g., 50%) of the total number of scan chains can be chosen randomly, and the scan cells in those scan chains can be filled with a constant value. For the rest of the unspecified bits, their logic values can be determined by the decompressor. The distribution of scan chains with specified bits after dynamic compaction for the circuits C1-C4 is shown in graphs 300, 302, 303, 304 of Figs. 3(a)-3(d). As can be seen, the majority of test cubes have specified bits in less than 20% of the scan chains. Furthermore, the use of the exemplary technique limiting dynamic compaction to situations where the number of scan chains with specified bits is low (e.g., 20%) has only a moderate impact on the pattern count. For instance, graph 400 in Fig. 4 shows the pattern count increase as compared to a test generation scheme that has no restrictions as far as scan chains hosting specified bits are concerned for the circuits C1-C4. For graph 400, a conventional EDT environment (e.g., as shown in Fig. 1) was used as an experimental platform. Moreover, there was no fault coverage loss reported due to the new test generation technique.
One can take advantage of the above observations by feeding the scan chains with specified bits directly from a test data decompressor while replacing "don't care" bits in the remaining chains with a constant value. Such an approach can significantly reduce the number of transitions during scan-in shifting, as shown in the following sections.
Besides reducing the switching activity from the test stimulus point of view, it is also possible to analyze the number of scan chains used to observe fault effects for the faults not detected by the previously applied test patterns. The distribution of the number of scan chains observing additional detected faults for the circuit C 1 -C4 is shown in graphs 500, 502, 504, 506 of Figs. 5(a)-5(d). The test patterns applied in these examples were generated with 50% of the total number of scan chains driven by a decompressor while the remaining scan chains were driven by a constant 0. All the scan chains in this example were used as observation points during fault simulation. As can be seen, the majority of scan chains did not observe additional detected faults. One can take advantage of this observation to reduce the switching activity for both the scan shift phase and the capture phase of testing by preventing new data/different data from being captured into the scan cells during the capture phase. Whenever possible, it is also desirable to reduce the impact of unknown values on test response compaction. Exemplary techniques for achieving one or more of these objectives are introduced in the following sections. The technology described below further includes exemplary hardware architectures for performing the described techniques. Although particular representative implementations of the hardware architectures are shown, various other alternative arrangements based on the described principles are also possible (e.g., using alternative logic or arrangements of logic that achieve substantially the same functionality). All such alternative arrangements and their equivalents are considered to be within the scope of this disclosure.
III. Low-Power Loading Operations Scan architectures typically have a single test stimulus source. Therefore, the embodiments disclosed below include only a single original test stimulus source. The low-power techniques described, however, can be readily extended to other scan-based architectures having multiple test stimulus sources.
A. Exemplary Architectures of Programmable Test Stimulus Selectors
To reduce switching activity during scan shifting, and thereby reduce power consumption, one or more programmable selectors can be logicially positioned between a test stimulus source and scan chain inputs. Fig. 6 is a schematic block diagram illustrating a generalized version of a programmable selector 650 that is positioned between test stimulus sources 610 (comprising an original stimulus source, a weighted circuit coupled to the original stimulus source, a logic 0 source, and a logic 1 source) and scan chain inputs 122a, 122b, 122N of scan chains 120a, 122b, 122N.
The exemplary programmable selector 650 can comprise one or more test stimulus selectors 652 and one or more programmable controllers 660. A single test stimulus selector can be coupled, for example, to more than one scan chain input. Furthermore, the programmable selector 650 can be driven, for example, by multiple sources of test data. In the illustrated embodiment, for instance, four types of test data are possible as test stimulus: original test stimulus biased by a biasing circuit, original test stimulus not biased by a biasing circuit, constant values of 0, or constant values of 1. An exemplary test application method using the exemplary programmable selector 650 comprises loading control data of the test stimulus into the programmable controller; providing the test stimuli from the original test stimulus source; shifting the test stimuli into the scan chains; at each scan shift cycle, using the programmable controller to determine the source passing through the test stimulus selector; applying capture clocks; and unloading test responses from the scan chains. The switching activity created during scan shifting can be reduced by reducing the amount of toggling that occurs in successive scan cells during scan chain loading. Such a reduction can be achieved by performing any one or more of the following acts: loading a constant 0 or 1 into a group of scan chains; loading a constant 0 or 1 into one or more segments of a scan chain; or employing a weighting circuit to increase the probability of receiving the same logic value in consecutive scan cells when the scan chains are driven by the original test stimulus source.
The programmable controller in one exemplary form increases the flexibility of selecting a test stimulus source during scan shift operations while reducing the hardware overhead and additional test data volume for each test pattern.
Fig. 40 is a flowchart of one exemplary method for selectively modifying test pattern values using, for example, a programmable test stimulus selector. At 4010, original test pattern values for testing an integrated circuit are received on m paths. The original test pattern values can be received, for example, from a decompressor. At 4012, the test pattern values on at least n of the m paths are selectively modified, where n is less than m, so that the test pattern values on the n paths become at least two consecutive constant values. At 4014, test pattern values are output on m scan chain input paths. These test pattern values include the at least two consecutive constant values on n of the m scan chain input paths. In certain implementations, control data indicating which of the m input paths are to be modified is received. The control data can be reused for multiple additional test patterns. The outputted test pattern values can include all specified bits of the original test pattern that target one or more faults in the integrated circuit. Further, and in certain implementations, the test pattern values can be modified at 4012 in response to control signals being applied to logic gates configured to produce the at least two consecutive constant values.
1. Exemplary Test Stimulus Selectors An exemplary test stimulus selector can comprise a group of selectors with the same or different functionality. Fig. 7 is a schematic block diagram of a programmable test stimulus selector 750 that may be used as the programmable test stimulus selector 650 of Fig. 6 and that includes multiple selectors, each coupled to one or more scan chains. For example, as shown in Fig. 7, a selector can drive a single given scan chain (such as selector 754 shown driving scan chain 120N) or can drive a group of two or more scan chains (such as selector 752 shown driving scan chains 120a, 120b).
An exemplary form of selector is shown in the schematic block diagram of Fig. 8 and has two or more inputs and a single output. The illustrated selector 800 can be used, for example, as one of the selectors 752, 754 illustrated in Fig. 7. Each of the inputs of the selector is driven by a selected test stimulus source from among multiple test stimulus sources 810. In Fig. 8, the test stimulus sources can comprise any number of test stimulus sources and are represented as test stimulus source 810a to test stimulus source 810N. The other inputs to the selector 800 in this example are coupled to the programmable controller 860 and are used to control which one of the test sources 810a-810N is to be passed to the output of the selector 800. Depending on the type of test sources available, the implementation of the selector can be optimized to reduce its area overhead. In Fig. 8, for example, a multiplexer 802 is used to implement the selector 800. Other exemplary forms of selectors as may be used for the test stimulus selection circuitry are shown in Figs. 9(a)-9(c). In particular, Figs. 9(a)-9(c) show three exemplary selectors 900, 902, 904. Selector 900 is coupled to an original stimulus source 910 and is controlled by programmable controller 920 to produce either the value output from the original stimulus source 910, a logic 0, or a logic 1, using AND gate 930 and OR gate 940. Selector 902 is coupled to the original stimulus source 910 and is controlled by the programmable controller 922 to produce either the value output from the original stimulus source 910 or a logic 1 using OR gate 942. Selector 904 is coupled to the original stimulus source 910 and is controlled by the programmable controller 924 to produce either the value output from the original stimulus source 910 or a logic 0 using AND gate 952.
The encoding patterns that can be used to select the values to be loaded into the scan chain input using the embodiments of Figs. 9(a)-9(c) are set forth in Table 2.
Figure imgf000031_0001
Table 2: Encoding of Control Signals
2. Exemplary Programmable Controllers
The programmable controller 660 of the exemplary architecture shown in Fig. 6 can receive control data from, for example, an external tester, an embedded test generator, or an embedded ROM. In general, the controller 660 is responsible for providing signals that select a test stimulus source during each scan shift cycle. According to one exemplary embodiment, a programmable controller desirably exhibits two properties: it controls each available selector circuit independently; and it selects a test stimulus source in a cycle-based manner. In other embodiments, the programmable controller is configured to select the test stimulus source one scan- chain-segment-by-scan-chain-segment basis or test-pattern-by-test-pattern basis.
An exemplary implementation of the programmable controller 660 is shown in the schematic block diagram of Fig. 10. The illustrated controller 1000 comprises a shift register file 1010, an XOR network 1020, and an optional biasing circuitry 1030. The shift register file 1010 (representing an arrangement of two or more shift registers) stores the compressed control data. The compressed control data can be delivered, for instance, from a source such as an external tester, an embedded test generator, or an embedded ROM. That data is decompressed by means of the XOR network 1020 and passes through the biasing circuitry 1030 before driving the test stimulus selector.
Fig. 1 1 illustrates an exemplary implementation 1 100 of the shift register file 1010. The illustrated shift register file 1100 comprises N shift registers (numbered 1 11 Oa-11 ION in this example) and employs a clock Register Shift _Clock signal 1 120 to shift the control data into each of its state elements (e.g., the flip-flops of the shift register). Although not illustrated, the registers in the register file 1100 can also be coupled to each other in a concatenated fashion so that control can be serially shifted into the register file in response to the shift clock. Alternatively, each of the registers in the register file can load data through its own dedicated input. In the illustrated embodiment, each register file contains the control data that selects a different test stimulus source for a scan chain segment during scan shift operations.
As illustrated in Fig. 11 , the N shift registers can form an iV-stage register pipeline. A pipeline clock signal (Pipeline Shift _Clock) 1 130 is generated by a pipeline shift clock generator 1 132. This implementation allows one to dynamically change test patterns up to N times during scan shift operations. In some implementations, the test source for each scan chain is fixed during the entire scan shift operation. In such implementations, it is possible to use only one shift register, as there is no need to include a pipeline shift clock generator.
One exemplary implementation 1200 of a pipeline shift clock generator as may be used for the generator 1132 in Fig. 1 1 is shown in Fig. 12. The circuit 1200, in the exemplary form shown, includes a counter 1210 coupled to a Shift _Clock signal line 1212. The counter 1210 has an output coupled to a clock enable circuit 1230. The clock enable circuit 1230 outputs a 1 (or other appropriate value) every k cycles to shift the pipeline register file. The illustrated form of clock gating logic 1240 is a glitch-free design, and comprises or consists of a latch 1242 and an AND gate 1244. The Shift _Clock signal line 1212 can be controlled directly from an external tester. In such a case, there is no hardware overhead related to the pipeline shift clock generator. The Shift Clock signal may, in some cases, be the Register _Shift Clock signal.
In order to reduce the test application time, and as shown in Fig. 13, a shift register file 1300 can be implemented with a shadow register file 1310. For example, the control data for test pattern /, can be shifted into the shift register file 1300 in parallel while loading test pattern t,.\ to the scan chains through the shadow register file 1310. Before loading test pattern /„ the Update Clock signal 1322 (also referred to as the Copy Clock signal) can be activated in order to move the control data from the shift register file 1300 to the shadow register file 1310 within one clock period. The control data in the shadow register file 1310 can then be used to select the test stimulus source while loading test pattern /,.
The architecture shown in Fig. 13 uses N shift registers and N shadow registers to support changing the control data N times during scan shift. To reduce area overhead, the registers shown in Fig. 13 can be replaced with a single shift register and a single shadow register.
To change the control data N times during scan shift in this example, a control procedure can be performed. An example of a suitable control procedure is described below. For purposes of this example, let S, be the number of scan cells to
N be loaded into the ith scan segment, where ie[l,NJ and ^S, is equal to the scan
chain length. Further, let scan segment Si be the segment closest to the scan output pin and scan segment SN be the one closest to the scan input pin. Finally, let L be the length of the shift register. The exemplary control procedure is set forth in the pseudocode in Table 3. 1. Load the control data for shifting in scan segment Si and copy it to the shadow register.
2. SeW = I .
3. While / < JV, do
(a) Shift test stimuli for the scan segment S, into scan chains and shift the control data for the scan segment / + 1 into the shift register. If S, is greater than L, pad (S1- L) extra bits before the control data such that the last control bit is shifted in at the same time as the last test pattern bit in S1. IfS, is less than L, load (L - S1) control bits to the shift register first while stopping scan shift operation for (L - S1) clock cycles. Then load the scan chain and the control data simultaneously.
(b) Stop scan shift operation for one or more clock cycles and use these clock cycles to copy the control data from the shift register to the shadow register.
(c) / = / + 1.
Table 3: Exemplary Pseudocode for Controlling Shifting in Architectures Using
Shadow Registers
It should be noted that the method acts of the exemplary procedure can be performed alone or in various combinations and subcombinations with one another depending on the implementation.
The XOR network 1020 of the exemplary controller 1000 shown in Fig. 10 can be designed as an ΛMnput, M-output linear mapping circuit, where N and Mare the numbers of control bits and inputs of the biasing circuit, respectively. In other words, each output of the block can be obtained by XOR-ing certain control bits whose identity is provided by a ό-term polynomial. The XOR network 1020 can be configured in such a way that high encoding efficiency is obtained (e.g., close to a 100% ratio of successfully encoded pre-specified output signals to the number of control bits). Furthermore, it should be understood that the XOR network can be implemented using other types of logic gates (e.g., XNOR gates or other such linear logic gates). A biasing circuit (such as biasing circuit 1030 in Fig. 10) can be employed to increase the probability of producing a binary 0 or 1 at any one or more respective outputs of the XOR network 1020. Assuming that every input of the biasing circuit sees substantially a 50-50 split of zeros and ones, a biasing circuit implemented by, for example, a two-input AND (OR) gate increases the probability of having the value 0 (1) to 75% while reducing the probability of having the value 1 (0) to 25%. Two implementations 1400, 1450 of exemplary biasing circuitry are shown in Figs. 14(a) and 14(b), respectively. The exemplary biasing circuitry 1400 in Fig. 14(a) is configured to provide three test stimulus sources. For instance, with the illustrated biasing circuit 1400, the probabilities of selecting an original test stimulus source 1410, selecting the constant 0, or selecting the constant 1 are 12.5%, 37.5%, and 50%, respectively. The exemplary biasing circuitry 1450 in Fig. 14(b) is configured to provide two test stimulus sources. For instance, with the illustrated biasing circuit 1450, the probabilities of selecting an original test stimulus source 1410, or selecting the constant 0 are 25% and 75%, respectively. The fraction of scan chains driven by the decompressor can be changed in the manner of Fig. 14(a) by adding more inputs to the AND gates on the outputs of the XOR network. For example, the addition of 3-input AND gates reduces this percentage down to 6.25%, while the fraction of scan chains getting the constant 0 increases accordingly. It should be understood that a variety of different biasing circuits can be generated using different combinations of logic gates and depending on the desired probabilities of selecting the various possible test stimuli sources. Such variations would be understood by those of ordinary skill in the art and need not be set forth in detail here.
When the original test stimulus source is a decompressor, the actual number of scan chains that can be driven by the decompressor may depend on the encoding capabilities of the programmable controller. Because the encoding process is equivalent to solving a set of linear equations {see, e.g., U.S. Patent No. 6,327,687), setting an output signal of the XOR network 1020 to a pre-specified value requires, on the average, one control bit {e.g., one variable). Therefore, for the biasing circuit 1400 shown in Fig. 14(a), it will typically be necessary to solve three equations (one per each gating signal) in order to drive the associated scan chain with specified bits. However, if a scan chain contains specified bits of only one value, the scan chain can be driven by a matching constant value. In such cases, it is usually possible to encode the control bits with fewer than three equations {e.g. , just one equation). For instance, if the required constant is equal to 1, then it suffices to use an equation for the XOR network 1020 that represents the gating signal driving the OR gate 1422 and that is set to 0 (since inverter 1420 will cause the 0 to become a 1, thereby causing OR gate 1422 to output only Is). If all specified bits are 0s, then the signal driving the OR gate 1422 can be set to 1. This does not force a constant 0 in the scan chain yet, as AND gate 1424 should also have a 0 on its input. However, to preserve the encoding capacity, one can choose not to use another equation. In this situation, two scenarios are possible: either the signal driving the AND gate 1424 is set to 0 and the scan chain receives the constant 0, or the decompressor feeds the scan chain with test data consistent with the specified 0s.
To enhance the ability of a biasing circuit to reduce the switching activity during scan-in shifting, the biasing circuit (such as biasing circuit 1030 shown in Fig. 10) can be designed as a reconfigurable device. An exemplary form of a reconfigurable biasing circuit 1500 is shown in Fig. 15. This example comprises or consists of plural biasing circuits 1510a-l 5 ION with different probabilities of selecting test stimulus sources. A programmable controller 1520 can be used to select one of the biasing circuits 151 Oa-151 ON. Control data can be loaded into the programmable controller 1520 using, for example, an external tester, an internal test generator, or an embedded ROM. Depending on the implementation, the reconfigurable biasing circuit 1500 of Fig. 15 can be used in two modes: (1) the selected biasing circuit 1510a-1510N can remain unchanged during the whole scan shift period; or (2) various biasing circuits 1510a-l 510N can be chosen for different scan chain segments during scan shift. The architecture of the programmable controller 1520 can be the same as that of the other programmable controllers discussed above and used to control the test stimulus selector 652.
Another form of a reconfigurable biasing circuit 1600 is shown in Fig. 16. In this particular implementation, the probability of selecting the original test stimulus or the constant 0 is 50%, provided that the control data loaded into shadow data flip flop 1610 ("DFF") is equal to 1. On the other hand, if the control data loaded into the shadow DFF 1610 is set to 0, then the probability of selecting the original test stimulus source or the constant 0 is 25% or 75%, respectively.
B. Low Power Test Generation For Architectures Having Programmable
Controllers
During automatic test pattern generation ("ATPG"), the test generation procedure can be adapted to take into account the existence of a programmable controller (e.g., to take into account the area limitations of the programmable controller). Fig. 17 is a schematic block diagram illustrating one exemplary architecture 1700 for which the ATPG procedure can be used. For purposes of the example in Fig. 17, assume that the test stimulus selector is implemented as a decompressor 1710 (e.g., an EDT decompressor). In the illustrated embodiment, there are two types of test stimulus sources: a decompressor 1710 and a constant 0. In this example, the constant 0 is produced by controller 1720, which comprises a biasing circuit 1730 of AND gates, an XOR network 1740, a shadow register 1750 and a shift register 1760. The type of test stimulus source driving a scan chain can remain unchanged during a scan loading operation. For example, the XOR network 1740 can be designed in such a way that loading shadow register 1750 with an all-1 pattern will result in all of the scan chains being driven by the decompressor 1710.
An exemplary procedure for generating test patterns for the architecture shown in Fig. 17 is set forth in the following pseudocode. It should be noted that this procedure can be readily extended to other architectures with other decompression hardware and/or other programmable test selectors.
Figure imgf000037_0001
Exemplary Procedure: generate Jests jwith_test_stimulus_selector
1. Identify hardware limitations of the test stimulus selector. (The exemplary hardware shown in Fig. 17 can select up to 75% of scan chains to be driven by the constant 0.)
2. Set test set T to be empty.
3. Set the maximum number of scan chains that are driven by the decompressor to N. (For the hardware of Fig. 17, N should not be greater than 25% of the total number of scan chains.)
4. While target fault list F is not empty, do: a. Set test cube C to an all-x pattern. b. Pick a fault/from F and remove it from F. c. Generate test cube C/ for/ d. If/is untestable, continue from step 4. e. Merge C/ with C and set S to be the number of specified scan chains in C. f. Mark every fault in F as untried. g. While there exist untried faults in F and S is not greater than N, do: i. Pick an untried fault g from F and mark it as tried, ii. Assign C to Cg. iii. Expand Cg by specifying additional x bits in Cg to detect g. iv. If fault g cannot to be detected by expanding Cg, or the number of specified chains in Cg is greater than S, continue from act 4(g). v. Remove g from F. vi. Assign Cg to C and set S to be the number of specified chains in C. h. Generate control data to be loaded into the programmable controller such that for scan chains having specified bits, the corresponding gating signals are set to 1, and for the remaining scan chains, the corresponding gate signals are set so that the scan chains are driven by the constant 0. i. Generate a new test pattern t by filling unspecified bits in C based on their test sources assigned from the control data. j- Fault simulate t and drop detected faults from F. k. Add t to test set T.
5. Return generated test set T.
Table 4: Exemplary Pseudocode for Generating Test Patterns with the Exemplary Test Stimulus Selector of Fig. 17
It should be noted that the method acts of the exemplary procedure can be performed alone or in various combinations and subcombinations with one another depending on the implementation.
The exemplary procedure set forth in Table 4 includes a procedure that provides an additional check {e.g., before act 4(g)(v)) to verify whether the control data for the test selector 1740 can be generated such that all the scan chains with specified bits can be driven by the decompressor. If the control data cannot be generated for the test cube Cg, it can be discarded and the original test cube can be kept unchanged. Moreover, if the only specified bits in a scan chain are 0s, then, in this example, there is no need to count this chain in S. Fig. 44 is a flowchart of another exemplary embodiment for test pattern generation according to the disclosed technology. At 4410, the number of scan chains to be driven by an original test stimulus source is determined. The number is typically less than the number of available scan chains in a circuit design. In certain implementations, the original test stimulus source is a decompressor configured to decompress compressed test patterns provided by an external tester. In some implementations, the encoding capacity of a controller for a test stimulus selector is used to determine the number of scan chains to be driven by an original test stimulus source. For instance, the number of scan chains to be driven by the original test stimulus source can be based on the maximum number of scan chains that can be individually controlled by a test stimulus selector. At 4412, a fault from a target fault list is selected. At 4414, a test cube for the selected fault is generated. The test cube comprises specified bits in a number of specified scan chains. At 4416, a determination is made as to whether the number of specified scan chains in the test cube is less than the number of scan chains to be driven by the original test stimulus source. If the number of specified scan chains in the test cube does not exceed the number of scan chains to be driven by the original test stimulus source, the test cube is stored and an additional fault is selected from the fault list at 4418. Otherwise, the test cube is rejected at 4424 and the method continues with the next fault from the target fault list if there are any more faults on the list (as determined at 4432). At 4420, the test cube for the first fault is expanded to include one or more additional specified bits for detecting the second fault. At 4422, a determination is made as to whether the one or more additional specified bits cause the number of specified scan chains in the expanded test cube to exceed the number of scan chains to be driven by the original test stimulus source. If the number of specified scan chains in the expanded test cube does not exceed the number of scan chains to be driven by the original test stimulus source, the expanded test cube can be stored and the process of selecting additional faults and expanding the test cube to include the additional faults is repeated if there are any additional faults (as determined at 4428). If the number of specified scan chains in the expanded test cube exceeds the number of scan chains to be driven by the original test stimulus source, then the expanded test cube is rejected at 4426 and the acts of selecting, expanding, determining, and storing are repeated for the next fault from the target fault list, if any. In some implementations, control signals for a test stimulus selector can be generated based on the stored test cubes. These control signals can be capable of causing the test stimulus selector to apply constant values to the unspecified scan chains as a test pattern with the test cube is loaded during testing.
C. Reduction of Control Data Volume When generating test patterns, it is possible to make different test patterns that share the same control data such that the control data can be loaded into the programmable controller only once for multiple test patterns. In such instances, for example, only the unique control data can be stored in the external tester. To maximize the control data to be shared with different test patterns, the act 4(h) set forth in the exemplary pseudocode in Table 4 can be enhanced to give preference to control data that meets the current requirement and that is used by more than one test pattern.
Selecting different constant logic values loaded into the scan chains and fed by the constant test stimulus source can have a different impact on the switching activity during the capture phase. A preferred fill approach (embodiments of which are described in U.S. Patent Application Publication No. 2007/0250749, which is hereby incorporated herein by reference) can be used with embodiments of the disclosed technology. Such approaches use signal probabilities to help determine the filling value during test pattern generation that reduces the switching activity during capture. These strategies can be used with the disclosed technology, for example, to select the constant test stimulus source in such a way that a constant 0 is chosen anytime the number of scan cells with the preferred value 0 is greater than or equal to the number of scan cells with the preferred value 1. Note that the term "the number of scan cells" refers here either to all scan chains having the same test source, a group of scan chains sharing the same test source, or an individual scan chain driven by its own test source.
IV. Low Power Capture and Scan Shift Operations with Scan Enablers Switching activity can be reduced by shifting constant logic values into a group of scan chains during the scan shift phase of testing. The switching activity during scan shifting is also determined by the values of the test responses that are captured during testing and shifted out as a new test pattern is shifted in.
If a scan chain loaded with a constant value is held in the scan shift mode during the capture window, then both the scan-in shift power and the scan-out shift power can be reduced. This is due to the fact that the values captured into the scan cells that are held in the scan shift mode will be the same as the loading values. Thus, the values do not create transitions that cause toggling in the downstream gates during the capture window and during the unloading of a test response. Even if the scan chain is not designed to operate at speed when the scan mode is enabled, the logic value at a scan cell operated in the shift mode during the capture window will not ordinarily become unknown during that time frame as the data input value of the scan cell will be unchanged.
A. Exemplary Architectures of Programmable Scan Enablers An exemplary testing architecture 1800 having a programmable scan enabler is illustrated in Fig. 18. In particular, Fig. 18 shows a programmable scan enabler 1810 inserted between a Global Scan Enable signal line 1812 and scan enable inputs 1814 of the scan chains. The scan enabler 1810 can, for example, comprise or consist of two components: a scan enable circuit 1820 and a programmable controller 1830.
An exemplary test application procedure using the programmable scan enabler 1810 comprises loading control data for the test pattern t into the programmable test stimulus selector and the programmable scan enabler; asserting the Global Scan Enable signal to switch the circuit into a shift mode; shifting the test stimulus t into the scan chains; de-asserting the Global Scan Enable signal to switch the circuit into a capture mode; selectively asserting a scan enable signal to one or more selected scan chains; applying capture clocks; and asserting the Global jScan Enable signal to switch circuit into the shift mode and unload a test response from the scan chains. Fig. 41 is a flowchart illustrating an exemplary embodiment for applying scan enable signals to a circuit during testing. At 41 10, a scan enable signal is applied to scan chains of a circuit-under-test as a decompressed test pattern from a decompressor is loaded into the scan chains. The scan enable signal causes the scan chains to operate as one or more shift registers. At 4412, the scan enable signal is applied to one or more of the scan chains as a test response to the decompressed test pattern is captured in a remainder of the scan chains to which the scan enable signal is not applied. In some implementations, the one or more of the scan chains to which the scan enable signal is applied comprise one or more scan chains that would otherwise capture unknown values. Control signals can also be received that control which of the scan chains will have the scan enable signal applied as the test response to the decompressed test pattern is captured. These control signals can be reused as multiple additional decompressed test patterns are loaded into the scan chains. Still further, the control signals for a next test pattern can be loaded as the test pattern is being loaded into the scan chains.
B. Exemplary Scan Enable Circuits
The scan enable circuit 1820 of Fig. 18 can be implemented in a variety of ways. One exemplary scan enable circuit 1900 is shown in Fig. 19. In particular, scan enable circuit 1900 comprises plural scan enablers (two of which are numbered as 1910, 1912 in Fig. 19). As shown in Fig. 19, a scan enabler can drive either a single scan chain's scan enable input (as with scan enabler 1912) or two or more scan chains' scan enable inputs (as with scan enabler 1910). The function of the exemplary scan enablers is to handle the Global ' Scan Enable signal in such a way that when the signal is de-asserted, the individual scan enable signal that the scan enablers output to the one or more scan chains is controlled by programmable controller 1930. An implementation of one form of scan enabler (such as 1910) is shown as scan enabler 2000 in Fig. 20.
C. Scan Enable Programmable Controller The architecture of a scan enable programmable controller {e.g., programmable controller 1830 shown in Fig. 18) can be the same as for the controllers described earlier for selecting test stimuli sources. The use of an independent programmable controller for test stimulus selection in addition to a programmable scan enabler controller allows for the flexible control of scan enable signals for a group of scan chains loaded with a constant value. However, the use of both a programmable controller for test stimulus selection and a programmable scan enable controller can increase the test data volume and create additional area overhead. Therefore, in certain embodiments, the programmable test stimulus selector and the programmable scan enabler share a programmable controller.
An exemplary architecture having a shared controller is shown in Fig. 21. In particular, Fig. 21 shows an architecture 2100 in which a shared controller 21 10 is used to control both test stimulus selector 2120 and scan enable circuit 2130. The controller 2110 can be implemented using any of the controller designs introduced above.
The test generation procedure for a scan-based architecture with a programmable scan enabler can be similar to the test generation procedure described above. For illustrative purposes, an exemplary test generation procedure will be described for the exemplary scan architecture illustrated in Fig. 22. In relevant part, the exemplary architecture 2200 of Fig. 22 includes a single programmable controller 2210 that is used to control a test stimulus selector 2222 and a scan enabler 2224. The exemplary procedure described herein can be extended to other scan architectures having both a programmable test stimulus selector and a programmable scan enabler.
In Fig. 22, two types of test stimulus sources are illustrated: decompressor 2220 and a source for the constant 0 (implemented by the AND gates in the test stimulus selector 2222). The type of test stimuli fed to a scan chain in this example remains unchanged during the scan loading process. Furthermore, with the illustrated embodiment, when a scan chain is driven by the constant 0, the Scan Enable signal of the chain is asserted. The Scan Enable signal can be applied not only during the scan shift phase of testing, but also during the capture phase so that the scan chain remains loaded with constant 0s. The XOR network 2230 can be designed in such a way that all the scan chains are driven by the decompressor 2220 when control shadow register 2240 is loaded with an all-1 pattern.
Table 5 includes exemplary pseudocode that describes one particular procedure for generating test patterns using test architectures that include both a test stimulus selector and a scan enabler. Exemplary Procedure: generate tests jwithjest stimulus selector _and_scan_enabler
1. Identify hardware limitations of the programmable test stimulus selector and the programmable scan enabler. (The exemplary hardware shown in Fig. 22 can select up to 75% of scan chains to be driven by the constant 0 as well as to stay in the scan shift mode during capture.)
2. Set test set T to be empty.
3. Set the maximum number of scan chains that are driven by the decompressor to be N. (For the hardware of Fig. 22, N should not be greater than 25% of the total number of scan chains.)
4. While target fault list F is not empty, do: a. Set test cube C to an all-X pattern. b. Pick a fault/from F and remove it from F. c. Generate test cube C/ for/ d. If/is untestable, continue from step 4. e. Merge C/ with C and set S to be the number of scan chains in C having specified bits and/or being used to observe fault effects of/ f. Mark every fault in F as untried. g. While there exist untried faults in F and S is not greater than N, do: i. Pick an untried fault g from F and mark it as tried, ii. Assign C to Cg. iii. Expand C8 by specifying additional x bits in Cg to detect g. iv. If fault g cannot to be detected by expanding Cg, continue from act 4(g). v. If the number of scan chains in Cg having specified bits and/or being used to observe the fault effects for the fault g and all the faults targeted and detected by C is greater than S, continue from act 4(g). vi. Remove g from F. h. Generate control data to be loaded into the programmable controller such that for scan chains having specified bits and/or being used to observe the fault effects for the faults targeted and detected by C, the corresponding gating signals are set to 1 , and for the remaining scan chains, the corresponding gating signals are set so that the scan chains are driven by the constant 0 and are kept in the shift mode during capture, i. Generate a new test pattern / by filling unspecified bits in C based on their test sources assigned from the control data, j. Fault simulate t and drop detected faults from F. k. Add / to test set T. 5. Return generated test set T.
Table 5: Exemplary Pseudocode for Generating Test Patterns with the Exemplary Test Stimulus Selector and Scan Enable Circuitry of Fig. 22
It should be noted that the method acts of the exemplary procedure can be performed alone or in various combinations and subcombinations with one another depending on the implementation.
The exemplary procedure set forth in Table 5 includes a procedure {e.g., before act 4(g)(vi)) that is used to verify if the control data for the test selector can be generated such that all the scan chains with specified bits can be driven by the decompressor. If the control data cannot be generated for the test cube Cg, it can be discarded and the original test cube can be kept unchanged. Moreover, if the only specified bits in a scan chain are Os, and the scan chain is not used to observe any fault effect, there is no need in this example to count this chain in S.
Furthermore, although the exemplary procedure outlined in Table 5 concerns generating control signals in architectures having both a test stimulus selector and a scan enable circuit, the procedure can be modified for architectures having just a scan enable circuit. For example, the variable S can be set to represent only the number of scan chains used to observe fault effects and the evaluation made at act 4(g)(v) can be based on the number of bits used to observe faults in the expanded test cube. Fig. 45 is a flowchart illustrating an exemplary test pattern generation procedure for generating test patterns in architectures having a scan enable circuit. At 4510, a number of scan chains usable to observe fault effects is determined. The number is typically less than the number of available scan chains in a circuit design. In certain implementations, the encoding capacity for a controller of a scan enable circuit is used to determine the number of scan chains usable to observe fault effects. (When the exemplary test pattern generation procedure is used in connection with certain embodiments described below, the number of scan chains usable can be determined from the encoding capacity of a controller of a clock enable circuit, a controller of a reset enable circuit, or a controller of a shift clock enable circuit.) At 4512, a fault from a target fault list is selected. At 4514, a test cube for the selected fault is generated and the number of scan chains used to observe fault effects from the test cube is determined (e.g., using fault simulation). At 4516, an evaluation is made as to whether the number of scan chains used to observe fault effects from the test cube is less than the number of scan chains usable to observe fault effects. If the number of scan chains used to observe fault effects from the test cube is less than the number of scan chains usable to observe fault effects, the test cube is stored and an additional fault is selected from the fault list at 4518. If the number of scan chains used to observe fault effects from the test cube exceeds the number of scan chains usable to observe fault effects, then the test cube is rejected at 4524 and the process is repeated if there are additional faults in the fault list (as determined at 4532). At 4518, the test cube for the first fault is expanded to include one or more additional specified bits for detecting the second fault. At 4522, a determination is made as to whether the one or more additional specified bits cause the number of scan chains used to observe fault effects from the expanded test cube to exceed the number of scan chains usable to observe fault effects. If the number of scan chains used to observe fault effects from the test cube is less than the number of scan chains usable to observe fault effects, the expanded test cube is stored and the process of selecting additional faults and expanding the test cube if possible is repeated if there are additional faults on the fault list (as determined at 4528). If the number of scan chains used to observe fault effects from the test cube exceeds the number of scan chains usable to observe fault effects, the expanded test cube is rejected at 4526 and the process of selecting additional faults and expanding the test cube if possible is repeated if there are additional faults on the fault list (as determined at 4528). Control signals for the scan enable circuit can be generated based on the test cube. These control signals can be capable of causing the scan enable circuit to suppress scan enable signals from scan chains that do not observe fault effects from the test cube when a test pattern with the test cube is applied during testing.
As shown by Table 5, embodiments of the test pattern generation methods can also be used for architectures that include both a scan enable circuit and a programmable test stimulus source. In these cases, the determination of whether a test cube or expanded test cube can be accepted or not can also involve determining whether the number of specified chains in the test cube is less than the number of scan chains to be driven by the original test stimulus source. The number of scan chains to be driven by the original test stimulus source can be based, for instance, on the maximum number of scan chains that can be independently controlled by a scan enable circuit.
D. Suppression of Unknown States
Unknown states (sometimes referred to as "X states") can potentially render a test useless. Sources of X states include uninitialized memory elements, bus contentions, non-scan flip-flops, floating buses, internal three-state logic, and multicycle and false paths when generating at-speed tests. In many scan-based designs, X states, once captured in scan cells, can be subsequently injected into a test response compactor. In the test response compactor, X states can severely affect test results. The potential for test response corruption due to X states is especially great if a time compactor is used. For example, in time compactors, an X state can quickly multiply due to the feedback fan-out, contaminate the signature, and stay in the compactor until the signature is read out. By contrast, combinational compactors (which are a form of spatial compactor) are relatively immune to X states. To avoid masking and to allow diagnosis, however, such compactors sometimes have to observe each scan chain on two or more outputs. Finite memory compactors flush X states out of their registers after a number of scan shift cycles.
Even if a compactor is designed to tolerate a pre-specified number of X states, its vulnerability to X states can still produce unusable test responses. Therefore, it is desirable to limit the X states introduced into a compactor through a scan chain selection mechanism. Otherwise, certain combinations of X states not eliminated by an ATPG tool could prevent the observability of certain scan cells and cause the overall fault coverage drop.
There are several schemes that allow for the selective observation of scan chains using circuitry that masks selected unload values so that X states do not reach a compactor. Exemplary approaches for providing scan chain selection logic and ranking scan chains for purposes of generating appropriate masking signals are described in U.S Patent Application Publication Nos. 2007/0234157, 2007/0234163, and 2007/0234169, and G. Mrugalski et al., "Test Response Compactor with Programmable Selector," Proc. DAC, pp. 1089-1094 (2006) ("G. Mrugalski et al."), all of which are hereby incorporated herein by reference. The exemplary approaches assist in finding scan chain selection control data that can be subsequently employed to suppress X states. Briefly stated, in certain embodiments described in U.S. Patent Application Publication Nos. 2007/0234157, 2007/0234163, and 2007/0234169, and G. Mrugalski et al., X states are masked by using logic gates driven by the scan chains and appropriate gating signals are produced by a programmable controller based on compressed control data. As a result, the disclosed approaches significantly reduce or entirely eliminate the X states occurring in test responses. Embodiments of the disclosed technology can be used with the techniques described in U.S Patent Application Publication Nos. 2007/0234157, 2007/0234163, and 2007/0234169, and G. Mrugalski et al. in order to perform efficient scan chain selection. However, when using embodiments of the disclosed technology, dedicated gating logic at the outputs of the scan chains is not necessary, as its functionality can be replaced by scan enable circuitry configured to hold selected scan chains in the scan shift mode during capture. An example of such functionality is illustrated using the exemplary architecture 2300 shown in Fig. 23. Instead of gating scan chains that carry X states, programmable scan enabler 2310 can be used to keep any of scan chains 120a- 120N in the shift mode throughout a test cycle. This technique essentially prevents the scan chains 120a- 12On from capturing X states and loading them into compactor 2320.
In the specific example of Fig. 23, approximately 75% of the scan chains can remain in the scan shift mode during application of a given test pattern and not capture any test response values from the combinational logic of the circuit. The remaining 25% of the scan chains can capture the test response values that include values indicative of the presence of a targeted fault. The approach of Fig. 23 can be easily integrated with the solution described in connection with Fig. 22. As a result, the same control circuitry used to handle parallel power dissipation can be used to handle the presence of unknown states.
An exemplary technique for generating control data for the scan enable circuit that prevents X states from being captured comprises simulating a test pattern being applied to a circuit-under-test to generate a simulated test response; identifying one or more scan chains of the circuit-under-test that capture unknown states from the simulated test response; and generating control signals that cause the scan enable circuit to suppress the scan enable signal of one or more of the identified scan chains during the capture window. The control signals that are generated can be stored on one or more computer-readable media and subsequently loaded into the programmable controller of the scan enable circuit during test application. V. Low-Power Capture and Scan Shift Operations with Clock Enablers
During test generation, it can be determined that certain scan chains do not observe fault effects (e.g., by simulating application of test pattern to the circuit- under-test). Capturing new values into those scan chains during the capture window can create undesired switching activity. To reduce the toggling in the capture window, the respective clocks for these scan chains (e.g., the respective clock trees) can be disabled such that the switching activity in the capture window is reduced. The relevant clocks may be a dedicated capture clock that is distributed to each of the scan cells of a scan chain or a single clock distributed though a single clock tree that provides both the shift signals (e.g. , at a first frequency) and the capture signals (e.g., at a second frequency). In the latter scenario, the shift signals and the capture signals can be generated by a clock generator coupled to the clock tree.
A. Architectures of Exemplary Programmable Clock Enablers Fig. 24 is a schematic block diagram showing an exemplary scan-based architecture 2400 employing a programmable clock enabler 2410. In particular, the programmable clock enabler 2410 is inserted between the clock (e.g., a capture clock) and a clock tree driving scan chains 120a- 120N. As shown in Fig. 24, an exemplary programmable clock enabler 2410 can comprise or consist of two components: a clock enable circuit 2420 and a programmable controller 2430.
An exemplary test application procedure using the architecture 2400 comprises loading control data of a test pattern t into the programmable controller 2430; asserting Global ClockJEnable signal 2440 before scan shifting starts; shifting the test stimulus t into the scan chains; de-asserting Global _Clock_Enable signal 2440 at the end of scan shift operation; applying the capture signals to selected scan chains; and asserting Global _Clock_Enable signal 2440 before unloading test response from the scan chains.
Fig. 42 is a flowchart showing an exemplary method for applying and suppressing clock signals during testing. At 4210, a clock signal is applied to scan chains of a circuit-under-test as a decompressed test pattern from a decompressor is loaded into the scan chains of the circuit-under-test. At 4212, the clock signal is suppressed at one or more but not all of the scan chains or segments of the scan chains as a test response to the decompressed test pattern is captured during a capture window. The suppression of the clock signal causes the one or more but not all of the scan chains or segments of the scan chains to remain in a constant state during the capture window. The one or more but not all of the scan chains or segments of the scan chains can comprise one or more scan chains or segments of the scan chains that would otherwise capture unknown values. Furthermore, control signals can be received that control which scan chains or segments of the scan chains will have the clock signal suppressed during the capture window. The control signals can be reused as test responses to multiple additional decompressed test patterns are captured.
B. Exemplary Clock Enable Circuits
The clock enable circuit 2410 can be implemented in a variety of ways. Fig. 25 illustrates one implementation of a clock enable circuit 2510. In particular, clock enable circuit 2510 can comprise or consist of plural clock enablers (two of which are numbered 2520, 2522 in Fig. 25). In the illustrated example shown in Fig. 25, a clock enabler drives the clock tree of either a single scan chain (as with clock enabler 2522) or a group of two or more scan chains (as with clock enabler 2520). In particular, clock enabler 2520 is shown in Fig. 25 driving scan chains 120a, 120b, whereas clock enabler 2522 is shown driving scan chain 120N.
Two alternative exemplary configurations of clock enablers are shown in Figs. 26(a) and 26(b). In Fig. 26(a), plural clock enablers 2610, 2612 drive different segments of the same scan chain 2620. In Fig. 26(b), the same clock enabler 2650 drives plural segments of different scan chains 2660, 2662. Note that there is no need in these examples for a segment of a scan chain to be connected in a continuous manner. Instead, a segment of a scan chain can include any two or more scan cells in the scan chain.
Referring back to Fig. 24, in certain embodiments, the clock enabler 2410 can control the clocks at each state element so that the original clock is applied when the Global _Clock_Enable signal 2440 is asserted. In the capture mode, when the Global Clock Enable signal is de-asserted, the clock 2450 that triggers the scan cells in the scan chains can be gated using the control data loaded into the programmable controller 2430.
An exemplary glitch-free exemplary implementation 2700 of a clock enabler is shown in Fig. 27. When a glitch is not a concern, latch 2710 shown in Fig. 27 can be removed and the output of OR gate 2720 can be directly connected to the input of AND gate 2730.
To reduce area overhead, a clock enable circuit (e.g., clock enable circuit 2420) can be shared with the existing clock gating logic, if applicable. An example of original clock gating logic 2800 is shown in Fig. 28(a). In particular, in Fig. 28(a), the Scan_Enable signal 2810 serves as a global clock enable signal. For instance, when the Scan Enable signal is a 1, all clock gates (e.g., gate 2830) in the design are enabled by ignoring the signal 2820 from the functional controller.
An exemplary modification 2850 of the existing clock gating logic 2800 is shown in Fig. 28(b). In the particular modification shown in Fig. 28(b), AND gate 2852 is inserted between the OR gate 2860 and signal path 2870 from the functional controller. When ScanJEnable signal 2880 is a 0, in this example, the signal from the programmable clock enabler 2890 enables/disables the functional clock control signal 2870. The controller 2430 for the programmable clock enabler can be implemented using any of the controller designs introduced above. Furthermore, when the group of scan chains to be disabled during the capture window is the same for all capture cycles, the controller can be implemented using only one shift register. To allow for the group of scan chains to be disabled during the capture window to be dynamically changed at different capture cycles, a shift register file comprising two or more pipelined shift registers (such as the shift register file of Fig. 1 1 ) can be used.
C. Switching Activity Reduction for Both Scan Shift and Capture To reduce switching activity during both the scan shift and capture phases, embodiments of the programmable clock enabler can be used in combination with embodiments of the programmable test stimulus selector introduced above. An exemplary scan architecture 2900 having both a programmable clock enabler and a programmable test stimulus selector is shown in Fig. 29. The most efficient reduction of switching activity is observed when the scan chains loaded with constant test stimuli are disabled to capture new data such that there is no transition when unloading test responses from those scan chains.
To minimize area overhead, the programmable controller for the programmable clock enabler can be shared with the programmable test stimulus selector. Fig. 30 shows an implementation 3000 with such a shared programmable controller.
D. Test Pattern Generation
The test pattern generation procedure for a scan-based architecture using a programmable clock enabler can be similar to the test pattern generation procedures described above. For instance, assume that the scan architecture is as shown in Fig. 30. In Fig. 30, there are two types of test sources: a decompressor 3010 and a source producing the constant 0 (produced by gates 3020 in combination with the programmable controller 3030). The type of test stimuli fed to a scan chain is unchanged in this example during scan shifting. For the illustrated architecture, when a scan chain is driven by the constant 0, the clock driving the scan chain is disabled during capture. In this example, XOR network 3040 is designed in such a way that the decompressor 3010 drives all the scan chains when the control data at the shadow register 3050 is loaded with an all- 1 pattern.
Table 6 includes exemplary pseudocode that describes one particular procedure for generating test patterns using test architectures that include both a test stimulus selector and a clock enabler. Exemplary Procedure: generate Jests jwith Jest _stimulus _selector jxnd_clock_enabler
1. Identify hardware limitations of the programmable test stimulus selector and the programmable clock enabler. (The exemplary hardware shown in Fig. 30 can select up to 75% of scan chains to be driven by the constant 0 as well as have their clocks disabled during capture.)
2. Set test set 7" to be empty.
3. Set the maximum number of scan chains that are driven by the decompressor to be N. (For the hardware of Fig. 30, N should not be greater than 25% of the total number of scan chains.)
4. While target fault list F is not empty, do: a. Set test cube C to an all-X pattern. b. Pick a fault /from F and remove it from F. c. Generate test cube C/ for/ d. If/is untestable, continue from step 4. e. Merge C/ with C and set S to be the number of scan chains in C having specified bits in all the capture clock cycles and/or being used to observe the fault effect of/ f. Mark every fault in F as untried. g. While there exist untried faults in F and S is not greater than N, do: i. Pick an untried fault g from F and mark it as tried, ii. Assign C to Cg. iii. Expand Cg by specifying additional x bits in Cg to detect g. iv. If fault g cannot to be detected by expanding Cg, continue from step 4g. v. If the number of scan chains in Cg having specified bits in all the capture clock cycles and/or being used to observe the fault effects for the fault g and all the faults targeted and detected by C is greater than S, continue from step 4g. vi. Remove g from F. h. Generate control data for loading into the programmable controller such that for the scan chains having specified bits in all the capture clock cycles and/or being used to observe the fault effects for all the faults targeted and detected by C, the corresponding gating signals are set to 1 , and for the remaining scan chains, the corresponding gating signals are set so that the scan chains are driven by the constant 0 and their clocks are disabled during capture. i. Generate new test pattern t by filling unspecified bits in C based on their test stimulus sources assigned from control data. j. Fault simulate t and drop detected faults from F. k. Add / to test set T. 5. Return generated test set T.
Table 6: Exemplary Pseudocode for Generating Test Patterns with the Exemplary Test Stimulus Selector and Clock Enable Circuitry of Fig. 30
It should be noted that the method acts of the exemplary procedure can be performed alone or in various combinations and subcombinations with one another depending on the implementation.
The exemplary procedure set forth in Table 6 employs additional checking before act 4(g)(vi) to verify if the control data for the programmable controller can be generated such that the scan chains with specified bits can be driven by the decompressor. If the control data cannot be generated for the test cube Cg, it can be discarded and the original test cube can be left unchanged. Moreover, if the only specified bits in a scan chain are Os, and the scan chain is not used to observe any fault effect, there is no need in this example to count this chain in S.
Furthermore, although the exemplary procedure outlined in Table 6 concerns generating control signals in architectures having both a test stimulus selector and a clock enable circuit, the procedure can be modified for architectures having just a clock enable circuit. For example, the variable S can be set to represent only the number of scan chains used to observe fault effects and the evaluation made at act 4(g)(v) can be based on the number bits used to observe faults in the expanded test cube. The exemplary embodiment shown in Fig. 45 and discussed above can also be used to generate test patterns for architectures having a clock enable circuit. In such embodiments, control signals for a clock enable circuit can be generated based on the generated test cubes. For instance, the control signals can be capable of causing the clock enable circuit to suppress clock signals from scan chains that do not observe fault effects from the test cube when a test pattern with the test cube is applied during testing.
E. Suppression of Unknown States
The programmable clock enabler can be used to preclude the propagation of X states into scan cells. A significant number of X states that might be otherwise captured can be neutralized by using programmable clock enablers to perform scan chain selection. One exemplary architecture 3100 that can be used to suppress X states in a scan-based environment is shown in Fig. 31. For instance, the architecture 3100 can be used to help reduce the amount of X masking on the outputs of a test response compactor (e.g. , compactor 3110 in Fig. 31). As was the case with deploying scan enablers, there is no need to use any customized gating logic at the outputs of the scan chains when using clock enablers to prevent X states from being captured. The desired functionality can be achieved by disabling clocks of the selected scan chains during capture. In other words, instead of gating scan chains that carry X states, one can use one or more exemplary programmable clock enabler 3120 to disable clock trees of the designated scan chains. The programmable clock enablers 3120 can be driven, for instance, by precomputed data (e.g., computed in any of the exemplary manners described in U. S Patent Application Publication Nos. 2007/0234157, 2007/0234163, and 2007/0234169, and G. Mrugalski et al.). This exemplary technique essentially prevents the scan chains from capturing X states and loading them into the compactor 3110. In the example of Fig. 31, approximately 75% of scan chains have their clocks disabled during capture (that is, they do not record test results (including X states)), while the remaining 25% of the scan chains have their clocks enabled during capture and capture the test responses. The exemplary approach explained with reference to Fig. 31 can be combined with the approach illustrated and described in connection with Fig. 30. As a result, the same control circuitry can be shared to handle, in parallel, power dissipation and the presence of unknown states.
An exemplary technique for generating control data for the clock enable circuit that prevents X states from being captured comprises simulating a test pattern being applied to a circuit-under-test to generate a simulated test response; identifying one or more scan chains of the circuit-under-test that capture unknown states from the simulated test response; and generating control signals that cause the clock enable circuit to suppress the capture clock of one or more of the identified scan chains during the capture window. The control signals that are generated can be stored on one or more computer-readable media and subsequently loaded into the programmable controller of the clock enable circuit during test application.
VII. Low-Power Scan Shift Operations with Reset/Shift Clock Enablers Since flip-flops are usually designed with one or more asynchronous control inputs intended for state initialization (e.g., an asynchronous set input or an asynchronous reset input), it is possible to reduce toggling during the scan shift phase by using a programmable signal e.g. that forces the scan cells into a known state through one of these asynchronous control inputs (e.g., an asynchronous set signal or an asynchronous reset signal). One exemplary architecture 3200 for implementing this approach is shown in Fig. 32. Implementations of the disclosed architecture also have the ability to significantly reduce clock wiring power dissipation, another major source of chip power consumption. The exemplary architecture uses a programmable controller, which can be implemented using any of the controller designs described above. For the approach illustrated in Fig. 32, it is desirable to determine the scan chains that should be driven directly by the decompressor when shifting in a test pattern t, (because they contain specified bits of the test pattern t,) and the scan chains that have test response values that should be loaded into the compactor after applying a test pattern t,.i (because they are values that are indicative of the targeted defects captured by t,.i). The test pattern t, is typically applied right after the test pattern t,-i. These scan chains can be identified, for example, during the ATPG process. According to one specific implementation, the scan chains can be controlled so that only the identified scan chains respond to the shift clock signal. The other scan chains can remain quiescent as their shift clock signals are suppressed. As a result, switching activity due to both scan shifting and clocking itself can be reduced. Furthermore, in some instances, there can be a small number of scan chains that remain active as a side effect of the encoding process. In general, the particular configuration of the biasing circuitry will affect the percentage of unnecessary scan chains that are activated. To avoid unknown values at the quiescent scan chains' outputs, their outputs can be gated to have a constant value before feeding to the inputs of the compactor. The gating control signals can come from the programmable controller that controls the shift clock signal.
Toggling in the scan chains can be further reduced by taking advantage of the fact that in many cases, the test response values captured in certain scan chains are used to observe fault effects of targeted faults that have not been previously detected by earlier test patterns whereas the test response values captured in other scan chains are used to observe fault effects of targeted faults that have been previously detected by the earlier test patterns. Shifting out the response values in the latter subset of scan chains does not ordinarily improve the fault coverage. Accordingly, in certain embodiments, these scan chains can be reset before a previously captured test response is unloaded and the next test pattern is loaded in. This causes the scan chain to be set to all constant values before loading the next test pattern, thus reducing the amount of toggling that occurs when the scan chain is loaded with the next test pattern. Resetting a scan chain prior to application of a new test vector can reduce the switching activity by half (assuming that there is no inversion between adjacent scan cells).
A. Exemplary Architectures of Programmable Shift/Reset Clock Enablers
In the exemplary architecture 3200 of Fig. 32, a programmable reset/shift clock enabler 3210 is inserted between the primary input pins Reset Clock 3220 and Shift Clock 3222, and the reset clock and the shift clock trees driving the scan chains. As shown in Fig. 32, the exemplary programmable reset/shift clock enabler 3200 comprises or consists of three components: a shift clock enable circuit 3230, a reset enable circuit 3232, and a programmable controller 3240. An exemplary test application procedure with the exemplary architecture
3200 of Fig. 32 comprises loading the control data to control the reset enable of a test pattern /, and the control data to control the shift clock enable of the next test pattern into a programmable controller; shifting the test stimulus /, into scan chains (the control data to control the shift clock enable of the test pattern tt is loaded when the test stimuli for tt.\ is shifted in); applying capture clocks; asserting the
Reset _Clock pin on selected scan chains and holding it at an active state for as many clock cycles as required; de-asserting Reset Clock pin; and shifting out a test response from the scan chains.
It should be noted that in certain embodiments, the shift clock enable circuit 3230 is omitted from the design. The test application procedure outlined above will be modified in such embodiments so that no control data for the shift clock enabler is used.
Fig. 43 is a flowchart illustrating an exemplary embodiment for applying reset signals to a circuit during testing. At 4310, a test response to a test pattern {e.g., a test pattern decompressed by a decompressor) is captured in scan chains of a circuit-under-test. At 4312, a reset signal is applied to one or more but not all of the scan chains or segments of the scan chains after the test response to the test pattern is captured. At 4314, the contents of the scan chains are unloaded after the reset signal is applied. The one or more scan chains or segments of the scan chains to which the reset signal is applied can comprise one or more scan chains or segments of the scan chains that would otherwise capture unknown values. The application of the reset signal can cause values captured into the one or more but not all of the scan chains or segments of the scan chains to become a single constant value {e.g., a 1 or 0). Control signals can be received that control which scan chains or segments of the scan chains will have the reset signal applied. These control signals can be reused for test responses to multiple additional test patterns. Further, control signals for a next test pattern can be loaded as the test pattern is being loaded into the scan chains.
B. Shift Clock Enablers and Reset Enablers The shift clock enable circuit 3230 can comprise or consist of plural shift clock enablers. Furthermore, the shift clock enabler can drive either a single scan chain's shift clock input or a group of two or more scan chains' shift clock inputs. In general, the function of the shift clock enable circuit 3230 is to enable/disable scan chains to operate in a shift mode during scan shift. An exemplary glitch-free implementation 3300 of the shift clock enabler is shown in Fig. 33.
The reset enable circuit 3232 can comprise or consist of a group of plural reset enablers. The reset enabler can drive either a single scan chain's reset clock input or a group of two or more scan chains' reset clock inputs. The function of the reset enabler is to enable/disable ResetjClock and thereby reset the scan chains when the Reset Clock is active. An exemplary implementation 3400 of the reset enabler is shown in Fig. 34.
An exemplary form of the programmable controller 3240 can comprise or consist of two modules: one to control the shift clock enabler and the other to control the reset enabler. Each controller module can have the same architecture as the exemplary programmable controllers used with the programmable test stimulus selector 652 and described previously. C. Test Pattern Generation
The test pattern generation procedures for architectures having any of the reset clock enable circuit or shift clock enable circuits described herein are substantially similar to the test pattern generation procedures described above with respect to Tables 5 and 6 for the architectures having clock enablers or scan enablers and need not be set forth separately here. For example, the test pattern generation procedures can be used to generate control data for the controller of a reset enable circuit so that the reset enable circuit resets one or more scan chains that do not observe fault effects before their test response is shifted out.
The exemplary embodiment shown in Fig. 45 and discussed above can also be used to generate test patterns for architectures having a reset enable circuit. In such embodiments, reset signals for the reset enable circuit can be generated based on the generated test cubes. For instance, the reset signals can be capable of causing the reset enable circuit to apply reset signals to scan chains that do not observe fault effects from the test cube after a test response to a test pattern with the test cube is captured during testing. The exemplary embodiment shown in Fig. 45 and discussed above can also be used to generate test patterns for architectures having a shift clock enable circuit (e.g., in combination with the reset enable circuit). In such embodiments, control signals for a shift clock enable circuit can be generated based on the test cubes. These control signals can be capable of causing the shift clock enable circuit to suppress shift clock signals from scan chains that do not observe fault effects from the test cube after a test response to a test pattern with the test cube is captured during testing.
D. Switching Activity Reduction for Both Scan Shift and Capture
To reduce the switching activity during capture as well as to further reduce the switching activity for scan shift, the programmable reset/shift clock 3210 can be used in combination with a programmable test stimulus selector and a programmable clock enabler as described in any of the previous sections. An exemplary scan architecture 3500 for such an implementation is shown in Fig. 35. An exemplary test application procedure using this implementation comprises loading the control data to control the reset enable of a test pattern t, and the control data to control the shift enable of the test pattern t,+\ into programmable controller; shifting the test stimulus t, into the scan chains (the programmable test pattern selector selects the source of the test pattern during the shifting in of the test stimuli); de-asserting Global Clock Enable at the end of a scan shift operation; applying capture clocks (the scan cells that are selected to capture new data are controlled by the programmable clock enabler); asserting the Reset Clock pin and holding it at an active state for as many clock cycles as required; de-asserting the Reset Clock pin; asserting the Global _Clock_Enable signal; and shifting out a test response from the scan chains.
In the architecture 3500 shown in Fig. 35, the shift clock and the capture clock are the same. The architecture of Fig. 35 can be adapted, however, to use different shift and capture clocks. For instance, in a scan shift mode, Global Clock Enable can be asserted to 1 , and the shift clock can be controlled by the programmable shift/reset clock enabler. In the capture mode, Global _Clock_Enable can be de-asserted, and the capture clock can be controlled by the programmable clock enabler. To reduce the pin count, the pin Global Clock Enable can be shared with the pin Scan Enable.
E. Suppressing Unknown States
The programmable reset enable circuit can be used to prevent X states from being output from the scan chains. For example, a significant number of X states that might be otherwise captured and output can be eliminated using programmable reset enablers. In particular, after a test response is captured in the scan chains, the Reset _Clock signal can be enabled at one or more scan chains that are known to have captured unknown states but that did not capture test response values indicative of targeted faults (or that captured test response values that do not significantly contribute to the desired test coverage). Consequently, the values in the scan chains will be reset to known constants. As was the case with using scan enablers, there is no need to use any customized gating logic at the outputs of the scan chains when using reset enablers to prevent X states from being captured. The desired functionality can be achieved by resetting the desired scan chains after the test response is captured. In other words, instead of gating scan chains that carry X states, one can use one or more of the exemplary reset enable circuits 3232 to reset the captured values in a scan chain to known constants. The programmable reset enabler 3210 can be driven, for instance, by precomputed data (e.g., computed in any of the exemplary manners described in U. S Patent Application Publication Nos. 2007/0234157, 2007/0234163, and 2007/0234169, and G. Mrugalski et al.)).
An exemplary technique for generating control data for the reset enable circuit that prevents X states from being output comprises simulating a test pattern being applied to a circuit-under-test to generate a simulated test response; identifying one or more scan chains of the circuit-under-test that capture unknown states from the simulated test response; and generating control signals that cause a reset enable circuit to reset the values in one or more of the identified scan chains after the test response having the unknown states is captured. The control signals that are generated can be stored on one or more computer-readable media and subsequently loaded into the programmable controller of the reset enable circuit during test application.
VIII. Experimental Results
Scan shift operations dissipate power, which depends directly on the number of transitions that occur in the scan chains and other parts of the circuit-under-test ("CUT"). The resultant switching activity can be estimated by a weighted transition metric that not only counts the number of invoked transitions in successive scan cells, but also takes into account their relative positions. Let m be the length of a scan chain, and T = b\bt ... bm represent a test vector with bit b^ scanned in before όk+i- The normalized form of the metric can then be defined as follows:
Figure imgf000064_0001
The average scan power dissipated during test application can be obtained by summing up results provided by the above formula over all scan chains and all test patterns.
An embodiment of the previously described low power approaches was tested on several industrial designs.
In this section, results for circuits ranging in size from 220K to 10.5M gates, and using the exemplary architecture 3600 of Fig. 36 are presented. For each design, EDT with different compression levels was used by fixing the number of scan channels to 8 and utilizing in all cases a 48-bit decompressor. Results of these experiments are summarized in Table 7. In addition to the number of gates, the following information is given for each circuit: the number of test patterns applied, the fill rate (the percentage of specified bits), the size of the control register ("CR"), the switching rate measured by means of the weighted transition metric assuming that a standard embedded deterministic test is employed (column "SDT"), and the switching rate after using the proposed low power scheme (column "LP"). As can be seen, in all examined cases a substantial reduction in the total number of transitions is achieved, and hence a significantly reduced switching rate was observed.
Figure imgf000066_0001
Table 7. Experimental results
IX. Exemplary Computing Environments
Any of the aspects of the technology described above may be performed using a distributed computer network. Fig. 37 shows one suitable exemplary network. A server computer 3700 can have an associated storage device 3702 (internal or external to the server computer). For example, the server computer 3700 can be configured to generate test patterns, test pattern values, or control data according to any of the disclosed methods or to generate design data for implementing any of the disclosed architectures (for example, as part of an EDA software tool, such as a test pattern generation tool). The server computer 3700 can be coupled to a network, shown generally at 3704, which can comprise, for example, a wide-area network, a local-area network, a client-server network, the Internet, or other suitable network. One or more client computers, such as those shown at 3706, 3708, may be coupled to the network 3704 using a network protocol. The work may also be performed on a single, dedicated workstation, which has its own memory and one or more CPUs.
Fig. 38 shows another exemplary network. One or more computers 3802 communicate via a network 3804 and form a computing environment 3800 (for example, a distributed computing environment). Each of the computers 3802 in the computing environment 3800 can be used to perform at least a portion of the test pattern generation, control data generation, or test hardware generation process. The network 3804 in the illustrated embodiment is also coupled to one or more client computers 3808.
Fig. 39 shows that design information for a circuit-under-test (for example, an HDL file, netlist, GDSII file, Oasis file, or other suitable design file representing the circuit-under-test together with its scan chains) can be analyzed using a remote server computer (such as the server computer 3700 shown in Fig. 37) or a remote computing environment (such as the computing environment 3800 shown in Fig. 38) in order to generate test patterns, control data, or test hardware according to any embodiment of the disclosed technology. At process block 3902, for example, the client computer sends the integrated circuit design information to the remote server or computing environment. In process block 3904, the integrated circuit design information is received and loaded by the remote server or by respective components of the remote computing environment. In process block 3906, test pattern generation, control signal generation, or test hardware generation is performed in order to implement any of the disclosed embodiments. At process block 3908, the remote server or computing environment sends the resulting test patterns, control signals, or design data storing the generated test hardware to the client computer, which receives the data at process block 3910.
It should be apparent to those skilled in the art that the example shown in Fig. 3900 is not the only way to generate test patterns, control data, or design data for test hardware using multiple computers. For instance, the CUT design information may be stored on a computer-readable medium that is not on a network and that is sent separately to the server or computing environment (for example, a CD-ROM, DVD, or portable hard drive). Or, the server computer or remote computing environment may perform only a portion of the test pattern generation, control data generation, or test hardware generation procedures.
Having illustrated and described the principles of the disclosed technology, it will be apparent to those skilled in the art that the disclosed embodiments can be modified in arrangement and detail without departing from such principles. In view of the many possible embodiments to which the principles of the disclosed technologies can be applied, it should be recognized that the illustrated embodiments are only preferred examples of the technologies and should not be taken as limiting the scope of the invention. Rather, the scope of the invention is defined by the following claims and their equivalents. We therefore claim as our invention all that comes within the scope and spirit of these claims.

Claims

What is claimed is:
1. An integrated circuit, comprising: a first test stimulus source configured to generate original test pattern values; a second test stimulus source configured to generate a constant value; a controller configured to generate control signals; and a test stimulus selector having inputs coupled to the first test stimulus source, the second test stimulus source, and the controller, the test stimulus selector further having outputs coupled to a plurality of scan chains in the integrated circuit, the test stimulus selector being configured to selectively output either an original test pattern value from the first test stimulus source or the constant value from the second test stimulus source at each of its respective outputs based on the control signals from the controller.
2. The integrated circuit of claim 1, wherein the test stimulus selector is configured to selectively output values on a cycle-by-cycle basis, a scan-chain- segment-by-scan-chain-segment basis, or a pattern-by-pattern basis.
3. The integrated circuit of claim 1, wherein the first test stimulus source is a decompressor configured to receive compressed test pattern values from an external tester.
4. The integrated circuit of claim 1 , wherein the test stimulus selector comprises a plurality of multiplexers, each of the multiplexers having a first input coupled to a respective output of the first test stimulus source, a second input coupled to a respective output of the second stimulus source, a third input coupled to a respective output of the controller, and an output coupled to a respective one or more of the scan chains.
5. The integrated circuit of claim 1, wherein the controller is a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated circuit.
6. The integrated circuit of claim 1, wherein the constant value is a first constant value, wherein the integrated circuit further comprises a third test stimulus source configured to generate a second constant value, wherein the test stimulus selector further has inputs coupled to the third stimulus source, and wherein the test stimulus selector is configured to selectively output either an original test pattern value from the first test stimulus source, the first constant value from the second test stimulus source, or the second constant value from the third test stimulus source at each of its respective outputs based on the control signal from the controller.
7. The integrated circuit of claim 6, wherein the first constant value and the second constant value are 0 and 1 , respectively, or 1 and 0, respectively.
8. The integrated circuit of claim 6, wherein the test stimulus selector comprises a plurality of multiplexers, each of the multiplexers having a first input coupled to a respective output of the first test stimulus source, a second input coupled to a respective output of the second stimulus source, a third input coupled to a respective output of the third stimulus source, a fourth input coupled to a respective output of the controller, and an output coupled to a respective one or more of the scan chains.
9. The integrated circuit of claim 1, wherein the controller comprises one or more shift registers for loading and outputting control data.
10. The integrated circuit of claim 9, wherein the one or more shift registers comprise a plurality of shift registers that form a multi-stage register pipeline.
11. The integrated circuit of claim 10, wherein the plurality of shift registers are configured to load data serially in response to a register shift clock.
12. The integrated circuit of claim 10, wherein the plurality of shift registers are configured to shift in parallel control data from one of the shift registers to another of the shift registers in response to a pipeline shift clock.
13. The integrated circuit of claim 9, further comprising one or more shadow registers coupled to the one or more shift registers.
14. The integrated circuit of claim 9, wherein the controller further comprises an XOR or XNOR network coupled to at least one of the one or more shift registers.
15. The integrated circuit of claim 14, wherein the controller further comprises a biasing circuit coupled to the XOR or XNOR network.
16. The integrated circuit of claim 15, wherein the biasing circuit is configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value.
17. The integrated circuit of claim 15, wherein the biasing circuit is a reconfigurable biasing circuit configured to bias one or more of the outputs of the XOR or XNOR network by a selectable amount.
18. A computer-readable media storing design data for the circuit of claim 1.
19. A computer-readable media storing computer-executable instructions for causing a computer to create the integrated circuit of claim 1.
20. An integrated circuit, comprising: a test stimulus source configured to generate original test pattern values; a controller configured to generate control signals; and a test stimulus selector having inputs coupled to the test stimulus source and the controller, the test stimulus selector further having outputs coupled to a plurality of scan chains in the integrated circuit, the test stimulus selector being configured to selectively output either an original test pattern value from the first test stimulus source or a constant value at each of its respective outputs based on the control signals received from the controller, the test stimulus source further comprising gating logic configured to generate the constant value.
21. The integrated circuit of claim 20, wherein the test stimulus selector is configured to selectively output values on a cycle-by-cycle basis, a scan-chain- segment-by-scan-chain-segment basis, or a pattern-by-pattern basis.
22. The integrated circuit of claim 20, wherein the test stimulus source is a decompressor configured to receive compressed test pattern values from an external tester.
23. The integrated circuit of claim 20, wherein the controller is a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated circuit.
24. The integrated circuit of claim 20, wherein the controller comprises one or more shift registers for loading and outputting control data, the one or more shift registers forming a multi-stage register pipeline.
25. The integrated circuit of claim 24, wherein the controller further comprises: an XOR or XNOR network coupled to at least one of the one or more shift registers; and a biasing circuit coupled to the XOR or XNOR network, the biasing circuit being configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value.
26. A computer-readable media storing design data for the circuit of claim 20.
27. A computer-readable media storing computer-executable instructions for causing a computer to create the integrated circuit of claim 20.
28. A method, comprising: receiving original test pattern values for testing an integrated circuit on m input paths, the original test pattern values being received from a decompressor; selectively modifying the test pattern values on at least n of the m input paths, where n is less than m, so that the test pattern values on the n input paths become at least two consecutive constant values; and outputting test pattern values on m scan chain input paths, the test pattern values including the at least two consecutive constant values on n of the m scan chain input paths.
29. The method of claim 28, further comprising receiving control data indicating which of the m input paths are to be modified.
30. The method of claim 29, wherein the original test pattern values are for a first test pattern, and wherein the method further comprises reusing the control data to select which of the m input paths are to be modified for multiple additional test patterns.
31. The method of claim 28, wherein the outputted test pattern values include all specified bits of the original test pattern that target one or more faults in the integrated circuit.
32. The method of claim 28, wherein the act of selectively modifying the test pattern values comprises applying control signals to logic gates configured to produce the at least two consecutive constant values.
33. An integrated circuit, comprising: a decompressor coupled to data inputs of scan chains in the integrated circuit; a controller configured to generate control signals; and a scan enable circuit, the scan enable circuit having an input coupled to the controller and outputs coupled to scan enable inputs of scan cells of the scan chains, the scan enable circuit being configured to generate independently controllable scan enable signals at one or more of the outputs of the scan enable circuit, the values of the independently controllable scan enable signals being based at least in part on the control signals from the controller.
34. The integrated circuit of claim 33, wherein the values of the independently controllable scan enable signals comprise a first scan enable value and a second scan enable value, the first scan enable value being used to cause one or more of the scan chains to operate in a shift mode and the second scan enable value being used to cause the one or more of the scan chains to operate in a normal circuit mode.
35. The integrated circuit of claim 33, wherein each output of the scan enable circuit is coupled to the scan enable inputs of the scan cells in a respective one or more of the scan chains.
36. The integrated circuit of claim 33 further comprising a test stimulus selector having outputs that are configured to be coupled to scan chains formed by the scan cells, the test stimulus selector being configured to selectively output either an original test pattern value or a constant value at each respective one of the outputs of the test stimulus selector.
37. The integrated circuit of claim 33, wherein the controller is a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated circuit.
38. The integrated circuit of claim 33, wherein the controller comprises shift registers for loading and outputting control data, the shift registers forming a multi-stage register pipeline.
39. The integrated circuit of claim 38, further comprising one or more shadow registers coupled to the one or more shift registers.
40. The integrated circuit of claim 38, wherein the controller further comprises: an XOR or XNOR network coupled to at least one of the shift registers; and a biasing circuit coupled to the XOR or XNOR network, the biasing circuit being configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value.
41. A computer-readable media storing design data for the circuit of claim 33.
42. A computer-readable media storing computer-executable instructions for causing a computer to create the integrated circuit of claim 33.
43. A method, comprising: applying a scan enable signal to scan chains of a circuit-under-test as a decompressed test pattern from a decompressor is loaded into the scan chains, the scan enable signal causing the scan chains to operate as one or more shift registers; and applying the scan enable signal to one or more of the scan chains as a test response to the decompressed test pattern is captured in a remainder of the scan chains to which the scan enable signal is not applied.
44. The method of claim 43, wherein the one or more of the scan chains to which the scan enable signal is applied comprise one or more scan chains that would otherwise capture unknown values.
45. The method of claim 43, further comprising applying the scan enable signal to the scan chains of the circuit-under-test as the test response is unloaded from the scan chains.
46. The method of claim 43, further comprising receiving control signals that control which of the scan chains will have the scan enable signal applied as the test response to the decompressed test pattern is captured.
47. The method of claim 46, further comprising reusing the control signals as multiple additional decompressed test patterns are loaded into the scan chains.
48. The method of claim 43, further comprising loading control signals for a next test pattern as the test pattern is being loaded into the scan chains.
49. A circuit configured to perform the method of claim 43.
50. An integrated circuit, comprising: a decompressor coupled to data inputs of scan chains in the integrated circuit; a controller configured to generate control signals; and a clock enable circuit, the clock enable circuit having inputs coupled to the controller and outputs coupled to clock inputs of scan cells of the scan chains, the clock enable circuit being configured to generate independently controllable clock signals at one or more of the outputs of the clock enable circuit based at least in part on the control signals from the controller.
51. The integrated circuit of claim 50, wherein the independently controllable clock signals generated by the clock enable circuit are capture clock signals.
52. The integrated circuit of claim 50, wherein each output of the clock enable circuit is coupled to the clock inputs of the scan cells in a respective one or more of the scan chains of the integrated circuit.
53. The integrated circuit of claim 50, wherein the clock enable circuit comprises individual clock enabler circuits for controlling each respective output of the clock enable circuit.
54. The integrated circuit of claim 50 further comprising a test stimulus selector having outputs that are configured to be coupled to scan chains formed by the scan cells, the test stimulus selector being configured to selectively output either an original test pattern value or a constant value at each respective one of the outputs of the test stimulus selector.
55. The integrated circuit of claim 50, wherein the controller is a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated ciruict.
56. The integrated circuit of claim 50, wherein the controller comprises shift registers for loading and outputting control data, the shift registers forming a multi-stage register pipeline.
57. The integrated circuit of claim 56, further comprising one or more shadow registers coupled to the one or more shift registers.
58. The integrated circuit of claim 56, wherein the controller further comprises: an XOR or XNOR network coupled to at least one of the shift registers; and a biasing circuit coupled to the XOR or XNOR network, the biasing circuit being configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value.
59. A computer-readable media storing design data for the circuit of claim 50.
60. A computer-readable media storing computer-executable instructions for causing a computer to create the integrated circuit of claim 50.
61. A method, comprising: applying a clock signal to scan chains of a circuit-under-test as a decompressed test pattern from a decompressor is loaded into the scan chains of the circuit-under-test; and suppressing the clock signal to one or more but not all of the scan chains or segments of the scan chains as a test response to the decompressed test pattern is captured during a capture window, the suppressing causing the one or more but not all of the scan chains or segments of the scan chains to remain in a constant state during the capture window.
62. The method of claim 61, wherein the one or more but not all of the scan chains or segments of the scan chains comprise one or more scan chains or segments of the scan chains that would otherwise capture unknown values.
63. The method of claim 61, further comprising applying the clock signal to the scan chains of the circuit-under-test as the test response is unloaded from the scan chains.
64. The method of claim 61, further comprising receiving control signals that control which scan chains or segments of the scan chains will have the clock signal suppressed during the capture window.
65. The method of claim 64, further comprising reusing the control signals as test responses to multiple additional decompressed test patterns are captured.
66. The method of claim 61, wherein the clock signal has a first frequency as the test pattern is loaded into the scan chains and a second frequency as the test response is captured in the capture window.
67. The method of claim 61, further comprising loading control signals for a next test pattern as the test pattern is being loaded into the scan chains.
68. A circuit configured to perform the method of claim 61.
69. An integrated circuit, comprising: a decompressor coupled to data inputs of scan chains in the integrated circuit; a controller configured to generate control signals; and a reset enable circuit, the reset enable circuit having inputs coupled to the controller and outputs that are coupled to reset inputs of scan cells of the scan chains, the reset enable circuit being configured to selectively generate a reset signal at one or more of the outputs of the reset enable circuit based at least in part on the control signals from the controller.
70. The integrated circuit of claim 69, wherein the scan cells in the integrated circuit are configured to be reset to 0 or 1 when the reset signal is applied to the reset inputs.
71. The integrated circuit of claim 69, wherein the reset enable circuit comprises individual reset enabler circuits for controlling each respective output of the reset enable circuit.
72. The integrated circuit of claim 69, wherein each output of the reset enable circuit is coupled to the reset inputs of the scan cells in a respective one or more scan chains of the integrated circuit.
73. The integrated circuit of claim 69, wherein the reset inputs of the scan cells comprise asynchronous control pins of the scan cells.
74. The integrated circuit of claim 69, further comprising a shift clock enable circuit, the shift clock enable circuit having outputs that are coupled to shift clock inputs of scan chains in the integrated circuit, the shift clock enable circuit being configured to selectively generate a shift clock signal at one or more of the outputs of the shift clock enable circuit.
75. The integrated circuit of claim 74, wherein the shift clock enable circuit further comprises inputs coupled to the controller, and wherein the shift clock signals that are selectively generated are based at least in part on the control signals from the controller.
76. The integrated circuit of claim 69 further comprising a test stimulus selector having outputs that are configured to be coupled to scan chains formed by the scan cells, the test stimulus selector being configured to selectively output either an original test pattern value or a constant value at each respective one of the outputs of the test stimulus selector.
77. The integrated circuit of claim 69, wherein the controller is a programmable controller configured to load control data from one of an external tester, a memory on the integrated circuit, or a test generator on the integrated circuit.
78. The integrated circuit of claim 69, wherein the controller comprises shift registers for loading and outputting control data, the shift registers forming a multi-stage register pipeline.
79. The integrated circuit of claim 78, further comprising one or more shadow registers coupled to the one or more shift registers.
80. The integrated circuit of claim 78, wherein the controller further comprises: an XOR or XNOR network coupled to at least one of the shift registers; and a biasing circuit coupled to the XOR or XNOR network, the biasing circuit being configured to bias one or more of the outputs of the XOR or XNOR network so that each of the biased outputs is more likely to produce a respective binary value.
81. A computer-readable media storing design data for the circuit of claim 69.
82. A computer-readable media storing computer-executable instructions for causing a computer to create the integrated circuit of claim 69.
83. A method, comprising: capturing a test response to a test pattern in scan chains of a circuit-under- test, the test pattern being a test pattern decompressed by a decompressor; applying a reset signal to one or more but not all of the scan chains or segments of the scan chains after the test response to the test pattern is captured; and unloading the contents of the scan chains after the reset signal is applied.
84. The method of claim 83, wherein the one or more scan chains or segments of the scan chains to which the reset signal is applied comprise one or more scan chains or segments of the scan chains that would otherwise capture unknown values.
85. The method of claim 83, wherein the application of the reset signal causes values captured into the one or more but not all of the scan chains or segments of the scan chains to become a single constant value.
86. The method of claim 83, further comprising receiving control signals that control which scan chains or segments of the scan chains will have the reset signal applied.
87. The method of claim 86, further comprising reusing the control signals for test responses to multiple additional test patterns.
88. The method of claim 83, further comprising loading control signals for a next test pattern as the test pattern is being loaded into the scan chains.
89. A circuit configured to perform the method of claim 83.
90. One or more computer-readable media storing computer-executable instruction for causing a computer to perform a method, the method comprising: determining a number of scan chains to be driven by an original test stimulus source, the number being less than the number of available scan chains in a circuit design; selecting a fault from a target fault list; generating a test cube for the selected fault, the test cube comprising specified bits in a number of specified scan chains; determining whether the number of specified scan chains in the test cube is less than the number of scan chains to be driven by the original test stimulus source; and storing the test cube if the number of specified scan chains in the test cube does not exceed the number of scan chains to be driven by the original test stimulus source.
91. The one or more computer-readable media of claim 90, wherein the fault is a first fault, and wherein the method further comprises: rejecting the test cube if the number of specified scan chains in the test cube exceeds the number of scan chains to be driven by the original test stimulus; and repeating the acts of selecting, generating, determining, and storing for a second fault from the target fault list.
92. The one or more computer-readable media of claim 90, wherein the fault is a first fault, and wherein the method further comprises: selecting a second fault from the target fault list; expanding the test cube for the first fault to include one or more additional specified bits for detecting the second fault; determining whether the one or more additional specified bits causes the number of specified scan chains in the expanded test cube to exceed the number of scan chains to be driven by the original test stimulus source; and storing the expanded test cube if the number of specified scan chains in the expanded test cube does not exceed the number of scan chains to be driven by the original test stimulus source.
93. The one or more computer-readable media of claim 92, wherein the method further comprises: rejecting the expanded test cube if the number of specified scan chains in the expanded test cube exceeds the number of scan chains to be driven by the original test stimulus source; and repeating the acts of selecting, expanding, determining, and storing for a third fault from the target fault list.
94. The one or more computer-readable media of claim 90, wherein the act of determining the number of scan chains to be driven by the original test stimulus source comprises determining the encoding capacity of a controller for a test stimulus selector.
95. The one or more computer-readable media of claim 90, wherein the original test stimulus source is a decompressor configured to decompress compressed test patterns provided by an external tester.
96. The one or more computer-readable media of claim 90, wherein the method further comprises generating control signals for a test stimulus selector based on the test cube, the control signals being capable of causing the test stimulus selector to apply constant values to the unspecified scan chains as a test pattern with the test cube is loaded during testing.
97. The one or more computer-readable media of claim 90, wherein the number of scan chains to be driven by the original test stimulus source is based on the maximum number of scan chains that can be individually controlled by a test stimulus selector.
98. One or more computer-readable media storing computer-executable instruction for causing a computer to perform a method, the method comprising: determining a number of scan chains usable to observe fault effects, the number being less than the number of available scan chains in a circuit design; selecting a fault from a target fault list; generating a test cube for the selected fault; determining a number of scan chains used to observe fault effects from the test cube; evaluating whether the number of scan chains used to observe fault effects from the test cube is less than the number of scan chains usable to observe fault effects; and storing the test cube if the number of scan chains used to observe fault effects from the test cube is less than the number of scan chains usable to observe fault effects.
99. The one or more computer-readable media of claim 98, wherein the fault is a first fault, and wherein the method further comprises: rejecting the test cube if the number of scan chains used to observe fault effects from the test cube exceeds the number of scan chains usable to observe fault effects; and repeating the acts of selecting, generating, determining, evaluating, and storing for a second fault from the target fault list.
100. The one or more computer-readable media of claim 98, wherein the fault from the target fault list is a first fault from the target fault list, the method further comprising: selecting a second fault from the target fault list; expanding the test cube for the first fault to include one or more additional specified bits for detecting the second fault; determining whether the one or more additional specified bits causes the number of scan chains used to observe fault effects from the expanded test cube to exceed the number of scan chains usable to observe fault effects; and storing the expanded test cube if the number of scan chains used to observe fault effects from the test cube is less than the number of scan chains usable to observe fault effects.
101. The one or more computer-readable media of claim 100, wherein the method further comprises: rejecting the expanded test cube if the number of scan chains used to observe fault effects from the test cube exceeds the number of scan chains usable to observe fault effects; and repeating the acts of selecting, expanding, determining, and storing for a third fault from the target fault list.
102. The one or more computer-readable media of claim 98, wherein the act of determining the number of scan chains usable to observe fault effects comprises determining the encoding capacity for a controller of a scan enable circuit, a controller of a clock enable circuit, a controller of a reset enable circuit, or a controller of a shift clock enable circuit.
103. The one or more computer-readable media of claim 98, wherein the act of determining the number of scan chains used to observe fault effects from the test cube comprises simulating application of the test cube to a circuit-under-test.
104. The one or more computer-readable media of claim 98, wherein the original test stimulus source is a decompressor configured to decompress compressed test patterns provided by an external tester.
105. The one or more computer-readable media of claim 98, wherein the method further comprises generating control signals for a scan enable circuit based on the test cube, the control signals being capable of causing the scan enable circuit to suppress scan enable signals from scan chains that do not observe fault effects from the test cube when a test pattern with the test cube is applied during testing.
106. The one or more computer-readable media of claim 98, wherein the method further comprises generating control signals for a clock enable circuit based on the test cube, the control signals being capable of causing the clock enable circuit to suppress clock signals from scan chains that do not observe fault effects from the test cube when a test pattern with the test cube is applied during testing.
107. The one or more computer-readable media of claim 98, wherein the method further comprises generating control signals for a reset enable circuit based on the test cube, the control signals being capable of causing the reset enable circuit to apply reset signals to scan chains that do not observe fault effects from the test cube after a test response to a test pattern with the test cube is captured during testing.
108. The one or more computer-readable media of claim 98, wherein the method further comprises generating control signals for a shift clock enable circuit based on the test cube, the control signals being capable of causing the shift clock enable circuit to suppress shift clock signals from scan chains that do not observe fault effects from the test cube after a test response to a test pattern with the test cube is captured during testing.
109. The one or more computer-readable media of claim 98, further comprising determining a number of scan chains to be driven by an original test stimulus source, the number of scan chains to be driven by the original test stimulus source being based on the maximum number of scan chains that can be independently controlled by a scan enable circuit, a clock enable circuit, a reset enable circuit, or a shift clock enable circuit.
110. One or more computer-readable media storing computer-executable instruction for causing a computer to perform a method, the method comprising: simulating a test pattern being applied to a circuit-under-test and thereby producing a simulated test response; identifying one or more scan chains of the circuit-under-test that capture unknown states from the simulated test response; generating control signals for causing a scan enable circuit to suppress scan enable signals at the one or more identified scan chains during a capture window, a clock enable circuit to suppress the capture clock at the one or more identified scan chains during the capture window, or a reset enable circuit to generate reset signals at the one or more identified scan chains; and storing the control signals on one or more computer-readable media.
PCT/US2008/001866 2007-02-12 2008-02-12 Low power scan testing techniques and apparatus WO2008100520A2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN2008800116867A CN101663648B (en) 2007-02-12 2008-02-12 Low power scan testing techniques and apparatus
JP2009549612A JP5537158B2 (en) 2007-02-12 2008-02-12 Low power scan test technology and equipment
EP20080725491 EP2122466B1 (en) 2007-02-12 2008-02-12 Low power scan testing techniques and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US90107907P 2007-02-12 2007-02-12
US60/901,079 2007-02-12

Publications (2)

Publication Number Publication Date
WO2008100520A2 true WO2008100520A2 (en) 2008-08-21
WO2008100520A3 WO2008100520A3 (en) 2008-12-11

Family

ID=39686586

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2008/001866 WO2008100520A2 (en) 2007-02-12 2008-02-12 Low power scan testing techniques and apparatus

Country Status (5)

Country Link
US (2) US7925465B2 (en)
EP (1) EP2122466B1 (en)
JP (1) JP5537158B2 (en)
CN (1) CN101663648B (en)
WO (1) WO2008100520A2 (en)

Families Citing this family (80)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008100520A2 (en) 2007-02-12 2008-08-21 Mentor Graphics Corporation Low power scan testing techniques and apparatus
US8584073B2 (en) * 2008-07-21 2013-11-12 Synopsys, Inc. Test design optimizer for configurable scan architectures
US7979763B2 (en) * 2008-10-21 2011-07-12 Synopsys, Inc. Fully X-tolerant, very high scan compression scan test systems and techniques
US8065651B2 (en) * 2009-01-29 2011-11-22 Synopsys, Inc. Implementing hierarchical design-for-test logic for modular circuit design
JP5401119B2 (en) * 2009-02-23 2014-01-29 ルネサスエレクトロニクス株式会社 Semiconductor integrated circuit design method, design program, and semiconductor integrated circuit
CN102043124B (en) * 2009-10-12 2013-07-17 炬力集成电路设计有限公司 Integrated circuit with scan chains
JP5843358B2 (en) * 2010-01-15 2016-01-13 国立大学法人 奈良先端科学技術大学院大学 Semiconductor integrated circuit test pattern generation method, program, and computer-readable recording medium
US8832512B2 (en) * 2010-03-16 2014-09-09 Mentor Graphics Corporation Low power compression of incompatible test cubes
US20110298490A1 (en) * 2010-06-08 2011-12-08 Alan Scott Hearn Asymmetrical aging control system
US8412994B2 (en) 2010-09-17 2013-04-02 Lsi Corporation Design-for-test technique to reduce test volume including a clock gate controller
CN101975922A (en) * 2010-10-11 2011-02-16 上海电力学院 Low power consumption scanning test circuit and operation method
US20120209556A1 (en) * 2011-02-02 2012-08-16 Mentor Graphics Corporation Low Power Scan-Based Testing
US8566658B2 (en) * 2011-03-25 2013-10-22 Lsi Corporation Low-power and area-efficient scan cell for integrated circuit testing
US8683280B2 (en) * 2011-04-19 2014-03-25 Mentor Graphics Corporation Test generator for low power built-in self-test
US8694843B2 (en) * 2011-08-04 2014-04-08 Texas Instruments Incorporated Clock control of pipelined memory for improved delay fault testing
US8850280B2 (en) * 2011-10-28 2014-09-30 Lsi Corporation Scan enable timing control for testing of scan cells
JP6223967B2 (en) * 2012-05-23 2017-11-01 国立研究開発法人科学技術振興機構 Fault detection system, generation circuit and program
US8700962B2 (en) * 2012-07-27 2014-04-15 Lsi Corporation Scan test circuitry configured to prevent capture of potentially non-deterministic values
US9903916B2 (en) 2012-09-27 2018-02-27 Nxp Usa, Inc. Scan test system with a test interface having a clock control unit for stretching a power shift cycle
US9116205B2 (en) 2012-09-27 2015-08-25 International Business Machines Corporation Test coverage of integrated circuits with test vector input spreading
CN102841307B (en) * 2012-09-29 2015-07-22 南京理工大学常熟研究院有限公司 Method for positioning logic fault
US10345369B2 (en) 2012-10-02 2019-07-09 Synopsys, Inc. Augmented power-aware decompressor
US20140149812A1 (en) * 2012-11-27 2014-05-29 Lsi Corporation Scan test circuitry with control circuitry configured to support a debug mode of operation
US9395414B2 (en) 2012-12-28 2016-07-19 Nvidia Corporation System for reducing peak power during scan shift at the local level for scan based tests
US9377510B2 (en) 2012-12-28 2016-06-28 Nvidia Corporation System for reducing peak power during scan shift at the global level for scan based tests
US9222981B2 (en) 2012-12-28 2015-12-29 Nvidia Corporation Global low power capture scheme for cores
CN103076559B (en) * 2012-12-29 2015-02-04 东南大学 Optimizing method for shift power consumption in scanning test
US9291676B2 (en) * 2013-02-21 2016-03-22 Advanced Micro Devices, Inc. Scan warmup scheme for mitigating di/dt during scan test
US9086457B2 (en) 2013-03-26 2015-07-21 International Business Machines Corporation Scan chain latch design that improves testability of integrated circuits
US9057765B2 (en) 2013-04-12 2015-06-16 International Business Machines Corporation Scan compression ratio based on fault density
US9182445B2 (en) * 2013-05-06 2015-11-10 Broadcom Corporation Integrated circuit with toggle suppression logic
US9588179B2 (en) * 2013-06-12 2017-03-07 Synopsys, Inc. Scheme for masking output of scan chains in test circuit
US9003248B2 (en) * 2013-06-17 2015-04-07 Mentor Graphics Corporation Fault-driven scan chain configuration for test-per-clock
US9564877B2 (en) * 2014-04-11 2017-02-07 Qualcomm Incorporated Reset scheme for scan chains with asynchronous reset signals
CN103983912B (en) * 2014-05-05 2017-07-11 三星半导体(中国)研究开发有限公司 Sweep test suitable for on-chip system controls circuit
US10120029B2 (en) * 2014-05-12 2018-11-06 Mentor Graphics Corporation Low power testing based on dynamic grouping of scan
JP6491507B2 (en) * 2015-03-20 2019-03-27 ルネサスエレクトロニクス株式会社 Semiconductor device, electronic device and self-diagnosis method of semiconductor device
CN104698367B (en) * 2015-03-31 2018-05-25 中国人民解放军国防科学技术大学 The method of combinational circuit power consumption is tested in a kind of reduction sweep test
EP3082000B1 (en) * 2015-04-15 2020-06-10 dSPACE digital signal processing and control engineering GmbH Method and system for testing a mechatronic system
US9651623B2 (en) 2015-09-11 2017-05-16 International Business Machines Corporation Reducing power requirements and switching during logic built-in-self-test and scan test
US10078114B2 (en) * 2015-09-24 2018-09-18 Renesas Electronics Corporation Test point circuit, scan flip-flop for sequential test, semiconductor device and design device
CN106771958B (en) 2015-11-19 2020-11-03 恩智浦美国有限公司 Integrated circuit with low power scanning system
US10380303B2 (en) * 2015-11-30 2019-08-13 Synopsys, Inc. Power-aware dynamic encoding
CN105719699B (en) * 2016-01-15 2019-05-17 西安紫光国芯半导体有限公司 A method of improving DRAM back end test yield
CN107300948A (en) * 2016-04-14 2017-10-27 飞思卡尔半导体公司 Integrated circuit with multidigit clock gating unit
US10126896B2 (en) * 2016-06-28 2018-11-13 Synaptics Incorporated Selective receiver electrode scanning
TWI609190B (en) * 2016-08-05 2017-12-21 國立成功大學 Automatic-test architecture of integrated circuit capable of storing test data in scan chains and method thereof
CN107783030B (en) 2016-08-29 2021-04-23 恩智浦美国有限公司 Integrated circuit with low power scanning system
TWI612317B (en) * 2016-11-01 2018-01-21 國立成功大學 A decompressor for testing data and method thereof
US10473717B2 (en) * 2016-11-09 2019-11-12 Texas Instruments Incorporated Methods and apparatus for test insertion points
US10509072B2 (en) * 2017-03-03 2019-12-17 Mentor Graphics Corporation Test application time reduction using capture-per-cycle test points
US10353001B2 (en) 2017-06-01 2019-07-16 Seagate Technology Llc Rapid scan testing of integrated circuit chips
US10921371B2 (en) * 2017-07-05 2021-02-16 Seagate Technology Llc Programmable scan shift testing
CN107544017B (en) * 2017-07-12 2020-06-16 清华大学 Low-power-consumption weighted pseudo-random test method based on vector compression and related equipment
US10502784B2 (en) * 2017-09-22 2019-12-10 Stmicroelectronics International N.V. Voltage level monitoring of an integrated circuit for production test and debug
CN108169665A (en) * 2017-11-28 2018-06-15 深圳市时代云海科技有限公司 A kind of chip Low-power test circuit and method
US10459029B2 (en) 2018-01-08 2019-10-29 Seagate Technology Llc On-chip clock control monitoring
US10324131B1 (en) * 2018-01-16 2019-06-18 Qualcomm Incorporated Laser-based integrated circuit testing techniques
US10222421B1 (en) * 2018-02-14 2019-03-05 Silicon Laboratories Inc. Method for detecting faults on retention cell pins
US10996273B2 (en) * 2018-03-22 2021-05-04 Siemens Industry Software Inc. Test generation using testability-based guidance
EP3756020B1 (en) * 2018-03-22 2024-04-24 Siemens Industry Software Inc. Deterministic stellar built-in self-test
CN112154338B (en) * 2018-03-22 2023-05-30 西门子工业软件有限公司 Flexible equidistant decompressor architecture for test compression
US10783299B1 (en) * 2018-03-27 2020-09-22 Cadence Design Systems, Inc. Simulation event reduction and power control during MBIST through clock tree management
CN110514981B (en) * 2018-05-22 2022-04-12 龙芯中科技术股份有限公司 Clock control method and device of integrated circuit and integrated circuit
US10775432B2 (en) * 2018-05-30 2020-09-15 Seagate Technology Llc Programmable scan compression
US10908213B1 (en) 2018-09-28 2021-02-02 Synopsys, Inc. Reducing X-masking effect for linear time compactors
TWI681200B (en) * 2018-10-19 2020-01-01 瑞昱半導體股份有限公司 Chip
CN114667455A (en) * 2019-09-06 2022-06-24 西门子工业软件有限公司 Universal compressor architecture for test circuits
CN111175635B (en) * 2019-12-31 2021-12-03 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Integrated circuit testing device
US11494541B2 (en) * 2020-01-16 2022-11-08 Lightmatter, Inc. Pin sharing for photonic processors
JP7305583B2 (en) * 2020-03-05 2023-07-10 株式会社東芝 semiconductor integrated circuit
CN111766505B (en) * 2020-06-30 2023-04-25 山东云海国创云计算装备产业创新中心有限公司 Scanning test device of integrated circuit
KR20220046796A (en) * 2020-10-08 2022-04-15 삼성전자주식회사 Electronic apparatus and control method thereof
US11592482B1 (en) * 2021-03-17 2023-02-28 Cadence Design Systems, Inc. Scan channel slicing for compression-mode testing of scan chains
US11320487B1 (en) * 2021-05-26 2022-05-03 Siemens Industry Software Inc. Programmable test compactor for improving defect determination
CN114217211B (en) * 2021-12-15 2023-09-01 四川创安微电子有限公司 Circuit for reducing dynamic test power consumption of scan chain and control method thereof
CN114280454B (en) * 2021-12-27 2024-01-23 西安爱芯元智科技有限公司 Chip testing method and device, chip testing machine and storage medium
US11953548B2 (en) * 2022-01-14 2024-04-09 University Of Florida Research Foundation, Incorporated Invisible scan architecture for secure testing of digital designs
CN114113989B (en) * 2022-01-26 2022-05-06 成都爱旗科技有限公司 DFT test device, test system and test method
CN116224045B (en) * 2023-05-08 2023-08-15 上海励驰半导体有限公司 Test circuit and method for reducing power consumption in capture stage in scanning test

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6327687B1 (en) 1999-11-23 2001-12-04 Janusz Rajski Test pattern compression for an integrated circuit test environment
US6353842B1 (en) 1999-11-23 2002-03-05 Janusz Rajski Method for synthesizing linear finite state machines
US6557129B1 (en) 1999-11-23 2003-04-29 Janusz Rajski Method and apparatus for selectively compacting test responses
US20030120988A1 (en) 1999-11-23 2003-06-26 Janusz Rajski Continuous application and decompression of test patterns to a circuit-under-test
US6684358B1 (en) 1999-11-23 2004-01-27 Janusz Rajski Decompressor/PRPG for applying pseudo-random and deterministic test patterns
US6874109B1 (en) 1999-11-23 2005-03-29 Janusz Rajski Phase shifter with reduced linear dependency
US20050188218A1 (en) 2002-12-02 2005-08-25 Silverbrook Research Pty Ltd On-chip storage of secret information as inverse pair
US20050228630A1 (en) 1998-08-31 2005-10-13 Tseng Ping-Sheng VCD-on-demand system and method
US20060156122A1 (en) 2003-07-07 2006-07-13 Syntest Technologies, Inc. Mask network design for scan-based integrated circuits
US20070011533A1 (en) 2005-05-27 2007-01-11 Yonsei University Method and apparatus for reducing number of transitions generated by linear feedback shift register

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2584172B2 (en) * 1991-08-23 1997-02-19 インターナショナル・ビジネス・マシーンズ・コーポレイション Digital test signal generation circuit
US5592493A (en) * 1994-09-13 1997-01-07 Motorola Inc. Serial scan chain architecture for a data processing system and method of operation
JPH09281192A (en) * 1996-04-18 1997-10-31 Hitachi Ltd Self-diagnosing circuit for logic integrated circuit
US5737340A (en) * 1996-07-01 1998-04-07 Mentor Graphics Corporation Multi-phase test point insertion for built-in self test of integrated circuits
US5907562A (en) * 1996-07-31 1999-05-25 Nokia Mobile Phones Limited Testable integrated circuit with reduced power dissipation
US5991909A (en) * 1996-10-15 1999-11-23 Mentor Graphics Corporation Parallel decompressor and related methods and apparatuses
US5991898A (en) * 1997-03-10 1999-11-23 Mentor Graphics Corporation Arithmetic built-in self test of multiple scan-based integrated circuits
US6966021B2 (en) * 1998-06-16 2005-11-15 Janusz Rajski Method and apparatus for at-speed testing of digital circuits
US6694467B2 (en) * 1999-06-24 2004-02-17 Texas Instruments Incorporated Low power testing of very large circuits
US6519729B1 (en) * 1998-06-27 2003-02-11 Texas Instruments Incorporated Reduced power testing with equally divided scan paths
US6114892A (en) * 1998-08-31 2000-09-05 Adaptec, Inc. Low power scan test cell and method for making the same
US7493540B1 (en) 1999-11-23 2009-02-17 Jansuz Rajski Continuous application and decompression of test patterns to a circuit-under-test
US6766487B2 (en) * 2000-03-09 2004-07-20 Texas Instruments Incorporated Divided scan path with decode logic receiving select control signals
EP1146343B1 (en) * 2000-03-09 2005-02-23 Texas Instruments Incorporated Adapting Scan-BIST architectures for low power operation
US6769080B2 (en) * 2000-03-09 2004-07-27 Texas Instruments Incorporated Scan circuit low power adapter with counter
US7444567B2 (en) * 2002-04-09 2008-10-28 Syntest Technologies, Inc. Method and apparatus for unifying self-test with scan-test during prototype debug and production test
US7051255B2 (en) * 2002-12-20 2006-05-23 International Business Machines Corporation Method and apparatus for reducing power dissipation in latches during scan operation
US7444546B2 (en) * 2003-04-17 2008-10-28 Arm Limited On-board diagnostic circuit for an integrated circuit
US7109747B1 (en) * 2004-09-09 2006-09-19 National Semiconductor Corporation Low power, high speed logic controller that implements thermometer-type control logic by utilizing scan flip-flops and a gated clock
JP5268656B2 (en) 2006-02-17 2013-08-21 メンター グラフィックス コーポレイション Multi-stage test response compactor
US7685491B2 (en) 2006-04-05 2010-03-23 Xijiang Lin Test generation methods for reducing power dissipation and supply currents
US7647540B2 (en) 2006-07-21 2010-01-12 Janusz Rajski Decompressors for low power decompression of test patterns
US7797603B2 (en) 2006-07-21 2010-09-14 Janusz Rajski Low power decompression of test cubes
WO2008100520A2 (en) 2007-02-12 2008-08-21 Mentor Graphics Corporation Low power scan testing techniques and apparatus

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050228630A1 (en) 1998-08-31 2005-10-13 Tseng Ping-Sheng VCD-on-demand system and method
US6327687B1 (en) 1999-11-23 2001-12-04 Janusz Rajski Test pattern compression for an integrated circuit test environment
US6353842B1 (en) 1999-11-23 2002-03-05 Janusz Rajski Method for synthesizing linear finite state machines
US6557129B1 (en) 1999-11-23 2003-04-29 Janusz Rajski Method and apparatus for selectively compacting test responses
US20030120988A1 (en) 1999-11-23 2003-06-26 Janusz Rajski Continuous application and decompression of test patterns to a circuit-under-test
US6684358B1 (en) 1999-11-23 2004-01-27 Janusz Rajski Decompressor/PRPG for applying pseudo-random and deterministic test patterns
US6874109B1 (en) 1999-11-23 2005-03-29 Janusz Rajski Phase shifter with reduced linear dependency
US20050188218A1 (en) 2002-12-02 2005-08-25 Silverbrook Research Pty Ltd On-chip storage of secret information as inverse pair
US20060156122A1 (en) 2003-07-07 2006-07-13 Syntest Technologies, Inc. Mask network design for scan-based integrated circuits
US20070011533A1 (en) 2005-05-27 2007-01-11 Yonsei University Method and apparatus for reducing number of transitions generated by linear feedback shift register

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2122466A4

Also Published As

Publication number Publication date
CN101663648B (en) 2012-10-03
EP2122466A2 (en) 2009-11-25
US8290738B2 (en) 2012-10-16
US7925465B2 (en) 2011-04-12
EP2122466B1 (en) 2015-04-29
JP2010518405A (en) 2010-05-27
JP5537158B2 (en) 2014-07-02
CN101663648A (en) 2010-03-03
US20110166818A1 (en) 2011-07-07
US20080195346A1 (en) 2008-08-14
WO2008100520A3 (en) 2008-12-11
EP2122466A4 (en) 2013-03-06

Similar Documents

Publication Publication Date Title
US7925465B2 (en) Low power scan testing techniques and apparatus
US7840865B2 (en) Built-in self-test of integrated circuits using selectable weighting of test patterns
JP5591886B2 (en) Scan test system and technology that is completely indeterminately acceptable and very high scan compression
JP4903365B2 (en) Method and apparatus for broadcasting scan patterns in a scan-based integrated circuit
US7647540B2 (en) Decompressors for low power decompression of test patterns
US7206983B2 (en) Segmented addressable scan architecture and method for implementing scan-based testing of integrated circuits
US11585853B2 (en) Trajectory-optimized test pattern generation for built-in self-test
Rozkovec et al. Application dependent FPGA testing method
US11815555B2 (en) Universal compactor architecture for testing circuits
US10996273B2 (en) Test generation using testability-based guidance
Devika et al. Design of efficient programmable test-per-scan logic BIST modules
Moghaddam et al. Low capture power at-speed test in EDT environment
Han et al. Test resource partitioning based on efficient response compaction for test time and tester channels reduction
US11150299B2 (en) Flexible isometric decompressor architecture for test compression
Son et al. E-BIST: Enhanced test-per-clock BIST architecture
Chandra et al. Designing efficient combinational compression architecture for testing industrial circuits
US11422188B2 (en) Isometric control data generation for test compression
Tharakan et al. Design and Implementation of an On-Chip Test Generation Scheme Based on Reconfigurable Run-Time Programmable and Multiple Twisted-Ring Counters
Sun Reducing Power During Manufacturing Test Using Different Architectures
Solana Reducing test application time, test data volume and test power through Virtual Chain Partition
Kim et al. A new scan architecture for both low power testing and test volume compression under SOC test environment
Rabenalt et al. Highly efficient test response compaction using a hierarchical X-masking technique
POTHULA et al. Optimized Low Power Pseudo-Functional Scan-Based BIST for Delay Fault Using LP-LFSR
BABU et al. Performance Evaluation of Built-In Sharing Logic for Low-Power Application
HAMZA et al. Design of Test Pattern for Multiple SIC Vectors: Theory & Application in BIST Schemes

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200880011686.7

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08725491

Country of ref document: EP

Kind code of ref document: A2

ENP Entry into the national phase

Ref document number: 2009549612

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2008725491

Country of ref document: EP