Method, device and equipment for reducing test vectors
By turning on clock gating using or computing results in chip testing, the input of test vectors is reduced, the problem of scan test resources and time occupancy in the existing technology is solved, and an efficient testing process is achieved.
Patent Information
- Application Number
- CN202411111117.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-11-22
AI Technical Summary
In existing chip tests, scan tests occupy a large amount of machine resources and time, and the large number of test vectors lead to high testing efficiency and cost, which becomes a bottleneck.
During the chip testing process, by turning on clock gating using the Or operation result, the input and calculation of the test vector are reduced and the test efficiency is improved.
It effectively reduces the number of test vectors required during testing, improves testing efficiency, reduces testing time and cost, and does not affect the test effect.
Smart Images

Figure CN119001401A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of chip testing technology, and in particular to a method, device and equipment for reducing test vectors. Background Art
[0002] DFT scan testing is a way to efficiently cover failure problems caused during chip production. Through scan testing, defective chips can be quickly screened out to ensure the quality of chip shipments. Therefore, ATE-based scan testing is an essential step before chips leave the factory, and because scan testing is the most efficient structured testing method to date, it is of vital importance to ensuring chip quality. However, scan testing occupies a lot of machine resources and testing time, and each test requires a relatively large number of test vectors, which increases test time and test costs. In particular, a large number of test vectors is often the bottleneck of test efficiency and has a high impact on test costs. Summary of the invention
[0003] The present invention provides a method, device and equipment for reducing test vectors, which can effectively reduce test vectors during chip testing and improve test efficiency.
[0004] In order to solve the above technical problem, an embodiment of the present invention provides a method for reducing test vectors, including:
[0005] During a scan test of a designated device, if the current test phase is in the first phase, a first value is input into a designated OR gate based on a first branch, the designated OR gate is located between a test enable terminal and a clock gating, and is connected to the first branch, one end of the clock gating is respectively connected to a plurality of registers to be scanned, and the other end is connected to a test enable terminal, a clock circuit, and a control logic circuit, the control logic circuit is used to control the clock gating switch when the output value of the test enable terminal is a second value, and when the test phase is in the first phase, the output value of the test enable terminal is the second value;
[0006] Based on the designated OR gate, an OR operation is performed on the first value and the second value output by the current test enable terminal, and the OR operation result is input into the clock gating to turn on the clock gating, allowing the clock circuit to transmit a time value to the register to be scanned, wherein the OR operation result matches the turn-on condition of the clock gating.
[0007] In some embodiments, inputting the first value to the designated OR gate based on the first branch includes:
[0008] A test vector is input to a designated OR gate based on the first branch, where the test vector is used to enable the designated OR gate to obtain a first value.
[0009] In some embodiments, a first register is provided on the first branch;
[0010] The step of inputting a first value to a designated OR gate based on the first branch includes:
[0011] Inputting a test vector into a first register based on the first branch to configure a first value into the first register, wherein the test vector matches the first value;
[0012] A first value is input to the designated OR gate based on the first register.
[0013] In some embodiments, a data port is provided on the first branch;
[0014] The step of inputting a first value to a designated OR gate based on the first branch includes:
[0015] A test vector corresponding to the first value is transmitted to the first branch based on the data port, so that the designated OR gate obtains the test vector and obtains the first value.
[0016] In some embodiments, performing an OR operation on the first value and a second value output by the current test enable terminal based on the specified OR gate includes:
[0017] Based on the designated OR gate, an OR operation is performed on the first value and the second value output by the current test enable terminal, and the OR operation result is the first value. The start condition of the clock gating is to assign the first value to the clock gating.
[0018] In some embodiments, in the second stage, the output value of the test enable terminal is a first value, and the method further includes:
[0019] If the current test phase is in the second phase, inputting a first value to a designated OR gate based on the first branch;
[0020] An OR operation is performed on the first value and the first value output by the current test enable terminal based on the designated OR gate, and the OR operation result is input into the clock gating to enable the clock gating, wherein the OR operation result is the first value.
[0021] Another embodiment of the present invention also provides a device for reducing test vectors, including:
[0022] A first input interrupt module is used for inputting a first value to a designated OR gate based on a first branch during a scan test of a designated device, if the current test phase is in the first phase, wherein the designated OR gate is located between a test enable terminal and a clock gating and is connected to the first branch, wherein one end of the clock gating is respectively connected to a plurality of registers to be scanned, and the other end is connected to a test enable terminal, a clock circuit, and a control logic circuit, wherein the control logic circuit is used for controlling the clock gating switch when an output value of the test enable terminal is a second value, and when the test phase is in the first phase, an output value of the test enable terminal is the second value;
[0023] The first operation module is used to perform an OR operation on the first value and the second value output by the current test enable terminal according to the specified OR gate, and input the OR operation result into the clock gating to turn on the clock gating, allowing the clock circuit to transmit a time value to the register to be scanned, wherein the OR operation result matches the turn-on condition of the clock gating.
[0024] In some embodiments, inputting the first value to the designated OR gate based on the first branch includes:
[0025] A test vector is input to a designated OR gate based on the first branch, where the test vector is used to enable the designated OR gate to obtain a first value.
[0026] In some embodiments, a first register is provided on the first branch;
[0027] The step of inputting a first value to a designated OR gate based on the first branch includes:
[0028] Inputting a test vector into a first register based on the first branch to configure a first value into the first register, wherein the test vector matches the first value;
[0029] A first value is input to the designated OR gate based on the first register.
[0030] Another embodiment of the present invention further provides an electronic device, including:
[0031] It comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method for reducing test vectors as described in any one of the above embodiments is implemented.
[0032] Based on the disclosure of the above embodiments, it can be known that the beneficial effects of the embodiments of the present invention include effectively reducing the number of test vectors required for input and calculation during testing by changing the test circuit structure in the test equipment, thereby improving the test efficiency without affecting the test effect, reducing the test time and test cost.
[0033] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings.
[0034] The technical solution of the present application is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 The figure is a flowchart of a method for reducing test vectors in an embodiment of the present invention.
[0037] Figure 2 This is a structural diagram of the detection equipment in the existing solution.
[0038] Figure 3 It is a structural diagram of the detection equipment in an embodiment of the present invention.
[0039] Figure 4 It is a structural diagram of a detection device in another embodiment of the present invention.
[0040] Figure 5 It is a structural block diagram of a device for reducing test vectors in an embodiment of the present invention. DETAILED DESCRIPTION
[0041] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings, but are not intended to limit the present invention.
[0042] It should be understood that various modifications may be made to the embodiments disclosed herein. Therefore, the following description should not be considered as limiting, but merely as an example of an embodiment. Other modifications within the scope and spirit of the present disclosure will occur to those skilled in the art.
[0043] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the general description of the present disclosure given above and the detailed description of the embodiments given below, serve to explain the principles of the present disclosure.
[0044] These and other characteristics of the invention will become apparent from the following description of a preferred form of embodiment given as a non-limiting example, with reference to the accompanying drawings.
[0045] It should also be understood that, although the invention has been described with reference to some specific examples, those skilled in the art will be able to realize many other equivalent forms of the invention that have the characteristics recited in the claims and are therefore within the scope of protection defined thereby.
[0046] The above and other aspects, features and advantages of the present disclosure will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
[0047] Specific embodiments of the present disclosure are described hereinafter with reference to the accompanying drawings; however, it should be understood that the disclosed embodiments are merely examples of the present disclosure, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid obscuring the present disclosure with unnecessary or redundant details. Therefore, the specific structural and functional details disclosed herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present disclosure in a variety of ways with substantially any suitable detailed structure.
[0048] This specification may use the phrases "in one embodiment," "in another embodiment," "in a further embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present disclosure.
[0049] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0050] like Figure 1 As shown, an embodiment of the present invention provides a method for reducing test vectors, including:
[0051] S1: During a scan test of a designated device, if the current test phase is in the first phase, a first value is input into a designated OR gate based on a first branch, the designated OR gate is located between a test enable terminal and a clock gating, and is connected to the first branch, one end of the clock gating is respectively connected to a plurality of registers to be scanned, and the other end is connected to a test enable terminal, a clock circuit, and a control logic circuit, the control logic circuit is used to control the clock gating switch when the output value of the test enable terminal is a second value, and when the test phase is in the first phase, the output value of the test enable terminal is the second value;
[0052] S2: Based on the specified OR gate, an OR operation is performed on the first value and the second value output by the current test enable terminal, and the OR operation result is input into the clock gating to turn on the clock gating, allowing the clock circuit to transmit a time value to the register to be scanned, wherein the OR operation result matches the turn-on condition of the clock gating.
[0053] In this embodiment, the test device is provided with two branches, including a first branch and a second branch, both of which are used to open the clock gate so that the control logic circuit of the device under test can be connected to the functional device at the back end. Under normal circumstances, the above connection is achieved through the second branch, such as Figure 2 As shown, the structure of the current detection device is shown in the figure. In the capture stage, the parameter SCAN_EN=0. At this time, the opening and closing of CG (clock gate / clock gating) can no longer be controlled by the parameter SCAN_EN, and the opening or closing of the clock gate can only be controlled by the E terminal. The E terminal is the functional part of the device to be tested. The detection device needs a special vector to control the opening and closing of the clock gate through the E terminal, and cannot directly control it. The circuit where the E terminal is located can be considered as the second branch described in this embodiment, that is, when the parameter SCAN_EN=0, only a large number of test vectors can be used to conduct the second branch, open the clock gate, and import the test data into the subsequent register (Reg). Therefore, under the structure shown in the second branch, two conditions are required to complete the test of a specific point: 1: The test device must use a large number of test vectors to cause the E terminal of the clock gate to be assigned to 1, thereby opening the clock gate and allowing the test data that meets the timing to be transmitted to the register (Reg). In order to avoid the above situation and achieve the effect of opening the clock gate without setting more test vectors, in this embodiment, a branch is added to the original structure of the test equipment, that is, a first branch is added to assign a value of 1 to the E terminal through the first branch, so that the clock gate can be opened based on the assigned value.
[0054] Furthermore, the first branch in this embodiment is connected to the E end, and the other end is connected to the input end of the test data, such as the end assigned to the parameter SCAN_EN, so as to input data through the input end and transmit the data to the clock gate through the first branch.
[0055] In specific applications, for example, the designated device is a chip of a device. When performing a scan test on the chip, such as a scan test, if the current test phase is in the first phase, the first phase characterization parameter SCAN_EN is assigned a value of 0, and the clock gate cannot be opened based on the parameter, such as the data acquisition phase. In this phase, a first value can be input to the designated OR gate based on the first branch. The designated OR gate is located at the test enable end, that is, the E end, between the clock gate / clock gating, and is simultaneously connected to the first branch. One end of the clock gating in this embodiment is respectively connected to a plurality of registers to be scanned, and the other end is connected to the test enable end, the clock circuit, and the control logic circuit. The control logic circuit is used to control the clock gating switch when the output value of the test enable end is the second value. When the test phase is in the first phase, the output value of the test enable end is the second value, and the first phase includes a data capture phase. Furthermore, in the present embodiment, an OR gate is provided on the first branch, i.e., a designated OR gate. The system performs an OR operation on the first value and the second value output by the current test enable terminal based on the designated OR gate, and inputs the OR operation result into the clock gating to enable the clock gating, allowing the clock circuit to transmit a time value to the register to be scanned, wherein the OR operation result matches the enabling condition of the clock gating. In the present embodiment, the first value is 1 and the second value is 0, so the OR operation result is 1. When the result is input into the clock gating, the clock gating will open the clock gate based on the assigned value 1, allowing the clock circuit to transmit a time value to the register to be scanned.
[0056] Based on the above embodiments, it can be seen that the beneficial effects of the scheme described in this embodiment include that by changing the test circuit structure in the test equipment, the number of test vectors required for input and calculation during testing can be effectively reduced, thereby improving the test efficiency without affecting the test effect, and reducing the test time and test cost.
[0057] In some embodiments, inputting the first value to the designated OR gate based on the first branch includes:
[0058] S3: Input a test vector to a designated OR gate based on the first branch, where the test vector is used to enable the designated OR gate to obtain a first value.
[0059] Furthermore, in practical application, a first register is provided on the first branch;
[0060] The step of inputting a first value to a designated OR gate based on the first branch includes:
[0061] S4: inputting a test vector into a first register based on the first branch to configure a first value into the first register, wherein the test vector matches the first value;
[0062] S5: Input a first value to the designated OR gate based on the first register.
[0063] For example, Figure 3 As shown, by setting the first register (such as Figure 3 TDR in the test vector) to write the first value through the first register, that is, to input the test vector to complete the configuration of the first value.
[0064] In some other embodiments, a data port is provided on the first branch;
[0065] The step of inputting a first value to a designated OR gate based on the first branch includes:
[0066] S6: Transmitting a test vector corresponding to the first value into the first branch based on the data port, so that the designated OR gate obtains the test vector and obtains the first value.
[0067] For example, Figure 4 As shown, the data port can be set on the first branch (such as Figure 4 or connecting the data port to the first branch to transmit a test vector corresponding to the first value to the first branch through the data port, so that the designated OR gate obtains the test vector and obtains the first value.
[0068] Further, in some embodiments, performing an OR operation on the first value and a second value output by the current test enable terminal based on the designated OR gate includes:
[0069] S7: Based on the designated OR gate, an OR operation is performed on the first value and the second value output by the current test enable terminal, and the OR operation result is a first value. The enabling condition of the clock gating is to assign the first value to the clock gating.
[0070] The opening condition of the clock gate in this embodiment is to be assigned a value of 1. As described above, the first value in this embodiment is 1 and the second value is 0, so the result of the OR operation is 1. When the second value is 1, the result of the OR operation is still 1. Therefore, the method of this embodiment can always obtain an OR operation result with a value of 1. When the result is input to the clock gating, the clock gating will open the clock gate based on the assigned value 1, allowing the clock circuit to transmit the time value to the register to be scanned. Based on this, the test equipment can quickly open the clock gating using a small number of test vectors at any stage, which significantly improves the test efficiency.
[0071] In some other embodiments, in the second stage, the output value of the test enable terminal is a first value, and the method further includes:
[0072] S8: If the current test phase is in the second phase, input a first value to a designated OR gate based on the first branch;
[0073] S9: performing an OR operation on the first value and the first value output by the current test enable terminal based on the designated OR gate, and inputting the OR operation result into the clock gating to enable the clock gating, wherein the OR operation result is the first value.
[0074] Exemplarily, in this embodiment, it is pointed out that only when the test stage is in the second stage, the first value will be input to the designated OR gate based on the first branch. Therefore, the system needs to first identify and determine the test stage, such as determining the current test stage by monitoring the test process, or determining the current test stage by the test path, and the current test stage can also be determined by the test parameters. When it is determined through analysis and judgment that the test stage is the second stage, the system will transmit the preset first value to the designated OR gate through the first branch, and at the same time, the test enable end will transmit the second value transmitted to the clock gating to the designated OR gate according to the preset procedure. At this time, the designated OR gate will obtain the first value and the second value. For example, the first value is 1 and the second value is 0. At this time, an OR operation can obtain an OR operation result with a value of 1. After obtaining the OR operation result, the first branch transmits the OR operation result to the clock gating, so that the clock gating opens the clock gate based on the obtained OR operation result, that is, the value 1.
[0075] like Figure 5 As shown, another embodiment of the present invention also provides a device 100 for reducing test vectors, including:
[0076] A first input interrupt module is used for inputting a first value to a designated OR gate based on a first branch during a scan test of a designated device, if the current test phase is in the first phase, wherein the designated OR gate is located between a test enable terminal and a clock gating and is connected to the first branch, wherein one end of the clock gating is respectively connected to a plurality of registers to be scanned, and the other end is connected to a test enable terminal, a clock circuit, and a control logic circuit, wherein the control logic circuit is used for controlling the clock gating switch when an output value of the test enable terminal is a second value, and when the test phase is in the first phase, an output value of the test enable terminal is the second value;
[0077] The first operation module is used to perform an OR operation on the first value and the second value output by the current test enable terminal according to the specified OR gate, and input the OR operation result into the clock gating to turn on the clock gating, allowing the clock circuit to transmit a time value to the register to be scanned, wherein the OR operation result matches the turn-on condition of the clock gating.
[0078] In some embodiments, inputting the first value to the designated OR gate based on the first branch includes:
[0079] A test vector is input to a designated OR gate based on the first branch, where the test vector is used to enable the designated OR gate to obtain a first value.
[0080] In some embodiments, inputting the first value to the designated OR gate based on the first branch includes:
[0081] A test vector is input to a designated OR gate based on the first branch, where the test vector is used to enable the designated OR gate to obtain a first value.
[0082] In some embodiments, a first register is provided on the first branch;
[0083] The step of inputting a first value to a designated OR gate based on the first branch includes:
[0084] Inputting a test vector into a first register based on the first branch to configure a first value into the first register, wherein the test vector matches the first value;
[0085] A first value is input to the designated OR gate based on the first register.
[0086] In some embodiments, a data port is provided on the first branch;
[0087] The step of inputting a first value to a designated OR gate based on the first branch includes:
[0088] A test vector corresponding to the first value is transmitted to the first branch based on the data port, so that the designated OR gate obtains the test vector and obtains the first value.
[0089] In some embodiments, performing an OR operation on the first value and a second value output by the current test enable terminal based on the specified OR gate includes:
[0090] Based on the designated OR gate, an OR operation is performed on the first value and the second value output by the current test enable terminal, and the OR operation result is the first value. The start condition of the clock gating is to assign the first value to the clock gating.
[0091] In some embodiments, in the second stage, the output value of the test enable terminal is a first value, and the method further includes:
[0092] If the current test phase is in the second phase, inputting a first value to a designated OR gate based on the first branch;
[0093] An OR operation is performed on the first value and the first value output by the current test enable terminal based on the designated OR gate, and the OR operation result is input into the clock gating to enable the clock gating, wherein the OR operation result is the first value.
[0094] Another embodiment of the present invention provides an electronic device, including:
[0095] It comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps in the method for reducing test vectors as described in any one of the above embodiments are implemented.
[0096] Another embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the method for reducing test vectors as described in any of the above embodiments are implemented.
[0097] It should be noted that the computer storage medium of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access storage medium (RAM), a read-only storage medium (ROM), an erasable programmable read-only storage medium (EPROM or flash memory), an optical fiber, a portable compact disk read-only storage medium (CD-ROM), an optical storage medium, a magnetic storage medium, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program configured to be used by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, antenna, optical cable, RF, etc., or any suitable combination of the above.
[0098] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of protection of the present application is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of different aspects of one or more embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0099] The above embodiments are only exemplary embodiments of the present invention and are not intended to limit the present invention. The protection scope of the present invention is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present invention within the essence and protection scope of the present invention, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present invention.
Claims
1. A method to reduce test vectors, It is characterized in that include: During a scan test of a designated device, if the current test phase is in the first phase, a first value is input into a designated OR gate based on a first branch, the designated OR gate is located between a test enable terminal and a clock gating, and is connected to the first branch, one end of the clock gating is respectively connected to a plurality of registers to be scanned, and the other end is connected to a test enable terminal, a clock circuit, and a control logic circuit, the control logic circuit is used to control the clock gating switch when the output value of the test enable terminal is a second value, and when the test phase is in the first phase, the output value of the test enable terminal is the second value; Based on the designated OR gate, an OR operation is performed on the first value and the second value output by the current test enable terminal, and the OR operation result is input into the clock gating to turn on the clock gating, allowing the clock circuit to transmit a time value to the register to be scanned, wherein the OR operation result matches the turn-on condition of the clock gating.
2. The method for reducing test vectors according to claim 1, It is characterized in that The step of inputting a first value to a designated OR gate based on the first branch includes: A test vector is input to a designated OR gate based on the first branch, where the test vector is used to enable the designated OR gate to obtain a first value.
3. The method for reducing test vectors according to claim 1, It is characterized in that The first branch is provided with a first register; The step of inputting a first value to a designated OR gate based on the first branch includes: Inputting a test vector into a first register based on the first branch to configure a first value into the first register, wherein the test vector matches the first value; A first value is input to the designated OR gate based on the first register.
4. The method for reducing test vectors according to claim 1, It is characterized in that The first branch is provided with a data port; The step of inputting a first value to a designated OR gate based on the first branch includes: A test vector corresponding to the first value is transmitted to the first branch based on the data port, so that the designated OR gate obtains the test vector and obtains the first value.
5. The method for reducing test vectors according to claim 1, It is characterized in that The performing an OR operation on the first value and a second value output by the current test enable terminal based on the designated OR gate includes: Based on the designated OR gate, an OR operation is performed on the first value and the second value output by the current test enable terminal, and the OR operation result is the first value. The start condition of the clock gating is to assign the first value to the clock gating.
6. The method for reducing test vectors according to claim 1, It is characterized in that In the second stage, the output value of the test enable terminal is a first value, and the method further includes: If the current test phase is in the second phase, inputting a first value to a designated OR gate based on the first branch; An OR operation is performed on the first value and the first value output by the current test enable terminal based on the designated OR gate, and the OR operation result is input into the clock gating to enable the clock gating, wherein the OR operation result is the first value.
7. A device for reducing test vectors, It is characterized in that include: A first input interrupt module is used for inputting a first value to a designated OR gate based on a first branch during a scan test of a designated device, if the current test phase is in the first phase, wherein the designated OR gate is located between a test enable terminal and a clock gating and is connected to the first branch, wherein one end of the clock gating is respectively connected to a plurality of registers to be scanned, and the other end is connected to a test enable terminal, a clock circuit, and a control logic circuit, wherein the control logic circuit is used for controlling the clock gating switch when an output value of the test enable terminal is a second value, and when the test phase is in the first phase, an output value of the test enable terminal is the second value; The first operation module is used to perform an OR operation on the first value and the second value output by the current test enable terminal according to the specified OR gate, and input the OR operation result into the clock gating to turn on the clock gating, allowing the clock circuit to transmit a time value to the register to be scanned, wherein the OR operation result matches the turn-on condition of the clock gating.
8. The device for reducing test vectors according to claim 7, It is characterized in that The step of inputting a first value to a designated OR gate based on the first branch includes: A test vector is input to a designated OR gate based on the first branch, where the test vector is used to enable the designated OR gate to obtain a first value.
9. The device for reducing test vectors according to claim 7, It is characterized in that The first branch is provided with a first register; The step of inputting a first value to a designated OR gate based on the first branch includes: Inputting a test vector into a first register based on the first branch to configure a first value into the first register, wherein the test vector matches the first value; A first value is input to the designated OR gate based on the first register.
10. An electronic device, include: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method for reducing test vectors as described in any one of claims 1 to 6 is implemented.
