Chip static power consumption prediction method, device, electronic device and storage medium

By fitting the model of the relationship between the chip's static leakage current and the working voltage, the difficult problem of measuring the chip's static power consumption at a specific voltage is solved, and accurate prediction and performance evaluation of the chip's power consumption are achieved.

CN113988469BActive Publication Date: 2024-09-24HYGON INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111366571.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-17
Publication Date
2024-09-24
Estimated Expiration
2041-11-17

AI Technical Summary

Technical Problem

Existing technology cannot accurately measure the static power consumption of a chip at a specific voltage. It is limited by test time and cost and cannot obtain sufficient voltage point data.

Method used

A chip static power consumption prediction method and device are proposed. By obtaining the relationship model between the static leakage current and the operating voltage of the chip under test, the exponential function expression Sidd=exp(a*Vdd+b)+c is used, combined with the least squares method to estimate Combined, determine the model parameters a, b, c, and then calculate the static power consumption under a specific voltage.

Benefits of technology

It achieves accurate prediction of the chip's static power consumption at a specific voltage, improving the accuracy and evaluation performance of chip power consumption analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113988469B
    Figure CN113988469B
Patent Text Reader

Abstract

The present invention provides a method and device for predicting chip static power consumption, comprising: obtaining the current working voltage of the chip to be tested; obtaining the static leakage current under the current working voltage according to the relationship model between the static leakage current and the working voltage of the chip to be tested and the current working voltage; obtaining the static power consumption of the chip to be tested under the current working voltage according to the static leakage current and the current working voltage. The present invention can obtain the static power consumption of the chip under a specific voltage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of chip power consumption testing, and in particular to a method, device, electronic equipment and storage medium for predicting static power consumption of a chip. Background Art

[0002] In the field of chip design, performance-to-power ratio has always been a key issue to consider for chips. Static power consumption will have a significant impact on the performance and yield of the chip, and special attention should be paid to the static power consumption of the chip. Static power consumption refers to the power consumption generated by static leakage current, i.e. leakage current, when the chip is powered on normally but not working. Static power consumption can be expressed by the following formula:

[0003] P static =S idd *V dd ,

[0004] Among them, P static is the static power consumption, S idd is the static leakage current, V dd is the operating voltage, so S idd Whether it is accurate will directly affect the calculation of static power consumption. Due to the problem of test time and cost, the static leakage current can only be measured at a limited number of voltage points during product testing, and the static power consumption at a specific voltage cannot be obtained. Summary of the invention

[0005] In order to solve the above problems, the present invention provides a method and device for predicting static power consumption of a chip, which can obtain the static power consumption of the chip under a specific voltage.

[0006] In one aspect, the present invention provides a method for predicting static power consumption of a chip, comprising:

[0007] Get the current operating voltage of the chip under test;

[0008] According to the static leakage current and working voltage relationship model of the chip to be tested and the current working voltage, the static leakage current under the current working voltage is obtained;

[0009] The static power consumption of the chip under test at the current operating voltage is obtained according to the static leakage current and the current operating voltage.

[0010] Optionally, for any chip to be tested, the expression of the relationship model between the static leakage current and the working voltage of the chip to be tested is:

[0011] S idd =exp(a*V dd +b)+c, where S idd is the static leakage current, V ddis the operating voltage, a, b, c are model parameters.

[0012] Optionally, the value range of the model parameter c is obtained based on an additional static leakage current other than the exponential leakage current, and the additional static leakage current includes at least one of the following currents: a PN junction reverse bias current and a gate oxide tunneling current.

[0013] Optionally, the method further comprises:

[0014] Before obtaining the current working voltage of the chip under test, determining a relationship model between the static leakage current and the working voltage of the chip under test;

[0015] The method for determining the relationship model between the static leakage current and the operating voltage of the chip to be tested includes:

[0016] The model parameter c is traversed and assigned at set intervals. According to the assignment of each model parameter c and multiple sets of test data, the expression S idd =exp(a*V dd +b)+c to perform least squares fitting and find the model parameters a, b and c corresponding to the maximum goodness of fit, where each set of test data includes the working voltage V dd And the working voltage V dd The corresponding static leakage current S idd ;

[0017] Substitute the model parameters a, b and c into the expression S idd =exp(a*V dd +b)+c, and obtain the relationship model between the static leakage current and the working voltage of the chip under test.

[0018] Optionally, the model parameters a, b, c are stored in fuses of the chip to be tested.

[0019] On the other hand, the present invention provides a device for predicting static power consumption of a chip, comprising:

[0020] An acquisition module is used to obtain the current operating voltage of the chip under test;

[0021] A static leakage current calculation module, used to obtain the static leakage current under the current working voltage according to the static leakage current and working voltage relationship model of the chip to be tested and the current working voltage;

[0022] The static power consumption calculation module is used to obtain the static power consumption of the chip to be tested under the current operating voltage according to the static leakage current and the current operating voltage.

[0023] Optionally, for any chip to be tested, the static leakage current calculation module uses the expression of the relationship model between the static leakage current and the working voltage of the chip to be tested as follows:

[0024] S idd =exp(a*V dd +b)+c, where S idd is the static leakage current, V dd is the operating voltage, a, b, c are model parameters.

[0025] Optionally, the value range of the model parameter c is obtained based on an additional static leakage current other than the exponential leakage current, and the additional static leakage current includes at least one of the following currents: a PN junction reverse bias current and a gate oxide tunneling current.

[0026] Optionally, the device further comprises:

[0027] A determination module, used to determine a relationship model between a static leakage current and an operating voltage of the chip to be tested before obtaining the current operating voltage of the chip to be tested;

[0028] The determination module is specifically used to traverse and assign values ​​to the model parameters c at set intervals, and to determine the expression S according to the assignment of each model parameter c and multiple groups of test data. idd =exp(a*V dd +b)+c to perform least squares fitting and find the model parameters a, b and c corresponding to the maximum goodness of fit, where each set of test data includes the working voltage V dd And the working voltage V dd The corresponding static leakage current S idd ;

[0029] Substitute the model parameters a, b and c into the expression S idd =exp(a*V dd +b)+c, and obtain the relationship model between the static leakage current and the working voltage of the chip under test.

[0030] Optionally, the model parameters a, b, c are stored in fuses of the chip to be tested.

[0031] On the other hand, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for predicting static power consumption of a chip when executing the program.

[0032] On the other hand, the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned chip static power consumption prediction method when executed by a processor.

[0033] The present invention provides a chip static power consumption prediction method, device, electronic device and storage medium, and proposes a model of the relationship between the static leakage current and the operating voltage of the chip to be tested. According to the model, the static leakage current under a specific voltage can be obtained, and then the static power consumption under the specific voltage can be obtained, which is convenient for chip power consumption analysis and chip performance evaluation. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A schematic diagram of a flow chart of a method for predicting static power consumption of a chip provided by an embodiment of the present invention;

[0035] Figure 2 A schematic diagram of a flow chart of a method for predicting static power consumption of a chip provided by an embodiment of the present invention;

[0036] Figure 3 A schematic diagram of the structure of a device for predicting static power consumption of a chip provided by an embodiment of the present invention;

[0037] Figure 4 A schematic diagram of the structure of a device for predicting static power consumption of a chip provided by an embodiment of the present invention;

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

[0039] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0040] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0041] Figure 1 FIG. 1 is a flow chart of a method for predicting static power consumption of a chip provided by an embodiment of the present invention. Figure 1 As shown, the method may include steps S101-S103.

[0042] In step S101, the current operating voltage of the chip to be tested is obtained.

[0043] The current operating voltage may be any voltage within a normal operating range and is not limited to certain specific voltage points.

[0044] In step S102, the static leakage current under the current working voltage is obtained according to the relationship model between the static leakage current and the working voltage of the chip to be tested and the current working voltage.

[0045] As an implementation method, the expression of the relationship model between the static leakage current and the working voltage of the chip to be tested is: S idd =exp(a*V dd +b)+c, where S idd is the static leakage current, V dd is the operating voltage, a, b, c are model parameters, and exp represents the exponential function with e as the base.

[0046] The reason for this design is that the CMOS static leakage current mainly comes from the following aspects:

[0047] 1) Subthreshold current, which is exponentially related to the operating voltage;

[0048] 2) Additional static leakage current besides exponential leakage current, such as PN junction reverse bias current, gate oxide tunneling current, etc.

[0049] In the above expression, the expression exp(a*V dd +b) is used to simulate exponential leakage current (i.e. leakage current caused by subthreshold current), and parameter c is used to simulate additional static leakage current (such as PN junction reverse bias current, gate oxide tunneling current, etc.) outside the exponential leakage current. This model can improve S idd For working voltage V dd In the model, since a, b, and c are fixed values, the working voltage V dd , we can deduce the static leakage current S idd The value range of the model parameter c is obtained based on the additional static leakage current other than the exponential leakage current, and the additional static leakage current includes at least one of the following currents: PN junction reverse bias current and gate oxide tunneling current.

[0050] It should be noted that each chip under test has its own static leakage current and working voltage relationship model, and its expression can be expressed as S idd =exp(a*V dd +b)+c, except that different chips have different model parameters a, b, c.

[0051] In step S103, the static power consumption of the chip to be tested under the current operating voltage is obtained according to the static leakage current and the current operating voltage.

[0052] Knowing the static leakage current S idd and the operating voltage V dd According to the formula P static =Sidd *V dd , we can get the static power consumption P static .

[0053] An embodiment of the present invention provides a method for predicting the static power consumption of a chip and proposes a static leakage current and operating voltage model for predicting the static leakage current of a chip. By using this model and the operating voltage, the static leakage current of each test chip at a specific voltage can be predicted, and then the static power consumption at the specific voltage can be obtained, which is convenient for chip power consumption analysis and chip performance evaluation.

[0054] Furthermore, if Figure 2 As shown, before step S101, the method further includes step S100.

[0055] In step S100, a relationship model between static leakage current and operating voltage of the chip to be tested is determined.

[0056] Specifically, the relationship model between the static leakage current and the operating voltage of the chip to be tested can be determined in the following way, which is essentially to determine the parameters a, b and c in the model expression.

[0057] First, apply a specified number of working voltages to the test chip, obtain the static leakage current under each working voltage, and obtain a set of test data. For example, three sets of data can be tested to obtain the static leakage current under three voltages of 0.7V / 1.0V / 1.3V. Then, for the model parameter c, the model parameter c is traversed and assigned at set intervals. For example, the assignable range of c is 0 to the static leakage current measured at the lowest voltage. c starts from zero and then gradually increases. According to the assignment of each model parameter c and multiple sets of test data, the expression S idd =exp(a*V dd +b)+c to perform least squares fitting and find the model parameters a, b and c corresponding to the maximum goodness of fit, where each set of test data includes the working voltage V dd And the working voltage V dd The corresponding static leakage current S idd Substitute the model parameters a, b and c into the expression S idd =exp(a*V dd +b)+c, we can get the relationship model between the static leakage current and the working voltage of the chip under test.

[0058] The above model S idd =exp(a*V dd +b)+c, due to the existence of the constant term c, the model is a nonlinear model and cannot be converted into a linear model by taking the logarithm of both sides of the equation. Therefore, a nonlinear fitting python algorithm is proposed based on the principle of least squares method. By traversing and assigning values ​​to c, we can find the value that makes ln(Sidd -c)=a*V dd +b The model parameters a, b, c with the greatest goodness of fit. Usually, the model parameters a, b, c are stored in the fuse of the chip to be tested.

[0059] The above model has been verified by ATE and its accuracy is in line with expectations. This model can be used to verify the performance and power consumption benefits of the chip at the board level.

[0060] Figure 3 FIG. 1 is a schematic diagram of a chip static power consumption prediction device provided by an embodiment of the present invention. Figure 3 As shown, the device includes: an acquisition module 301, a static leakage current calculation module 302 and a static power consumption calculation module 303, wherein:

[0061] An acquisition module 301 is used to acquire the current operating voltage of the chip to be tested;

[0062] The static leakage current calculation module 302 is used to obtain the static leakage current under the current working voltage according to the static leakage current and working voltage relationship model of the chip to be tested and the current working voltage;

[0063] The static power consumption calculation module 303 is used to obtain the static power consumption of the chip under test at the current operating voltage according to the static leakage current and the current operating voltage.

[0064] Specifically, as an implementation mode, for any chip to be tested, the static leakage current calculation module 302 uses the expression of the relationship model between the static leakage current and the working voltage of the chip to be tested as follows:

[0065] S idd =exp(a*V dd +b)+c, where S idd is the static leakage current, V dd is the operating voltage, a, b, c are model parameters.

[0066] In addition, if Figure 4 As shown, the device also includes a determination module 300, which is used to determine a static leakage current and operating voltage relationship model of the chip to be tested before obtaining the current operating voltage of the chip to be tested;

[0067] The determination module 300 is specifically used to traverse and assign values ​​to the model parameters c at set intervals, and to determine the expression S according to the assignment of each model parameter c and multiple groups of test data. idd =exp(a*V dd +b)+c to perform least squares fitting and find the model parameters a, b and c corresponding to the maximum goodness of fit, where each set of test data includes the working voltage V dd And the working voltage V ddThe corresponding static leakage current S idd ; Substitute the model parameters a, b and c into the expression S idd =exp(a*V dd +b)+c, and obtain the relationship model between the static leakage current and the working voltage of the chip under test.

[0068] Typically, model parameters a, b, c are stored in fuses of the chip under test.

[0069] The chip static power consumption prediction device provided in the embodiment of the present invention is used to execute the above method embodiment. Its specific process and detailed content can refer to the above method embodiment and will not be repeated here.

[0070] Figure 5 Schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 5 As shown, the electronic device may include: a processor 501, a memory 502 and a communication bus 503, wherein the processor 501 and the memory 502 communicate with each other via the communication bus 503. The processor 501 may execute program instructions in the memory 502 to implement the chip static power consumption prediction method provided in the above embodiments.

[0071] On the other hand, an embodiment of the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the chip static power consumption prediction method provided in the above embodiments.

[0072] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0073] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0074] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for predicting static power consumption of a chip, characterized in that: include: Get the current operating voltage of the chip under test; According to the static leakage current and working voltage relationship model of the chip to be tested and the current working voltage, the static leakage current under the current working voltage is obtained; According to the static leakage current and the current operating voltage, the static power consumption of the chip under test at the current operating voltage is obtained; For any chip under test, the expression of the relationship model between the static leakage current and the working voltage of the chip under test is: S idd =exp(a*V dd +b)+c,S idd is the static leakage current, V dd is the operating voltage, a, b, c are model parameters, exp represents the exponential function with e as the base, exp(a*V dd +b) is used to simulate the exponential leakage current, and the model parameter c is used to simulate the additional static leakage current outside the exponential leakage current.

2. The method according to claim 1, characterized in that The value range of the model parameter c is obtained based on an additional static leakage current other than the exponential leakage current, and the additional static leakage current includes at least one of the following currents: a PN junction reverse bias current and a gate oxide tunneling current.

3. The method according to claim 1, characterized in that The method further comprises: Before obtaining the current working voltage of the chip under test, determining a relationship model between the static leakage current and the working voltage of the chip under test; The method for determining the relationship model between the static leakage current and the operating voltage of the chip to be tested includes: The model parameter c is traversed and assigned at set intervals. According to the assignment of each model parameter c and multiple sets of test data, the expression S idd =exp(a*V dd +b)+c to perform least squares fitting and find the model parameters a, b and c corresponding to the maximum goodness of fit, where each set of test data includes the working voltage V dd And the working voltage V dd The corresponding static leakage current S idd ; Substitute the model parameters a, b and c into the expression S idd =exp(a*V dd +b)+c, and obtain the relationship model between the static leakage current and the working voltage of the chip under test.

4. The method according to claim 1, characterized in that: The model parameters a, b, c are stored in the fuses of the chip under test.

5. A device for predicting static power consumption of a chip, characterized in that: include: An acquisition module is used to obtain the current operating voltage of the chip under test; A static leakage current calculation module, used to obtain the static leakage current under the current working voltage according to the static leakage current and working voltage relationship model of the chip to be tested and the current working voltage; A static power consumption calculation module, used for obtaining the static power consumption of the chip under test at the current operating voltage according to the static leakage current and the current operating voltage; For any chip under test, the expression of the relationship model between the static leakage current and the working voltage of the chip under test is: S idd =exp(a*V dd +b)+c,S idd is the static leakage current, V dd is the operating voltage, a, b, c are model parameters, exp represents the exponential function with e as the base, exp(a*V dd +b) is used to simulate the exponential leakage current, and the model parameter c is used to simulate the additional static leakage current outside the exponential leakage current.

6. The device according to claim 5, characterized in that The device also includes: A determination module, used to determine a relationship model between a static leakage current and an operating voltage of the chip to be tested before obtaining the current operating voltage of the chip to be tested; The determination module is specifically used to traverse and assign values ​​to the model parameters c at set intervals, and to determine the expression S according to the assignment of each model parameter c and multiple groups of test data. idd =exp(a*V dd +b)+c to perform least squares fitting and find the model parameters a, b and c corresponding to the maximum goodness of fit, where each set of test data includes the working voltage V dd And the working voltage V dd The corresponding static leakage current S idd ; Substitute the model parameters a, b and c into the expression S idd =exp(a*V dd +b)+c, and obtain the relationship model between the static leakage current and the working voltage of the chip under test.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for predicting static power consumption of a chip as described in any one of claims 1 to 4 is implemented.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for predicting static power consumption of a chip as claimed in any one of claims 1 to 4 is implemented.