Method, system and chip for improving scan chain test efficiency

By preconfiguring efficiency enhancement registers in the chip and optimizing test signal transmission, the problems of low efficiency and high cost of scanning chain testing are solved, and efficient testing efficiency and cost reduction are achieved.

CN118914813APending Publication Date: 2024-11-08BEIJING SEMIDRIVE TECHNOLOGY LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410981738.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

During the development of integrated circuit chips, the scanning chain test efficiency is low and the cost is high. This is mainly due to the complex module layout in the chip, the delay between the test I/O pin and the subsystem is large, and the high clock frequency cannot be used, which affects the impact of Test efficiency and cost.

Method used

Pre-configure efficiency enhancement registers on the test line to increase the clock frequency, and optimize the transmission of test signals through the combination of efficiency enhancement registers and scan chain shift registers, reducing the transmission of test signals between the test I/O pins and the subsystem delay, thereby improving testing efficiency.

Benefits of technology

While maintaining the chip optimized layout structure, it effectively reduces the delay between the scan chain test I/O pin and the subsystem, allowing the use of higher clock frequency, significantly improving test efficiency and reducing ATE test costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118914813A_ABST
    Figure CN118914813A_ABST
Patent Text Reader

Abstract

A method, system and chip for improving scan chain test efficiency, the method comprising: pre-configuring N efficiency-raising registers for a subsystem in a chip, the efficiency-raising registers being configured on a first line between a test input end and the subsystem or a second line between the subsystem and a test output end; in a test state, increasing the clock frequency, inputting a test mode signal from a corresponding test input end of the chip, shifting along the corresponding test input end of the chip through a subsystem in the chip and a corresponding efficiency increasing register, and outputting a response signal to a test system through a corresponding mode signal input end of the chip; and the test system carries out comparison based on the response signals and determines whether the subsystems have faults or not. Therefore, delay between a scan chain test I / O pin and a subsystem can be reduced while an optimized layout structure of the chip is maintained, high clock frequency can be adopted, the test efficiency can be greatly improved, the total test duration of the system can be shortened, and the test cost can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of chip testing technology, and in particular to a method, system and chip for improving the efficiency of scan chain testing. Background Art

[0002] In the process of integrated circuit chip development, DFT (Design for Testability) logic is one of the key steps to ensure chip quality and reliability. DFT includes scan chain testing, which is a test method used to detect and diagnose faults in integrated circuits. It adds a series of scan chains inside the chip during design, so that test data can be injected into the signal transmission and receiving circuits inside the chip during testing, thereby testing the chip.

[0003] The time required for a single test vector stimulus is determined by the scan chain length and clock frequency. The test duration directly affects the test efficiency and test cost. Therefore, increasing the test clock frequency is of great significance for improving test efficiency and reducing test costs. However, with the development trend of chip functional diversification, structural complexity, and high integration, the requirements for module layout in the chip are getting higher and higher. In the existing structural layout, the line length between the subsystem used for scan chain testing in the chip and the corresponding test I / O pin is often long, which makes the delay (Delay) between the test I / O pin and the subsystem large, making it impossible to use a higher clock frequency, resulting in a long total system test time and high ATE costs.

[0004] Based on this, how to improve the scan chain testing efficiency while maintaining the chip's optimized layout structure has become an urgent problem to be solved in the industry. Summary of the invention

[0005] In order to solve at least one problem existing in the prior art, the purpose of the present application is to provide a method, system and chip for improving the efficiency of scan chain testing, which can effectively reduce the delay between the scan chain test I / O pins and the subsystem while maintaining the optimized chip layout structure, thereby adopting a higher clock frequency, greatly improving the test efficiency, helping to shorten the total system test time, and reducing ATE test costs.

[0006] To achieve the above-mentioned purpose, the method for improving the efficiency of scan chain testing provided by the present application is applied to a chip, wherein the chip includes a subsystem for scan testing; the method includes:

[0007] Pre-configuring N efficiency-enhancing registers for the subsystem in the chip, wherein the efficiency-enhancing registers are configured on a first line and / or a second line; wherein N≥1, the first line is a line between a corresponding test input terminal of the chip and the subsystem, and the second line is a line between the subsystem and a corresponding test output terminal of the chip;

[0008] In the test state, the clock frequency is increased, a test mode signal is input from the corresponding test input terminal of the chip, shifted along the line path direction through the subsystem and the efficiency-enhancing register, and a response signal is output from the corresponding mode signal input terminal of the chip to the test system; wherein the line path direction is the path direction from the corresponding test input terminal of the chip, through the subsystem and the corresponding efficiency-enhancing register in the chip, to the corresponding test output terminal of the chip;

[0009] The test system compares the response signal with a standard signal to determine whether the subsystem has a fault.

[0010] Furthermore, the method further comprises:

[0011] Decompressing the test mode signal received by the subsystem through the decompression logic unit of the subsystem to generate a test vector;

[0012] The test vector is moved to the scan chain of the subsystem, and serial scanning is performed to generate a post-scan signal;

[0013] The scanned signal is compressed by the compression logic unit of the subsystem to generate the response signal and output it.

[0014] Furthermore, before the step of pre-configuring N efficiency-enhancing registers for the subsystem in the chip, the method further includes:

[0015] determining an ideal shift frequency for a scan chain of the subsystem;

[0016] determining a shift frequency of the first line and a shift frequency of the second line;

[0017] Determining whether to pre-configure an efficiency-enhancing register on the first line based on the ideal shift frequency and the shift frequency of the first line;

[0018] Based on the ideal shift frequency and the shift frequency of the second line, it is determined whether to pre-configure an efficiency-boosting register on the second line.

[0019] Furthermore, the method further comprises,

[0020] In response to the shift frequency of the first line being less than the ideal shift frequency, pre-configuring at least one efficiency-enhancing register on the first line so that the shift frequency of the first line is greater than or equal to the ideal shift frequency;

[0021] In response to the shift frequency of the second line being less than the ideal shift frequency, at least one efficiency-enhancing register is preconfigured in the second line, so that the shift frequency of the second line is greater than or equal to the ideal shift frequency.

[0022] Furthermore, the step of determining the ideal shift frequency of the scan chain of the subsystem includes:

[0023] Determining the number of scan chains in the subsystem;

[0024] If the subsystem includes only one scan chain, determining the shift frequency of the scan chain that is not affected by the first circuit and the second circuit as the ideal shift frequency;

[0025] If the subsystem includes at least two scan chains, the shift frequency of each scan chain not affected by the first line and the second line is obtained, and the smallest one of the at least two shift frequencies is determined as the ideal shift frequency.

[0026] Furthermore, the method further comprises:

[0027] M efficiency-enhancing registers are preconfigured on the first line; wherein M≥1, and the M efficiency-enhancing registers are located at (M+1) equally divided points of the first line.

[0028] Furthermore, the method further comprises:

[0029] T efficiency-enhancing registers are preconfigured on the second line; wherein T≥1, and the T efficiency-enhancing registers are located at (T+1) equally divided points of the second line.

[0030] Furthermore, the method further comprises:

[0031] For one subsystem, at least two test input terminals are configured for the chip, and the at least two test input terminals correspond to at least two first circuits one by one; the number of efficiency-enhancing registers on the at least two first circuits is the same;

[0032] At least two test output terminals are configured for the chip, and the at least two test output terminals correspond one-to-one to at least two second circuits; the number of efficiency-enhancing registers on the at least two second circuits is the same.

[0033] To achieve the above-mentioned purpose, the present application also provides a system for improving the efficiency of scan chain testing, which is applied to a chip, wherein the chip includes a subsystem for scan testing; the system includes:

[0034] A pre-configuration module, used for pre-configuring N efficiency-enhancing registers for the subsystem in the chip; the efficiency-enhancing registers are configured on a first line and / or a second line; wherein N≥1, the first line is a line between a corresponding test input terminal of the chip and the subsystem, and the second line is a line between the subsystem and a corresponding test output terminal of the chip;

[0035] A chip, used to increase the clock frequency in a test state, input a test mode signal from a corresponding test input terminal of the chip, shift along a line path direction through the subsystem and the efficiency-enhancing register, and output a response signal from a corresponding mode signal input terminal of the chip to a test system; wherein the line path direction is a path direction from a corresponding test input terminal of the chip, through a subsystem in the chip and a corresponding efficiency-enhancing register, to a corresponding test output terminal of the chip;

[0036] The test system compares the response signal with a standard signal to determine whether the subsystem has a fault.

[0037] To achieve the above objectives, the present application also provides a chip, which is a chip tested and configured using the method for improving the scan chain test efficiency as described above.

[0038] The present invention discloses a method, system and chip for improving the efficiency of scan chain testing, wherein N efficiency-enhancing registers are pre-configured in the subsystem in the chip, and the efficiency-enhancing registers are configured on the first line or the second line; and in the test state, the clock frequency is increased, a test mode signal is input from the corresponding test input terminal of the chip, and the signal is shifted along the line path direction through the subsystem and the efficiency-enhancing register, and a response signal is output from the corresponding mode signal input terminal of the chip to the test system; and the test system compares the response signal with the standard signal to determine whether the subsystem has a fault. Thus, while maintaining the optimized layout structure of the chip, the delay between the scan chain test I / O pin and the subsystem can be effectively reduced, so that a higher clock frequency can be used, which can greatly improve the test efficiency, help shorten the total test time of the system, and reduce the ATE test cost.

[0039] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent from the description, or may be understood by practicing the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings are used to provide a further understanding of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings:

[0041] Figure 1 It is a schematic diagram of the layout structure of the on-chip scan chain test subsystem in the prior art;

[0042] Figure 2 A flow chart of a method for improving the test efficiency of a scan chain according to an embodiment of the present application;

[0043] Figure 3 A flowchart of the steps of pre-configuring an efficiency improvement register in a chip according to an embodiment of the present application;

[0044] Figure 4 A schematic diagram of the layout structure of another on-chip scan chain test subsystem in the prior art;

[0045] Figure 5 A schematic diagram of the layout structure of a scan chain test subsystem within a chip according to an embodiment of the present application;

[0046] Figure 6 A system structure block diagram for improving the scan chain testing efficiency according to an embodiment of the present application. DETAILED DESCRIPTION

[0047] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.

[0048] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0049] It should be noted that the concepts such as “first” and “second” mentioned in this application are only used to distinguish different circuits, and are not used to limit the order or interdependence of the functions performed by these circuits.

[0050] It should be noted that the modifications of "one" and "plurality" mentioned in this application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more". "Plurality" should be understood as two or more.

[0051] First of all, it should be noted that the scan chain test can effectively detect faults inside the chip and facilitate testing and diagnosis of the chip during the production process. The scan chain test may include the following steps:

[0052] 1) Scan chain design. When designing a chip, scan chains are added to the logic circuits of the chip. These scan chains consist of controllable, programmable circuits that can load test data into the chip during testing and read output data from the chip.

[0053] 2) Test pattern generation: Based on the designed scan link, a series of test patterns are generated. These patterns are used to introduce faults inside the chip in order to test the chip's response.

[0054] 3) Test execution. The generated test pattern is loaded into the scan link inside the chip. By controlling the scan link, the test data is injected into the logic circuit inside the chip. Then the output response of the chip is observed and compared with the expected result to detect whether there is a fault.

[0055] 4) Fault diagnosis: If the test results are inconsistent with the expected results, the cause of the fault can be diagnosed by analyzing the test data and chip output in the scan link so that repairs or improvements can be made.

[0056] Specifically, in the production test phase of the chip, after the chip is produced, in order to test whether the chip is perfect, the chip is placed on an ATE (Automatic Test System) machine, and the various pins of the chip are connected through the ATE machine. Test data of a specific pattern is input through a part of the pins, and response signals are output through another part of the pins. The ATE machine uses an ATPG (Automatic Test Pattern Generation) test vector composed of high level 1 and low level 0, which is input into the chip through the test input I / O pin. In the chip, after being directly connected to the on-chip decompression logic unit of the subsystem to be scanned and tested, it is input into the scan chain of the circuit under test. At the same time, the clock input is performed to realize that the shift register composed of triggers on the scan chain responds to the scan and moves out, and the ATE machine determines whether the chip has a fault.

[0057] The time required for a single test vector stimulus is determined by the scan chain length and the clock frequency, that is, Time = Length / Frequency. The test time directly affects the ATE test cost, so increasing the test clock frequency is of great significance for improving test efficiency and reducing test costs.

[0058] Figure 1FIG. 1 is a schematic diagram of the layout structure of the scan chain test subsystem in the chip in the prior art. Figure 1 As shown, the chip is provided with a test input I / O pin and a test output I / O pin for scan chain testing, and is provided with a subsystem for scan chain testing. The subsystem includes a decompression logic unit, a scan chain, and a compression logic unit. The test input I / O pin is connected to the decompression logic unit through line 1, the decompression logic unit is connected to the scan chain through line 2, the scan chain is connected to the compression logic unit through line 3, and the compression logic unit is connected to the test output I / O pin through line 4.

[0059] With the development trend of chip functions diversification, complex structure and high integration, the requirements for module layout on the chip are getting higher and higher. In the existing preferred chip layout structure, the line length between the subsystem and the corresponding I / O pin is often long, that is, the spatial length of line 1 and line 4 is much longer than the length of line 2, line 3 and the length of the internal line of the subsystem, which makes the delay between the test I / O pin and the subsystem larger, resulting in the inability to use a higher clock frequency.

[0060] Based on this, the present application provides a method for improving the efficiency of scan chain testing. While maintaining the optimized chip layout structure, it can effectively reduce the delay between the scan chain test I / O pins and the subsystem, thereby enabling the use of a higher clock frequency, which can greatly improve the test efficiency, help shorten the total system test time, and reduce ATE testing costs.

[0061] Hereinafter, embodiments of the present application will be described in detail with reference to the accompanying drawings.

[0062] Figure 2 The following is a flow chart of a method for improving the scan chain test efficiency according to an embodiment of the present application. Figure 2 , the method for improving the scan chain testing efficiency of the present application is described in detail.

[0063] In step 101, N efficiency-boosting registers are pre-configured for a subsystem in a chip, and the efficiency-boosting registers are configured on a first line and / or a second line.

[0064] Wherein, N≥1; the first line is a line between a corresponding test input terminal of the chip and the subsystem; the second line is a line between the subsystem and a corresponding test output terminal of the chip.

[0065] Specifically, the subsystem in the chip is used for scan chain testing, and may specifically include a decompression logic unit, a plurality of scan chains, and a compression logic unit. It is understandable that the chip may include a subsystem to be scanned and tested, or may include multiple subsystems. This application does not impose specific restrictions on this. For the sake of clarity, the method will be explained below using a subsystem as an example.

[0066] For one of the subsystems, in one example, at least one efficiency boosting register is pre-configured only on the first line between the corresponding test input terminal of the chip and the subsystem; in another example, at least one efficiency boosting register is pre-configured only on the second line between the subsystem and the corresponding test output terminal of the chip; in yet another example, at least one efficiency boosting register is pre-configured on the first line corresponding to the subsystem, and at least one efficiency boosting register is also pre-configured on the corresponding second line.

[0067] In step 102, in the test state, the clock frequency is increased, a test mode signal is input from the corresponding test input terminal of the chip, shifted along the line path direction through the subsystem and the efficiency improvement register, and a response signal is output from the corresponding mode signal input terminal of the chip to the test system.

[0068] The line path direction is from the corresponding test input terminal of the chip, through the subsystem in the chip and the corresponding efficiency improvement register, to the corresponding test output terminal of the chip.

[0069] Specifically, the efficiency boost register is a shift register, and by adding the shift register, the clock signal frequency during testing can be increased. For a subsystem, in the test state, when only the first line is pre-configured with an efficiency boost register, the test mode signal is shifted in sequence along the efficiency boost register on the line path and the scan chain shift register in the subsystem; when only the second line is pre-configured with an efficiency boost register, the test mode signal is shifted in sequence along the scan chain shift register and the efficiency boost register in the subsystem on the line path; when at least one efficiency boost register is pre-configured on the first line and the second line respectively, the test mode signal is shifted in sequence along the first line efficiency boost register on the line path, the scan chain shift register in the subsystem, and the second line efficiency boost register.

[0070] In an embodiment of the present application, the method also includes: decompressing the test mode signal received by the subsystem through the decompression logic unit of the subsystem to generate a test vector; shifting the test vector to the scan chain of the subsystem, performing serial scanning, and generating a post-scan signal; compressing the post-scan signal through the compression logic unit of the subsystem, generating a response signal, and outputting it.

[0071] In a specific example, two efficiency-boosting registers are pre-configured on the first line, namely, efficiency-boosting register 1 and efficiency-boosting register 2. The test mode signal is a string of high and low level values, such as 10101. In the test state, the first clock cycle inputs the first bit of data 1 to the efficiency-boosting register 1; the second clock cycle, the value 1 in the efficiency-boosting register 1 is shifted to the efficiency-boosting register 2, and the second bit of data 0 is input to the efficiency-boosting register 1; the third clock cycle, the value 1 in the efficiency-boosting register 2 is shifted to the subsystem, the efficiency-boosting register 1 shifts the value 0 therein to the efficiency-boosting register 2, and the third bit of data 1 is input to the efficiency-boosting register 1; the fourth clock cycle, the value 0 in the efficiency-boosting register 2 is shifted to the subsystem, the efficiency-boosting register 1 shifts the value 1 therein to the efficiency-boosting register 2, and the third bit of data 0 is input to the efficiency-boosting register 1, and so on, until the test mode signal is input.

[0072] In step 103, the test system compares the response signal with the standard signal to determine whether the subsystem has a fault.

[0073] Specifically, the compressed test results are output to the test system of the ATE machine through the mode signal output terminal of the chip, and the test results are compared with the standard data through the test system to detect the combinational logic and timing logic in the chip to determine whether there is a fault in the subsystem.

[0074] According to the method for improving the efficiency of the scan chain test of the embodiment of the present application, by pre-configuring N efficiency-enhancing registers for the subsystem in the chip, the efficiency-enhancing registers are configured on the first line or the second line; and by increasing the clock frequency in the test state, inputting the test mode signal from the corresponding test input end of the chip, shifting along the line path direction through the subsystem and the efficiency-enhancing register, and outputting a response signal from the corresponding mode signal input end of the chip to the test system; and by comparing the response signal with the standard signal based on the test system, it is determined whether the subsystem has a fault. Thus, while maintaining the optimized layout structure of the chip, the delay between the scan chain test I / O pin and the subsystem can be effectively reduced, so that a higher clock frequency can be used, which can greatly improve the test efficiency, help shorten the total test time of the system, and reduce the ATE test cost.

[0075] In the embodiment of the present application, before the step of pre-configuring N efficiency-enhancing registers for the subsystem in the chip, as Figure 3 As shown, the method further comprises the following steps:

[0076] Step 201, determining an ideal shift frequency of a scan chain of a subsystem.

[0077] Furthermore, step 201 may specifically include the following sub-steps:

[0078] Step 301, determining the number of scan chains in the subsystem.

[0079] Step 302: If the subsystem includes only one scan chain, then the shift frequency of the scan chain that is not affected by the first circuit and the second circuit is determined as the ideal shift frequency.

[0080] That is, for a subsystem with only one scan chain, the ideal shift frequency of the scan chain is limited by the length of the longest line between two adjacent shift registers in the scan chain.

[0081] Step 303: If the subsystem includes at least two scan chains, obtain the shift frequency of each scan chain that is not affected by the first circuit and the second circuit, and determine the smallest one of the at least two shift frequencies as the ideal shift frequency.

[0082] Specifically, for a subsystem including at least two scan chains, when determining the ideal shift frequency of its scan chain, first, for each scan chain, determine the limit shift frequency corresponding to the longest line between two adjacent shift registers, and then compare the limit shift frequencies of all scan chains, and take the smallest limit shift frequency as the ideal shift frequency of the scan chain of the subsystem.

[0083] Step 202: Determine the shift frequency of the first line and the shift frequency of the second line.

[0084] The shift frequency of the first circuit refers to the frequency at which the test data is transmitted from the chip test input terminal to the subsystem input terminal; the shift frequency of the second circuit refers to the frequency at which the response signal is transmitted from the subsystem output terminal to the chip test output terminal.

[0085] Then, based on the ideal shift frequency and the shift frequency of the first line, determine whether to pre-configure the efficiency-enhancing register on the first line; and based on the ideal shift frequency and the shift frequency of the second line, determine whether to pre-configure the efficiency-enhancing register on the second line. Specifically, the following steps can be adopted:

[0086] Step 203: In response to the shift frequency of the first line being less than the ideal shift frequency, pre-configure at least one efficiency-enhancing register on the first line so that the shift frequency of the first line is greater than or equal to the ideal shift frequency.

[0087] That is to say, if the shift frequency of the first line is less than the ideal shift frequency, that is, the clock frequency increase of the subsystem may be limited by the delay of the first line, then the efficiency improvement registers are pre-configured on the first line, and based on the standard that the shift frequency of the first line is greater than or equal to the ideal shift frequency, the number of efficiency improvement registers added on the first line is determined.

[0088] Step 204: In response to the shift frequency of the second line being less than the ideal shift frequency, pre-configure at least one efficiency-enhancing register in the second line, so that the shift frequency of the second line is greater than or equal to the ideal shift frequency.

[0089] That is to say, if the shift frequency of the second line is less than the ideal shift frequency, that is, the clock frequency increase of the subsystem may be limited by the delay of the second line, then the efficiency improvement registers are pre-configured on the second line, and based on the standard that the shift frequency of the second line is greater than or equal to the ideal shift frequency, the number of efficiency improvement registers added on the second line is determined.

[0090] In an embodiment of the present application, the method further includes pre-configuring M efficiency-enhancing registers on the first line. Wherein, M≥1, and the M efficiency-enhancing registers are located at the (M+1) equal-division point of the first line. For the first line, both the maximization of the shiftable frequency and the minimization of the number of efficiency-enhancing registers added are taken into account. In an embodiment of the present application, the method further includes pre-configuring T efficiency-enhancing registers on the second line. Wherein, T≥1, and the T efficiency-enhancing registers are located at the (T+1) equal-division point of the second line. For the second line, both the maximization of the shiftable frequency and the minimization of the number of efficiency-enhancing registers added are taken into account.

[0091] In an embodiment of the present application, the method also includes: for a subsystem, configuring at least two test input terminals for the chip, the at least two test input terminals correspond one-to-one to at least two first circuits, and the number of efficiency-enhancing registers on the at least two first circuits is the same; and for the subsystem, configuring at least two test output terminals for the chip, the at least two test output terminals correspond one-to-one to at least two second circuits, and the number of efficiency-enhancing registers on the at least two second circuits is the same.

[0092] That is, Q first lines and Q second lines may be configured for one subsystem, where Q ≥ 2. Preferably, the number of efficiency-enhancing registers on the Q first lines is the same, and the number of efficiency-enhancing registers on the Q second lines is the same.

[0093] The present application will be further explained and illustrated by a specific embodiment below.

[0094] In this specific embodiment, combined with Figure 4 and Figure 5 As shown, a subsystem 410 is provided in the chip 400 and is configured with two first lines 420 for respectively inputting a first pattern input signal and a second pattern input signal, and two second lines 430 for respectively outputting two response signals. The subsystem 410 includes a decompression logic unit 411, a plurality of scan chains 412 and a compression logic unit 413.

[0095] The scan chain length of the subsystem is Length=500, that is, the number of shift registers in the scan chain is 500, and the number of test vectors is 10,000.

[0096] If the existing scan chain test method is used, such as Figure 4 As shown, due to the delay between the test I / O pin of the scan chain and the subsystem, the maximum clock frequency of the scan shift is 20Mhz, and the time required for the scan chain test of the subsystem is Time=500×10000 / 20Mhz=250ms.

[0097] If the method for improving the scan chain test efficiency of the embodiment of the present application is adopted, such as Figure 5 As shown, by adding two efficiency-enhancing registers 440 on each first line 420 and by adding two efficiency-enhancing registers 440 on each second line 430, the delay between the scan chain test I / O pin and the subsystem can be reduced, so that the clock frequency of the scan shift is increased to 80Mhz, and the time required for the scan chain test of the subsystem is Time=504×10000 / 80Mhz=63ms. It can be seen that the method of the embodiment of the present application can greatly improve the test efficiency and effectively shorten the total test time of the system.

[0098] In summary, according to the method for improving the efficiency of the scan chain test of the embodiment of the present application, N efficiency-enhancing registers are pre-configured in the subsystem in the chip, and the efficiency-enhancing registers are configured on the first line or the second line; and in the test state, the clock frequency is increased, and the test mode signal is input from the corresponding test input end of the chip, along the line path direction, through the subsystem and the efficiency-enhancing register, and the response signal is output from the corresponding mode signal input end of the chip to the test system; and the test system compares the response signal with the standard signal to determine whether the subsystem has a fault. Thus, while maintaining the optimized layout structure of the chip, the delay between the scan chain test I / O pin and the subsystem can be effectively reduced, so that a higher clock frequency can be used, which can greatly improve the test efficiency, help shorten the total test time of the system, and reduce the ATE test cost.

[0099] Figure 6 : is a block diagram of a system structure for improving the efficiency of scan chain testing according to an embodiment of the present application. The system is applied to a chip, and the chip includes a subsystem for scan testing. Figure 6 As shown, a system 500 for improving the test efficiency of a scan chain includes a pre-configuration module 501 , a chip 502 and a test system 503 .

[0100] The pre-configuration module 501 is used to pre-configure N efficiency-enhancing registers for the subsystem in the chip 502; the efficiency-enhancing registers are configured on the first line and / or the second line. Where N≥1, the first line is the line between the corresponding test input terminal of the chip 502 and the subsystem, and the second line is the line between the subsystem and the corresponding test output terminal of the chip 502.

[0101] The chip 502 is used to increase the clock frequency in the test state, input a test mode signal from the corresponding test input terminal of the chip 502, shift along the line path direction through the subsystem and the efficiency-enhancing register, and output a response signal from the corresponding mode signal input terminal of the chip 502 to the test system 503. The line path direction is the path direction from the corresponding test input terminal of the chip 502, through the subsystem and the corresponding efficiency-enhancing register in the chip 502, to the corresponding test output terminal of the chip 502.

[0102] The test system 503 compares the response signal with the standard signal to determine whether the subsystem has a fault.

[0103] In an embodiment of the present application, the preconfiguration module 501 is also used to: determine the ideal shift frequency of the scan chain of the subsystem; determine the shift frequency of the first line and the shift frequency of the second line; determine whether to preconfigure an efficiency improvement register on the first line based on the ideal shift frequency and the shift frequency of the first line; determine whether to preconfigure an efficiency improvement register on the second line based on the ideal shift frequency and the shift frequency of the second line.

[0104] Furthermore, the preconfiguration module 501 is specifically used to: in response to the shift frequency of the first line being less than the ideal shift frequency, preconfigure at least one efficiency-enhancing register on the first line so that the shift frequency of the first line is greater than or equal to the ideal shift frequency; in response to the shift frequency of the second line being less than the ideal shift frequency, preconfigure at least one efficiency-enhancing register on the second line so that the shift frequency of the second line is greater than or equal to the ideal shift frequency.

[0105] Furthermore, the preconfiguration module 501 is specifically used to: determine the number of scan chains in the subsystem; if the subsystem includes only one scan chain, determine the shift frequency of the scan chain that is not affected by the first circuit and the second circuit as the ideal shift frequency; if the subsystem includes at least two scan chains, obtain the shift frequency of each scan chain that is not affected by the first circuit and the second circuit, and determine the smallest one of the at least two shift frequencies as the ideal shift frequency.

[0106] In the embodiment of the present application, the pre-configuration module 501 is specifically used to: pre-configure M efficiency-enhancing registers on the first line; wherein M≥1, and the M efficiency-enhancing registers are located at the (M+1) equal division points of the first line.

[0107] In the embodiment of the present application, the pre-configuration module 501 is specifically used to: pre-configure T efficiency-enhancing registers on the second line; wherein T≥1, and the T efficiency-enhancing registers are located at the (T+1) equal division points of the second line.

[0108] In an embodiment of the present application, the pre-configuration module 501 is also used to: for a subsystem, configure at least two test input terminals for the chip 502, and the at least two test input terminals correspond one-to-one to at least two first circuits; the number of efficiency-enhancing registers on at least two first circuits is the same; configure at least two test output terminals for the chip 502, and the at least two test output terminals correspond one-to-one to at least two second circuits; the number of efficiency-enhancing registers on at least two second circuits is the same.

[0109] It should be noted that the explanation of the method for improving the scan chain test efficiency in the above embodiment is also applicable to the system for improving the scan chain test efficiency in the above embodiment, and will not be repeated here.

[0110] An embodiment of the present application also provides a chip, which is tested and configured using the method for improving the scan chain test efficiency in the above embodiment.

[0111] It should be understood that, although the steps in the flowcharts of the accompanying drawings of the specification are displayed in sequence according to the indications of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0112] It is understandable that each functional unit or module in each embodiment of the present application may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional unit.

[0113] It should be noted that the specific numerical values ​​mentioned above are only used as examples to illustrate the implementation of the present application in detail, and should not be understood as limiting the present application. In other examples or implementations or embodiments, other numerical values ​​can be selected according to the present application, and are not specifically limited here.

[0114] Those skilled in the art can understand that the above are only preferred embodiments of the present application and are not intended to limit the present application. Although the present application is described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions recorded in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for improving the efficiency of scan chain testing, characterized in that: Applied to a chip, the chip includes a subsystem for scan testing; the method includes, Pre-configuring N efficiency-enhancing registers for the subsystem in the chip, wherein the efficiency-enhancing registers are configured on a first line and / or a second line; wherein N≥1, the first line is a line between a corresponding test input terminal of the chip and the subsystem, and the second line is a line between the subsystem and a corresponding test output terminal of the chip; In the test state, the clock frequency is increased, a test mode signal is input from the corresponding test input terminal of the chip, shifted along the line path direction through the subsystem and the efficiency-enhancing register, and a response signal is output from the corresponding mode signal input terminal of the chip to the test system; wherein the line path direction is the path direction from the corresponding test input terminal of the chip, through the subsystem and the corresponding efficiency-enhancing register in the chip, to the corresponding test output terminal of the chip; The test system compares the response signal with a standard signal to determine whether the subsystem has a fault.

2. The method according to claim 1, characterized in that The method further comprises, Decompressing the test mode signal received by the subsystem through the decompression logic unit of the subsystem to generate a test vector; The test vector is moved to the scan chain of the subsystem, and serial scanning is performed to generate a post-scan signal; The scanned signal is compressed by the compression logic unit of the subsystem to generate the response signal and output it.

3. The method according to claim 2, characterized in that Before the step of preconfiguring N efficiency-enhancing registers for the subsystem in the chip, the method further includes: determining an ideal shift frequency for a scan chain of the subsystem; determining a shift frequency of the first line and a shift frequency of the second line; Determining whether to pre-configure an efficiency-enhancing register on the first line based on the ideal shift frequency and the shift frequency of the first line; Based on the ideal shift frequency and the shift frequency of the second line, it is determined whether to pre-configure an efficiency-boosting register on the second line.

4. The method according to claim 3, characterized in that The method further comprises, In response to the shift frequency of the first line being less than the ideal shift frequency, pre-configuring at least one efficiency-enhancing register on the first line so that the shift frequency of the first line is greater than or equal to the ideal shift frequency; In response to the shift frequency of the second line being less than the ideal shift frequency, at least one efficiency-enhancing register is preconfigured in the second line, so that the shift frequency of the second line is greater than or equal to the ideal shift frequency.

5. The method according to claim 3, characterized in that: The step of determining the ideal shift frequency of the scan chain of the subsystem comprises, Determining the number of scan chains in the subsystem; If the subsystem includes only one scan chain, determining the shift frequency of the scan chain that is not affected by the first circuit and the second circuit as the ideal shift frequency; If the subsystem includes at least two scan chains, the shift frequency of each scan chain not affected by the first line and the second line is obtained, and the smallest one of the at least two shift frequencies is determined as the ideal shift frequency.

6. The method according to claim 1, characterized in that The method further comprises, M efficiency-enhancing registers are preconfigured on the first line; wherein M≥1, and the M efficiency-enhancing registers are located at (M+1) equally divided points of the first line.

7. The method according to claim 1, characterized in that The method further comprises, T efficiency-enhancing registers are preconfigured on the second line; wherein T≥1, and the T efficiency-enhancing registers are located at (T+1) equally divided points of the second line.

8. The method according to claim 1, characterized in that The method further comprises, For one subsystem, at least two test input terminals are configured for the chip, and the at least two test input terminals correspond one-to-one to at least two first circuits; The number of efficiency-enhancing registers on the at least two first lines is the same; Configuring at least two test output terminals for the chip, wherein the at least two test output terminals correspond one-to-one to at least two second circuits; The number of efficiency-enhancing registers on the at least two second lines is the same.

9. A system for improving the efficiency of scan chain testing, characterized in that: Applied to a chip, the chip includes a subsystem for scan testing; the system includes, A pre-configuration module, used for pre-configuring N efficiency-enhancing registers for the subsystem in the chip; The efficiency-enhancing register is configured on a first line and / or a second line; wherein N≥1, the first line is a line between a corresponding test input terminal of the chip and the subsystem, and the second line is a line between the subsystem and a corresponding test output terminal of the chip; A chip, used to increase the clock frequency in a test state, input a test mode signal from a corresponding test input terminal of the chip, shift along a line path direction through the subsystem and the efficiency-enhancing register, and output a response signal from a corresponding mode signal input terminal of the chip to a test system; wherein the line path direction is a path direction from a corresponding test input terminal of the chip, through a subsystem in the chip and a corresponding efficiency-enhancing register, to a corresponding test output terminal of the chip; The test system compares the response signal with a standard signal to determine whether the subsystem has a fault.

10. A chip, characterized in that: The chip is a chip that is tested and configured using the method for improving scan chain test efficiency as described in any one of claims 1 to 8.