Method for adjusting scan test circuit, scan test circuit and chip

By inserting the scan test chain and the delay adjustment unit into the circuit to control the conduction of the delay circuit, the problem of high shift power consumption in the scan test phase of large-scale integrated circuits is solved and the power consumption is reduced.

CN118091387BActive Publication Date: 2024-09-10BEIJING SEMIDRIVE TECHNOLOGY LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410505843.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-09-10
Estimated Expiration
2044-04-25

AI Technical Summary

Technical Problem

In large-scale integrated circuits, the shift power consumption generated during the scan test phase is too large, and a method is needed to reduce it.

Method used

By inserting a scan test chain and a delay adjustment unit into the circuit, a test generation tool is used to generate a test pattern, and the delay circuit is controlled to turn on, thereby preventing multiple registers from flipping at the same time, thereby reducing shift power consumption.

Benefits of technology

It effectively reduces the shift power consumption of the circuit during the scan test phase and reduces the instantaneous power consumption in the normal operating mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118091387B
    Figure CN118091387B
Patent Text Reader

Abstract

The present application provides a method for adjusting a scan test circuit, a scan test circuit and a chip. The method for adjusting a scan test circuit comprises: inserting a scan test chain into a circuit; generating a test mode for the circuit using a test generation tool, wherein the test mode comprises an excitation signal for each node in the circuit; loading the test mode into the scan test chain; transmitting an input signal of the circuit to a first trigger of the scan test chain, and transferring the input signal from the first trigger to a last trigger through a shift operation; determining an output signal of the circuit in the test mode, and judging whether the circuit meets the design requirements of the circuit based on the output signal; if the circuit does not meet the design requirements, determining the number of registers driven by each clock in a clock set corresponding to the circuit; and if the number of registers driven by the first clock is greater than a register threshold, controlling the delay circuit corresponding to the first clock to be turned on.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to circuit testing technology, and in particular to a method for adjusting a scan test circuit, a scan test circuit and a chip. Background Art

[0002] In large-scale integrated circuits, scan testing is an important means to ensure circuit performance. The scan test stage will generate very large shift power consumption. Therefore, how to reduce the shift power consumption by adjusting the scan test circuit is an urgent problem to be solved in the field of circuit testing technology. Summary of the invention

[0003] The embodiments of the present application provide a method for adjusting a scan test circuit, a scan test circuit, and a chip, which can reduce the shift power consumption of the circuit during the scan test phase.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] In a first aspect, an embodiment of the present application provides a method for adjusting a scan test circuit, the method comprising:

[0006] Insert a scan test chain in the circuit, the scan test chain includes at least two triggers, and the triggers are used to shift data in the circuit; use a test generation tool to generate a test mode for the circuit, the test mode includes an excitation signal for each node in the circuit; load the test mode to the scan test chain; transmit the input signal of the circuit to the first trigger of the scan test chain, and transfer the input signal from the first trigger to the last trigger of the scan test chain through a shift operation; determine the output signal of the circuit in the test mode, and judge whether the circuit meets the design requirements of the circuit based on the output signal; if the circuit does not meet the design requirements, determine the clock set corresponding to the circuit; determine the number of registers driven by each clock in the clock set; if the number of registers driven by the first clock in the clock set is greater than the register threshold, control the delay circuit corresponding to the first clock to be turned on through a delay adjustment unit.

[0007] In some optional embodiments, the first clock corresponds to multiple delay circuits, each of the delay circuits is connected to a delay adjustment unit, and each of the delay circuits includes multiple delay units; the multiple delay units are connected in series, and the last delay unit in the series connection is connected to a register.

[0008] In some optional embodiments, the number of the delay circuit is at least one, and the controlling the delay circuit corresponding to the first clock to be turned on by the delay adjustment unit includes:

[0009] Each delay circuit is connected to a delay adjustment unit. For each delay circuit, each delay unit included in the delay circuit is traversed; through the delay adjustment unit connected to the delay circuit, at least one delay unit included in the delay circuit is controlled to be turned on.

[0010] In some optional embodiments, the method further includes: determining a shift power consumption of the circuit; and judging whether the shift power consumption satisfies a power consumption condition.

[0011] In some optional embodiments, if the shift power consumption does not meet the power consumption condition, then for each delay circuit, each delay unit included in the delay circuit is traversed; and at least one delay unit included in the delay circuit is controlled to be turned on through a delay adjustment unit connected to the delay circuit.

[0012] In a second aspect, an embodiment of the present application provides a scan test circuit, the scan test circuit comprising: a circuit, a delay adjustment unit and a delay circuit; wherein a scan test chain is inserted into the circuit, the scan test chain comprises at least two triggers, and the trigger is used to shift data in the circuit; the scan test chain is loaded with a test mode, the test mode is generated by a test generation tool, and the test mode includes an excitation signal for each node in the circuit;

[0013] The selector in the delay adjustment unit is connected to the delay circuit; when the delay adjustment unit determines that the number of registers driven by the first clock in the clock set corresponding to the circuit is greater than the register threshold, the delay adjustment unit controls the delay circuit corresponding to the first clock to be turned on through the selector;

[0014] The delay circuit includes a plurality of delay units, each of which includes at least one buffer. The plurality of buffers are connected in series, and the first buffer and the last buffer connected in series are directly connected to the selector respectively.

[0015] In some optional embodiments, each delay circuit is connected to a delay adjustment unit. For each delay circuit, the delay adjustment unit is used to traverse each delay unit included in the delay circuit; through the delay adjustment unit connected to the delay circuit, at least one delay unit included in the delay circuit is controlled to be turned on.

[0016] In some optional embodiments, the delay adjustment unit is used to determine the shift power consumption of the scan test circuit inserted into the scan test chain; and judge whether the shift power consumption meets the power consumption condition.

[0017] In some optional embodiments, the delay adjustment unit is used to traverse each delay unit included in the delay circuit for each delay circuit when the shift power consumption does not meet the power consumption condition; and control at least one delay unit included in the delay circuit to be turned on through the delay adjustment unit connected to the delay circuit.

[0018] In some optional embodiments, the multiple delay units are connected in series, and two adjacent delay units are connected via a selector.

[0019] In a third aspect, an embodiment of the present application provides a chip, wherein the chip includes the above-mentioned scan test circuit.

[0020] In a fourth aspect, an embodiment of the present application provides an electronic device, wherein the electronic device includes a chip, and the chip includes the above-mentioned scan test circuit.

[0021] The method for adjusting a scan test circuit provided in an embodiment of the present application includes: inserting a scan test chain in a circuit, the scan test chain including at least two triggers, the triggers being used to shift data in the circuit; using a test generation tool to generate a test mode for the circuit, the test mode including an excitation signal for each node in the circuit; loading the test mode to the scan test chain; transmitting an input signal of the circuit to a first trigger of the scan test chain, and transferring the input signal from the first trigger to a last trigger of the scan test chain through a shift operation; determining an output signal of the circuit in the test mode, and judging whether the circuit meets the design requirements of the circuit based on the output signal; if the circuit does not meet the design requirements, determining a clock set corresponding to the circuit; determining the number of registers driven by each clock in the clock set; if the number of registers driven by the first clock in the clock set is greater than a register threshold, controlling the delay circuit corresponding to the first clock to be turned on through a delay adjustment unit. The delay circuit in the embodiment of the present application is a newly added circuit. The delay circuit is inserted into the circuit to be tested, and when the number of registers driven by the first clock is greater than the register threshold, the delay adjustment unit controls part or all of the delay circuits corresponding to the first clock to be turned on, thereby avoiding simultaneous flipping of multiple registers driven by the first clock, staggering the simultaneous flipping of multiple registers driven by the first clock, and thus reducing the shift power consumption of the circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is a schematic diagram of an optional processing flow of a method for adjusting a scan test circuit provided in an embodiment of the present application;

[0023] Figure 2 is a schematic diagram of a delay unit provided in an embodiment of the present application;

[0024] Figure 3 is another optional processing flow diagram of the method for adjusting the scan test circuit provided in an embodiment of the present application;

[0025] Figure 4 It is a schematic diagram of an integrated circuit without a delay circuit in the prior art;

[0026] Figure 5 This is the signal diagram corresponding to the integrated circuit without the delay circuit inserted;

[0027] Figure 6 is a schematic diagram of an integrated circuit for inserting a delay circuit provided in an embodiment of the present application;

[0028] Figure 7 is a signal diagram corresponding to the integrated circuit inserted with the delay circuit provided in the embodiment of the present application;

[0029] Figure 8 It is a schematic diagram of the composition structure of the chip provided in the embodiment of the present application. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0031] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0032] In the following description, the terms "first\second" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0034] It should be understood that in the various embodiments of the present application, the size of the serial number of each implementation process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0035] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0036] 1) Scan test chain. The scan test chain consists of multiple triggers, which are used to capture and shift data in the integrated circuit and detect faults and errors in the integrated circuit.

[0037] 2) Shift operation refers to the operation of shift register. Shift register is a commonly used digital logic circuit element used to implement data shift operation in digital signal processing. Shift register can be used to shift data left or right bit by bit, and new data can be input into the register during the shift process. This shift operation is often used in applications such as serial data transmission, data acquisition, and clock division. Shift register can also be used to implement various logical functions, such as counters and multiplexers. In circuit testing, shift operation is often used to test the function and performance of digital circuits. By inputting a specific data sequence into the shift register, the response of the circuit to different data patterns can be tested to verify the correctness and stability of the circuit design. Shift operation can also be used to generate specific test patterns to help detect potential faults and defects in the circuit.

[0038] 3) Clock, used to generate clock signals. The role of the clock signal is to provide a unified time base so that different components and circuits can operate at the same beat. Through the clock signal, the various components in the circuit can read, write and transmit data in a predetermined order and time interval.

[0039] 4) Design for Testability (DFT) is a design technique used to improve the testability of circuits. DFT is widely used in circuit scan testing. By adding specific design techniques and components to the circuit, the circuit can be made easier to test and the accuracy and efficiency of the test can be improved. The main goal of DFT is to simplify the test process and reduce the cost of testing. During the design process, DFT includes various techniques and methods, such as scan chains, built-in self-test (BIST), memory built-in self-test (MBIST), etc., to ensure the testability of the circuit.

[0040] With the rapid development of chip technology, the number of registers driven by the same clock in large-scale integrated circuits is very large; therefore, whether in the normal working mode of the large-scale integrated circuit or in the DFT mode, the voltage drop problem may be caused due to excessive shift power consumption.

[0041] Based on this, an embodiment of the present application provides a method for adjusting a scan test circuit, which can reduce the shift power consumption of the circuit during the scan test phase and reduce the instantaneous power consumption of the circuit in a normal working mode.

[0042] An optional processing flow diagram of a method for adjusting a scan test circuit provided in an embodiment of the present application is as follows: Figure 1 As shown, at least the following steps are included:

[0043] Step S101: inserting a scan test chain into a circuit, wherein the scan test chain includes at least two triggers, and the triggers are used to shift data in the circuit.

[0044] In some embodiments, the circuit may be an integrated circuit to be tested, the integrated circuit may be an integrated circuit on a chip, and the chip may be applied to intelligent transportation equipment.

[0045] In some embodiments, the scan test chain includes two or more flip-flops for capturing and shifting data in an integrated circuit to detect circuit faults and errors.

[0046] In some embodiments, the functions and data flow of the circuit are described by the Register Transfer Level Hierarchy (RTL). The RTL hierarchy may include: 1) Bottom-level RTL, which is the RTL in the hardware description language (HDL) and is used to describe the bottom-level implementation of the digital circuit. 2) Intermediate-level RTL, which refers to the RTL used when programming a hardware accelerator or a field programmable gate array (FPGA), and is used to convert high-level language code into a hardware description language. 3) High-level RTL, which refers to the RTL used when programming a chip-level design, is used to convert system-level code into a hardware description language. 4) Software RTL, which refers to the Run-Time Library in software engineering, is a library file that contains the functions and subroutines required for the program to run, and provides the infrastructure and support used when the program is running. The RTL described in the embodiments of the present application may refer to the bottom-level RTL used to describe the bottom-level implementation of the digital circuit.

[0047] In some embodiments, the method for adjusting the scan test circuit provided in the embodiments of the present application also includes: determining an insertion point in the circuit based on the clock (CLK) structure of the circuit, and inserting a delay circuit at the insertion point. Specifically, when determining the insertion point in the circuit based on the clock structure information of the circuit, it is necessary to ensure that the clock structure is suitable for inserting the delay circuit, and the multiple registers driven by the clock structure are at the same RTL level. As an example, a delay circuit can be inserted after a clock whose number of driven registers is greater than a first threshold; if the number of registers driven by the clock is less than the first threshold, the delay circuit is not inserted after the clock. Among them, the first threshold can be 500,000.

[0048] As an example, if a clock source has four branches and each branch drives 100,000 registers, a delay circuit should be inserted into each branch to avoid high power consumption caused by a large number of registers flipping simultaneously among the 400,000 registers driven by the clock source.

[0049] Step S102: using a test generation tool to generate a test pattern for the circuit, wherein the test pattern includes a stimulus signal for each node in the circuit.

[0050] In some embodiments, the test mode refers to a specific test method or approach used to test a circuit. Different test modes can be used to detect different aspects of a circuit, such as functional testing, performance testing, reliability testing, etc. Common test modes include normal operating mode testing, boundary scan testing, fault mode testing, etc. By selecting an appropriate test mode, the performance and reliability of the circuit can be comprehensively evaluated to ensure that the circuit works properly and meets the design requirements.

[0051] In some embodiments, the test generation tool can automatically generate a test mode that can cover the faults in the circuit based on a given circuit description to test and verify the function and performance of the circuit. For specific types of integrated circuits, there may be customized test generation tools, such as test tools for specific functions such as memory and communication interfaces. The selection of the test generation tool is related to the type, complexity and test requirements of the circuit to be tested. The test generation tool is selected based on the actual circuit design and test requirements.

[0052] As an example, the test generation tool may be an EDA test tool; such as using the EDA test tool to generate test vectors.

[0053] Step S103, loading the test pattern into the scan test chain.

[0054] In some embodiments, the process of loading the test mode into the scan test chain may also be referred to as scan test chain configuration.

[0055] Step S104 , transmitting the input signal of the circuit to the first trigger of the scan test chain, and transferring the input signal from the first trigger to the last trigger of the scan test chain through a shift operation.

[0056] In some embodiments, the input signal of the circuit may be an excitation signal for a corresponding node in the circuit included in the test mode. The excitation signal is transmitted from the first trigger to the last trigger of the scan test chain so that all test modes are applied to the circuit. This process may also be called gate-level simulation.

[0057] Step S105 , determining an output signal of the circuit in the test mode, and judging whether the circuit meets the design requirements of the circuit based on the output signal.

[0058] In some embodiments, judging whether the circuit meets the design requirements of the circuit based on the output signal includes: comparing the difference between the output signal and the target signal, if the difference between the output signal and the target signal meets the preset condition, the circuit meets the design requirements. If the difference between the output signal and the target signal does not meet the preset condition, the circuit does not meet the design requirements. Wherein, the target signal may be a circuit output signal predicted during the circuit design process. The preset condition may be a first power consumption value. As an example, if the preset condition is the first power consumption value, it is judged whether the difference between the shift power consumption value of the output signal and the shift power consumption value of the target signal is less than the first power consumption value. If the difference between the shift power consumption value of the output signal and the shift power consumption value of the target signal is less than the first power consumption value, the circuit meets the design requirements; if the difference between the shift power consumption value of the output signal and the shift power consumption value of the target signal is greater than or equal to the first power consumption value, the circuit does not meet the design requirements.

[0059] Step S106: if the circuit does not meet the design requirement, determine a clock set corresponding to the circuit, and determine the number of registers driven by each clock in the clock set.

[0060] In some embodiments, a clock set corresponding to a circuit may include multiple clocks, each clock driving multiple registers.

[0061] Step S107: If the number of registers driven by the first clock in the clock set is greater than the register threshold, the delay circuit corresponding to the first clock is controlled to be turned on through the delay adjustment unit.

[0062] In some embodiments, the first clock is any clock in a clock set, the first clock corresponds to a plurality of delay circuits, each of the delay circuits is connected to a delay adjustment unit (TDR), each of the delay circuits includes a plurality of delay units; the plurality of delay units are connected in series, and the last delay unit in the series connection is connected to a register; wherein the delay unit may be a buffer. The delay adjustment unit may control whether the delay circuit is turned on.

[0063] In some embodiments, the first clock corresponds to multiple delay circuits. When the delay circuit corresponding to the first clock is controlled to be turned on by the delay adjustment unit, one delay circuit corresponding to the first clock can be controlled to be turned on, or some of the delay circuits corresponding to the first clock can be controlled to be turned on, or all of the delay circuits corresponding to the first clock can be controlled to be turned on.

[0064] In some embodiments, each delay circuit is connected to a delay adjustment unit, and for each delay circuit, each delay unit included in the delay circuit is traversed; through the delay adjustment unit connected to the delay circuit, at least one delay unit included in the delay circuit is controlled to be turned on. When a delay unit in the delay circuit is turned on, the clock transmitted to the register arrives later than the clock transmitted to the register when the delay unit is not turned on, so as to increase the delay of the circuit.

[0065] In an embodiment of the present application, a delay adjustment unit is used to control the conduction of part or all of the delay circuits corresponding to the first clock, thereby preventing all multiple registers driven by the first clock from flipping at the same time, and staggering the simultaneous flipping of multiple registers driven by the first clock, thereby reducing the shift power consumption of the circuit.

[0066] In the embodiment of the present application, the schematic diagram of the delay unit is as follows: Figure 2 As shown in FIG. 1 , if the selector in the circuit selects line 1, the delay unit is not turned on, and if the selector selects line 2, the delay unit is turned on. Figure 2 In the delay unit shown, the values ​​of the scan mode (scan_mode) and the scan enable (sacn_enable) are both 1, and the selector is controlled to select line 1 or line 2 through the delay adjustment unit (TDR).

[0067] Another optional processing flow diagram of the method for adjusting the scan test circuit provided in the embodiment of the present application is as follows: Figure 3 As shown, at least the following steps are included:

[0068] Step S201: inserting a scan test chain into a circuit, wherein the scan test chain includes at least two triggers, and the triggers are used to shift data in the circuit.

[0069] Step S202: using a test generation tool to generate a test pattern for the circuit, wherein the test pattern includes a stimulus signal for each node in the circuit.

[0070] Step S203, loading the test pattern into the scan test chain.

[0071] Step S204 , transmitting the input signal of the circuit to the first trigger of the scan test chain, and transferring the input signal from the first trigger to the last trigger of the scan test chain through a shift operation.

[0072] Step S205 , determining an output signal of the circuit in the test mode, and judging whether the circuit meets the design requirements of the circuit based on the output signal.

[0073] Step S206: If the circuit does not meet the design requirement, determine a clock set corresponding to the circuit, and determine the number of registers driven by each clock in the clock set.

[0074] Step S207: If the number of registers driven by the first clock in the clock set is greater than the register threshold, the delay circuit corresponding to the first clock is controlled to be turned on through the delay adjustment unit.

[0075] In some embodiments, the specific implementation process of steps S201 to S207 is the same as the specific implementation process of steps S101 to S107, and will not be repeated here.

[0076] Step S208, determining the shift power consumption of the circuit, and judging whether the shift power consumption meets the power consumption condition.

[0077] In some embodiments, after executing step S207, it is continued to determine whether the shift power consumption meets the power consumption condition. If the shift power consumption does not meet the power consumption condition, step S209 is executed.

[0078] Step S209, for each delay circuit, traverse each delay unit included in the delay circuit; and control at least one delay unit included in the delay circuit to be turned on through a delay adjustment unit connected to the delay circuit.

[0079] Figure 4 The schematic diagram of the integrated circuit without the delay circuit in the prior art is shown in FIG. The clock source drives the four-way register, and the four-way register flips synchronously with the clock signal to obtain Figure 5 The signal diagram corresponding to the integrated circuit without the delay circuit is shown.

[0080] Figure 6Schematic diagram of an integrated circuit with a delay circuit inserted in an embodiment of the present application, wherein a clock source drives four registers, and four groups of delay circuits are inserted before each register, and each delay circuit includes seven delay units. In a specific implementation, the number of groups of delay circuits inserted before each register can be adjusted, such as inserting 8 groups of delay circuits or 16 groups of delay circuits into each register. By controlling whether the delay unit is turned on, it can be achieved that the four registers do not flip at the same time. The signal diagram corresponding to the integrated circuit with a delay circuit inserted in an embodiment of the present application is shown in FIG. Figure 7 As shown, the four registers may not flip at the same time.

[0081] The embodiment of the present application further provides a scan test circuit, the scan test circuit comprising: a circuit, a delay adjustment unit and a delay circuit; wherein a scan test chain is inserted into the circuit, the scan test chain comprises at least two triggers, and the triggers are used to shift data in the circuit; the scan test chain is loaded with a test pattern, the test pattern is generated by a test generation tool, and the test pattern comprises an excitation signal for each node in the circuit;

[0082] The selector in the delay adjustment unit is connected to the delay circuit; when the delay adjustment unit determines that the number of registers driven by the first clock in the clock set corresponding to the circuit is greater than the register threshold, the delay adjustment unit controls the delay circuit corresponding to the first clock to be turned on through the selector;

[0083] The delay circuit includes a plurality of delay units, each of which includes at least one buffer. The plurality of buffers are connected in series, and the first buffer and the last buffer connected in series are directly connected to the selector respectively.

[0084] In some embodiments, each delay circuit is connected to a delay adjustment unit. For each delay circuit, the delay adjustment unit is used to traverse each delay unit included in the delay circuit; through the delay adjustment unit connected to the delay circuit, at least one delay unit included in the delay circuit is controlled to be turned on.

[0085] In some embodiments, the delay adjustment unit is used to determine the shift power consumption of the scan test circuit inserted into the scan test chain; and judge whether the shift power consumption meets the power consumption condition.

[0086] In some embodiments, the delay adjustment unit is used to traverse each delay unit included in the delay circuit for each delay circuit when the shift power consumption does not meet the power consumption condition; and control at least one delay unit included in the delay circuit to be turned on through the delay adjustment unit connected to the delay circuit.

[0087] In some embodiments, the plurality of delay units are connected in series, and two adjacent delay units are connected via a selector.

[0088] Figure 8 is a schematic diagram of the composition structure of the chip provided in the embodiment of the present application, Figure 8 The chip shown includes: at least one processor 410, a memory 450 and a bus 440; the various models in the chip are coupled together through the bus 440. It can be understood that the bus 440 is used to realize the connection and communication between these models. In addition to the data bus, the bus 440 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 8 Various buses are labeled as bus 440.

[0089] The processor 410 may be an integrated circuit chip having signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware models, etc., wherein the general-purpose processor may be a microprocessor or any conventional processor, etc.

[0090] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.

[0091] In some embodiments, memory 450 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof.

[0092] In some embodiments, the chip may further include:

[0093] Operating system 451, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0094] The network communication module 452 is used to reach other computing devices via one or more (wired or wireless) network interfaces 420 . Exemplary network interfaces 420 include: Bluetooth, Wireless LAN (WiFi), and Universal Serial Bus (USB).

[0095] The embodiment of the present application also provides a transportation device, the components of which include a chip, and the chip can execute the above-mentioned method of adjusting the scanning test circuit. The transportation device includes but is not limited to a self-balancing vehicle, a car, a bus, a train or an airplane.

[0096] In some optional embodiments, the components may be components at the circuit board level, components at the automotive electrical system level, or components of an automotive assembly. As an example, the components may be the engine, chassis, body, and electrical and electronic equipment of the vehicle. The electrical and electronic equipment of the vehicle may include headlights for lighting, management equipment for controlling the engine, central control equipment for receiving broadcasts, navigation, listening to music, entertainment, etc.

[0097] The embodiment of the present application further provides an electronic device, the electronic device comprising a chip, the chip being capable of executing the above-mentioned method for adjusting the scan test circuit, wherein the chip may be a multi-core heterogeneous chip.

[0098] The above are only embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. A method for adjusting a scan test circuit, It is characterized in that The method comprises: inserting a scan test chain in a circuit, the scan test chain comprising at least two flip-flops, the flip-flops being used to shift data in the circuit; Generate a test pattern for the circuit using a test generation tool, wherein the test pattern includes a stimulus signal for each node in the circuit; Loading the test pattern into the scan test chain; Transmitting an input signal of the circuit to a first trigger of the scan test chain, and transferring the input signal from the first trigger to a last trigger of the scan test chain through a shift operation; Determining an output signal of the circuit in the test mode, and judging whether the circuit meets the design requirements of the circuit based on the output signal; If the circuit does not meet the design requirement, determining a clock set corresponding to the circuit; Determining the number of registers driven by each clock in the clock set; If the number of registers driven by the first clock in the clock set is greater than the register threshold, the delay circuit corresponding to the first clock is controlled to be turned on through the delay adjustment unit; Wherein, the first clock corresponds to a plurality of delay circuits, each of the delay circuits is connected to a delay adjustment unit, and each of the delay circuits includes a plurality of delay units; The multiple delay units are connected in series, and the last delay unit in the series connection is connected to the register.

2. The method according to claim 1, It is characterized in that The number of the delay circuit is at least one, and the delay adjustment unit is used to control the delay circuit corresponding to the first clock to be turned on, including: Each delay circuit is connected to a delay adjustment unit, and for each delay circuit, each delay unit included in the delay circuit is traversed; At least one delay unit included in the delay circuit is controlled to be turned on through a delay adjustment unit connected to the delay circuit.

3. The method according to claim 1 or 2, It is characterized in that The method further comprises: determining shift power consumption of the circuit; It is determined whether the shift power consumption meets a power consumption condition.

4. The method according to claim 3, It is characterized in that If the shift power consumption does not meet the power consumption condition, for each delay circuit, traverse each delay unit included in the delay circuit; At least one delay unit included in the delay circuit is controlled to be turned on through a delay adjustment unit connected to the delay circuit.

5. A scanning test circuit, It is characterized in that The scan test circuit comprises: a circuit, a delay adjustment unit and a delay circuit; wherein a scan test chain is inserted into the circuit, the scan test chain comprises at least two triggers, and the triggers are used to shift data in the circuit; the scan test chain is loaded with a test pattern, the test pattern is generated by a test generation tool, and the test pattern comprises a stimulus signal for each node in the circuit; The selector in the delay adjustment unit is connected to the delay circuit; when the delay adjustment unit determines that the number of registers driven by the first clock in the clock set corresponding to the circuit is greater than the register threshold, the delay adjustment unit controls the delay circuit corresponding to the first clock to be turned on through the selector; The delay circuit includes a plurality of delay units, each of which includes at least one buffer, the plurality of buffers are connected in series, and the first buffer and the last buffer connected in series are directly connected to the selector respectively; Wherein, each delay circuit is connected to a delay adjustment unit, and for each delay circuit, the delay adjustment unit is used to traverse each delay unit included in the delay circuit; At least one delay unit included in the delay circuit is controlled to be turned on through a delay adjustment unit connected to the delay circuit.

6. The scan test circuit according to claim 5, It is characterized in that The delay adjustment unit is used to determine the shift power consumption of the scan test circuit inserted into the scan test chain; It is determined whether the shift power consumption meets a power consumption condition.

7. The scan test circuit according to claim 6, It is characterized in that The delay adjustment unit is used for traversing each delay unit included in the delay circuit for each delay circuit when the shift power consumption does not meet the power consumption condition; At least one delay unit included in the delay circuit is controlled to be turned on through a delay adjustment unit connected to the delay circuit.

8. The scan test circuit according to any one of claims 5 to 7, It is characterized in that The multiple delay units are connected in series, and two adjacent delay units are connected via a selector.

9. A chip, It is characterized in that The chip comprises the scan test circuit according to any one of claims 5 to 8.

10. An electronic device, It is characterized in that The electronic device comprises a chip, and the chip comprises the scan test circuit according to any one of claims 5 to 8.

Citation Information

Patent Citations

  • Scan chain testing method and device, computer equipment and storage medium

    CN113917321A

  • Method and circuit for reducing power consumption of shift stage in scan chain test

    CN114217212A

  • Control circuit for controlling logic flipping rate through clock tree node switch

    CN114994507A

  • Scan register and operation method thereof, scan chain and chip

    CN116203406A

  • Scanning test circuit, digital chip, electronic equipment and power consumption reduction method

    CN117686879A