A method for capturing single stuck-at fault models in multi-clock domain integrated circuits
By improving the scanning technology of OCC circuits in multi-clock domain integrated circuits and using 8-bit parallel-in and serial-out shift registers and gated clock modules, the problem of low test efficiency caused by clock domain incompatibility is solved and more efficient fault capture is achieved. , reducing testing costs.
Patent Information
- Application Number
- CN202210176650.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-24
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-02-24
AI Technical Summary
In multi-clock domain integrated circuits, traditional fault detection methods result in inefficient test vectors due to clock domain incompatibility, which increases test costs.
By improving the OCC circuit of each clock domain in the scanning technology, using 8-bit parallel-in and serial-out shift registers and gated clock modules, incompatible clock domains are captured in the same capture stage for fault response to generate efficient tests. vector.
It reduces the number of test vectors required for single fixed fault detection, relieves the storage pressure on ATE machines, and reduces test time and cost.
Smart Images

Figure CN114646861B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of integrated circuits, and in particular to a method for capturing a single fixed fault model in a multi-clock domain integrated circuit. Background Art
[0002] With the development of the semiconductor industry and the increase in market demand, the scale of integrated circuits has continued to increase, and the process level has entered the deep submicron and nano era. As a result, the density of transistors has increased, and the ratio of chip area to the number of pins available for testing has increased, making the difficulty and cost of testing continue to rise. Testing cost is an extremely important part of chip production cost, and reducing testing cost is of great significance to the rapid and sustainable development of integrated circuits.
[0003] During the IC testing process, the test set specifications greatly affect the test cost. On the one hand, the more test vectors there are, the higher the storage resource requirements of the ATE (Automatic Test Equipment) machine. On the other hand, the larger the test vector set specifications, the longer the test time. The longer the use time of the ATE machine also increases the test cost.
[0004] If the fault capture method in the scanning technology in the design for testability (DFT) can be optimized so that the test vectors generated by the scanning technology can capture more faults more efficiently, the same test quality can be achieved while using fewer test vectors, thereby reducing the test cost, that is, reducing the chip manufacturing cost, which is conducive to the rapid and sustainable development of the integrated circuit industry.
[0005] In the detection of single fixed faults in multi-clock domain circuit design, the Merge NCP method is traditionally used to generate test vectors, allowing as many compatible clock domains as possible to simultaneously generate capture pulses to capture faults during the capture phase. However, the problem with this traditional method is that some clock domains are not compatible with each other, and the simultaneous generation of capture pulses will cause competition, clock offset and other timing problems, resulting in only a small number of or even one clock domain in some test vectors generating capture pulses to capture fault responses. This part of the test vectors is inefficient in checking faults, and more test vectors are required to ensure test quality. The increase in the number of test vectors increases the test cost. Summary of the invention
[0006] In view of the problems existing in the prior art, the purpose of the present invention is to propose a capture method for a single fixed fault model in a multi-clock domain integrated circuit, optimize the fault capture method in the scanning technology in the design for testability (DFT), reduce the number of test vectors required for single fixed fault detection in the same circuit, and reduce the testing cost.
[0007] In order to achieve the above object, the present invention adopts the following technical solutions to achieve it.
[0008] A method for capturing a single stuck-at fault model in a multi-clock domain integrated circuit includes the following steps:
[0009] Step 1, in the shift phase of the test mode in the scanning technology, the scan chain data input port in the improved OCC circuit of each clock domain respectively transmits different scan chain data to the scan chain in the respective improved OCC circuit;
[0010] Each D flip-flop in the scan chain in the improved OCC circuit of each clock domain obtains a corresponding value at the Q end according to the scan chain data under the control of the ATE clock signal;
[0011] Step 2, in the capture phase of the test mode in the scanning technology, the ATE clock signal input port stops feeding the ATE clock signal to the scan chain in the improved OCC circuit, and the value obtained at the Q end of each D flip-flop in the scan chain in the improved OCC circuit during the shift phase is latched;
[0012] The 8-bit parallel-input and serial-output shift register in the improved OCC circuit obtains the value latched at the Q end of each D flip-flop in the scan chain in the improved OCC circuit as an 8-bit pulse control signal, and then converts the 8-bit pulse control signal into a serial output signal with a frequency equal to the working clock signal frequency, and sends it to the gated clock module;
[0013] The gated clock module uses the serial output signal as an enable signal, outputs a configurable clock signal that meets the timing requirements, and sends it to the clock signal selection module; the clock signal selection module finally outputs the configurable clock signal that meets the timing requirements through the clock signal output port.
[0014] Compared with the prior art, the beneficial effects of the present invention are as follows: the fault capture method in the scanning technology in the design for testability (DFT) is optimized, and by changing the scan chain configuration data in the OCC circuit test phase of different clock domains, multiple clock domains that were originally incompatible in the Merge NCP method can successively capture fault responses in the same capture phase, thereby generating test vectors more efficiently, reducing the number of test vectors required for single fixed fault detection in the same circuit, alleviating the pressure on the storage space of the ATE machine, reducing the test time of the scanning technology in the design for testability (DFT), and reducing the test cost of the chip. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0016] Figure 1A schematic diagram of the improved OCC circuit of the present invention;
[0017] Figure 2 It is a description of a capture process in the traditional Merge NCP;
[0018] Figure 3 A description of a capture process in the capture method of the present invention;
[0019] Figure 4 This is the test coverage report for method 1;
[0020] Figure 5 Test coverage report for method 2. DETAILED DESCRIPTION
[0021] The embodiments of the present invention will be described in detail below with reference to examples, but those skilled in the art will understand that the following examples are only used to illustrate the present invention and should not be construed as limiting the scope of the present invention.
[0022] A method for capturing a single stuck-at fault model in a multi-clock domain integrated circuit includes the following steps:
[0023] Step 1, in the shift phase of the test mode in the scanning technology, the scan chain data input port in the improved OCC circuit of each clock domain respectively transmits different scan chain data to the scan chain in the respective improved OCC circuit;
[0024] Each D flip-flop in the scan chain in the improved OCC circuit of each clock domain obtains a corresponding value at the Q end according to the scan chain data under the control of the ATE clock signal;
[0025] Specifically, refer to Figure 1 , an improved OCC circuit, including a scan chain data input port, a scan chain data output port, an ATE clock signal input port, a working clock signal input port, a test mode selection signal input port, a working mode selection signal input port, a clock signal output port, a pulse control module and a clock signal selection module;
[0026] The pulse control module includes a scan chain, an 8-bit parallel-input and serial-output shift register, and a gated clock module; the scan chain includes 8 D flip-flops connected in sequence; the gated clock module includes a D flip-flop and a two-input AND gate;
[0027] The D end of the first D flip-flop in the scan chain is connected to the scan chain data input port; the Q end of each D flip-flop in the scan chain is connected to the 8-bit parallel-input and serial-output shift register; the Q end of the first to seventh D flip-flops in the scan chain is also connected to the D end of the next D flip-flop; the Q end of the eighth D flip-flop in the scan chain is also connected to the scan chain data output port; the CP clock end of each D flip-flop in the scan chain is connected to the ATE clock signal input port;
[0028] The 8bitdin end of the 8bit parallel-input serial-output shift register is respectively connected to the Q end of each D flip-flop in the scan chain; the clock end of the 8bit parallel-input serial-output shift register is connected to the working clock signal input port; the enable end of the 8bit parallel-input serial-output shift register is connected to the test mode selection signal input port; the Q end of the 8bit parallel-input serial-output shift register is connected to the D end of the D flip-flop in the gated clock module;
[0029] The Q end of the D flip-flop in the gated clock module is connected to one input end of the two-input AND gate in the gated clock module; the CP clock end of the D flip-flop in the gated clock module is connected to the working clock signal input port; the other input end of the two-input AND gate in the gated clock module is connected to the working clock signal input port;
[0030] The clock signal selection module includes a first two-to-one data selector and a second two-to-one data selector;
[0031] One input end of the first two-choose-one data selector is connected to the output end of the two-input AND gate, and the other input end of the first two-choose-one data selector is connected to the ATE clock signal input port; the strobe control end of the first two-choose-one data selector is connected to the test mode selection signal input port;
[0032] One input end of the second two-choose-one data selector is connected to the output end of the first two-choose-one data selector, and the other input end of the second two-choose-one data selector is connected to the working clock signal input port; the strobe control end of the second two-choose-one data selector is connected to the working mode selection signal input port;
[0033] The scan chain is used to provide an 8-bit pulse control signal to the 8-bit parallel-input and serial-output shift register under the control of the ATE clock signal;
[0034] The 8-bit parallel-input and serial-output shift register is used to convert the 8-bit pulse control signal into a serial output signal of the working clock signal frequency and send it to the gated clock module;
[0035] The gated clock module is used to use the serial output signal as an enable signal to output a clock signal that meets the timing requirements and is configurable (configured according to the enable signal), and send it to the first two-choice data selector;
[0036] The clock signal selection module is used to output a corresponding clock signal according to the working mode selection signal input from the working mode selection signal input port and the test mode selection signal input from the test mode selection signal input port, and send the clock signal to the clock signal output port.
[0037] Step 2, in the capture phase of the test mode in the scanning technology, the ATE clock signal input port stops feeding the ATE clock signal to the scan chain in the improved OCC circuit, and the value obtained at the Q end of each D flip-flop in the scan chain in the improved OCC circuit during the shift phase is latched;
[0038] The 8-bit parallel-input and serial-output shift register in the improved OCC circuit obtains the value latched at the Q end of each D flip-flop in the scan chain in the improved OCC circuit as an 8-bit pulse control signal, and then converts the 8-bit pulse control signal into a serial output signal with a frequency equal to the working clock signal frequency, and sends it to the gated clock module;
[0039] The gated clock module uses the serial output signal as an enable signal, outputs a configurable clock signal that meets the timing requirements, and sends it to the clock signal selection module; the clock signal selection module finally outputs the configurable clock signal that meets the timing requirements through the clock signal output port.
[0040] refer to Figure 1 In the functional mode, the working mode selection signal inputted into the working mode selection signal input port is 0, and the improved OCC circuit directly outputs the working clock signal inputted into the working clock signal input port through the clock signal output port;
[0041] In the shift mode of the test mode, the working mode selection signal sent to the working mode selection signal input port is 1, the test mode selection signal sent to the test mode selection signal input port is 1, and the improved OCC circuit directly outputs the ATE clock signal sent to the ATE clock signal input port through the clock signal output port;
[0042] In the capture mode of the test mode, the working mode selection signal sent to the working mode selection signal input port is 1, and the test mode selection signal sent to the test mode selection signal input port is 0. The improved OCC circuit outputs the clock signal output by the pulse control module through the clock signal output port.
[0043] refer to Figure 1The scan chain composed of 8 D flip-flops is controlled by the ATE clock signal. In the shift phase of the test mode, the scan chain data input port inputs the scan chain configuration data into the Q end of the 8 D flip-flops one by one along with the ATE clock signal. 8 ATE clock signals can complete the input of the configuration data required for this scan chain. In the subsequent capture phase, the ATE clock signal stops being input, the scan chain maintains a low level, and the configuration data will be maintained (latched) at the Q end of the scan unit.
[0044] Scan chain configuration data such as 8'b00000001 indicates that the 8-bit parallel-input serial-output shift register only pulses once during the capture phase; scan chain configuration data such as 8'b00001001 indicates that the 8-bit parallel-input serial-output shift register first pulses once during the capture phase, and then pulses once again after pausing for two pulses.
[0045] Figure 2 This is a description of a capture process in a traditional Merge NCP. The condition statement is followed by the value passed to the scan chain in the pulse control module of the OCC circuit. Figure 2 Indicated in the traditional Merge NCP, the data passed to the scan chain in the OCC circuits of the Cpl_REFCLK clock domain and the Tck clock domain are both 8'b00000001. In the capture phase of the test mode, the OCC circuits of the two clock domains will simultaneously generate a capture pulse to complete the capture of the fault response. This is feasible for compatible clock domains, but if the two clock domains are incompatible, it is impossible to generate test vectors in this way.
[0046] Figure 3 It is a description of a capture process of the capture method of the present invention; compared with Figure 2 The capture process of the same example is based on two clock domains, but Figure 2 The capture process is different in that Figure 3 The two clock domains in the capture process are incompatible clock domains, that is, the two clock domains cannot send out capture pulses at the same time, and the traditional Merge NCP capture method cannot be used.
[0047] for Figure 3For the two clock domains in the capture process, the data transmitted to the scan chains of the improved OCC circuits of the two clock domains in the shift phase in the test mode are 8'b00000001 and 8'b00000100 respectively; in the capture phase in the test mode, the improved OCC circuit of the first clock domain first sends out a capture pulse, and after an interval of two ATE clock cycles, the improved OCC circuit of the second clock domain then sends out a capture pulse. The capture method of the present invention solves the problem that in the traditional Merge NCP, two incompatible clock domains cannot send out a capture pulse in the same capture phase, which means that the test vector generated by the capture method of the present invention can be used to capture faults in the two clock domains. If the timing is better, even more incompatible clock domains can send out pulses in the same capture phase.
[0048] Experimental results
[0049] Method 1: Using traditional Merge NCP to capture by improving the OCC circuit;
[0050] Method 2: Capture using the capture method of the present invention;
[0051] refer to Figure 4 and Figure 5 , respectively, are the test coverage reports for method 1 and method 2. Figure 4 , Figure 5 It can be seen that method 1 requires 5746 test vectors to complete the capture, while method 2 only requires 5210. Compared with method 1, the number of test vectors required for method 2 is reduced by 536, a decrease of 9.33%, indicating that the capture method of the present invention reduces the number of test vectors required for single fixed fault detection of the same circuit compared with the traditional Merge NCP method, thereby reducing the test cost.
[0052] Although the present invention has been described in detail in general terms and in specific embodiments in this specification, it is obvious to those skilled in the art that some modifications or improvements may be made to the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all fall within the scope of protection claimed by the present invention.
Claims
1. A method for capturing a single stuck-at fault model in a multi-clock domain integrated circuit, characterized in that: The following steps are involved: Step 1, in the shift phase of the test mode in the scanning technology, the scan chain data input port in the improved OCC circuit of each clock domain respectively transmits different scan chain data to the scan chain in the respective improved OCC circuit; Each D flip-flop in the scan chain in the improved OCC circuit of each clock domain obtains a corresponding value at the Q end according to the scan chain data under the control of the ATE clock signal; Step 2, in the capture phase of the test mode in the scanning technology, the ATE clock signal input port stops feeding the ATE clock signal to the scan chain in the improved OCC circuit, and the value obtained at the Q end of each D flip-flop in the scan chain in the improved OCC circuit during the shift phase is latched; The 8-bit parallel-input and serial-output shift register in the improved OCC circuit obtains the value latched at the Q end of each D flip-flop in the scan chain in the improved OCC circuit as an 8-bit pulse control signal, and then converts the 8-bit pulse control signal into a serial output signal with a frequency equal to the working clock signal frequency, and sends it to the gated clock module; The gated clock module uses the serial output signal as an enable signal, outputs a configurable clock signal that meets the timing requirements, and sends it to the clock signal selection module; The clock signal selection module finally outputs a configurable clock signal that meets the timing requirements through the clock signal output port; The improved OCC circuit includes a scan chain data input port, a scan chain data output port, an ATE clock signal input port, a working clock signal input port, a test mode selection signal input port, a working mode selection signal input port, a clock signal output port, a pulse control module and a clock signal selection module; The pulse control module includes a scan chain, an 8-bit parallel-input and serial-output shift register, and a gated clock module; the scan chain includes 8 D flip-flops connected in sequence; the gated clock module includes a D flip-flop and a two-input AND gate; The D end of the first D flip-flop in the scan chain is connected to the scan chain data input port; the Q end of each D flip-flop in the scan chain is connected to the 8-bit parallel-input and serial-output shift register; the Q end of the first to seventh D flip-flops in the scan chain is also connected to the D end of the next D flip-flop; the Q end of the eighth D flip-flop in the scan chain is also connected to the scan chain data output port; the CP clock end of each D flip-flop in the scan chain is connected to the ATE clock signal input port; The 8-bit din end of the 8-bit parallel-input serial-output shift register is connected to the Q end of each D flip-flop in the scan chain respectively; the clock end of the 8-bit parallel-input serial-output shift register is connected to the working clock signal input port; the enable end of the 8-bit parallel-input serial-output shift register is connected to the test mode selection signal input port; the Q end of the 8-bit parallel-input serial-output shift register is connected to the D end of the D flip-flop in the gated clock module; The Q end of the D flip-flop in the gated clock module is connected to one input end of the two-input AND gate in the gated clock module; the CP clock end of the D flip-flop in the gated clock module is connected to the working clock signal input port; the other input end of the two-input AND gate in the gated clock module is connected to the working clock signal input port; The clock signal selection module includes a first two-to-one data selector and a second two-to-one data selector; One input end of the first two-choose-one data selector is connected to the output end of the two-input AND gate, and the other input end of the first two-choose-one data selector is connected to the ATE clock signal input port; the strobe control end of the first two-choose-one data selector is connected to the test mode selection signal input port; One input end of the second two-select-one data selector is connected to the output end of the first two-select-one data selector, and the other input end of the second two-select-one data selector is connected to the working clock signal input port; the strobe control end of the second two-select-one data selector is connected to the working mode selection signal input port; The scan chain is used to provide an 8-bit pulse control signal to the 8-bit parallel-input and serial-output shift register under the control of the ATE clock signal; The 8-bit parallel-input and serial-output shift register is used to convert the 8-bit pulse control signal into a serial output signal of the working clock signal frequency and send it to the gated clock module; The gated clock module is used to use the serial output signal as an enable signal to output a configurable clock signal that meets the timing requirements and is sent to the clock signal selection module; The clock signal selection module is used to output a corresponding clock signal according to the working mode selection signal sent from the working mode selection signal input port and the test mode selection signal sent from the test mode selection signal input port, and send it to the clock signal output port.
