Data processing method, device, electronic device and computer readable storage medium

By adaptively adjusting the number of fill values ​​in the test vector, the problems of energy consumption and test coverage in digital integrated circuit testing are balanced, and the optimal balance of energy consumption and coverage in the chip test stage is achieved.

CN118655453BActive Publication Date: 2024-11-05XIAN JIANSI TECH CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202411150174.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-11-05
Estimated Expiration
2044-08-21

AI Technical Summary

Technical Problem

During the testing process of digital integrated circuits, high logic flip frequency leads to an increase in energy consumption, while low logic flip frequency leads to a decrease in test coverage. How to balance energy consumption and test coverage has become an urgent problem.

Method used

By adaptively adjusting the number of fill values ​​in the test vector, determine the number of fill values ​​added after each bit based on the target number and target number, balance the flip rate and test coverage rate, and avoid energy consumption caused by too much or too little fill values ​​and Coverage imbalance.

Benefits of technology

The energy consumption reduction and test coverage improvement in the chip test stage are achieved. By reasonably setting the number of register bits and fill value, the length and flip rate of the test data are optimized to ensure that the energy consumption and coverage are optimally balanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118655453B_ABST
    Figure CN118655453B_ABST
Patent Text Reader

Abstract

The present disclosure provides a data processing method, device, electronic device and computer-readable storage medium, which belongs to the technical field of integrated circuit chip design. The method includes: obtaining the target number of bits of a test vector allowed to be input at one time and the target number of test scan chains; according to the target number of bits and the target number, determining the number of padding values ​​added after each bit of the test vector. The method can adaptively adjust the number of padding values ​​in the test vector to balance the energy consumption and test coverage of the chip under test.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of integrated circuit chip design, and in particular to a data processing method, device, electronic device and computer-readable storage medium. Background Art

[0002] In the operation of digital integrated circuits, the transition of the logic state from logic 0 to logic 1 or vice versa is defined as logic flip. The higher the frequency of logic flip, the higher the energy consumption caused. In the chip testing phase, a series of test data consisting of alternating logic 0 and logic 1 will be input into the chip, and then the result will be verified to be consistent with the preset value. The frequency of logic flip in this test data is directly related to the energy consumption level of the chip being tested.

[0003] To this end, a low-power module is integrated in the test vector compression and decompression module. Through the logic intervention of the low-power module, the logic flip frequency in the test data is effectively reduced, thereby achieving the purpose of reducing chip energy consumption during the chip testing phase.

[0004] However, the higher the logic flip frequency, the higher the test coverage and the higher the energy consumption; the lower the logic flip frequency, the lower the test coverage and the lower the energy consumption. Therefore, how to balance the test coverage and energy consumption has become an urgent problem to be solved. Summary of the invention

[0005] The present disclosure provides a data processing method, device, electronic device and computer-readable storage medium; the method can adaptively adjust the number of fill values ​​in a test vector to balance the energy consumption and test coverage of a chip under test.

[0006] The technical solution of the present disclosure is achieved as follows:

[0007] In a first aspect, the present disclosure provides a data processing method, the method comprising: obtaining a target number of bits of a test vector allowed to be input at one time and a target number of test scan chains; determining the number of padding values ​​to be added after each bit of the test vector according to the target number of bits and the target number of bits. Since the number of bits of a test vector allowed to be input at one time and the number of test scan chains are the main factors affecting the flip rate, determining the number of padding values ​​to be added after each bit of the test vector according to the two can better balance the flip rate and the test coverage, and avoid the problem of too high a flip rate or too low a test coverage due to too many or too few padding values ​​being added.

[0008] In some embodiments, the number of padding values ​​added after each bit of the test vector is determined according to the target number of bits and the target number, including: determining an impact factor according to the target number of bits; and determining the number of padding values ​​added after each bit of the test vector according to the impact factor and the target number of bits. The method for determining the number of padding values ​​is simple and has low computing power requirements, so that the efficiency of determining the number of padding values ​​is also high.

[0009] In some embodiments, determining the impact factor according to the target quantity includes: determining a preset value corresponding to a range to which the target quantity belongs; and determining the impact factor according to a ratio of the target quantity to the preset value. The final impact factor can be quickly determined according to the pre-stored correspondence between the range of the number of test scan chains and the preset value.

[0010] In some embodiments, determining the preset value corresponding to the range to which the target quantity belongs includes: determining the preset value corresponding to the range to which the target quantity belongs according to an input indicator, wherein the input indicator includes at least one of the following: a flip rate and a test coverage rate. In this way, different test needs can be met to satisfy personalized needs.

[0011] In some embodiments, determining the impact factor according to the target quantity includes: when the target quantity is in the first range, determining the impact factor as the first value; when the target quantity is in the second range, determining the impact factor as the second value; when the target quantity is in the third range, determining the impact factor as the third value; when the target quantity is in the fourth range, determining the impact factor as the fourth value; wherein any value in the first range is less than any value in the second range, any value in the second range is less than any value in the third range, and any value in the third range is less than any value in the fourth range. Compared with calculation, this method only requires searching, which is more efficient.

[0012] In some embodiments, determining the number of padding values ​​added after each bit of the test vector according to the influencing factor and the target number of bits includes: determining the number of padding values ​​added after each bit of the test vector according to the ratio of the influencing factor to the target number of bits. Since the influencing factor affects the total number of padding values ​​and the target number of bits affects the number of padding values ​​added to each bit, the number of padding values ​​added after each bit determined according to the ratio of the two is more accurate.

[0013] In some embodiments, the number of padding values ​​added after each bit of the test vector is determined based on the impact factor and the target number of bits, including: when the impact factor is divisible by the target number, the number of padding values ​​added after each bit of the test vector is determined based on the quotient; when the impact factor is not divisible by the target number, the number of padding values ​​added after each bit of the test vector is determined based on the quotient and the remainder. When the sum of the lengths of each bit of the test vector after adding the padding value is equal to the impact factor, the determined number of additions is the most accurate. Therefore, in this embodiment, for those that are not divisible, the remainder is also allocated, which further improves the accuracy of the number of padding values ​​added, thereby effectively balancing the test coverage and the flip rate.

[0014] In a second aspect, the present disclosure provides a data processing device, which includes: an acquisition part and a determination part; the acquisition part is configured to acquire the target number of bits of a test vector allowed to be input at one time and the target number of test scan chains; the determination part is configured to determine the number of padding values ​​added after each bit of the test vector based on the target number of bits and the target number.

[0015] In a third aspect, the present disclosure provides an electronic device comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the data processing method described in the first aspect.

[0016] In a fourth aspect, the present disclosure provides a computer-readable storage medium storing a program or instruction, which, when executed by a processor, implements the steps of the data processing method described in the first aspect.

[0017] In a fifth aspect, the present disclosure provides a computer program product, wherein the computer program product includes a computer program or instructions, and when the computer program product runs on a processor, the processor executes the computer program or instructions to implement the steps of the data processing method as described in the first aspect.

[0018] In a sixth aspect, the present disclosure provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the data processing method as described in the first aspect.

[0019] The present disclosure provides a data processing method, which includes: obtaining a target number of bits of a test vector allowed to be input at one time and a target number of test scan chains; determining the number of padding values ​​added after each bit of the test vector according to the target number of bits and the target number. Since the number of bits of a test vector allowed to be input at one time and the number of test scan chains are the main factors affecting the flip rate, determining the number of padding values ​​added after each bit of the test vector according to the two can better balance the flip rate and the test coverage, and avoid the problem of too high a flip rate or too low a test coverage due to too many or too few padding values ​​being added. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A schematic diagram of the structure of a test vector compression and decompression module integrated with a low power consumption module provided by the present disclosure;

[0021] Figure 2 One of the flowcharts of the data processing method provided by the present disclosure;

[0022] Figure 3 The second flowchart of the data processing method provided by the present disclosure;

[0023] Figure 4 A structural block diagram of a data processing device provided by the present disclosure;

[0024] Figure 5 A schematic diagram of the hardware structure of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the present disclosure to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of the present application.

[0026] The terms "first", "second", etc. in the specification of this application are used to distinguish similar objects, rather than to describe a specific order or precedence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the present disclosure can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more.

[0027] The test vector compression and decompression module refers to a hardware or software module embedded in a digital integrated circuit for implementing deterministic testing. It is mainly used to decompress the test vector and pass it into the test scan chain, and to compress the data response and pass it out of the test scan chain.

[0028] The test scan chain refers to the logic chain used to transmit test data in digital integrated circuit testing. The test data is a sequence of logic 0 and logic 1, which is input into the chip to detect whether the logic function of the chip is working properly. The main function of the test scan chain is to input the test data from the outside into the chip during the test process, and output the test results from the inside of the chip to the outside.

[0029] In order to reduce the flip rate of test data, a low-power module is integrated in the test vector compression and decompression module. Through the logic intervention of this module, the number of logic flips in the test data can be effectively reduced, thereby achieving the purpose of reducing chip energy consumption.

[0030] like Figure 1 As shown, a test vector compression and decompression module 10 is integrated with a low power module 101 (shown in a dotted box in the figure). The test vector S1 is transmitted to the decompressor (originally in the test vector compression and decompression module without the low power module integrated) through the input channel, and is decompressed by the decompressor to obtain the first test data S2. The test vector S1 inputs the first bit of data into register 0 through the input channel [0], and adds a digit of 0 (i.e., a fill value) after the first bit of data according to the number of bits of register 0, and the sum of the number of bits of the first bit of data and the added 0 is equal to the number of bits of register 0; the test vector S1 inputs the second bit of data into register 1 through the input channel [1], and adds a digit of 0 (i.e., a fill value) after the second bit of data according to the number of bits of register 1, and the sum of the number of bits of the second bit of data and the added 0 is equal to the number of bits of register 1; the test vector S1 inputs the third bit of data into register 2 through the input channel [2], and adds a digit of 0 (i.e., a fill value) after the third bit of data according to the number of bits of register 2, and the sum of the number of bits of the third bit of data and the added 0 is equal to the number of bits of register 2. The data with added 0s are combined in the order of the input test vector S1 to obtain a reorganized test vector S3. The low-power module decoder decodes the reorganized test vector S3 to obtain the second test data S4. The first test data S2 and the second test data S4 are logically ANDed to obtain the target test data S5. The target test data S5 is transmitted to the objects under test 1 to N through the test scan chains 1 to N of the chip under test 20 to realize the test of the chip under test.

[0031] It should be noted that the test scan chains shown in the figure correspond to the tested objects one to one, and in practice, the test scan chains and the tested objects may also have a one-to-many relationship. And the number of bits of the decompressed first test data S2 and the decoded second test data S4 is the same, and is equal to the number of test scan chains included in the tested chip 20, that is, the number of bits of the first test data S2 and the second test data S4 is N.

[0032] Exemplarily, if the test vector S1 is "101" and the number of bits of register 0 is 3, then two zeros are added after the first bit "1" through register 0 to obtain "100"; if the number of bits of register 1 is 4, then three zeros are added after the second bit "0" through register 0 to obtain "0000"; if the number of bits of register 2 is 5, then four zeros are added after the third bit "1" through register 0 to obtain "10000". The reorganized test vector S3 obtained by recombining in the order of "101" is "100000010000". If the number of test scan chains in the chip under test is 1000, the test vector S1 "101" is decompressed into the first test data S2 with a data length of 1000, and the reorganized test vector S3 "100000010000" is also decoded into the second test data S4 with a data length of 1000, and then a logical AND operation is performed to use it as the final target test data to test the chip under test. It can be seen that the number of bits of the register determines the number of padding values ​​added to each bit of the test vector. Therefore, it is crucial to reasonably set the number of bits of each register.

[0033] From the above description, it can be seen that after adding padding values ​​to the test vector, the test data obtained by the decompression algorithm will have a lower flip rate than the test data obtained by directly decompressing the test vector. However, adding too many padding values ​​may reduce the test coverage. For example, the test data obtained by the original test vector can cover 1,000 faults. Due to too many padding values ​​added, the faults that can be covered by the test data may be reduced to 500. If too few padding values ​​are added, the flip rate is still large, and the effect of reducing energy consumption is not obvious.

[0034] Therefore, the present disclosure aims to provide a data processing method capable of adaptively adjusting the number of register bits, that is, adaptively adjusting the number of fill values ​​in a test vector, so as to balance the energy consumption and test coverage of a chip under test.

[0035] The data processing method provided by the present disclosure is described in detail below through specific embodiments in conjunction with the accompanying drawings.

[0036] like Figure 2 As shown, the present disclosure provides a data processing method, which may include the following steps S201 to S202.

[0037] In step S201, the target number of bits of the test vector allowed to be input at one time and the target number of test scan chains are obtained.

[0038] In step S202, the number of padding values ​​added after each bit of the test vector is determined according to the target bit number and the target quantity.

[0039] Combination Figure 1As can be seen from the description, since the number of test scan chains is the same as the length of the test data input to the chip under test, when the flip rate remains unchanged, the longer the test data is, the more padding values ​​need to be added, and the shorter the test data is, the fewer padding values ​​need to be added. Therefore, the number of test scan chains affects the number of padding values ​​that need to be filled.

[0040] The number of channels of the test vector compression and decompression module (i.e., the number of test vector bits allowed to be input at one time) is consistent with the number of registers. Since each register is used to store one bit in the test vector and the added padding value, the number of bits of data that the register can store is equal to the number of bits of the padding value plus one. When the length of the test data (the same as the number of test scan chains) is determined, the more channels there are, the fewer padding values ​​are required, and the fewer channels there are, the more padding values ​​are required.

[0041] Therefore, the factors that affect the flip rate of test data and the energy consumption of the chip under test include: the target number of bits of the test vector allowed to be input at one time and the target number of test scan chains. As these two factors change, the number of padding values ​​added after each bit of the test vector is adaptively adjusted so that the flip rate of the test data input to the chip under test is much smaller than the preset flip rate and the test coverage is greater than the coverage threshold. The coverage threshold is determined based on the test coverage when not flipped. For example, if the test coverage when not flipped is 10000, the coverage threshold can be set to 9500 or other values ​​that are less different from the test coverage when not flipped.

[0042] Optionally, the number of padding values ​​added after each bit of the test vector is determined based on the target number of bits and the target number. The number of padding values ​​added after each bit of the test vector can be predicted by an addition amount prediction model based on the input target number of bits and the target number. Specifically, a training set is constructed, and the training set includes multiple sample data, each sample data includes: the number of test vector bits allowed to be input at one time, the number of test scan chains, and the number of padding values ​​expected to be added after each bit of the test vector; a pre-trained neural network model is obtained; the pre-trained neural network is trained through the training set, and the pre-trained neural network model is subjected to supervised learning. When the difference between the number of padding values ​​added after each bit of the predicted test vector and the number of padding values ​​expected to be added is less than the difference threshold, a trained addition amount prediction model is obtained. The target number of bits and the target number are input into the addition amount prediction model, and the predicted number of padding values ​​added after each bit of data can be output.

[0043] Through the data processing method provided by the present invention, since the number of bits of the test vector allowed to be input at one time and the number of test scan chains are the main factors affecting the flip rate, the number of padding values ​​added after each bit of the test vector is determined based on the two, which can better balance the flip rate and test coverage and avoid the problem of too high flip rate or too low test coverage due to too many or too few padding values ​​added.

[0044] By deploying the addition amount prediction model, the number of padding values ​​added after each bit of the test vector can be predicted, but the deployment of the addition amount prediction model requires more memory and the training process is time-consuming. Figure 2 ,like Figure 3 As shown, the above step S202 determines the number of padding values ​​added after each bit of the test vector according to the target bit number and the target quantity, which can be specifically implemented by the following steps S202a and S202b.

[0045] In step S202a, the impact factor is determined according to the target quantity.

[0046] In step S202b, the number of padding values ​​added after each bit of the test vector is determined according to the impact factor and the target bit number.

[0047] The impact factor indicates the total number of padding values ​​added after each bit of the test vector. The difference between the impact factor and the total number of padding values ​​added is within the difference threshold. Depending on different calculation methods, the difference between the impact factor and the total number of padding values ​​added may be different.

[0048] For determining the impact factor according to the target quantity, in some achievable methods, a preset value corresponding to the range to which the target quantity belongs is determined; and the impact factor is determined according to the ratio of the target quantity to the preset value. A one-to-one correspondence between multiple ranges and preset values ​​is pre-stored, so as to determine the preset value corresponding to the range in which the target quantity belongs, and then calculate the ratio of the target quantity to the preset value. If the ratio is an integer, the ratio is determined as the impact factor; if the ratio is not an integer, the ratio can be rounded, and the rounded value is determined as the impact factor. The specific rounding method can be rounding up, rounding down, or rounding up.

[0049] In different test requirements, there may be a focus on test coverage, and not high requirements on whether power consumption needs to be reduced, or some chips under test with strict power consumption requirements but low requirements on test coverage. Therefore, in order to meet different test requirements, the preset value corresponding to the range to which the target quantity belongs can be determined as follows: according to the input indicators, the preset value corresponding to the range to which the target quantity belongs is determined, and the input indicators include at least one of the following: flip rate, test coverage.

[0050] The value of the input indicator is allowed to be customized by the user. The preset value corresponding to the input indicator and the target quantity is determined based on the correspondence between multiple pre-stored input indicators, ranges and preset values. Due to limited storage space, one scenario is to provide the user with optional values ​​of the input indicator, and all optional values ​​will be stored to avoid the user entering an input indicator value that is not stored; another scenario is to allow the user to enter any value, and the corresponding preset value is determined by linear interpolation based on the stored value of the input indicator.

[0051] In order to further save computing power, for determining the impact factor based on the target quantity, in other achievable methods, when the target quantity is within the first range, the impact factor is determined to be a first value; when the target quantity is within the second range, the impact factor is determined to be a second value; when the target quantity is within the third range, the impact factor is determined to be a third value; when the target quantity is within the fourth range, the impact factor is determined to be a fourth value; wherein any value in the first range is smaller than any value in the second range, any value in the second range is smaller than any value in the third range, and any value in the third range is smaller than any value in the fourth range.

[0052] It should be noted that the division of the range is only an exemplary description. In practice, the range of division may be more or less, and the present disclosure does not make any specific limitation.

[0053] Optionally, the value of the impact factor is directly determined according to the range to which the input indicator and the target quantity belong. That is, the correspondence between multiple input indicators, ranges and values ​​of the impact factor is pre-stored. The specific description of the input indicator can refer to the description of the input indicator above, which will not be repeated here.

[0054] Regarding determining the number of padding values ​​to be added after each bit of the test vector based on an impact factor and a target number of bits, in some implementable ways, the number of padding values ​​to be added after each bit of the test vector is determined based on a ratio of the impact factor to the target number of bits.

[0055] When the ratio of the impact factor and the target number of digits is an integer, the ratio is determined as the impact factor; when the ratio of the impact factor and the target number of digits is not an integer, the ratio can be rounded and the rounded value can be determined as the impact factor. The specific rounding method can be rounding up, rounding down or rounding up.

[0056] Regarding determining the number of padding values ​​to be added after each bit of the test vector based on an impact factor and a target number of bits, in other achievable methods, when the impact factor is divisible by the target number, the number of padding values ​​to be added after each bit of the test vector is determined based on the quotient; when the impact factor is not divisible by the target number, the number of padding values ​​to be added after each bit of the test vector is determined based on the quotient and the remainder.

[0057] Regarding the number of padding values ​​to be added after each bit of the test vector is determined based on the quotient and the remainder, specifically, the remainders can be allocated sequentially in the order of the test vector from high to low bits, or the remainders can be randomly allocated to any bit in the test vector. The specific allocation method is not limited in this disclosure.

[0058] Taking the following steps to determine the number of padding values ​​added after each bit of the test vector as an example, determine the preset value corresponding to the range to which the target number belongs; determine the impact factor based on the ratio of the target number to the preset value; when the impact factor is divisible by the target number, determine the number of padding values ​​added after each bit of the test vector based on the quotient; when the impact factor is not divisible by the target number, determine the number of padding values ​​added after each bit of the test vector based on the quotient and the remainder.

[0059] Exemplarily, four ranges of preset values ​​corresponding to the ranges are pre-stored, namely: the number of test scan chains is less than or equal to 100, and the corresponding preset value is 2; the number of test scan chains is greater than 100 and less than or equal to 500, and the corresponding preset value is 3; the number of test scan chains is greater than 500 and less than or equal to 1000, and the corresponding preset value is 4; the number of test scan chains is greater than 1000, and the corresponding preset value is 5.

[0060] For the case where the number of test scan chains is less than or equal to 100, the number of test scan chains is 90, and the number of bits of the test vector allowed to be input at one time is 2. The impact factor is 90, the ratio of 2 is 45, and the result of 45 divided by 2 is 22 with a remainder of 1. The sum of the length of the first bit and the padding value of the test vector is: 22+1=23, that is, 22 padding values ​​need to be added after the first bit; the sum of the length of the second bit and the padding value of the test vector is: 22, that is, 21 padding values ​​need to be added after the second bit.

[0061] When the number of test scan chains is greater than 100 and less than or equal to 500, the number of test scan chains is 384, and the number of bits of the test vector allowed to be input at one time is 4. The impact factor is 385, which is a ratio of 3 to 3, which is 128.333.... Rounded to 128, 128 divided by 4 is 32, and the sum of the lengths of the first to fourth bits of the test vector and the padding value is 32, that is, 31 padding values ​​need to be added to each bit after the first to fourth bits.

[0062] When the number of test scan chains is greater than 500 and less than or equal to 1000, the number of test scan chains is 952, and the number of test vector bits allowed to be input at one time is 3. The impact factor is that the ratio of 952 to 4 is 238, and the result of 238 divided by 3 is 79 with a remainder of 1. The sum of the length of the first bit and the padding value of the test vector is: 79+1=80, that is, 79 padding values ​​need to be added after the first bit; the sum of the length of the second bit, the third bit and the padding value is: 79, that is, 78 padding values ​​need to be added to each bit after the second and third bits.

[0063] When the number of test scan chains is greater than 1000, the number of test scan chains is 1200, and the number of test vector bits allowed to be input at one time is 3. The impact factor is 1200, and the ratio of 5 is 240. The result of 240 divided by 3 is 80. The sum of the lengths of the first to third bits and the padding value of the test vector is 80, that is, 79 padding values ​​need to be added to each bit after the first to third bits.

[0064] Based on the same inventive concept as the above technical solution, see Figure 4 , which shows a data processing device 40 provided by the present disclosure, and the data processing device 40 includes: an acquisition part 401 and a determination part 402; the acquisition part 401 is configured to obtain the target number of bits of the test vector allowed to be input at one time and the target number of test scan chains; the determination part 402 is configured to determine the number of padding values ​​added after each bit of the test vector according to the target number of bits and the target number.

[0065] In some examples of the present disclosure, the determination part 402 is specifically configured to determine an impact factor according to a target number; and determine the number of padding values ​​to be added after each bit of the test vector according to the impact factor and the target number of bits.

[0066] In some examples of the present disclosure, the determining part 402 is specifically configured to determine a preset value corresponding to a range to which the target quantity belongs; and determine the impact factor according to a ratio of the target quantity to the preset value.

[0067] In some examples of the present disclosure, the determination part 402 is specifically configured to determine a preset value corresponding to a range to which the target quantity belongs according to an input indicator, and the input indicator includes at least one of the following: a flip rate and a test coverage rate.

[0068] In some examples of the present disclosure, the determination part 402 is specifically configured to determine the impact factor as a first value when the target number is within a first range; determine the impact factor as a second value when the target number is within a second range; determine the impact factor as a third value when the target number is within a third range; and determine the impact factor as a fourth value when the target number is within a fourth range; wherein any value in the first range is smaller than any value in the second range, any value in the second range is smaller than any value in the third range, and any value in the third range is smaller than any value in the fourth range.

[0069] In some examples of the present disclosure, the determination part 402 is specifically configured to determine the number of padding values ​​added after each bit of the test vector according to the ratio of the impact factor to the target bit number.

[0070] In some examples of the present disclosure, the determination part 402 is specifically configured to determine the number of padding values ​​to be added after each bit of the test vector based on the quotient when the impact factor is divisible by the target number; and to determine the number of padding values ​​to be added after each bit of the test vector based on the quotient and the remainder when the impact factor is not divisible by the target number.

[0071] It should be noted that the above-mentioned data processing device 40 can be an electronic device in the above-mentioned method embodiment of the present disclosure, or it can be a functional module and / or functional entity in the electronic device that can implement the functions of the device embodiment, and the embodiment of the present application is not limited.

[0072] In the embodiments of the present application, each module can implement the data processing method provided in the above method embodiments and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0073] Please refer to Figure 5 , which shows a structural block diagram of an electronic device provided by an exemplary embodiment of the present disclosure. In some examples, the electronic device may be at least one of a smart phone, a smart watch, a desktop computer, a laptop, a virtual reality terminal, an augmented reality terminal, a wireless terminal, and a laptop computer. The electronic device has a communication function and can access a wired network or a wireless network. The electronic device may generally refer to one of a plurality of terminals, and those skilled in the art may know that the number of the above terminals may be more or less. It can be understood that the electronic device undertakes the calculation and processing work of the technical solution of the present disclosure, and the present disclosure does not limit this.

[0074] like Figure 5 As shown, the electronic device in the present disclosure may include one or more of the following components: a processor 510 and a memory 520 .

[0075] Optionally, the processor 510 uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 520, and calling data stored in the memory 520. Optionally, the processor 510 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 510 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a baseband chip. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the touch display; the NPU is used to implement artificial intelligence (AI) functions; and the baseband chip is used to process wireless communications. It is understandable that the above baseband chip may not be integrated into the processor 510, but may be implemented by a separate chip.

[0076] The memory 520 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 520 includes a non-transitory computer-readable storage medium. The memory 520 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 520 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above various method embodiments, etc.; the data storage area may store data created according to the use of the electronic device, etc.

[0077] In addition, those skilled in the art can understand that the structure of the electronic device shown in the above drawings does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the electronic device also includes a display screen, a camera assembly, a microphone, a speaker, a radio frequency circuit, an input unit, a sensor (such as an acceleration sensor, an angular velocity sensor, a light sensor, etc.), an audio circuit, a WiFi module, a power supply, a Bluetooth module and other components, which will not be described in detail here.

[0078] The present disclosure also provides a computer-readable storage medium, which stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the data processing method described in the above embodiments.

[0079] The present disclosure also provides a computer program product, which includes computer instructions, which are stored in a computer-readable storage medium; a processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes to implement the data processing methods described in the above embodiments.

[0080] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned data processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0081] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0082] In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices, servers and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0083] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0084] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or 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 units.

[0085] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0086] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the present disclosure can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. Storage media can be any available media that can be accessed by a general or special-purpose computer.

[0087] It should be noted that the technical solutions described in the present disclosure can be combined arbitrarily without conflict.

[0088] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A data processing method for digital integrated circuit testing, characterized in that: The method comprises: Get the target number of test vectors allowed to be input at one time and the target number of test scan chains; Determine the impact factor based on the target quantity; Determine the number of padding values ​​added after each bit of the test vector according to the impact factor and the target number of bits; Determining the impact factor according to the target quantity includes: Determine a preset value corresponding to the range to which the target quantity belongs; Determining the impact factor according to the ratio of the target quantity to a preset value; The determining of a preset value corresponding to a range to which the target quantity belongs includes: According to input indicators, a preset value corresponding to a range to which the target quantity belongs is determined, and the input indicators include at least one of the following: a flip rate and a test coverage rate.

2. The method according to claim 1, characterized in that: Determining the impact factor according to the target quantity includes: When the target quantity is within a first range, determining the impact factor to be a first value; When the target quantity is within a second range, determining the impact factor to be a second value; When the target quantity is within a third range, determining the impact factor to be a third value; When the target quantity is within a fourth range, determining the impact factor to be a fourth value; Among them, any value in the first range is smaller than any value in the second range, any value in the second range is smaller than any value in the third range, and any value in the third range is smaller than any value in the fourth range.

3. The method according to claim 1, characterized in that The step of determining the number of padding values ​​added after each bit of the test vector according to the impact factor and the target number of bits includes: The number of padding values ​​added after each bit of the test vector is determined based on the ratio of the impact factor to the target number of bits.

4. The method according to claim 1, characterized in that: The step of determining the number of padding values ​​added after each bit of the test vector according to the impact factor and the target number of bits includes: In the case where the impact factor is divisible by the target number, determining the number of padding values ​​added after each bit of the test vector according to the quotient; When the impact factor cannot be divided by the target number, the number of padding values ​​added after each bit of the test vector is determined according to the quotient and the remainder.

5. A data processing device for digital integrated circuit testing, characterized in that: The device comprises: an acquisition part and a determination part; The acquisition part is configured to acquire the target number of test vector bits allowed to be input at one time and the target number of test scan chains; The determining part is configured to determine a preset value corresponding to a range to which the target quantity belongs; And, determining an impact factor according to the ratio of the target quantity to a preset value; and, determining a preset value corresponding to a range to which the target quantity belongs according to an input indicator, wherein the input indicator includes at least one of the following: a flip rate and a test coverage rate; And, according to the target bit number and the target quantity, the number of padding values ​​added after each bit of the test vector is determined.

6. An electronic device, characterized in that: The invention comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the data processing method for digital integrated circuit testing as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the data processing method for digital integrated circuit testing according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • High-efficiency integrated circuit testability design method based on machine learning

    CN113128147A

  • Method for positioning error of logic system design, electronic equipment and storage medium

    CN115168190A

  • Chip testability design test method, test platform and generation method and device thereof

    CN115684895A

  • Method for generating test vector, electronic equipment and storage medium

    CN116775386A

  • Test circuit and test method

    CN116804696A