WO2023272615A1 - Quiescent power dissipation estimation method and related apparatus - Google Patents

Quiescent power dissipation estimation method and related apparatus Download PDF

Info

Publication number
WO2023272615A1
WO2023272615A1 PCT/CN2021/103711 CN2021103711W WO2023272615A1 WO 2023272615 A1 WO2023272615 A1 WO 2023272615A1 CN 2021103711 W CN2021103711 W CN 2021103711W WO 2023272615 A1 WO2023272615 A1 WO 2023272615A1
Authority
WO
WIPO (PCT)
Prior art keywords
power consumption
historical
iddq
circuit
sample
Prior art date
Application number
PCT/CN2021/103711
Other languages
French (fr)
Chinese (zh)
Inventor
顾郁炜
魏威
陈立前
姚琮
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2021/103711 priority Critical patent/WO2023272615A1/en
Publication of WO2023272615A1 publication Critical patent/WO2023272615A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R21/00Arrangements for measuring electric power or power factor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/06Power analysis or power optimisation

Definitions

  • the present application relates to the technical field of semiconductors, and in particular to a method for estimating static power consumption and related devices.
  • Static power consumption is an important statistic in semiconductor technology. Static power consumption, also known as leakage power consumption, is the power consumption generated by leakage current when the circuit is in a waiting or inactive state.
  • the static power consumption is related to the process angle of the circuit, the current temperature, and the current voltage. Since the process angle cannot be directly obtained, an intermediate quantity is needed to represent the influence of the process angle on the static power consumption.
  • a delay chain can be set in the circuit, the current time delay is collected when the circuit is used, and the current static power consumption of the circuit is determined by using the corresponding relationship between time delay and static power consumption.
  • the present application provides a control method and a related device for data transmission between devices, which can improve the satisfaction of business requirements.
  • the present application provides a static power consumption estimation method, the method comprising:
  • the power consumption model is determined according to at least two historical IDDQs and historical static power consumption corresponding to each of the historical IDDQs.
  • the power consumption model is a rate model
  • P is the first static power consumption
  • the current ratio Q is the current ratio between the first IDDQ and the reference IDDQ
  • the power consumption current ratio relationship function F1 is used to reflect the current ratio Q and the power consumption ratio
  • K is the first static power consumption
  • the base IDDQ is one of the at least two historical IDDQs
  • the base static power consumption P base is the historical static power consumption corresponding to the base IDDQ.
  • the power consumption model is a calibration model
  • P is the first static power consumption
  • the current ratio Q is the current ratio between the first IDDQ and the reference IDDQ
  • the power consumption current ratio relationship function F1 is used to reflect the current ratio Q and the power consumption ratio
  • K is used to reflect the relationship between the calculated static power consumption and the actual static power consumption
  • the reference IDDQ is a historical IDDQ in the at least two historical IDDQs
  • the reference static power consumption P base is the historical static power consumption corresponding to the base IDDQ.
  • the at least two historical IDDQs and the historical static power consumption corresponding to each of the historical IDDQs are: sample data obtained from at least two samples; wherein,
  • the power consumption model is obtained by training using sample data of the at least two samples; wherein the at least two samples are located on different dies, and each sample includes the first work belonging to the target power domain circuit;
  • the sample data of each sample includes: at least one historical IDDQ of the at least two historical IDDQs, and historical static power consumption corresponding to each historical IDDQ of the at least one historical IDDQ.
  • the base sample is the sample Y 0 with the smallest historical IDDQ among the at least two samples;
  • the base static power consumption P base is the historical static power consumption IDDQ 0 of the sample Y 0 Corresponding P 0 ;
  • the number of the at least two samples is n+1, where n is an integer greater than 0; among the n+1 samples, other samples except the Y 0 are Y 1 ... Y n ;
  • the historical power consumption ratios corresponding to the i-th sample Y i P i is the historical static power consumption of Y i ; among the historical current multipliers Q 1 ...Q n of the samples Y 1 ...Y n , the historical current multiplier corresponding to the ith sample Y i IDDQ i is the historical IDDQ of Y i , and i is an integer greater than 0 and less than or equal to n-1.
  • the method before inputting the first IDDQ into the power consumption model to obtain the first static power consumption corresponding to the first working circuit, the method further includes:
  • the inputting the first IDDQ into the power consumption model to obtain the first static power consumption corresponding to the first working circuit includes: inputting the first IDDQ, the current voltage and the current temperature into the power consumption consumption model, to obtain the first static power consumption corresponding to the first working circuit;
  • the power consumption model is determined according to the historical IDDQ of the at least two samples under at least two sets of historical temperature and historical voltage combinations and the historical static power consumption corresponding to each of the historical IDDQs.
  • sample data of each sample includes: historical IDDQ and historical static power consumption of each sample under each historical temperature and historical voltage combination in the at least two historical temperature and historical voltage combinations.
  • the reference power consumption relationship function F 0 in the power consumption model uses the at least two historical temperature and historical voltage combinations, and the sample Y 0 is in the at least two
  • the process angle of the first working circuit in each of the at least two samples satisfies:
  • Process corners of each of the at least two samples are equally spaced within the range of process corners of the first working circuit
  • the process angle of the first sample is the minimum value SS in the process angle range of the first working circuit; the process angle of the second sample is The maximum value FF of the process angle range.
  • the method further includes:
  • the power-on state of the first working circuit within a preset time period is determined based on a level signal of the first working circuit received through a signal line.
  • an electronic device including:
  • An acquisition module configured to acquire the first quiescent current IDDQ of the first working circuit belonging to the target power domain
  • a processing module configured to input the first IDDQ into a power consumption model to obtain a first static power consumption corresponding to the first working circuit
  • the power consumption model is determined according to at least two historical IDDQs and historical static power consumption corresponding to each of the historical IDDQs.
  • the acquiring module is further configured to acquire the current voltage and current temperature of the first working circuit
  • the processing module is further configured to input the first IDDQ, the current voltage and the current temperature into the power consumption model to obtain the first static power consumption corresponding to the first working circuit;
  • the power consumption model is determined according to historical IDDQs of at least two samples under at least two sets of historical temperature and historical voltage combinations and historical static power consumption corresponding to each of the historical IDDQs.
  • the process angle of the first working circuit in each of the at least two samples satisfies:
  • Process corners of each of the at least two samples are equally spaced within the range of process corners of the first working circuit
  • the process angle of the first sample is the minimum value SS in the process angle range of the first working circuit; the process angle of the second sample is The maximum value FF of the process angle range.
  • a circuit system supporting power consumption estimation including:
  • an estimation circuit configured to acquire the IDDQ of the first operating circuit from the first operating circuit, and input the IDDQ of the first operating circuit into a power consumption model to obtain the static power of the first operating circuit Consumption estimation results;
  • the power consumption model is determined according to at least two historical IDDQs and historical static power consumption corresponding to each of the historical IDDQs.
  • the first working circuit includes a non-volatile memory
  • the IDDQ of the first working circuit is measured by an IDDQ test tool under the combined conditions of preset temperature and preset voltage, and is stored in the non-volatile memory of the first working circuit;
  • the estimation device is used to read the IDDQ of the first working circuit from the non-volatile memory of the first working circuit through the system bus.
  • the circuit system further includes:
  • a temperature sensor configured to report the current temperature data of the first working circuit to the estimation circuit
  • a voltage data register configured to store voltage data currently configured by the first working circuit
  • the estimating device is further configured to read the voltage data of the current configuration of the first working circuit from the voltage data register.
  • the target power domain circuit is connected to the estimation circuit through a signal line;
  • the target power domain circuit is further configured to send a level signal to the estimation circuit through the signal line;
  • the estimation circuit is further configured to determine the power-on/off state of the target power supply circuit through the level signal.
  • the estimation circuit is connected to the first working circuit through a bus.
  • the embodiment of the present application provides a data transmission method, the method comprising:
  • the power consumption model is determined according to at least two historical IDDQs and historical static power consumption corresponding to each of the historical IDDQs.
  • the delay chain compared with the method of determining the static power consumption by using the delay chain, for a circuit including transistors (for example, there is an oxide layer), the delay chain cannot obtain MOS tubes, P tubes, and N tubes.
  • the tunneling current (Tunneling), that is, the delay information can only reflect the static power consumption due to the drift current, omitting the static power consumption due to the tunneling current, so there is a problem of inaccurate power consumption estimation.
  • the power consumption estimation method provided by the embodiment of the present application can cover all leakage components, and the power consumption estimation is more accurate.
  • the power consumption model is a rate model
  • the current multiplying factor Q is the current multiplying factor between the first IDDQ and the reference IDDQ
  • the power consumption current multiplying factor relationship function F1 is used to reflect the relationship between the current multiplying factor Q and the power consumption multiplying factor K
  • the said reference IDDQ is said at least A historical IDDQ in two historical IDDQs
  • the base static power consumption P base is the historical static power consumption corresponding to the base IDDQ;
  • the F1 is based on the historical current multiplier between other historical IDDQs except the reference IDDQ in the at least two IDDQs and the reference IDDQ, and the historical static power consumption corresponding to the other historical IDDQs and determined by the historical power multiplier between the P base .
  • the power consumption model is a calibration model
  • the current multiplier Q is the current multiplier between the first IDDQ and the reference IDDQ
  • the power consumption current multiplier relationship function F1 is used to reflect the relationship between the current multiplier Q and the power consumption multiplier K
  • the calibration function Ca is used to reflect the calculation static A relationship between power consumption and actual static power consumption
  • the base IDDQ is one historical IDDQ in the at least two historical IDDQs
  • the base static power consumption P base is the historical static power consumption corresponding to the base IDDQ
  • the F1 is based on the historical current multiplier between other historical IDDQs except the reference IDDQ in the at least two IDDQs and the reference IDDQ, and the historical static power consumption corresponding to the other historical IDDQs and Determined by the historical power consumption ratio between the P bases ;
  • the Ca is determined based on the historical static power consumption corresponding to the at least two IDDQs and the historical calculation static power consumption corresponding to the at least two IDDQs, wherein each of the historical IDDQs in the at least two historical IDDQs
  • the method before inputting the first IDDQ into the power consumption model to obtain the first static power consumption corresponding to the first IDDQ of the first working circuit, the method further includes:
  • the at least two samples are located on different dies, and each sample includes the first working circuit belonging to the target power domain; the sample data of each sample includes: historical IDDQ and historical IDDQ corresponding to historical static power consumption; the baseline IDDQ is a historical IDDQ of a baseline sample among the at least two samples;
  • the base sample is the sample Y 0 with the smallest historical IDDQ among the at least two samples;
  • the base static power consumption P base is the historical static power consumption IDDQ 0 of the sample Y 0 Corresponding P 0 ;
  • the number of the at least two samples is n+1, where n is an integer greater than 0; among the n+1 samples, other samples except the Y 0 are Y 1 ... Y n ;
  • the training to obtain the power consumption model by using the sample data of the at least two samples includes:
  • the method before inputting the first IDDQ into the power consumption model to obtain the first static power consumption of the first working circuit, the method further includes:
  • the inputting the first IDDQ into the power consumption model to obtain the first static power consumption of the first working circuit includes: inputting the first IDDQ, the current voltage and the current temperature into the power consumption a model to obtain a first static power consumption of the first working circuit;
  • the power consumption model is based on historical IDDQs under combinations of at least two groups of historical temperatures and historical voltages and historical static power consumption corresponding to each of the historical IDDQs.
  • the acquiring sample data corresponding to each sample in at least two samples includes:
  • sample data of each sample includes: historical IDDQ and historical static power consumption under each historical temperature and historical voltage combination in the at least two historical temperature and historical voltage combinations.
  • the training to obtain the power consumption model by using the sample data of the at least two samples further includes:
  • the power consumption current ratio relationship model P base F 0 ( V, T) for training to determine the reference power consumption relation function F 0 .
  • the process angle of the first working circuit in each of the at least two samples satisfies
  • Process corners of each of the at least two samples are equally spaced within the range of process corners of the first working circuit
  • the process angle of the first sample is the minimum value SS in the process angle range of the first working circuit; the process angle of the second sample is The maximum value FF of the process angle range.
  • the reference sample Y0 is a sample with a process corner of SS.
  • the first IDDQ is the IDDQ when the first working circuit is in the power-on state, wherein whether the first working circuit is in the power-on state is based on the determined by the level signal of the first working circuit.
  • a device for estimating static power consumption including:
  • An interface configured to obtain the first IDDQ of the first working circuit belonging to the target power domain.
  • a processor configured to execute the first aspect or any one of the methods in the first aspect.
  • the interface includes:
  • the first interface is connected to the system bus and is used to obtain the first IDDQ;
  • the second interface is connected to the first working circuit through a power line, and is used to obtain power-on and power-off information of the first working circuit;
  • the third interface is connected to a temperature sensor and is used to obtain the current temperature of the first working circuit
  • the fourth interface is connected to the voltage data register and is used to obtain the current voltage of the first working circuit.
  • an embodiment of the present application provides a static power consumption estimation device, the device includes a processing module and a transceiver module, and the processing unit executes instructions to control the device to perform the first aspect or any possible design of the first aspect method.
  • the device may further include a storage module.
  • the apparatus may be a system on a chip, or a chip in the system on a chip.
  • the processing module may be a processor, and the transceiver module may be a transceiver; if it further includes a storage module, the storage module may be a memory.
  • the processing module can be a processor, and the transceiver module can be an input/output interface, a pin or a circuit, etc.; if it also includes a storage module, the storage module can be a storage module in the chip (for example, a register, a cache, etc.), or a storage module (for example, a read-only memory, a random access memory, etc.) outside the chip.
  • the storage module can be a storage module in the chip (for example, a register, a cache, etc.), or a storage module (for example, a read-only memory, a random access memory, etc.) outside the chip.
  • the processor mentioned in any of the above places can be a general-purpose central processing unit (Central Processing Unit, referred to as CPU), a microprocessor, a specific application integrated circuit (application-specific integrated circuit, referred to as ASIC), or one or A plurality of integrated circuits for controlling program execution of the spatial multiplexing method of the above aspects.
  • CPU Central Processing Unit
  • ASIC application-specific integrated circuit
  • the present application provides a computer-readable storage medium having instructions stored therein, and the instructions can be executed by one or more processors on a processing circuit. When it runs on a computer, it causes the computer to execute the method in the above first aspect or any possible implementation thereof.
  • a computer program product including instructions, which, when run on a computer, causes the computer to execute the method in the above first aspect or any possible implementation thereof.
  • FIG. 1A is a schematic diagram of an electronic device application static power consumption optimization device performance in an embodiment of the present application
  • FIG. 1B is a schematic diagram of the division of power domains on an SOC provided with a CPU in an electronic device in an embodiment of the present application;
  • FIG. 2A is a schematic diagram of the production process of mass-produced chips in the embodiment of the present application.
  • FIG. 2B is a schematic diagram of a process of acquiring parameters of a power consumption model in an embodiment of the present application
  • 3A is a schematic diagram of the system structure of the circuit system in the mass-produced chip applying the estimation method in the embodiment of the present application;
  • FIG. 3B is a schematic diagram of the internal structure of the estimation device in the embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a method for estimating static power consumption provided by an embodiment of the present application
  • FIG. 5 is a schematic diagram of the acquisition process of the model parameters of the magnification model provided by the embodiment of the present application.
  • Fig. 6 is a schematic diagram of the distribution of process angles of samples at equal intervals in the range of process angles in the embodiment of the present application;
  • Fig. 7 is a schematic diagram of the combination of temperature and voltage values covered by sample data in the embodiment of the present application.
  • FIG. 8 is a schematic diagram of an implementation process of a static power consumption estimation method in an embodiment of the present application.
  • FIG. 9 is a schematic diagram of the IDDQ corresponding to the sample in the embodiment of the present application.
  • Fig. 10 is a schematic diagram of the training process in the embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a static power consumption estimation device provided by an embodiment of the present application.
  • FIG. 12 is another schematic structural diagram of the static power consumption estimating device provided by the embodiment of the present application.
  • the method provided by the embodiment of the present application can be applied to estimate the static power consumption of a chip or a circuit in an electronic device.
  • the electronic device may be various terminal devices such as a mobile phone.
  • the static power consumption results can be used in electronic equipment for thermal control, scheduling control, dynamic voltage frequency adjustment (DVFS), task scheduling and other fields, and accurate static power consumption estimation will be better Help electronic equipment to play the overall performance of electronic equipment.
  • DVFS dynamic voltage frequency adjustment
  • FIG. 1A is a schematic diagram of an electronic device applying static power consumption to optimize device performance in an embodiment of the present application.
  • a CPU of an electronic device may include: a power consumption estimation unit, a temperature control unit, a scheduling unit, and a dynamic voltage frequency adjustment unit.
  • the power consumption estimation unit may also be referred to as a power consumption calculation unit, and the power consumption estimation unit may be used to estimate at least one of dynamic power consumption and static power consumption of circuits in the CPU.
  • the power consumption estimation unit may include a static power consumption estimation unit, and the static power consumption estimation unit may be used to estimate static power consumption of circuits in the CPU.
  • the power consumption estimation unit may collect relevant information for calculating the static power consumption of circuits in the CPU and calculate the static power consumption, and the power consumption estimation unit may report the calculation results to the temperature control unit and the scheduling control unit.
  • the temperature control unit may control the DVFS to adjust the working voltage of the circuits in the CPU according to the temperature and power consumption calculation results.
  • the scheduling unit can control the DVFS to adjust the operating voltage of the circuit in the CPU according to the power consumption calculation result, load and other information.
  • the scheduling unit can also control the task according to the power consumption calculation result, CPU load and other information.
  • the migration unit allocates, migrates, and manages tasks running in each CPU.
  • the temperature control unit may also adjust the temperature of the operating environment in the electronic device according to the power consumption calculation result.
  • the power consumption estimating unit may be referred to as an estimating device for short, and the estimating device may be realized by a circuit, and a circuit for realizing the estimating device may be called an estimating circuit.
  • the estimating device can acquire quiescent current (Integrated Circuit Quiescent Current, IDDQ) for a circuit involved in a power domain or circuits involved in multiple power domains on the electronic device, and perform quiescent current based on the quiescent current. Estimation of power consumption.
  • quiescent current Integrated Circuit Quiescent Current, IDDQ
  • the division of power domains in electronic equipment can be divided by designers according to actual power supply control needs when designing circuits.
  • the power supply voltage of all logic circuits in the power domain is the same. All the logic circuits in a power domain can be all in the power-on state, or part of them can be in the power-on state and some can be in the power-off state.
  • one or more switches can be set in the circuits contained in a power domain, and each switch can switch logic circuits in a control area in the power domain. electric control.
  • the electronic device may include one or more systems on chip (system on chip, SOC) or SOC.
  • SOC system on chip
  • one SOC may belong to one power domain
  • multiple SOCs may also belong to one power domain
  • some circuits in one SOC may also belong to one power domain.
  • the estimating means can estimate the static power consumption of the circuits of the power domains located on the same or different SOCs in the electronic equipment. It should be noted that the estimation circuit corresponding to the estimation device may also be located on a certain SOC, and the estimation device may also estimate the static power consumption of its own circuit.
  • one or more CPUs in an electronic device may reside on one SOC.
  • FIG. 1B is a schematic diagram of division of power domains on an SOC provided with a CPU in an electronic device in an embodiment of the present application.
  • one or more devices may be included on the SOC.
  • an SOC may include one or more CPUs, each CPU may include one or more cores (core), and each core may include one or more logic circuits.
  • Each logic circuit can be used to realize some set logic functions.
  • multiple cores can employ a big.LITTLE heterogeneous architecture. The architecture is designed to assign the right processor to the right job.
  • a circuit in a power domain may include one or more logic circuits, in another example, a circuit in a power domain may include one or more cores, in yet another example, a circuit in a power domain
  • the circuits in one power domain may include one or more CPUs, and in another example, the circuits in one power domain may include one SOC.
  • multiple logic circuits in one core can be located in one power domain or in multiple power domains; multiple cores in one CPU can be located in one power domain or in multiple power domains.
  • One SOC Multiple CPUs in the CPU may be located in one power domain or in multiple power domains, which is not limited in this embodiment of the present application.
  • various subsystems in the electronic device may also be estimated based on static power consumption estimation results of circuits in multiple power domains in the electronic device Perform static power estimation.
  • static power consumption may be estimated based on circuits in multiple power domains involved in an SOC, and static power consumption of the entire SOC may be determined based on static power consumption of circuits in multiple power domains. Details will be described in other embodiments of this application.
  • the working circuits belonging to the target power domain may be referred to as circuits in the target power domain.
  • the target power domain circuit and the estimation circuit may be located on a mass-produced chip.
  • FIG. 2A is a schematic diagram of the production process of mass-produced chips in the embodiment of the present application.
  • a mass-produced chip including a target power domain circuit and an estimation circuit can be generated using the process shown in FIG. 2A.
  • the production process of mass-produced chips can include:
  • the die production apparatus 1001 can process the wafer into a die, which includes a target power domain circuit and an estimation circuit, and the estimation circuit includes a basic power consumption model.
  • the IDDQ testing device 1002 can perform IDDQ measurement on the target power domain circuit in the die, and write the measured IDDQ into the memory in the target power domain circuit, so as to obtain the target power domain circuit and the estimation circuit including the IDDQ stored therein. die.
  • the IDDQ testing device 1002 can set the die to be mass-produced to test the IDDQ under a preset combination of temperature and voltage.
  • the packaging device 1003 may package the bare chip storing the target power domain circuit and the estimation circuit of the IDDQ to obtain a mass-produced chip.
  • the configuring device 1004 can configure the pre-acquired power consumption model parameters in the estimation circuit of the mass-produced chip.
  • the estimated circuit can read the IDDQ of the target power domain circuit from the memory of the target power domain circuit when the mass production chip is working normally, and configure the IDDQ input with the power consumption model parameters
  • the power consumption model of the target power domain circuit is estimated to obtain the static power consumption.
  • the parameters of the power consumption model stored in the configuring device 1004 may be obtained in advance.
  • Fig. 2B is a schematic diagram of the process of obtaining power consumption model parameters in the embodiment of the present application.
  • the process of obtaining power consumption model parameters may include:
  • the die production apparatus 1001 processes the wafer to obtain at least two samples located on one or more dies, wherein each sample includes a target power domain circuit. It should be noted that, when generating the samples, the die production apparatus 1001 can set the process angles of the target power domain circuits in all samples to cover multiple value points between the minimum value and the maximum value of the process angle range. In other embodiments of the present application, the process angle covering multiple value points will be described in detail, which will not be repeated here.
  • the IDDQ testing device 1002 runs through and tests the IDDQ of the target power domain circuit under different temperature and voltage combination conditions, and stores the tested IDDQ into the memory of the target power domain circuit in each sample.
  • the IDDQ under different temperature and voltage combination conditions of the traversal test will be described in detail, which will not be repeated here.
  • the training device 1005 extracts multiple sets of sample data from at least two samples, wherein each sample data includes the IDDQ of the corresponding sample. Then, the training device 1004 can use multiple sets of sample data to train the power consumption model to obtain power consumption model parameters. In other embodiments of the present application, a detailed description will be given on obtaining the parameters of the power consumption model by using the training data, which will not be repeated here.
  • the training device 1005 can send the obtained power consumption model parameters to the configuration device 1004 .
  • the configuration device can configure the parameters of the power consumption model in the estimation circuit of the mass-produced chip when the mass-produced chip is upgraded or the software is updated.
  • the training device 1005 and the configuration device 1004 may also be the same device, which is not limited in this embodiment of the present application.
  • a mass-produced chip may include a system composed of a target power domain circuit and an estimation device.
  • other devices or circuits in the circuit system may be placed in the bare die before mass-production chip packaging by the die production device.
  • FIG. 3A is a schematic structural diagram of a circuit system in a mass-produced chip to which the estimation method in the embodiment of the present application is applied.
  • the circuit system may include: an estimating device 10 , a target power domain circuit 20 for estimating static power consumption, and a system bus (not shown in the figure).
  • the circuit system may further include: a temperature sensor 30 and the like.
  • the estimation device 10 and the target power domain circuit 20 may be respectively connected to a system bus (not shown in the figure).
  • the estimating device 10 may acquire integrated circuit quiescent current (Integrated Circuit Quiescent Current, IDDQ) data of the target power domain circuit 20 through the system bus.
  • IDDQ can also be called static leakage value.
  • the power domain corresponding to the target power domain circuit may be the target power domain, and the target power domain circuit may have the ability to count and report the IDDQ data of the circuits in the target power domain .
  • the target power domain may be any power domain in the electronic device.
  • the target power domain circuit may include a non-volatile memory, for example, a one-time programmable memory (eFuse), a read-only memory (Read-Only Memory, ROM), and the like.
  • Non-volatile memory can be used to store the IDDQ of the target power domain circuit at a preset temperature and voltage combination.
  • the target power domain circuit IDDQ may be measured by an IDDQ test device in an ATE test stage before packaging.
  • the estimating device 10 may also be connected to a temperature sensor 30 to acquire temperature data corresponding to the target power domain circuit.
  • system may further include: a voltage data register 40 .
  • the voltage data register 40 can be connected with the estimation device 10 .
  • the estimating device 10 can acquire current power supply voltage data corresponding to the target power supply domain.
  • the allowable value of the voltage of the target power domain may be one or more fixed values, or may be an adjustment interval.
  • the target power domain circuit can write the current power supply voltage into the voltage data register. It should be noted that the voltage data register can be realized by software or by hardware.
  • the estimating device may also store the allowable value of the target power domain in advance, without obtaining the target power domain through the voltage data register. Corresponding current voltage data.
  • the estimating means may be implemented by software or by hardware.
  • the embodiment of the present application also provides an optional implementation manner of the estimation device.
  • Fig. 3B is a schematic diagram of the internal structure of the estimation device in the embodiment of the present application.
  • the estimation device may include: a configuration (CFG) module, a clock reset group (Clock Reset Group, CRG) module, a timer control (TIMER_CTRL) module, and a processing (Process) module.
  • CFG configuration
  • CRG clock reset group
  • TIMER_CTRL timer control
  • Process processing
  • the CFG module can be responsible for the configuration of the entire hardware circuit, communicate with the outside through the BUS, and perform related configuration through the software.
  • the clock/reset of the CFG module itself can be controlled by an external module.
  • the CRG module is responsible for providing clock/reset signals to the TIMER_CTRL and Process modules.
  • the TIMER_CTRL module can be used to generate a control signal for calculating the statistical window size of the static power consumption, and the statistical window size can be controlled by the software of the system bus (BUS) through the CFG module.
  • BUS system bus
  • the CTRL module in the Process module can be responsible for controlling the start and stop of static power consumption calculation and the multiplexing of computing resources; the Signal module in the Process module can be responsible for asynchronous processing of external signals; the computing unit in the Process module Can be responsible for the specific implementation of the algorithm model.
  • the estimating device when the estimating device is implemented by hardware, the estimating device can also be connected to the power control device 50 of the target power domain circuit; A signal (eg MTCMOS_EN) is sent to the estimation means. Since the power-on and power-on process of the target power domain is usually completed at the millisecond or microsecond level, using hardware interconnection to obtain power-on and power-on signals can help the estimation device accurately obtain various data during the power-on time period, avoiding Incorporating various data of electrical time into the estimation process leads to inaccurate results.
  • the power-on/off signal may also be referred to as an enable signal.
  • the static power consumption of the target power domain circuit reported by the estimating device to the CPU may be the average power consumption within a preset time period.
  • the preset time period may be 10 ms.
  • the target power domain circuit is in the power-on state in the first 5ms of 10ms, and in the power-off state in the last 5ms, then the static power consumption in the first 5ms can be determined according to IDDQ, temperature and voltage, for example, the static power consumption in the first 5ms is 0.5 watts , the average power consumption within 10ms can be 0.25 watts.
  • FIG. 4 is a schematic flowchart of a method for estimating static power consumption provided by an embodiment of the present application.
  • the execution subject of the embodiment of the present application may be an estimation device, and the steps of the embodiment of the present application may include:
  • the IDDQ of the first working circuit may be extracted from the memory of the first working circuit belonging to the target power domain through the system bus.
  • the estimating device may also acquire current temperature data and current voltage data corresponding to the first working circuit. It should be noted that, as an example, the estimating device may obtain the temperature of the target power domain circuit through a temperature sensor when the target power domain circuit is powered on, and read the current voltage used by the target power domain circuit from the voltage data register. .
  • the estimating device may prepare to acquire the first IDDQ of the first job by using an enable signal. It should be noted that the estimation device directly obtains the enable signal MTCMOS_EN through direct hardware interconnection, and can accurately know the power-on/off status of the target power domain. For example, it can be accurate to the millisecond level. Afterwards, the estimating device can prepare to extract various data during the power-on period, such as temperature, voltage, IDDQ, etc., according to the enabling signal.
  • the power consumption model may be written or fixed in the estimation device when the estimation device is produced.
  • the estimating means may provide an interface for modifying parameters in the power consumption model.
  • the parameters in the power consumption model may be determined when the model is trained using a set of sample training data.
  • the processing steps of model training may be performed by the estimation device, or may be performed by other devices. If it is performed by other devices, the other devices may send the power consumption model parameters to the estimation device after the model training, by The estimation device configures the model parameters in its own power consumption model.
  • the step of model training is performed by the estimation device as an example for illustration.
  • the parameters of the power consumption model may be configured by the estimating device during upgrade.
  • the estimation device can read the IDDQ of the target power domain circuit from the eFuse every time it is powered on.
  • the estimating device may also acquire current temperature data and current voltage data of the first working circuit.
  • the first static power consumption corresponding to the first IDDQ can be obtained by inputting the first IDDQ, current temperature data, and current voltage data of the first working circuit into the second model.
  • P base is the base power consumption
  • K F 1 (K base ,V,T)
  • K base is the base magnification corresponding to P base
  • F 1 is the first static power based on the combination of K base and temperature V and voltage T Power dissipation vs. rate function of P base .
  • P base is the base power consumption
  • K F 1 (Q, V, T)
  • Q is the current multiplier between the first IDDQ and the base IDDQ
  • F 1 is the current power consumption based on the combination of temperature V and voltage T The relationship function between the rate and the current current rate.
  • the static power consumption of the target power domain circuit can be determined based on the IDDQ of the target power domain circuit.
  • an optional implementation manner of determining parameters of a power consumption model is provided.
  • the process flow of determining the parameters of the power consumption model is exemplarily described below by taking the rate model as an example.
  • FIG. 5 is a schematic diagram of an acquisition process of model parameters of a magnification model provided by an embodiment of the present application.
  • the execution subject of the embodiment of the present application may be any one of the estimation device, the training device, and the configuration device in the foregoing embodiments.
  • the estimating device is taken as an example below for illustrative description.
  • the steps of the embodiment of the present application may include:
  • each sample may be a first working circuit belonging to the same target power domain in different dies with the same circuit structure.
  • each of the n samples may satisfy the following sample selection conditions.
  • the process corners of the n samples are not all the same.
  • the IDDQ data can be made to cover as many process corners as possible.
  • the process angle range of the first working circuit may be an interval from SS to FF, and the process angles of samples in the sample set may be equally spaced within the process angle range.
  • FIG. 6 is a schematic diagram showing that process angles of the samples in the embodiment of the present application are distributed at equal intervals in the range of process angles. As shown in Figure 6, each point on the horizontal axis is the process corner of a sample.
  • the process corner of the first sample is SS
  • the process corner of the second sample is FF
  • other samples may be equally spaced from SS to FF.
  • a group of samples that meet the sample selection conditions can be produced in the production stage. In this way, the training samples can cover a more comprehensive range of process angles, and can cover various values within the range of process angles, and the model parameters obtained after training are more accurate.
  • the sample data of each sample may include IDDQ and static power consumption of each sample.
  • the estimating means may extract the IDDQ per sample from the system bus.
  • the estimating means may determine the static power consumption corresponding to the IDDQ of each sample according to the temperature and voltage of each sample.
  • the estimating device may determine the static power consumption of the target power domain circuit within the time period according to the extracted temperature data and voltage data within the time period.
  • the sample data of each sample may include sample data under at least two combinations of temperatures and voltages.
  • the estimating device may determine the temperature traversal interval and the voltage traversal interval, and then select several sequentially equidistant temperature values in the temperature traversal interval, and select several sequentially equidistant voltage values in the voltage traversal interval, and then, Obtain the IDDQ and static power consumption of the sample at all possible combinations of temperature values and all voltage values.
  • FIG. 7 is a schematic diagram of sample data covering combinations of temperature and voltage values in the embodiment of the present application.
  • each sample may be placed in an incubator, and the estimating means may set or adjust the temperature in the incubator, as well as the voltage of the target power domain. Then, the estimating device may traverse in the two dimensions T and V, and collect the IDDQ at each intersection point.
  • the estimation device can accurately detect the power-on and power-off conditions of the target power domain based on the enable signal EN (such as MTCMOS_EN in FIG. 4 ) obtained through direct hardware connection, for example, it can be accurate to milliseconds After that, the estimating device can prepare to extract various sample data in the power-on time period according to the enable signal, such as temperature, voltage, and IDDQ.
  • EN such as MTCMOS_EN in FIG. 4
  • the sample data of each sample can be obtained through the ATE test, and when the ATE test is performed on each sample, the estimation device or other test devices can use the IDDQ and static data of each sample during the ATE test Power consumption is written into eFuse. Afterwards, the estimation device can read the sample data of each sample from the eFuse corresponding to each sample.
  • n may be an integer greater than 0.
  • the reference sample Y 0 may be a sample with the smallest IDDQ data.
  • the IDDQ of the reference sample Y 0 may be IDDQ 0 .
  • the reference sample may be a sample with a process corner of SS. In other embodiments of the present application, the reference sample may also be any sample.
  • n is an integer greater than 0.
  • the base power consumption of the reference sample Y 0 may be the static power consumption P base when the IDDQ of the reference sample Y 0 is IDDQ 0 .
  • the estimation device may determine the base power consumption P base corresponding to the base sample Y 0 under any combination of temperature and voltage according to the base power consumption determination model.
  • the power consumption ratio corresponding to the i-th sample Y i P i is the static power consumption of Y i
  • i is an integer greater than 0 and less than or equal to n-1.
  • the power consumption ratio may refer to the ratio of the static power consumption of other samples relative to the static power consumption P base of the reference sample Y 0 under the same combination of temperature and voltage.
  • the current rate corresponding to the i-th sample Y i IDDQ i is the IDDQ of Y i .
  • the current rate Q may also be recorded as K base .
  • the power consumption current ratio relationship function F 1 is used to reflect the relationship between the current ratio and the power consumption ratio.
  • the power consumption current ratio relationship model can also consider the combined conditions of temperature and voltage.
  • the power consumption current ratio relationship model can also be:
  • the calibration function Ca is used to reflect the relationship between the calculated static power consumption and the actual static power consumption.
  • the actual static power consumption may be calculated by the estimating device according to static current, voltage, and the like.
  • step S206 is not mandatory in this embodiment of the present application.
  • parameters related to each function involved in the power consumption model can be determined.
  • the estimating device may configure the parameters related to the power consumption model determined by the above steps in the relevant programs of the estimating device.
  • the other devices may also configure the parameters related to the power consumption model in the relevant programs of the estimating device. This embodiment of the present application does not limit this.
  • the estimating device can estimate the current power consumption of the working circuit based on the current IDDQ and power consumption model of the working circuit obtained from the bus when the working circuit in the target power domain is actually working. Static power.
  • the calibration (Calibration) function Ca, the power consumption current ratio relationship function F 1 , and the reference power consumption relationship function F 0 can all be determined by the steps in the second embodiment.
  • IDDQ 0 may be the IDDQ of sample Y 0 used in the second embodiment.
  • the power consumption model only needs to input the first static current IDDQ of the target power domain circuit, the current temperature T, and the current voltage V to obtain the first static power consumption P of the target power domain circuit.
  • FIG. 8 is a schematic diagram of an implementation process of a static power consumption estimation method provided by an embodiment of the present application.
  • the static power consumption estimation method provided by the embodiment of this application can be divided into 8 steps as a whole, including hardware circuit design before silicon, programming IDDQ data on EFUSE after silicon, large sample selection, large data collection, and model training And software driver configuration and enablement.
  • the real-time calculation and the adaptability of the scene are guaranteed through the hardware circuit;
  • the comprehensive coverage of the PVT dimension of the sample space and the richness of the training set are guaranteed through large sample selection and big data collection;
  • the static power consumption training algorithm based on K_BASE for magnification mapping the calculation is simplified, the calculation accuracy is high, the hardware implementation is simple, and the estimated device area and power consumption are small.
  • the steps of the embodiment of the present application include:
  • the format of the algorithm model may be fixed.
  • the specific content of the algorithm refer to the description in S305 below, which will not be repeated here.
  • the hardware circuit can be designed according to the model format at the pre-silicon stage.
  • the designer may write the basic power consumption model into a selected group of samples. Afterwards, the ATE test can be performed on each sample to obtain training data.
  • the ATE test acquires the IDDQ value of each sample, and writes it in EFUSE.
  • the ATE test may obtain the IDDQ value of each cluster (cluster).
  • the IDDQ value corresponding to the power domain that needs to be estimated for static power consumption is burned into EFUSE.
  • the IDDQ value measured in the ATE stage is highly accurate and suitable for mass production.
  • the model training set samples when selecting the model training set samples, it can be selected according to the IDDQ distribution interval.
  • the upper and lower limits of the IDDQ value of the IDDQ distribution interval can be determined through a large sample, and the points are evenly distributed in the distribution interval (that is, equally spaced distribution) and a certain number k must be satisfied to ensure the richness of the training set and the comprehensiveness of coverage. Meet the big data needs of the process manufacturing dimension.
  • Each sample in the training set is configured to a certain state and placed in an incubator environment, traversed in the two dimensions of temperature (Temperature, T) and voltage (Voltage, V), and collects the quiescent current at the intersection.
  • T Temperature
  • V Voltage
  • V1 is the lower boundary of the voltage traversal interval
  • Vn is the upper boundary of the voltage traversal interval
  • V_step is the interval between the voltage traversal of two adjacent points.
  • V1 and Vn can be determined in combination with the actual voltage range, and the adjustment of V_step affects the accuracy of the model.
  • T1 is the lower bound of the temperature traversal interval
  • Tn is the upper bound of the temperature traversal interval
  • T_step is the interval between the temperature traversal of two adjacent points.
  • T1 and Tn can be determined based on the estimated actual temperature distribution range, and the adjustment of T_step affects the accuracy of the model.
  • FIG. 9 is a schematic diagram of the IDDQ corresponding to the sample in the embodiment of the present application.
  • the sample is selected according to S303, wherein Y0 is the lower bound of the interval, representing the minimum value of IDDQ in the sample space; Yn is the upper bound of the interval, representing the maximum value of IDDQ in the sample space.
  • the entire training algorithm can be divided into three parts.
  • the core idea is to convert the direct calculation of static power consumption into the calculation of static power consumption ratio under different V/T combinations between samples:
  • P base refers to the static power consumption model P base of Y 0 at various temperatures and voltages based on the sample Y 0 with the smallest IDDQ value. Among them, P base is related to temperature and voltage.
  • P base F 0 (V,T)
  • F 0 is a function of P base of Y 0 calculated based on the combination of V/T. Exemplarily, it can be obtained by training a regression algorithm, and is not limited to a specific form.
  • K refers to the ratio of the static power consumption of the remaining samples Y 1 ... Y n relative to the static power consumption P base of the sample Y 0 (under the same temperature and voltage combination).
  • K base refers to the base multiples of IDDQ 1 , ... IDDQ n in the remaining samples Y 1 ... Y n relative to IDDQ 0 of the sample Y 0 .
  • F 1 is based on the combination of Kbase, V, and T to calculate other samples under the current temperature and voltage
  • it can be obtained by training a regression algorithm, and is not limited to a specific form.
  • the sample space is a function of calibration based on the calculated power consumption value calculated by K*P base and the measured power consumption value. Exemplarily, it can be obtained by training a regression algorithm, and is not limited to a specific form.
  • FIG. 10 is a schematic diagram of the training process in the embodiment of the present application. Combining the above three parts of the training algorithm, the entire training process can be shown in FIG. 10 .
  • the boot software reads the eFuse IDDQ value.
  • the software driver reads the IDDQ value of each target power domain from the corresponding section of the eFuse. It only needs to be read once, and it does not need to be read again until the device is turned on again.
  • the software drives the configuration parameters to the hardware circuit registers.
  • some parameters required by the hardware circuit of the estimation device may be configured through software driving. For example, IDDQ-related information, statistical window duration and other information.
  • relevant information for optimizing computing resources may also be included.
  • the enable signal can be configured through the software driver, so that the hardware circuit can start to work, and the estimation result of the static power consumption can be reported periodically.
  • the relationship between the quiescent current and the quiescent power consumption is used to determine the quiescent power consumption corresponding to the quiescent current of the circuit in the current power domain, and the process of estimating the power consumption may not be limited by temperature, that is, in various The actual static power consumption of the circuit can be reflected more accurately at any temperature.
  • the static power consumption Training algorithm for magnification mapping is performed through K_BASE.
  • the calculation steps can be simplified, and the calculation precision is high, the hardware implementation is simple, and the area power consumption is small.
  • the calculation accuracy of large sample and big data Training is high; the key core of the multiplier mapping through K_BASE is to convert the static power
  • the direct calculation of power consumption is transformed into the calculation of static power consumption multiplier under different V/T between samples, so that the calculation can be simplified, the hardware implementation is simple, and the area power consumption is small.
  • the hardware circuit structure is realized through hardened training algorithms. It can calculate and respond quickly to various scene changes including DVFS and power-on and power-off in real time, and enhance the accuracy of static power consumption calculations in different scenarios. It should be noted that when the chip is actually running, the voltage is switched and powered on and off frequently, and there are many target power domains. If the software responds to these events, the software load will be overloaded; The power-off enable signal and voltage value signal, combined with the hardened training (Training) algorithm, the hardware real-time calculation quickly responds to various events, and the processing timeliness is higher.
  • MTCMOS_EN power-on and power-off enable signals
  • Voltage signals Voltage signals
  • the processes of various training algorithms include but not limited to sample selection methods and data collection methods. It can guarantee the accuracy of the training algorithm.
  • the sample selection method the ATE stage determines the upper and lower bounds of the IDDQ value of the sample space through batch samples (including each Corner), and evenly sprinkles points in the IDDQ interval, so that the density can meet the requirements of large samples, that is, the distribution of training data more evenly.
  • the data collection method after each sample is configured to a certain state, it is placed in an incubator environment, an external power supply is set, and then the traversal test is performed in two dimensions of temperature and voltage. Through the above method, the large sample space coverage in the three dimensions of PVT is formed, that is, the relationship between the static current and power consumption reflected by the large data of the determination model is more accurate, and the large data training based on this can fully guarantee the calculation accuracy.
  • the embodiment of the present application also provides a device for estimating static power consumption.
  • FIG. 11 is a schematic structural diagram of an apparatus for estimating static power consumption provided by an embodiment of the present application.
  • an apparatus 1200 in this embodiment of the present application may include a processing module 1210 and a transceiver module 1220 . in:
  • the transceiver module is configured to acquire the first quiescent current IDDQ of the first working circuit belonging to the target power domain.
  • a processing module configured to input the first IDDQ into a power consumption model to obtain a first static power consumption of the first working circuit; wherein, the power consumption model is based on at least two historical IDDQs and each of the historical IDDQs The corresponding historical static power consumption is determined.
  • the power consumption model is a rate model
  • P is the first static power consumption
  • the current ratio Q is the current ratio between the first IDDQ and the reference IDDQ
  • the power consumption current ratio relationship function F1 is used to reflect the current ratio Q and the power consumption ratio
  • K is the first static power consumption
  • the base IDDQ is one of the at least two historical IDDQs
  • the base static power consumption P base is the historical static power consumption corresponding to the base IDDQ.
  • the F1 is based on the historical current multiplier between other historical IDDQs except the reference IDDQ among the at least two IDDQs and the reference IDDQ, and the other historical IDDQs correspond to Determined by historical power dissipation multiplier between historical static power consumption and the P base .
  • the power consumption model is a calibration model
  • P is the first static power consumption
  • the current ratio Q is the current ratio between the first IDDQ and the reference IDDQ
  • the power consumption current ratio relationship function F1 is used to reflect the current ratio Q and the power consumption ratio
  • K is used to reflect the relationship between the calculated static power consumption and the actual static power consumption
  • the reference IDDQ is a historical IDDQ in the at least two historical IDDQs
  • the reference static power consumption P base is the historical static power consumption corresponding to the base IDDQ.
  • the F1 is based on the historical current multiplier between other historical IDDQs except the reference IDDQ among the at least two IDDQs and the reference IDDQ, and the other historical IDDQs correspond to Determined by the historical power consumption ratio between historical static power consumption and the P base ;
  • the Ca is determined based on the historical static power consumption corresponding to the at least two IDDQs and the historical calculation static power consumption corresponding to the at least two IDDQs, wherein each of the historical IDDQs in the at least two historical IDDQs
  • the at least two historical IDDQs and the historical static power consumption corresponding to each of the historical IDDQs are: sample data obtained from at least two samples; wherein,
  • the power consumption model is obtained by training using sample data of the at least two samples; wherein the at least two samples are located on different dies, and each sample includes the first work belonging to the target power domain circuit;
  • the sample data of each sample includes: at least one historical IDDQ of the at least two historical IDDQs, and historical static power consumption corresponding to each historical IDDQ of the at least one historical IDDQ.
  • the base sample is the sample Y 0 with the smallest historical IDDQ among the at least two samples;
  • the base static power consumption P base is the historical static power consumption IDDQ 0 of the sample Y 0 Corresponding P 0 ;
  • the number of the at least two samples is n+1, where n is an integer greater than 0; among the n+1 samples, other samples except the Y 0 are Y 1 ... Y n ;
  • the historical power consumption ratios corresponding to the i-th sample Y i P i is the historical static power consumption of Y i ; among the historical current multipliers Q 1 ...Q n of the samples Y 1 ...Y n , the historical current multiplier corresponding to the ith sample Y i IDDQ i is the historical IDDQ of Y i , and i is an integer greater than 0 and less than or equal to n-1.
  • the acquiring module is further configured to acquire the first static power consumption corresponding to the first working circuit before inputting the first IDDQ into the power consumption model the current voltage and current temperature of the first working circuit;
  • the processing module is further configured to input the first IDDQ, the current voltage and the current temperature into the power consumption model to obtain the first static power consumption corresponding to the first working circuit;
  • the power consumption model is determined according to the historical IDDQ of the at least two samples under at least two sets of historical temperature and historical voltage combinations and the historical static power consumption corresponding to each of the historical IDDQs.
  • sample data of each sample includes: historical IDDQ and historical static power consumption of each sample under each historical temperature and historical voltage combination in the at least two historical temperature and historical voltage combinations.
  • the reference power consumption relationship function F 0 in the power consumption model uses the at least two historical temperature and historical voltage combinations, and the sample Y 0 is in the at least two
  • the process angle of the first working circuit in each of the at least two samples satisfies: the process angle of each of the at least two samples is within the Distributed at equal intervals within the process angle range of the first working circuit; the first sample and the second sample exist in the at least one sample, and the process angle of the first sample is within the process angle range of the first working circuit
  • the minimum value SS; the process angle of the second sample is the maximum value FF of the process angle range.
  • the first IDDQ is the IDDQ when the first working circuit is in the power-on state, wherein whether the first working circuit is in the power-on state is based on the determined by the received power-on/off enable signal of the first working circuit.
  • the processing module is further configured to determine the first working circuit according to the first static power consumption and the power-on state of the first working circuit within a preset time period Average power consumption over a preset time period;
  • the power-on state of the first working circuit within a preset time period is determined based on a level signal of the first working circuit received through a signal line.
  • FIG. 12 is another schematic structural diagram of the static power consumption estimating device provided by the embodiment of the present application.
  • an apparatus 1300 in this embodiment of the present application may include: a processor 1310 and an interface 1320;
  • the interface may be used to acquire the first IDDQ of the first working circuit belonging to the target power domain.
  • a processor configured to execute the method described in any one of the embodiments of the present application.
  • the interface may include:
  • the first interface is connected to the system bus and is used to obtain the first IDDQ;
  • the second interface is connected to the first working circuit through a signal line, and is used to obtain a level signal of the first working circuit;
  • the third interface is connected to a temperature sensor and is used to obtain the current temperature of the first working circuit
  • the fourth interface is connected to the voltage data register and is used to obtain the current voltage of the first working circuit.
  • the signal line is a hardware cable
  • a high-level signal in the level signal of the first working circuit may indicate that the first working circuit is in a power-on state
  • a low-level signal may indicate that the first working circuit is in a power-off state state.
  • the device 1200 may further include a memory 1330 for storing instructions and data.
  • the embodiment of the present application also provides a circuit system supporting power consumption estimation, including:
  • an estimation circuit configured to acquire the IDDQ of the first operating circuit from the first operating circuit, and input the IDDQ of the first operating circuit into a power consumption model to obtain the static power of the first operating circuit Consumption estimation results;
  • the power consumption model is determined according to at least two historical IDDQs and historical static power consumption corresponding to each of the historical IDDQs.
  • the first working circuit includes a non-volatile memory
  • the IDDQ of the first working circuit is measured by an IDDQ test tool under the combined conditions of preset temperature and preset voltage, and is stored in the non-volatile memory of the first working circuit;
  • the estimation device is used to read the IDDQ of the first working circuit from the non-volatile memory of the first working circuit through the system bus.
  • the circuit system further includes:
  • a temperature sensor configured to report the current temperature data of the first working circuit to the estimation circuit
  • a voltage data register configured to store voltage data currently configured by the first working circuit
  • the estimating device is further configured to read the voltage data of the current configuration of the first working circuit from the voltage data register.
  • the target power domain circuit is connected to the estimation circuit through a signal line;
  • the target power domain circuit is further configured to send a level signal to the estimation circuit through the signal line;
  • the estimation circuit is further configured to determine the power-on/off state of the target power supply circuit through the level signal.
  • the estimation circuit is connected to the first working circuit through a bus.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the present application will be produced in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server, or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, DSL) or wireless (eg, infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a Solid State Disk).

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Power Sources (AREA)

Abstract

Embodiments of the present application provide a quiescent power dissipation estimation method and a related apparatus. The method comprises: obtaining a first quiescent current IDDQ of a first working circuit belonging to a target power domain; and inputting the first IDDQ into a power dissipation model to obtain first quiescent power dissipation of the first working circuit, wherein the power dissipation model is determined according to at least two historical IDDQs and historical quiescent power dissipation corresponding to the historical IDDQs.

Description

一种静态功耗估计方法及相关装置A static power consumption estimation method and related device 技术领域technical field
本申请涉及半导体技术领域,尤其涉及一种静态功耗估计方法及相关装置。The present application relates to the technical field of semiconductors, and in particular to a method for estimating static power consumption and related devices.
背景技术Background technique
在半导体技术领域,静态功耗是十分重要的统计数据。静态功耗也称泄露功耗,是电路处于等待或不激活状态时泄露电流所产生的功耗。Static power consumption is an important statistic in semiconductor technology. Static power consumption, also known as leakage power consumption, is the power consumption generated by leakage current when the circuit is in a waiting or inactive state.
静态功耗与电路的工艺角、当前温度、当前电压有关,由于工艺角不能直接获得,因此需要采用中间量来表示工艺角对静态功耗的影响。The static power consumption is related to the process angle of the circuit, the current temperature, and the current voltage. Since the process angle cannot be directly obtained, an intermediate quantity is needed to represent the influence of the process angle on the static power consumption.
在一种功耗估计方法中,电路中可以设置延时链,在使用电路时采集当前的时延,利用时延与静态功耗的对应关系,确定电路的当前静态功耗。In a method for estimating power consumption, a delay chain can be set in the circuit, the current time delay is collected when the circuit is used, and the current static power consumption of the circuit is determined by using the corresponding relationship between time delay and static power consumption.
但是,采用延时链采集的时延信息估计静态功耗常常存在偏差。However, there are often deviations in estimating static power consumption using delay information collected by delay chains.
发明内容Contents of the invention
本申请提供了一种设备间数据传输的控制方法及相关装置,能够提升业务需求的满足度。The present application provides a control method and a related device for data transmission between devices, which can improve the satisfaction of business requirements.
第一方面,本申请提供一种静态功耗估计方法,所述方法包括:In a first aspect, the present application provides a static power consumption estimation method, the method comprising:
获取属于目标电源域的第一工作电路的第一静态电流IDDQ;Acquiring a first quiescent current IDDQ of a first working circuit belonging to a target power domain;
将所述第一IDDQ输入功耗模型,获得所述第一工作电路对应的第一静态功耗;Inputting the first IDDQ into a power consumption model to obtain a first static power consumption corresponding to the first working circuit;
其中,所述功耗模型为根据至少两个历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定的。Wherein, the power consumption model is determined according to at least two historical IDDQs and historical static power consumption corresponding to each of the historical IDDQs.
在一种可能的实现方式中,所述功耗模型为倍率模型In a possible implementation, the power consumption model is a rate model
P=K*P base;其中,K=F 1(Q); P=K*P base ; where, K=F 1 (Q);
其中,P为所述第一静态功耗,电流倍率Q为所述第一IDDQ与基准IDDQ之间的电流倍率,功耗电流倍率关系函数F 1用于反映所述电流倍率Q与功耗倍率K之间的关系,所述基准IDDQ为所述至少两个历史IDDQ中的一个历史IDDQ,所述基准静态功耗P base为所述基准IDDQ对应的历史静态功耗。 Wherein, P is the first static power consumption, the current ratio Q is the current ratio between the first IDDQ and the reference IDDQ, and the power consumption current ratio relationship function F1 is used to reflect the current ratio Q and the power consumption ratio The relationship between K, the base IDDQ is one of the at least two historical IDDQs, and the base static power consumption P base is the historical static power consumption corresponding to the base IDDQ.
在一种可能的实现方式中,所述功耗模型为校准模型In a possible implementation, the power consumption model is a calibration model
P=Ca(K*P base);其中,K=F 1(Q); P=Ca(K*P base ); where, K=F 1 (Q);
其中,P为所述第一静态功耗,电流倍率Q为所述第一IDDQ与基准IDDQ之间的电流倍率,功耗电流倍率关系函数F 1用于反映所述电流倍率Q与功耗倍率K之间的关系,校准函数Ca用于反映计算静态功耗和实际静态功耗之间的关系,所述基准IDDQ为所述至少两个历史IDDQ中的一个历史IDDQ,所述基准静态功耗P base为所述基准IDDQ对应的历史静态功耗。 Wherein, P is the first static power consumption, the current ratio Q is the current ratio between the first IDDQ and the reference IDDQ, and the power consumption current ratio relationship function F1 is used to reflect the current ratio Q and the power consumption ratio The relationship between K, the calibration function Ca is used to reflect the relationship between the calculated static power consumption and the actual static power consumption, the reference IDDQ is a historical IDDQ in the at least two historical IDDQs, the reference static power consumption P base is the historical static power consumption corresponding to the base IDDQ.
在一种可能的实现方式中,所述至少两个历史IDDQ和各个所述历史IDDQ对应的历史静态功耗为:从至少两个样本获取的样本数据;其中,In a possible implementation manner, the at least two historical IDDQs and the historical static power consumption corresponding to each of the historical IDDQs are: sample data obtained from at least two samples; wherein,
所述功耗模型为利用所述至少两个样本的样本数据训练得到的;其中,所述至少两个样本位于不同的裸片上,每个样本包含属于所述目标电源域的所述第一工作电路;The power consumption model is obtained by training using sample data of the at least two samples; wherein the at least two samples are located on different dies, and each sample includes the first work belonging to the target power domain circuit;
每个所述样本的样本数据包括:所述至少两个历史IDDQ中的至少一个历史IDDQ,和,与所述至少一个历史IDDQ中的各个历史IDDQ对应的历史静态功耗。The sample data of each sample includes: at least one historical IDDQ of the at least two historical IDDQs, and historical static power consumption corresponding to each historical IDDQ of the at least one historical IDDQ.
在一种可能的实现方式中,所述基准样本为所述至少两个样本中历史IDDQ最小的样本Y 0;所述基准静态功耗P base为所述样本Y 0的历史静态功耗IDDQ 0对应的P 0In a possible implementation manner, the base sample is the sample Y 0 with the smallest historical IDDQ among the at least two samples; the base static power consumption P base is the historical static power consumption IDDQ 0 of the sample Y 0 Corresponding P 0 ;
所述至少两个样本的数量为n+1,其中,n为大于0的整数;所述n+1个样本中除所述Y 0之外的其他样本为Y 1…Y nThe number of the at least two samples is n+1, where n is an integer greater than 0; among the n+1 samples, other samples except the Y 0 are Y 1 ... Y n ;
所述功耗模型中的功耗电流倍率关系函数F 1为利用所述样本Y 1…Y n中的每个样本的历史电流倍率和历史电流倍率,对功耗电流倍率关系模型K=F 1(Q)进行训练,确定的; The power consumption current ratio relationship function F1 in the power consumption model is to use the historical current ratio and historical current ratio of each sample in the samples Y1 ... Yn , and the power consumption current ratio relationship model K = F1 (Q) conduct training, sure;
其中,所述样本Y 1…Y n对应的历史功耗倍率K 1…K n中,第i个样本Y i对应的历史功耗倍率
Figure PCTCN2021103711-appb-000001
P i为Y i的历史静态功耗;所述样本Y 1…Y n的历史电流倍率Q 1…Q n中,第i个样本Y i对应的历史电流倍率
Figure PCTCN2021103711-appb-000002
IDDQ i为Y i的历史IDDQ,i为大于0且小于或者等于n-1的整数。
Among the historical power consumption ratios K 1 ...K n corresponding to the samples Y 1 ...Y n , the historical power consumption ratios corresponding to the i-th sample Y i
Figure PCTCN2021103711-appb-000001
P i is the historical static power consumption of Y i ; among the historical current multipliers Q 1 ...Q n of the samples Y 1 ...Y n , the historical current multiplier corresponding to the ith sample Y i
Figure PCTCN2021103711-appb-000002
IDDQ i is the historical IDDQ of Y i , and i is an integer greater than 0 and less than or equal to n-1.
在一种可能的实现方式中,在所述将所述第一IDDQ输入功耗模型,获得所述第一工作电路对应的第一静态功耗之前,所述方法还包括:In a possible implementation manner, before inputting the first IDDQ into the power consumption model to obtain the first static power consumption corresponding to the first working circuit, the method further includes:
获取所述第一工作电路的当前电压和当前温度;Acquiring the current voltage and current temperature of the first working circuit;
所述将所述第一IDDQ输入功耗模型,获得所述第一工作电路对应的第一静态功耗,包括:将所述第一IDDQ、所述当前电压和所述当前温度输入所述功耗模型,获得所述第一工作电路对应的所述第一静态功耗;The inputting the first IDDQ into the power consumption model to obtain the first static power consumption corresponding to the first working circuit includes: inputting the first IDDQ, the current voltage and the current temperature into the power consumption consumption model, to obtain the first static power consumption corresponding to the first working circuit;
其中,所述功耗模型为根据所述至少两个样本在至少两组历史温度和历史电压组合下的历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定的。Wherein, the power consumption model is determined according to the historical IDDQ of the at least two samples under at least two sets of historical temperature and historical voltage combinations and the historical static power consumption corresponding to each of the historical IDDQs.
在一种可能的实现方式中,所述倍率模型中的基准功耗P base为根据P base=F 0(V,T)确定的;其中,所述基准功耗关系函数F 0为根据至少两种历史温度和历史电压组合以及所述样本Y 0在所述至少两种历史温度和历史电压组合下的历史静态功耗确定的; In a possible implementation manner, the base power consumption P base in the rate model is determined according to P base = F 0 (V, T); wherein, the base power consumption relationship function F 0 is based on at least two A historical temperature and historical voltage combination and the historical static power consumption of the sample Y 0 under the at least two historical temperature and historical voltage combinations are determined;
其中,每个所述样本的样本数据包括:每个所述样本在所述至少两种历史温度和历史电压组合中每种历史温度和历史电压组合下的历史IDDQ和历史静态功耗。Wherein, the sample data of each sample includes: historical IDDQ and historical static power consumption of each sample under each historical temperature and historical voltage combination in the at least two historical temperature and historical voltage combinations.
在一种可能的实现方式中,所述功耗模型中的基准功耗关系函数F 0为利用所述至少两种历史温度和历史电压组合,以及,所述样本Y 0在所述至少两种历史温度和历史电压组合下的历史静态功耗,对功耗电流倍率关系模型P base=F 0(V,T)进行训练确定的。 In a possible implementation manner, the reference power consumption relationship function F 0 in the power consumption model uses the at least two historical temperature and historical voltage combinations, and the sample Y 0 is in the at least two The historical static power consumption under the combination of historical temperature and historical voltage is determined by training the power consumption current ratio relationship model P base =F 0 (V,T).
在一种可能的实现方式中,所述至少两个样本中的每个样本中的所述第一工作电路的工艺角满足:In a possible implementation manner, the process angle of the first working circuit in each of the at least two samples satisfies:
所述至少两个样本中的每个样本的工艺角在所述第一工作电路的工艺角范围内等间隔分布;Process corners of each of the at least two samples are equally spaced within the range of process corners of the first working circuit;
所述至少样本中存在第一样本和第二样本,所述第一样本的工艺角为所述第一工作电路的工艺角范围中的最小值SS;所述第二样本的工艺角为所述工艺角范围的最大值FF。There are a first sample and a second sample among the at least samples, the process angle of the first sample is the minimum value SS in the process angle range of the first working circuit; the process angle of the second sample is The maximum value FF of the process angle range.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
根据所述第一静态功耗和所述第一工作电路在预设时间段内的上电状态,确定所述第一工作电路在预设时间段内的平均功耗;determining the average power consumption of the first working circuit within a preset time period according to the first static power consumption and the power-on state of the first working circuit within a preset time period;
其中,所述第一工作电路在预设时间段内的上电状态为基于通过信号线接收的所述第一工作电路的电平信号确定的。Wherein, the power-on state of the first working circuit within a preset time period is determined based on a level signal of the first working circuit received through a signal line.
第二方面,本申请实施例提供了一种电子装置,包括:In a second aspect, the embodiment of the present application provides an electronic device, including:
获取模块,用于获取属于目标电源域的第一工作电路的第一静态电流IDDQ;An acquisition module, configured to acquire the first quiescent current IDDQ of the first working circuit belonging to the target power domain;
处理模块,用于将所述第一IDDQ输入功耗模型,获得所述第一工作电路对应的第一静态功耗;A processing module, configured to input the first IDDQ into a power consumption model to obtain a first static power consumption corresponding to the first working circuit;
其中,所述功耗模型为根据至少两个历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定的。Wherein, the power consumption model is determined according to at least two historical IDDQs and historical static power consumption corresponding to each of the historical IDDQs.
在一种可能的实现方式中,所述获取模块,还用于获取所述第一工作电路的当前电压和当前温度;In a possible implementation manner, the acquiring module is further configured to acquire the current voltage and current temperature of the first working circuit;
所述处理模块,还用于将所述第一IDDQ、所述当前电压和所述当前温度输入所述功耗模型,获得所述第一工作电路对应的所述第一静态功耗;The processing module is further configured to input the first IDDQ, the current voltage and the current temperature into the power consumption model to obtain the first static power consumption corresponding to the first working circuit;
其中,所述功耗模型为根据至少两个样本在至少两组历史温度和历史电压组合下的历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定的。Wherein, the power consumption model is determined according to historical IDDQs of at least two samples under at least two sets of historical temperature and historical voltage combinations and historical static power consumption corresponding to each of the historical IDDQs.
在一种可能的实现方式中,所述至少两个样本中的每个样本中的所述第一工作电路的工艺角满足:In a possible implementation manner, the process angle of the first working circuit in each of the at least two samples satisfies:
所述至少两个样本中的每个样本的工艺角在所述第一工作电路的工艺角范围内等间隔分布;Process corners of each of the at least two samples are equally spaced within the range of process corners of the first working circuit;
所述至少样本中存在第一样本和第二样本,所述第一样本的工艺角为所述第一工作电路的工艺角范围中的最小值SS;所述第二样本的工艺角为所述工艺角范围的最大值FF。There are a first sample and a second sample among the at least samples, the process angle of the first sample is the minimum value SS in the process angle range of the first working circuit; the process angle of the second sample is The maximum value FF of the process angle range.
第三方面,提供了一种支持功耗估计的电路系统,包括:In a third aspect, a circuit system supporting power consumption estimation is provided, including:
属于目标电源域的第一工作电路,所述第一工作电路存储有所述第一工作电路的静态电流IDDQ;A first working circuit belonging to the target power domain, where the first working circuit stores a quiescent current IDDQ of the first working circuit;
估计电路,用于从所述第一工作电路获取所述第一工作电路的IDDQ,以及,用于将所述第一工作电路的IDDQ输入功耗模型,获得所述第一工作电路的静态功耗估计结果;an estimation circuit, configured to acquire the IDDQ of the first operating circuit from the first operating circuit, and input the IDDQ of the first operating circuit into a power consumption model to obtain the static power of the first operating circuit Consumption estimation results;
其中,所述功耗模型为根据至少两个历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定的。Wherein, the power consumption model is determined according to at least two historical IDDQs and historical static power consumption corresponding to each of the historical IDDQs.
在一种可能的实现方式中,所述第一工作电路包括非易失性存储器;In a possible implementation manner, the first working circuit includes a non-volatile memory;
所述第一工作电路的IDDQ为通过IDDQ测试工具在预设温度和预设电压组合条件下测量得到,并存储至所述第一工作电路的非易失性存储器中的;The IDDQ of the first working circuit is measured by an IDDQ test tool under the combined conditions of preset temperature and preset voltage, and is stored in the non-volatile memory of the first working circuit;
所述估计装置,用于通过系统总线从所述第一工作电路的非易失性存储器中读取 所述第一工作电路的IDDQ。The estimation device is used to read the IDDQ of the first working circuit from the non-volatile memory of the first working circuit through the system bus.
在一种可能的实现方式中,所述电路系统还包括:In a possible implementation manner, the circuit system further includes:
温度传感器,用于向所述估计电路上报所述第一工作电路的当前温度数据;a temperature sensor, configured to report the current temperature data of the first working circuit to the estimation circuit;
电压数据寄存器,用于存储所述第一工作电路当前配置的电压数据;a voltage data register, configured to store voltage data currently configured by the first working circuit;
所述估计装置,还用于从所述电压数据寄存器中读取所述第一工作电路当前配置的电压数据。The estimating device is further configured to read the voltage data of the current configuration of the first working circuit from the voltage data register.
在一种可能的实现方式中,所述目标电源域电路与所述估计电路通过信号线相连;In a possible implementation manner, the target power domain circuit is connected to the estimation circuit through a signal line;
所述目标电源域电路,还用于通过所述信号线向所述估计电路发送电平信号;The target power domain circuit is further configured to send a level signal to the estimation circuit through the signal line;
所述估计电路,还用于通过所述电平信号确定所述目标电源电路的上下电状态。The estimation circuit is further configured to determine the power-on/off state of the target power supply circuit through the level signal.
在一种可能的实现方式中,所述估计电路与所述第一工作电路通过总线相连。In a possible implementation manner, the estimation circuit is connected to the first working circuit through a bus.
第四方面,本申请实施例提供一种数据传输方法,所述方法包括:In a fourth aspect, the embodiment of the present application provides a data transmission method, the method comprising:
获取属于目标电源域的第一工作电路的第一静态电流IDDQ;Acquiring a first quiescent current IDDQ of a first working circuit belonging to a target power domain;
将所述第一IDDQ输入功耗模型,获得所述第一工作电路的第一静态功耗;Inputting the first IDDQ into a power consumption model to obtain a first static power consumption of the first working circuit;
其中,所述功耗模型为根据至少两个历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定的。Wherein, the power consumption model is determined according to at least two historical IDDQs and historical static power consumption corresponding to each of the historical IDDQs.
采用本申请实施例提供的估计方法,相对于采用延时链确定静态功耗的方法中,对于包含晶体管(例如还有三氧层)的电路,延时链无法获得MOS管、P管、N管的隧穿电流(Tunneling),即时延信息只能反映由于漂移电流产生的静态功耗,遗漏了由于隧穿电流产生的静态功耗,因而存在功耗估计不准确的问题。本申请实施例提供的功耗估计方法能够覆盖所有漏电成分,功耗估计更为准确。Using the estimation method provided in the embodiment of the present application, compared with the method of determining the static power consumption by using the delay chain, for a circuit including transistors (for example, there is an oxide layer), the delay chain cannot obtain MOS tubes, P tubes, and N tubes. The tunneling current (Tunneling), that is, the delay information can only reflect the static power consumption due to the drift current, omitting the static power consumption due to the tunneling current, so there is a problem of inaccurate power consumption estimation. The power consumption estimation method provided by the embodiment of the present application can cover all leakage components, and the power consumption estimation is more accurate.
在一种可能的实现方式中,所述功耗模型为倍率模型In a possible implementation, the power consumption model is a rate model
P=K*P base;其中,K=F 1(Q); P=K*P base ; where, K=F 1 (Q);
其中,电流倍率Q为第一IDDQ与基准IDDQ之间的电流倍率,功耗电流倍率关系函数F 1用于反映电流倍率Q与功耗倍率K之间的关系,所述基准IDDQ为所述至少两个历史IDDQ中的一个历史IDDQ,所述基准静态功耗P base为所述基准IDDQ对应的历史静态功耗; Wherein, the current multiplying factor Q is the current multiplying factor between the first IDDQ and the reference IDDQ, and the power consumption current multiplying factor relationship function F1 is used to reflect the relationship between the current multiplying factor Q and the power consumption multiplying factor K, and the said reference IDDQ is said at least A historical IDDQ in two historical IDDQs, the base static power consumption P base is the historical static power consumption corresponding to the base IDDQ;
所述F 1为根据所述至少两个IDDQ中除所述基准IDDQ之外的其他历史IDDQ与所述基准IDDQ之间的历史电流倍率,以及,所述其他历史IDDQ对应的历史静态功耗与所述P base之间的历史功耗倍率确定的。 The F1 is based on the historical current multiplier between other historical IDDQs except the reference IDDQ in the at least two IDDQs and the reference IDDQ, and the historical static power consumption corresponding to the other historical IDDQs and determined by the historical power multiplier between the P base .
在一种可能的实现方式中,所述功耗模型为校准模型In a possible implementation, the power consumption model is a calibration model
P=Ca(K*P base);其中,K=F 1(Q); P=Ca(K*P base ); where, K=F 1 (Q);
其中,电流倍率Q为第一IDDQ与基准IDDQ之间的电流倍率,功耗电流倍率关系函数F 1用于反映电流倍率Q与功耗倍率K之间的关系,校准函数Ca用于反映计算静态功耗和实际静态功耗之间的关系,所述基准IDDQ为所述至少两个历史IDDQ中的一个历史IDDQ,所述基准静态功耗P base为所述基准IDDQ对应的历史静态功耗; Among them, the current multiplier Q is the current multiplier between the first IDDQ and the reference IDDQ, the power consumption current multiplier relationship function F1 is used to reflect the relationship between the current multiplier Q and the power consumption multiplier K, and the calibration function Ca is used to reflect the calculation static A relationship between power consumption and actual static power consumption, wherein the base IDDQ is one historical IDDQ in the at least two historical IDDQs, and the base static power consumption P base is the historical static power consumption corresponding to the base IDDQ;
所述F 1为根据所述至少两个IDDQ中除所述基准IDDQ之外的其他历史IDDQ与所述基准IDDQ之间的历史电流倍率,以及,所述其他历史IDDQ对应的历史静态功耗与所述P base之间的历史功耗倍率确定的; The F1 is based on the historical current multiplier between other historical IDDQs except the reference IDDQ in the at least two IDDQs and the reference IDDQ, and the historical static power consumption corresponding to the other historical IDDQs and Determined by the historical power consumption ratio between the P bases ;
所述Ca为根据基于所述至少两个IDDQ对应的历史静态功耗和所述至少两个IDDQ对应的历史计算静态功耗确定的,其中,所述至少两个历史IDDQ中每个所述历史IDDQ对应的计算静态功耗为根据每个所述历史IDDQ和P=K*P base计算得得到的。 The Ca is determined based on the historical static power consumption corresponding to the at least two IDDQs and the historical calculation static power consumption corresponding to the at least two IDDQs, wherein each of the historical IDDQs in the at least two historical IDDQs The calculated static power consumption corresponding to the IDDQ is calculated according to each historical IDDQ and P=K*P base .
在一种可能的实现方式中,在所述将所述第一IDDQ输入功耗模型,获得所述第一工作电路的第一IDDQ对应的第一静态功耗之前,还包括:In a possible implementation manner, before inputting the first IDDQ into the power consumption model to obtain the first static power consumption corresponding to the first IDDQ of the first working circuit, the method further includes:
获取至少两个样本中的每个样本对应的样本数据;obtaining sample data corresponding to each sample in at least two samples;
利用所述至少两个样本的样本数据,训练得到所述功耗模型;Using the sample data of the at least two samples, train to obtain the power consumption model;
其中,所述至少两个样本位于不同的裸片上,每个样本包含属于所述目标电源域的所述第一工作电路;每个所述样本的样本数据包括:历史IDDQ和与历史IDDQ对应的历史静态功耗;所述基准IDDQ为所述至少两个样本的中基准样本的历史IDDQ;。Wherein, the at least two samples are located on different dies, and each sample includes the first working circuit belonging to the target power domain; the sample data of each sample includes: historical IDDQ and historical IDDQ corresponding to historical static power consumption; the baseline IDDQ is a historical IDDQ of a baseline sample among the at least two samples;
在一种可能的实现方式中,所述基准样本为所述至少两个样本中历史IDDQ最小的样本Y 0;所述基准静态功耗P base为所述样本Y 0的历史静态功耗IDDQ 0对应的P 0In a possible implementation manner, the base sample is the sample Y 0 with the smallest historical IDDQ among the at least two samples; the base static power consumption P base is the historical static power consumption IDDQ 0 of the sample Y 0 Corresponding P 0 ;
所述至少两个样本的数量为n+1,其中,n为大于0的整数;所述n+1个样本中除所述Y 0之外的其他样本为Y 1…Y nThe number of the at least two samples is n+1, where n is an integer greater than 0; among the n+1 samples, other samples except the Y 0 are Y 1 ... Y n ;
所述利用所述至少两个样本的样本数据,训练得到所述功耗模型,包括:The training to obtain the power consumption model by using the sample data of the at least two samples includes:
确定所述样本Y 1…Y n的历史功耗倍率K 1…K n;其中,第i个样本Y i对应的历史功耗倍率
Figure PCTCN2021103711-appb-000003
P i为Y i的历史静态功耗;
Determine the historical power consumption ratio K 1 ...K n of the samples Y 1 ...Y n ; wherein, the historical power consumption ratio corresponding to the i-th sample Y i
Figure PCTCN2021103711-appb-000003
P i is the historical static power consumption of Y i ;
确定所述样本Y 1…Y n的历史电流倍率Q 1…Q n;其中,第i个样本Y i对应的历史电流倍率
Figure PCTCN2021103711-appb-000004
IDDQ i为Y i的历史IDDQ,i为大于0且小于或者等于n-1的整数;
Determine the historical current rate Q 1 ... Q n of the samples Y 1 ... Y n ; wherein, the historical current rate corresponding to the ith sample Y i
Figure PCTCN2021103711-appb-000004
IDDQ i is the historical IDDQ of Y i , i is an integer greater than 0 and less than or equal to n-1;
利用所述样本Y 1…Y n中的每个样本的历史电流倍率和历史电流倍率,对功耗电流倍率关系模型K=F 1(Q)进行训练,确定功耗电流倍率关系函数F 1Using the historical current ratios and historical current ratios of each of the samples Y 1 . . . Y n , train the power consumption current ratio relationship model K=F 1 (Q), and determine the power consumption current ratio relationship function F 1 .
在一种可能的实现方式中,在所述将所述第一IDDQ输入功耗模型,获得所述第一工作电路的第一静态功耗之前,所述方法还包括:In a possible implementation manner, before inputting the first IDDQ into the power consumption model to obtain the first static power consumption of the first working circuit, the method further includes:
获取属于所述目标电源域的第一工作电路的当前电压和当前温度;acquiring the current voltage and current temperature of the first working circuit belonging to the target power domain;
所述将所述第一IDDQ输入功耗模型,获得所述第一工作电路的第一静态功耗,包括:将所述第一IDDQ、所述当前电压和所述当前温度输入所述功耗模型,获得所述第一工作电路的第一静态功耗;The inputting the first IDDQ into the power consumption model to obtain the first static power consumption of the first working circuit includes: inputting the first IDDQ, the current voltage and the current temperature into the power consumption a model to obtain a first static power consumption of the first working circuit;
其中,所述功耗模型为根据至少两组历史温度和历史电压组合下的历史IDDQ和各个所述历史IDDQ对应的历史静态功耗。Wherein, the power consumption model is based on historical IDDQs under combinations of at least two groups of historical temperatures and historical voltages and historical static power consumption corresponding to each of the historical IDDQs.
在一种可能的实现方式中,所述倍率模型中的基准功耗P base为根据P base=F 0(V,T)确定的;其中,所述基准功耗关系函数F 0为根据至少两种历史温度和历史电压组合以及所述样本Y 0在所述至少两种历史温度和历史电压组合下的历史静态功耗确定的; In a possible implementation manner, the base power consumption P base in the rate model is determined according to P base = F 0 (V, T); wherein, the base power consumption relationship function F 0 is based on at least two A historical temperature and historical voltage combination and the historical static power consumption of the sample Y 0 under the at least two historical temperature and historical voltage combinations are determined;
所述获取至少两个样本中的每个样本对应的样本数据,包括:The acquiring sample data corresponding to each sample in at least two samples includes:
对所述至少两个样本中的每个所述样本,获取在至少两种历史温度和历史电压组合下的样本数据;obtaining sample data at at least two historical temperature and historical voltage combinations for each of the at least two samples;
其中,每个所述样本的样本数据包括:所述至少两种历史温度和历史电压组合中每种历史温度和历史电压组合下的历史IDDQ和历史静态功耗。Wherein, the sample data of each sample includes: historical IDDQ and historical static power consumption under each historical temperature and historical voltage combination in the at least two historical temperature and historical voltage combinations.
在一种可能的实现方式中,所述利用所述至少两个样本的样本数据,训练得到所述功耗模型,还包括:In a possible implementation manner, the training to obtain the power consumption model by using the sample data of the at least two samples further includes:
利用至少两种历史温度和历史电压组合,以及,所述样本Y 0在所述至少两种历史温度和历史电压组合下的历史静态功耗,对功耗电流倍率关系模型P base=F 0(V,T)进行训练,确定基准功耗关系函数F 0Using at least two historical temperature and historical voltage combinations, and the historical static power consumption of the sample Y 0 under the at least two historical temperature and historical voltage combinations, the power consumption current ratio relationship model P base =F 0 ( V, T) for training to determine the reference power consumption relation function F 0 .
在一种可能的实现方式中,所述至少两个样本中的每个样本中的所述第一工作电 路的工艺角满足;In a possible implementation manner, the process angle of the first working circuit in each of the at least two samples satisfies;
所述至少两个样本中的每个样本的工艺角在所述第一工作电路的工艺角范围内等间隔分布;Process corners of each of the at least two samples are equally spaced within the range of process corners of the first working circuit;
所述至少样本中存在第一样本和第二样本,所述第一样本的工艺角为所述第一工作电路的工艺角范围中的最小值SS;所述第二样本的工艺角为所述工艺角范围的最大值FF。There are a first sample and a second sample among the at least samples, the process angle of the first sample is the minimum value SS in the process angle range of the first working circuit; the process angle of the second sample is The maximum value FF of the process angle range.
在一种可能的实现方式中,所述基准样本Y 0为工艺角为SS的样本。 In a possible implementation manner, the reference sample Y0 is a sample with a process corner of SS.
在一种可能的实现方式中,所述第一IDDQ为在所述第一工作电路处于上电状态时的IDDQ,其中,所述第一工作电路是否处于上电状态为根据基于通过信号线接收到的所述第一工作电路的电平信号确定的。In a possible implementation, the first IDDQ is the IDDQ when the first working circuit is in the power-on state, wherein whether the first working circuit is in the power-on state is based on the determined by the level signal of the first working circuit.
第五方面,提供了一种静态功耗估计装置,包括:In the fifth aspect, a device for estimating static power consumption is provided, including:
接口,用于获取属于目标电源域的第一工作电路的第一IDDQ。An interface, configured to obtain the first IDDQ of the first working circuit belonging to the target power domain.
处理器,用于执行第一方面或第一方面中任意一种方法。A processor configured to execute the first aspect or any one of the methods in the first aspect.
在一种可能的实现方式中,所述接口包括:In a possible implementation manner, the interface includes:
第一接口,与系统总线相连,用于获取所述第一IDDQ;The first interface is connected to the system bus and is used to obtain the first IDDQ;
第二接口,与所述第一工作电路通过电源线相连,用于获得所述第一工作电路的上下电信息;The second interface is connected to the first working circuit through a power line, and is used to obtain power-on and power-off information of the first working circuit;
第三接口,与温度传感器相连,用于获取所述第一工作电路的当前温度;The third interface is connected to a temperature sensor and is used to obtain the current temperature of the first working circuit;
第四接口,与电压数据寄存器相连,用于获取所述第一工作电路的当前电压。The fourth interface is connected to the voltage data register and is used to obtain the current voltage of the first working circuit.
又一方面,本申请实施例提供一种静态功耗估计装置,该装置包括处理模块和收发模块,处理单元执行指令以控制该装置执行第一方面或第一方面任意一种可能的设计中的方法。In yet another aspect, an embodiment of the present application provides a static power consumption estimation device, the device includes a processing module and a transceiver module, and the processing unit executes instructions to control the device to perform the first aspect or any possible design of the first aspect method.
在一种可能的实现方式中,该装置还可以包括存储模块。In a possible implementation manner, the device may further include a storage module.
在一种可能的实现方式中,该装置可以是片上系统,也可以是片上系统中的芯片。In a possible implementation manner, the apparatus may be a system on a chip, or a chip in the system on a chip.
当该装置是片上系统时,处理模块可以是处理器,收发模块可以是收发器;若还包括存储模块,存储模块可以是存储器。When the device is a system on chip, the processing module may be a processor, and the transceiver module may be a transceiver; if it further includes a storage module, the storage module may be a memory.
当该装置是片上系统内的芯片时,处理模块可以是处理器,收发模块可以是输入/输出接口、管脚或电路等;若还包括存储模块,该存储模块可以是该芯片内的存储模块(例如,寄存器、缓存等),也可以是该芯片外部的存储模块(例如,只读存储器、随机存取存储器等)。When the device is a chip in a system on chip, the processing module can be a processor, and the transceiver module can be an input/output interface, a pin or a circuit, etc.; if it also includes a storage module, the storage module can be a storage module in the chip (for example, a register, a cache, etc.), or a storage module (for example, a read-only memory, a random access memory, etc.) outside the chip.
其中,上述任一处提到的处理器,可以是一个通用中央处理器(Central Processing Unit,简称CPU),微处理器,特定应用集成电路(application-specific integrated circuit,简称ASIC),或一个或多个用于控制上述各方面空间复用方法的程序执行的集成电路。Among them, the processor mentioned in any of the above places can be a general-purpose central processing unit (Central Processing Unit, referred to as CPU), a microprocessor, a specific application integrated circuit (application-specific integrated circuit, referred to as ASIC), or one or A plurality of integrated circuits for controlling program execution of the spatial multiplexing method of the above aspects.
又一方面,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,所述指令可以由处理电路上的一个或多个处理器执行。当其在计算机上运行时,使得计算机执行上述第一方面或其任意可能的实现方式中的方法。In yet another aspect, the present application provides a computer-readable storage medium having instructions stored therein, and the instructions can be executed by one or more processors on a processing circuit. When it runs on a computer, it causes the computer to execute the method in the above first aspect or any possible implementation thereof.
又一方面,提供了一种包含指令的计算机程序产品,其在计算机上运行时,使得计算机执行上述第一方面或其任意可能的实现方式中的方法。In yet another aspect, a computer program product including instructions is provided, which, when run on a computer, causes the computer to execute the method in the above first aspect or any possible implementation thereof.
附图说明Description of drawings
为了更清楚地说明本申请或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in this application or the prior art, the accompanying drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are the present For some embodiments of the application, those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1A为本申请实施例中电子设备应用静态功耗优化设备性能的一种示意图;FIG. 1A is a schematic diagram of an electronic device application static power consumption optimization device performance in an embodiment of the present application;
图1B为本申请实施例中电子设备包含设置有CPU的SOC上的电源域划分的示意图;FIG. 1B is a schematic diagram of the division of power domains on an SOC provided with a CPU in an electronic device in an embodiment of the present application;
图2A所示为本申请实施例中量产芯片生产过程的一种示意图;FIG. 2A is a schematic diagram of the production process of mass-produced chips in the embodiment of the present application;
图2B为本申请实施例中功耗模型参数获取过程的一种示意图;FIG. 2B is a schematic diagram of a process of acquiring parameters of a power consumption model in an embodiment of the present application;
图3A为应用本申请实施例中的估计方法的量产芯片中的电路系统的系统结构示意图;3A is a schematic diagram of the system structure of the circuit system in the mass-produced chip applying the estimation method in the embodiment of the present application;
图3B为本申请实施例中估计装置的内部结构的一种示意图;FIG. 3B is a schematic diagram of the internal structure of the estimation device in the embodiment of the present application;
图4为本申请实施例提供的静态功耗估计方法的流程示意图;FIG. 4 is a schematic flowchart of a method for estimating static power consumption provided by an embodiment of the present application;
图5为本申请实施例提供的倍率模型的模型参数的获取流程的示意图;5 is a schematic diagram of the acquisition process of the model parameters of the magnification model provided by the embodiment of the present application;
图6为本申请实施例中样本的工艺角在工艺角范围中等间隔分布的示意图;Fig. 6 is a schematic diagram of the distribution of process angles of samples at equal intervals in the range of process angles in the embodiment of the present application;
图7为本申请实施例中样本数据覆盖温度和电压取值组合的示意图;Fig. 7 is a schematic diagram of the combination of temperature and voltage values covered by sample data in the embodiment of the present application;
图8为本申请实施例中静态功耗估计方法的一种实施流程的示意图;FIG. 8 is a schematic diagram of an implementation process of a static power consumption estimation method in an embodiment of the present application;
图9为本申请实施例中样本对应的IDDQ的一种示意图;FIG. 9 is a schematic diagram of the IDDQ corresponding to the sample in the embodiment of the present application;
图10为本申请实施例中训练流程的示意图;Fig. 10 is a schematic diagram of the training process in the embodiment of the present application;
图11为本申请实施例提供的静态功耗估计装置的一种结构示意图;FIG. 11 is a schematic structural diagram of a static power consumption estimation device provided by an embodiment of the present application;
图12为本申请实施例提供的静态功耗估计装置的另一种结构示意图。FIG. 12 is another schematic structural diagram of the static power consumption estimating device provided by the embodiment of the present application.
具体实施方式detailed description
本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The terms used in the embodiments of the present application are only used to explain specific embodiments of the present application, and are not intended to limit the present application.
实施例一Embodiment one
本申请实施例提供的方法可应用于对电子设备中的芯片或者电路的静态功耗进行估计。作为一种示例,电子设备可以是手机等各种终端设备。The method provided by the embodiment of the present application can be applied to estimate the static power consumption of a chip or a circuit in an electronic device. As an example, the electronic device may be various terminal devices such as a mobile phone.
在本申请实施例中,静态功耗结果可用于电子设备进行温度(Thermal)控制、调度(Schedual)控制、动态电压频率调节(DVFS)、任务调度等领域,准确地静态功耗估计将更好地帮助电子设备发挥电子设备的整体性能。In the embodiment of this application, the static power consumption results can be used in electronic equipment for thermal control, scheduling control, dynamic voltage frequency adjustment (DVFS), task scheduling and other fields, and accurate static power consumption estimation will be better Help electronic equipment to play the overall performance of electronic equipment.
图1A为本申请实施例中电子设备应用静态功耗优化设备性能的一种示意图。FIG. 1A is a schematic diagram of an electronic device applying static power consumption to optimize device performance in an embodiment of the present application.
如图1所示,作为一种示例,电子设备的CPU中可以包括:功耗估计单元、温度控制单元、调度单元、动态电压频率调节单元。As shown in FIG. 1 , as an example, a CPU of an electronic device may include: a power consumption estimation unit, a temperature control unit, a scheduling unit, and a dynamic voltage frequency adjustment unit.
其中,功耗估计单元也可以称为功耗计算单元,功耗估计单元可以用于估计CPU中的电路的动态功耗、静态功耗中至少一种功耗。作为一种示例,功耗估计单元中可以包括静态功耗估计单元,静态功耗估计单元可以用于估计CPU中的电路的静态功耗。Wherein, the power consumption estimation unit may also be referred to as a power consumption calculation unit, and the power consumption estimation unit may be used to estimate at least one of dynamic power consumption and static power consumption of circuits in the CPU. As an example, the power consumption estimation unit may include a static power consumption estimation unit, and the static power consumption estimation unit may be used to estimate static power consumption of circuits in the CPU.
作为一种示例,功耗估计单元可以采集用于计算CPU中的电路的静态功耗的相关信息并计算出静态功耗,功耗估计单元可以将计算结果上报给温度控制单元及调度控制单元。作为一种示例,温度控制单元可以根据温度、功耗计算结果,控制DVFS对CPU中的电路的工作电压进行调节。作为一种示例,调度单元可以根据功耗计算结果、负载等信息,控制DVFS对CPU中的电路的工作电压进行调节,此外,调度单元还可以根据功耗计算结果、CPU负载等信息,控制任务迁移单元对各个CPU中运行的任务进行分配、迁移等管理。作为一种示例,温度控制单元也可以根据功耗计算结果调节电子设备中的运行环境的温度。As an example, the power consumption estimation unit may collect relevant information for calculating the static power consumption of circuits in the CPU and calculate the static power consumption, and the power consumption estimation unit may report the calculation results to the temperature control unit and the scheduling control unit. As an example, the temperature control unit may control the DVFS to adjust the working voltage of the circuits in the CPU according to the temperature and power consumption calculation results. As an example, the scheduling unit can control the DVFS to adjust the operating voltage of the circuit in the CPU according to the power consumption calculation result, load and other information. In addition, the scheduling unit can also control the task according to the power consumption calculation result, CPU load and other information. The migration unit allocates, migrates, and manages tasks running in each CPU. As an example, the temperature control unit may also adjust the temperature of the operating environment in the electronic device according to the power consumption calculation result.
在本申请实施例中,功耗估计单元可以简称为估计装置,估计装置可以通过电路实现,用于实现估计装置的电路可以称为估计电路。In the embodiment of the present application, the power consumption estimating unit may be referred to as an estimating device for short, and the estimating device may be realized by a circuit, and a circuit for realizing the estimating device may be called an estimating circuit.
本申请实施例提供的技术方案中,估计装置可以针对电子设备上的一个电源域涉 及的电路或者多个电源域涉及的电路获取静态电流(Integrated Circuit Quiescent Current,IDDQ),并基于静态电流进行静态功耗的估计。In the technical solution provided by the embodiment of the present application, the estimating device can acquire quiescent current (Integrated Circuit Quiescent Current, IDDQ) for a circuit involved in a power domain or circuits involved in multiple power domains on the electronic device, and perform quiescent current based on the quiescent current. Estimation of power consumption.
在实际应用中,电子设备中的电源域的划分可以是由设计人员在设计电路时,根据实际的供电控制需要划分的。对于一个电源域来说,该电源域中的所有逻辑电路的供电电压是相同的。一个电源域中的所有逻辑电路可以全部处于上电状态,也可以一部分处于上电状态,一部分处于下电状态。作为一种示例,当一个电源域包含多个逻辑电路时,可以在一个电源域包含的电路中设置一个或多个开关,每个开关可以对电源域中的一个控制区域内的逻辑电路进行上下电控制。In practical applications, the division of power domains in electronic equipment can be divided by designers according to actual power supply control needs when designing circuits. For a power domain, the power supply voltage of all logic circuits in the power domain is the same. All the logic circuits in a power domain can be all in the power-on state, or part of them can be in the power-on state and some can be in the power-off state. As an example, when a power domain contains multiple logic circuits, one or more switches can be set in the circuits contained in a power domain, and each switch can switch logic circuits in a control area in the power domain. electric control.
在本申请实施例中,电子设备可以包括一个或多个片上系统(system on chip,SOC)或者SOC。作为一种示例,一个SOC可以属于一个电源域,多个SOC也可以属于一个电源域,一个SOC中的部分电路也可以属于一个电源域。估计装置可以对电子设备中位于相同或不同SOC上的各个电源域的电路的静态功耗进行估计。需要说明的是,估计装置对应的估计电路也可以位于某一SOC上,估计装置也可以对自身电路的静态功耗进行估计。In the embodiment of the present application, the electronic device may include one or more systems on chip (system on chip, SOC) or SOC. As an example, one SOC may belong to one power domain, multiple SOCs may also belong to one power domain, and some circuits in one SOC may also belong to one power domain. The estimating means can estimate the static power consumption of the circuits of the power domains located on the same or different SOCs in the electronic equipment. It should be noted that the estimation circuit corresponding to the estimation device may also be located on a certain SOC, and the estimation device may also estimate the static power consumption of its own circuit.
作为一种示例,电子设备中的一个或多个CPU可以位于一个SOC上。As an example, one or more CPUs in an electronic device may reside on one SOC.
图1B为本申请实施例中电子设备包含设置有CPU的SOC上的电源域划分的示意图。如图1B所示,举例来说,SOC上可以包括一个或多个器件。例如,一个SOC可以包括一个或多个CPU,每个CPU可以包括一个或多个内核(core),每个内核可以包括一个或多个逻辑电路。每个逻辑电路可用于实现设定的一些逻辑功能。作为一种示例,多个内核可以采用big.LITTLE异构架构。该架构的设计旨在为适当的作业分配恰当的处理器。FIG. 1B is a schematic diagram of division of power domains on an SOC provided with a CPU in an electronic device in an embodiment of the present application. As shown in FIG. 1B , for example, one or more devices may be included on the SOC. For example, an SOC may include one or more CPUs, each CPU may include one or more cores (core), and each core may include one or more logic circuits. Each logic circuit can be used to realize some set logic functions. As an example, multiple cores can employ a big.LITTLE heterogeneous architecture. The architecture is designed to assign the right processor to the right job.
在一示例中,一个电源域中的电路可以包括一个或多个逻辑电路,在又一示例中,一个电源域中的电路可以包括一个或多个core,在再一示例中,一个电源域中的电路可以包括一个或多个CPU,在另一示例中,一个电源域中的电路可以包括一个SOC。需要说明的是,一个core中的多个逻辑电路可以位于一个电源域,也可以位于多个电源域;一个CPU中的多个core可以位于一个电源域,也可以位于多个电源域,一个SOC中的多个CPU可以位于一个电源域,也可以位于多个电源域,本申请实施例对此不做限制。In one example, a circuit in a power domain may include one or more logic circuits, in another example, a circuit in a power domain may include one or more cores, in yet another example, a circuit in a power domain The circuits in one power domain may include one or more CPUs, and in another example, the circuits in one power domain may include one SOC. It should be noted that multiple logic circuits in one core can be located in one power domain or in multiple power domains; multiple cores in one CPU can be located in one power domain or in multiple power domains. One SOC Multiple CPUs in the CPU may be located in one power domain or in multiple power domains, which is not limited in this embodiment of the present application.
在本申请实施例中,在对一个电源域的电路进行静态功耗估计之后,还可以基于电子设备中的多个电源域的电路的静态功耗估计结果,对电子设备中的各种子系统进 行静态功耗估计。作为一种示例,可以基于一个SOC涉及的多个电源域的电路分别估计静态功耗,并基于多个电源域的电路的静态功耗,确定整个SOC的静态功耗。在本申请其他实施例中将进行详细说明。In the embodiment of the present application, after performing static power consumption estimation on circuits in one power domain, various subsystems in the electronic device may also be estimated based on static power consumption estimation results of circuits in multiple power domains in the electronic device Perform static power estimation. As an example, static power consumption may be estimated based on circuits in multiple power domains involved in an SOC, and static power consumption of the entire SOC may be determined based on static power consumption of circuits in multiple power domains. Details will be described in other embodiments of this application.
下面以估计装置对属于目标电源域的第一工作电路的静态功耗进行估计为例,对应用本申请实施例提供的估计方法的进行示例性说明。Taking the estimating device estimating the static power consumption of the first working circuit belonging to the target power domain as an example, the application of the estimating method provided by the embodiment of the present application will be exemplarily described below.
在本申请实施例中,属于目标电源域的工作电路可以称为目标电源域电路。In the embodiment of the present application, the working circuits belonging to the target power domain may be referred to as circuits in the target power domain.
在实际应用中,作为一种示例,目标电源域电路和估计电路可以位于量产芯片上。In practical applications, as an example, the target power domain circuit and the estimation circuit may be located on a mass-produced chip.
图2A所示为本申请实施例中量产芯片生产过程的一种示意图。作为一种示例,包含有目标电源域电路和估计电路的量产芯片,可以采用图2A所示的过程生成。FIG. 2A is a schematic diagram of the production process of mass-produced chips in the embodiment of the present application. As an example, a mass-produced chip including a target power domain circuit and an estimation circuit can be generated using the process shown in FIG. 2A.
如图2A所示,量产芯片的生产过程可以包括:As shown in Figure 2A, the production process of mass-produced chips can include:
首先,裸片生产装置1001可以将晶圆加工为裸片,其中包含目标电源域电路和估计电路,估计电路中包含基础的功耗模型。Firstly, the die production apparatus 1001 can process the wafer into a die, which includes a target power domain circuit and an estimation circuit, and the estimation circuit includes a basic power consumption model.
然后,IDDQ测试装置1002可以对裸片中的目标电源域电路进行IDDQ测量,并将测量得到的IDDQ写入目标电源域电路中的存储器,得到包含存储有IDDQ的目标电源域电路和估计电路的裸片。在一示例中,IDDQ测试装置1002可以将待量产的裸片设置在预设的温度和电压组合条件下测试IDDQ。Then, the IDDQ testing device 1002 can perform IDDQ measurement on the target power domain circuit in the die, and write the measured IDDQ into the memory in the target power domain circuit, so as to obtain the target power domain circuit and the estimation circuit including the IDDQ stored therein. die. In an example, the IDDQ testing device 1002 can set the die to be mass-produced to test the IDDQ under a preset combination of temperature and voltage.
之后,封装装置1003可以对存储有IDDQ的目标电源域电路和估计电路的裸片进行封装,得到量产芯片。Afterwards, the packaging device 1003 may package the bare chip storing the target power domain circuit and the estimation circuit of the IDDQ to obtain a mass-produced chip.
之后,配置装置1004可以将预先获取的功耗模型参数配置在量产芯片的估计电路中。Afterwards, the configuring device 1004 can configure the pre-acquired power consumption model parameters in the estimation circuit of the mass-produced chip.
在量产芯片配置了功耗模型参数之后,估计电路可以在量产芯片正常工作时,从目标电源域电路的存储器中读取目标电源域电路的IDDQ,并将IDDQ输入配置有功耗模型参数的功耗模型,得到估计的目标电源域电路的静态功耗。After the mass production chip is configured with the power consumption model parameters, the estimated circuit can read the IDDQ of the target power domain circuit from the memory of the target power domain circuit when the mass production chip is working normally, and configure the IDDQ input with the power consumption model parameters The power consumption model of the target power domain circuit is estimated to obtain the static power consumption.
需要说明的是,配置装置1004中存储的功耗模型参数可以预先获得。It should be noted that the parameters of the power consumption model stored in the configuring device 1004 may be obtained in advance.
图2B为本申请实施例中功耗模型参数获取过程的一种示意图,如图2B所示,作为一种示例,功耗模型参数的获取过程可以包括:Fig. 2B is a schematic diagram of the process of obtaining power consumption model parameters in the embodiment of the present application. As shown in Fig. 2B, as an example, the process of obtaining power consumption model parameters may include:
首先,裸片生产装置1001将晶圆加工,得到位于一个或多个裸片的至少两个样本,其中,每个样本包含目标电源域电路。需要说明的是,裸片生产装置1001在生 成样本时,可以设置所有样本中的目标电源域电路的工艺角覆盖工艺角范围的最小值至最大值之间的多个取值点。本申请其他实施例中,将对工艺角覆盖多个取值点进行详细说明,此处暂不赘述。First, the die production apparatus 1001 processes the wafer to obtain at least two samples located on one or more dies, wherein each sample includes a target power domain circuit. It should be noted that, when generating the samples, the die production apparatus 1001 can set the process angles of the target power domain circuits in all samples to cover multiple value points between the minimum value and the maximum value of the process angle range. In other embodiments of the present application, the process angle covering multiple value points will be described in detail, which will not be repeated here.
然后,IDDQ测试装置1002对每个样本,遍历测试不同温度和电压组合条件下目标电源域电路的IDDQ,并将测试得到的IDDQ存储至每个样本中的目标电源域电路的存储器中。本申请其他实施例中,将对遍历测试不同温度和电压组合条件下的IDDQ进行详细说明,此处暂不赘述。Then, for each sample, the IDDQ testing device 1002 runs through and tests the IDDQ of the target power domain circuit under different temperature and voltage combination conditions, and stores the tested IDDQ into the memory of the target power domain circuit in each sample. In other embodiments of the present application, the IDDQ under different temperature and voltage combination conditions of the traversal test will be described in detail, which will not be repeated here.
之后,训练装置1005从至少两个样本中提取多组样本数据,其中,每个样本数据包含对应的样本的IDDQ。然后,训练装置1004可以利用多组样本数据,对功耗模型进行训练得到功耗模型参数。本申请其他实施例中,将对利用训练数据得到功耗模型参数进行详细说明,此处暂不赘述。Afterwards, the training device 1005 extracts multiple sets of sample data from at least two samples, wherein each sample data includes the IDDQ of the corresponding sample. Then, the training device 1004 can use multiple sets of sample data to train the power consumption model to obtain power consumption model parameters. In other embodiments of the present application, a detailed description will be given on obtaining the parameters of the power consumption model by using the training data, which will not be repeated here.
在此之后,训练装置1005可以将得到的功耗模型参数发送至配置装置1004。配置装置可以在量产芯片升级或者更新软件时,将功耗模型参数配置在量产芯片的估计电路中。作为一种示例中,训练装置1005与配置装置1004也可以是同一设备,本申请实施例对此不做限制。After that, the training device 1005 can send the obtained power consumption model parameters to the configuration device 1004 . The configuration device can configure the parameters of the power consumption model in the estimation circuit of the mass-produced chip when the mass-produced chip is upgraded or the software is updated. As an example, the training device 1005 and the configuration device 1004 may also be the same device, which is not limited in this embodiment of the present application.
在本申请实施例中,作为一种示例,量产芯片可以包括由目标电源域电路和估计装置组成的一种系统。作为一种示例,该电路系统中的其他器件或者电路可以是由裸片生产装置设置在量产芯片封装前的裸片中的。In the embodiment of the present application, as an example, a mass-produced chip may include a system composed of a target power domain circuit and an estimation device. As an example, other devices or circuits in the circuit system may be placed in the bare die before mass-production chip packaging by the die production device.
图3A为应用本申请实施例中的估计方法的量产芯片中的电路系统的结构示意图。FIG. 3A is a schematic structural diagram of a circuit system in a mass-produced chip to which the estimation method in the embodiment of the present application is applied.
如图3A所示,该电路系统可包括:估计装置10、待估计静态功耗的目标电源域电路20和系统总线(图中未示出)。作为一种示例,电路系统还可以包括:温度传感器30等。As shown in FIG. 3A , the circuit system may include: an estimating device 10 , a target power domain circuit 20 for estimating static power consumption, and a system bus (not shown in the figure). As an example, the circuit system may further include: a temperature sensor 30 and the like.
在本申请实施例中,估计装置10和目标电源域电路20可以分别与系统总线(图中未示出)相连。估计装置10可以通过系统总线获取目标电源域电路20的集成电路静态电流(Integrated Circuit Quiescent Current,IDDQ)数据。IDDQ也可以称为静态漏电值。In the embodiment of the present application, the estimation device 10 and the target power domain circuit 20 may be respectively connected to a system bus (not shown in the figure). The estimating device 10 may acquire integrated circuit quiescent current (Integrated Circuit Quiescent Current, IDDQ) data of the target power domain circuit 20 through the system bus. IDDQ can also be called static leakage value.
需要说明的是,在本申请实施例中,作为一种示例,目标电源域电路对应的电源域可以为目标电源域,目标电源域电路可具备统计和上报目标电源域内的电路的 IDDQ数据的能力。目标电源域可以为电子设备中的任一电源域。It should be noted that, in the embodiment of this application, as an example, the power domain corresponding to the target power domain circuit may be the target power domain, and the target power domain circuit may have the ability to count and report the IDDQ data of the circuits in the target power domain . The target power domain may be any power domain in the electronic device.
在本申请实施例中,目标电源域电路可以包括非易失性存储器,例如,一次性可编程存储器(eFuse)、只读存储器(Read-Only Memory,ROM)等。非易失性存储器可用于存储目标电源域电路在预设温度、电压组合条件下的IDDQ。作为一种示例,目标电源域电路IDDQ可以是通过IDDQ测试装置在封装前的ATE测试阶段测得的。In the embodiment of the present application, the target power domain circuit may include a non-volatile memory, for example, a one-time programmable memory (eFuse), a read-only memory (Read-Only Memory, ROM), and the like. Non-volatile memory can be used to store the IDDQ of the target power domain circuit at a preset temperature and voltage combination. As an example, the target power domain circuit IDDQ may be measured by an IDDQ test device in an ATE test stage before packaging.
在本申请实施例中,估计装置10还可以与温度传感器30相连,以获取目标电源域电路对应的温度数据。In the embodiment of the present application, the estimating device 10 may also be connected to a temperature sensor 30 to acquire temperature data corresponding to the target power domain circuit.
在本申请实施例中,该系统还可以包括:电压数据寄存器40。In the embodiment of the present application, the system may further include: a voltage data register 40 .
其中,电压数据寄存器40可以与估计装置10相连。估计装置10可以获取目标电源域对应的当前的供电电压数据。目标电源域的电压的允许值可以为一个或多个固定值,也可以是一个调节区间。目标电源域电路可以将当前的供电电压写入电压数据寄存器中。需要说明的是,电压数据寄存器可以是软件实现的,也可以是硬件实现的。Wherein, the voltage data register 40 can be connected with the estimation device 10 . The estimating device 10 can acquire current power supply voltage data corresponding to the target power supply domain. The allowable value of the voltage of the target power domain may be one or more fixed values, or may be an adjustment interval. The target power domain circuit can write the current power supply voltage into the voltage data register. It should be noted that the voltage data register can be realized by software or by hardware.
作为一种可选的实施方式,当目标电源域的电压的允许值只有一个固定值时,估计装置也可以预先存储该目标电源域的允许值,而不需要通过电压数据寄存器来获取目标电源域对应的当前电压数据。As an optional implementation, when the allowable value of the voltage of the target power domain has only one fixed value, the estimating device may also store the allowable value of the target power domain in advance, without obtaining the target power domain through the voltage data register. Corresponding current voltage data.
在本申请实施例中,估计装置可以通过软件实现,也可以通过硬件实现。In the embodiment of the present application, the estimating means may be implemented by software or by hardware.
本申请实施例还提供估计装置的一种可选的实施方式。The embodiment of the present application also provides an optional implementation manner of the estimation device.
图3B为本申请实施例中估计装置的内部结构的一种示意图。如图3B所示,作为一种示例,估计装置可包括:配置(CFG)模块、时钟复位组(Clock Reset Group,CRG)模块、定时器控制(TIMER_CTRL)模块、处理(Process)模块。其中:Fig. 3B is a schematic diagram of the internal structure of the estimation device in the embodiment of the present application. As shown in FIG. 3B, as an example, the estimation device may include: a configuration (CFG) module, a clock reset group (Clock Reset Group, CRG) module, a timer control (TIMER_CTRL) module, and a processing (Process) module. in:
(1)CFG模块可以负责整个硬件电路的配置,通过BUS与外部进行通信,通过软件进行相关配置。CFG模块本身的时钟/复位可由外部模块控制。(1) The CFG module can be responsible for the configuration of the entire hardware circuit, communicate with the outside through the BUS, and perform related configuration through the software. The clock/reset of the CFG module itself can be controlled by an external module.
(2)CRG模块负责给TIMER_CTRL及Process模块提供时钟/复位信号。(2) The CRG module is responsible for providing clock/reset signals to the TIMER_CTRL and Process modules.
(3)TIMER_CTRL模块,可用于产生静态功耗计算统计窗口大小的控制信号,统计窗口大小可通过CFG模块经由系统总线(BUS)的软件控制。(3) The TIMER_CTRL module can be used to generate a control signal for calculating the statistical window size of the static power consumption, and the statistical window size can be controlled by the software of the system bus (BUS) through the CFG module.
(4)Process模块中的CTRL模块可以负责控制静态功耗计算的起止及对运算资源复用的控制;Process模块中的Signal模块可以负责对外部过来的信号做异步处理;Process模块中的运算单元可以负责算法模型的具体实现。(4) The CTRL module in the Process module can be responsible for controlling the start and stop of static power consumption calculation and the multiplexing of computing resources; the Signal module in the Process module can be responsible for asynchronous processing of external signals; the computing unit in the Process module Can be responsible for the specific implementation of the algorithm model.
需要说明的是,本申请实施例涉及的算法实现,包括但不限于上述硬件结构,也可以通过软件或者其他硬件结构实现。It should be noted that the implementation of the algorithm involved in the embodiment of the present application includes but is not limited to the above-mentioned hardware structure, and may also be implemented by software or other hardware structures.
在本申请实施例的一种可选的实施方式中,当估计装置采用硬件实现时,估计装置还可以与目标电源域电路的电源控制装置50相连;电源控制装置可以将目标电源域的上下电信号(如MTCMOS_EN)发送给估计装置。由于目标电源域的上下电过程通常是在毫秒级或者微秒级完成的,采用硬件互连获取上下电信号的方式,能够帮助估计装置准确获取上电时间段内的各种数据,避免将下电时间的各种数据纳入估计过程中导致结果不准确的问题。在本申请实施例中,上下电信号也可以称为使能信号。In an optional implementation of the embodiment of the present application, when the estimating device is implemented by hardware, the estimating device can also be connected to the power control device 50 of the target power domain circuit; A signal (eg MTCMOS_EN) is sent to the estimation means. Since the power-on and power-on process of the target power domain is usually completed at the millisecond or microsecond level, using hardware interconnection to obtain power-on and power-on signals can help the estimation device accurately obtain various data during the power-on time period, avoiding Incorporating various data of electrical time into the estimation process leads to inaccurate results. In this embodiment of the present application, the power-on/off signal may also be referred to as an enable signal.
作为一种示例,估计装置向CPU上报的目标电源域电路的静态功耗可以为预设时间段内的平均功耗,在一示例中,预设时间段可以为10ms,若通过上下电信号确定目标电源域电路在10ms中的前5ms为上电状态,在后5ms为下电状态,则可以根据IDDQ、温度和电压确定前5ms的静态功耗,例如,前5ms的静态功耗为0.5瓦,则10ms内的平均功耗可以为0.25瓦。As an example, the static power consumption of the target power domain circuit reported by the estimating device to the CPU may be the average power consumption within a preset time period. In one example, the preset time period may be 10 ms. The target power domain circuit is in the power-on state in the first 5ms of 10ms, and in the power-off state in the last 5ms, then the static power consumption in the first 5ms can be determined according to IDDQ, temperature and voltage, for example, the static power consumption in the first 5ms is 0.5 watts , the average power consumption within 10ms can be 0.25 watts.
下面对本申请实施例提供的静态功耗估计方法进行举例说明。The method for estimating static power consumption provided by the embodiment of the present application is described below with an example.
图4为本申请实施例提供的静态功耗估计方法的流程示意图。FIG. 4 is a schematic flowchart of a method for estimating static power consumption provided by an embodiment of the present application.
如图4所示,本申请实施例的执行主体可以为估计装置,本申请实施例的步骤可以包括:As shown in Figure 4, the execution subject of the embodiment of the present application may be an estimation device, and the steps of the embodiment of the present application may include:
S101,获取属于目标电源域的第一工作电路的第一IDDQ。S101. Acquire a first IDDQ of a first working circuit belonging to a target power domain.
在本申请实施例中,作为一种示例,可以基于前述实施例所示的估计装置,通过系统总线从属于目标电源域的第一工作电路的存储器中提取第一工作电路的IDDQ。In this embodiment of the present application, as an example, based on the estimating apparatus shown in the foregoing embodiments, the IDDQ of the first working circuit may be extracted from the memory of the first working circuit belonging to the target power domain through the system bus.
在本申请实施例中,作为一种示例,估计装置还可以获取第一工作电路对应的当前温度数据和当前电压数据。需要说明的是,作为一种示例,估计装置可以在目标电源域电路上电时,通过温度传感器获取目标电源域电路的温度,以及,从电压数据寄存器中读取目标电源域电路当前采用的电压。In this embodiment of the present application, as an example, the estimating device may also acquire current temperature data and current voltage data corresponding to the first working circuit. It should be noted that, as an example, the estimating device may obtain the temperature of the target power domain circuit through a temperature sensor when the target power domain circuit is powered on, and read the current voltage used by the target power domain circuit from the voltage data register. .
在本申请实施例中,作为一种示例,估计装置可以通过使能信号准备获取第一工作的第一IDDQ。需要说明的是,估计装置通过硬件直接互连的方式直接获取使能信号MTCMOS_EN,能够准确获悉目标电源域的上下电情况。例如可以精确到毫秒级。之后,估计装置可以根据使能信号准备提取上电时间段内的各项数据,如温度、电压、IDDQ等。In this embodiment of the present application, as an example, the estimating device may prepare to acquire the first IDDQ of the first job by using an enable signal. It should be noted that the estimation device directly obtains the enable signal MTCMOS_EN through direct hardware interconnection, and can accurately know the power-on/off status of the target power domain. For example, it can be accurate to the millisecond level. Afterwards, the estimating device can prepare to extract various data during the power-on period, such as temperature, voltage, IDDQ, etc., according to the enabling signal.
S102,将第一IDDQ输入功耗模型,得到第一工作电路的第一静态功耗,其中,功耗模型为根据至少一个历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定 的。S102. Input the first IDDQ into the power consumption model to obtain the first static power consumption of the first working circuit, wherein the power consumption model is determined according to at least one historical IDDQ and historical static power consumption corresponding to each historical IDDQ.
在本申请实施例中,作为一种示例,功耗模型可以是在生产估计装置时写入或者固化在估计装置中的。作为一种示例,估计装置可以提供修改功耗模型中的参数的接口。作为一种示例,功耗模型中的参数可以是利用一组样本的训练数据训练模型时确定的。In the embodiment of the present application, as an example, the power consumption model may be written or fixed in the estimation device when the estimation device is produced. As an example, the estimating means may provide an interface for modifying parameters in the power consumption model. As an example, the parameters in the power consumption model may be determined when the model is trained using a set of sample training data.
在本申请实施例中,模型训练的处理步骤可以由估计装置执行,也可以由其他装置执行,若由其他装置执行,其他装置可以在模型训练以后,将功耗模型参数发送至估计装置,由估计装置将模型参数配置在自身的功耗模型中。在下面的说明中,将以模型训练的步骤由估计装置执行为例进行示例性说明。In the embodiment of the present application, the processing steps of model training may be performed by the estimation device, or may be performed by other devices. If it is performed by other devices, the other devices may send the power consumption model parameters to the estimation device after the model training, by The estimation device configures the model parameters in its own power consumption model. In the following description, the step of model training is performed by the estimation device as an example for illustration.
在本申请实施例中,作为一种示例,功耗模型的参数可以是估计装置在升级时配置的。估计装置在每次上电时,可以从eFuse中读取目标电源域电路的IDDQ。In this embodiment of the present application, as an example, the parameters of the power consumption model may be configured by the estimating device during upgrade. The estimation device can read the IDDQ of the target power domain circuit from the eFuse every time it is powered on.
在本申请实施例中,功耗模型有多种可选的实施方式。In the embodiment of the present application, there are multiple optional implementation manners for the power consumption model.
在第一种可选的实施方式中,功耗模型可以为第一模型P=F(IDDQ),其中,F用于表示IDDQ与静态功耗之间的关系。将第一IDDQ输入功耗模型,可以得到第一IDDQ对应的第一静态功耗。In a first optional implementation manner, the power consumption model may be a first model P=F(IDDQ), where F is used to represent the relationship between IDDQ and static power consumption. Inputting the first IDDQ into the power consumption model can obtain the first static power consumption corresponding to the first IDDQ.
在第二种可选的实施方式中,功耗模型可以为第二模型P=F'(IDDQ,V,T),其中,F'用于表示IDDQ、电压数据V、温度数据T与静态功耗之间的关系。此时,估计装置还可以获取第一工作电路的当前温度数据、当前电压数据。将第一工作电路的第一IDDQ、当前温度数据和当前电压数据输入第二模型,可以得到第一IDDQ对应的第一静态功耗。In a second optional implementation manner, the power consumption model may be a second model P=F'(IDDQ, V, T), where F' is used to represent IDDQ, voltage data V, temperature data T and static power relationship between consumption. At this time, the estimating device may also acquire current temperature data and current voltage data of the first working circuit. The first static power consumption corresponding to the first IDDQ can be obtained by inputting the first IDDQ, current temperature data, and current voltage data of the first working circuit into the second model.
在第三种可选的实施方式中,功耗模型可以为第三模型P=K*P baseIn a third optional implementation manner, the power consumption model may be a third model P=K*P base .
其中,P base为基准功耗;K=F 1(K base,V,T),K base为P base对应的基准倍率,F 1为基于K base以及温度V和电压T组合下的第一静态功耗与P base的倍率函数。 Among them, P base is the base power consumption; K=F 1 (K base ,V,T), K base is the base magnification corresponding to P base , and F 1 is the first static power based on the combination of K base and temperature V and voltage T Power dissipation vs. rate function of P base .
第四种可选的实施方式中,功耗模型可以为第四模型P=Ca(K*P base)。 In a fourth optional implementation manner, the power consumption model may be a fourth model P=Ca(K*P base ).
其中,P base为基准功耗;K=F 1(Q,V,T),Q为第一IDDQ与基准IDDQ之间的电流倍率,F 1为基于温度V和电压T组合下的当前功耗倍率与当前电流倍率之间的关系函数。 Among them, P base is the base power consumption; K=F 1 (Q, V, T), Q is the current multiplier between the first IDDQ and the base IDDQ, and F 1 is the current power consumption based on the combination of temperature V and voltage T The relationship function between the rate and the current current rate.
采用本申请实施例提供的技术方案,能够基于目标电源域电路的IDDQ确定目标 电源域电路的静态功耗。By adopting the technical solution provided by the embodiment of the present application, the static power consumption of the target power domain circuit can be determined based on the IDDQ of the target power domain circuit.
实施例二Embodiment two
在本申请实施例中,提供一种确定功耗模型的参数的可选的实施方式。下面以倍率模型为例,对确定功耗模型的参数的处理流程进行示例性说明。In this embodiment of the present application, an optional implementation manner of determining parameters of a power consumption model is provided. The process flow of determining the parameters of the power consumption model is exemplarily described below by taking the rate model as an example.
图5为本申请实施例提供的倍率模型的模型参数的获取流程的示意图。本申请实施例的执行主体可以为前述实施例中的估计装置、训练装置、配置装置中任意一种。下面以估计装置为例进行示例性说明。如图5所示,本申请实施例的步骤可以包括:FIG. 5 is a schematic diagram of an acquisition process of model parameters of a magnification model provided by an embodiment of the present application. The execution subject of the embodiment of the present application may be any one of the estimation device, the training device, and the configuration device in the foregoing embodiments. The estimating device is taken as an example below for illustrative description. As shown in Figure 5, the steps of the embodiment of the present application may include:
S201,获取n+1个样本的样本数据。S201. Acquire sample data of n+1 samples.
在本申请实施例中,每个样本可以为电路结构相同的不同的die中属于相同的目标电源域的第一工作电路。In this embodiment of the present application, each sample may be a first working circuit belonging to the same target power domain in different dies with the same circuit structure.
在本申请实施例中,n个样本中的每个样本可以满足如下的样本选择条件。作为一种示例,n个样本的工艺角不全部相同。采用这种方式,可以使得IDDQ数据尽可能覆盖较多种工艺角的情况。作为又一种示例,第一工作电路的工艺角范围可以为从SS至FF的区间,样本集中各个样本的工艺角可以在工艺角范围内等间隔分布。可参看图6为本申请实施例中样本的工艺角在工艺角范围中等间隔分布的示意图。如图6所示,横轴上的每个点为一个样本的工艺角。其中,样本集中可以存在第一样本和第二样本,第一样本的工艺角为SS,第二样本的工艺角为FF,其他样本可以在SS至FF内等间隔分布。在实际应用中,可以在生产阶段,生产满足样本选择条件的一组样本。采用这种方式,训练样本能够覆盖的工艺角范围更全面,能够覆盖工艺角范围内的各种取值,训练后得到的模型参数更准确。In the embodiment of the present application, each of the n samples may satisfy the following sample selection conditions. As an example, the process corners of the n samples are not all the same. In this manner, the IDDQ data can be made to cover as many process corners as possible. As yet another example, the process angle range of the first working circuit may be an interval from SS to FF, and the process angles of samples in the sample set may be equally spaced within the process angle range. Please refer to FIG. 6 , which is a schematic diagram showing that process angles of the samples in the embodiment of the present application are distributed at equal intervals in the range of process angles. As shown in Figure 6, each point on the horizontal axis is the process corner of a sample. Wherein, there may be a first sample and a second sample in the sample set, the process corner of the first sample is SS, the process corner of the second sample is FF, and other samples may be equally spaced from SS to FF. In practical applications, a group of samples that meet the sample selection conditions can be produced in the production stage. In this way, the training samples can cover a more comprehensive range of process angles, and can cover various values within the range of process angles, and the model parameters obtained after training are more accurate.
在本申请实施例中,每个样本的样本数据可以包括每个样本的IDDQ和静态功耗。In this embodiment of the present application, the sample data of each sample may include IDDQ and static power consumption of each sample.
作为一种示例,估计装置可以从系统总线中提取每个样本的IDDQ。As an example, the estimating means may extract the IDDQ per sample from the system bus.
作为一种示例,估计装置可以根据每个样本的温度和电压确定与每个样本的IDDQ对应的静态功耗。例如,估计装置可以根据提取到的时间段内的温度数据和电压数据确定该时间段内目标电源域电路的静态功耗。As an example, the estimating means may determine the static power consumption corresponding to the IDDQ of each sample according to the temperature and voltage of each sample. For example, the estimating device may determine the static power consumption of the target power domain circuit within the time period according to the extracted temperature data and voltage data within the time period.
在本申请实施例中,作为一种可选的实施方式,每个样本的样本数据可以包括至少两种温度与电压的组合下样本数据。In the embodiment of the present application, as an optional implementation manner, the sample data of each sample may include sample data under at least two combinations of temperatures and voltages.
作为一种示例,估计装置可以确定温度遍历区间和电压遍历区间,然后,在温度遍历区间中选择若干个依次等间距的温度值,在电压遍历区间选择若干个依次等间距 的电压值,然后,在所有温度值和所有电压值的所有可能的组合下获取样本的IDDQ和静态功耗。图7为本申请实施例中样本数据覆盖温度和电压取值组合的示意图。作为一种示例,可以将各个样本放置在温箱中,估计装置可以设置或者调节温箱中的温度,以及,目标电源域的电压。然后,估计装置可以在在T和V两个维度上进行遍历,收集各个交叉点上的IDDQ。As an example, the estimating device may determine the temperature traversal interval and the voltage traversal interval, and then select several sequentially equidistant temperature values in the temperature traversal interval, and select several sequentially equidistant voltage values in the voltage traversal interval, and then, Obtain the IDDQ and static power consumption of the sample at all possible combinations of temperature values and all voltage values. FIG. 7 is a schematic diagram of sample data covering combinations of temperature and voltage values in the embodiment of the present application. As an example, each sample may be placed in an incubator, and the estimating means may set or adjust the temperature in the incubator, as well as the voltage of the target power domain. Then, the estimating device may traverse in the two dimensions T and V, and collect the IDDQ at each intersection point.
在本申请实施例中,作为一种示例,估计装置可以基于通过硬件直连方式获取的使能信号EN(如图4中的MTCMOS_EN)准确检测目标电源域的上下电情况,例如可以精确到毫秒级,之后,估计装置可以根据使能信号准备提取上电时间段内的各项样本数据,如温度、电压、IDDQ。In the embodiment of the present application, as an example, the estimation device can accurately detect the power-on and power-off conditions of the target power domain based on the enable signal EN (such as MTCMOS_EN in FIG. 4 ) obtained through direct hardware connection, for example, it can be accurate to milliseconds After that, the estimating device can prepare to extract various sample data in the power-on time period according to the enable signal, such as temperature, voltage, and IDDQ.
在本申请实施例中,作为一种示例,各个样本的样本数据可以通过ATE测试获取,在对各个样本进行ATE测试时,估计装置或者其他测试装置可以将各个样本在ATE测试时的IDDQ和静态功耗写入eFuse中。之后,估计装置可以从各个样本对应的eFuse中读取各个样本的样本数据。In the embodiment of the present application, as an example, the sample data of each sample can be obtained through the ATE test, and when the ATE test is performed on each sample, the estimation device or other test devices can use the IDDQ and static data of each sample during the ATE test Power consumption is written into eFuse. Afterwards, the estimation device can read the sample data of each sample from the eFuse corresponding to each sample.
其中,n可以为大于0的整数。Wherein, n may be an integer greater than 0.
S202,从n+1个样本中确定基准样本Y 0S202. Determine a reference sample Y 0 from n+1 samples.
作为一种示例,基准样本Y 0可以为IDDQ数据最小的样本,示例性地,基准样本Y 0的IDDQ可以为IDDQ 0。作为另一种示例,基准样本可以为工艺角为SS的样本。在本申请其他实施例中,基准样本也可以为任一样本。作为一种示例,n为大于0的整数。 As an example, the reference sample Y 0 may be a sample with the smallest IDDQ data. Exemplarily, the IDDQ of the reference sample Y 0 may be IDDQ 0 . As another example, the reference sample may be a sample with a process corner of SS. In other embodiments of the present application, the reference sample may also be any sample. As an example, n is an integer greater than 0.
S203,确定基准样本Y 0的基准功耗P baseS203. Determine the base power consumption P base of the base sample Y 0 .
在本申请实施例中,在同一温度和电压下,基准样本Y 0的基准功耗可以为基准样本Y 0的IDDQ为IDDQ 0时的静态功耗P baseIn the embodiment of the present application, under the same temperature and voltage, the base power consumption of the reference sample Y 0 may be the static power consumption P base when the IDDQ of the reference sample Y 0 is IDDQ 0 .
在本申请实施例中,估计装置可以分别利用每个样本在不同温度和电压组合下获得的样本数据,对基准功耗确定模型P base=F 0(V,T)进行训练,训练后可以得到基准功耗关系函数F 0In the embodiment of the present application, the estimation device can respectively use the sample data obtained by each sample under different temperature and voltage combinations to train the reference power consumption determination model P base =F 0 (V,T), after training, it can be obtained Baseline power consumption relationship function F 0 .
之后,估计装置可以根据基准功耗确定模型,确定基准样本Y 0在任一温度和电压组合下对应的基准功耗P baseAfterwards, the estimation device may determine the base power consumption P base corresponding to the base sample Y 0 under any combination of temperature and voltage according to the base power consumption determination model.
S204,确定其他样本Y 1…Y n的功耗倍率K 1…K nS204. Determine power consumption ratios K 1 ...K n of other samples Y 1 ...Y n .
其中,第i个样本Y i对应的功耗倍率
Figure PCTCN2021103711-appb-000005
P i为Y i的静态功耗,i为大于0且小于或者等于n-1的整数。
Among them, the power consumption ratio corresponding to the i-th sample Y i
Figure PCTCN2021103711-appb-000005
P i is the static power consumption of Y i , and i is an integer greater than 0 and less than or equal to n-1.
其中,功耗倍率可以是指在相同的温度和电压组合下,其他样本的静态功耗相对于基准样本Y 0的静态功耗P base的倍率。 Wherein, the power consumption ratio may refer to the ratio of the static power consumption of other samples relative to the static power consumption P base of the reference sample Y 0 under the same combination of temperature and voltage.
S205,确定其他样本Y 1…Y n的电流倍率Q 1…Q nS205. Determine current multipliers Q 1 ...Q n of other samples Y 1 ...Y n .
其中,第i个样本Y i对应的电流倍率
Figure PCTCN2021103711-appb-000006
IDDQ i为Y i的IDDQ。
Among them, the current rate corresponding to the i-th sample Y i
Figure PCTCN2021103711-appb-000006
IDDQ i is the IDDQ of Y i .
其中,作为一种示例,电流倍率Q也可以记为K baseWherein, as an example, the current rate Q may also be recorded as K base .
S206,利用所有其他样本对应的功耗倍率K 1…K n和所有其他样本的电流倍率Q 1…Q n,对功耗电流倍率关系模型K=F 1(Q)进行训练,确定功耗电流倍率关系函数F 1S206, using the power consumption ratios K 1 ...K n corresponding to all other samples and the current ratios Q 1 ...Q n of all other samples to train the power consumption current ratio relationship model K=F 1 (Q), and determine the power consumption current Multiplier relationship function F 1 .
其中,功耗电流倍率关系函数F 1用于反映电流倍率与功耗倍率之间的关系。 Wherein, the power consumption current ratio relationship function F 1 is used to reflect the relationship between the current ratio and the power consumption ratio.
在本申请实施例中,功耗电流倍率关系模型也可以考虑温度和电压组合条件,例如,功耗电流倍率关系模型也可以为:In the embodiment of the present application, the power consumption current ratio relationship model can also consider the combined conditions of temperature and voltage. For example, the power consumption current ratio relationship model can also be:
K=F 1(Q,V,T), K=F 1 (Q,V,T),
即估计装置可以基于不同的温度和电压,确定其他样本的功耗倍率和电流倍率,并根据不同温度的电压组合下的功耗倍率和电流倍率,确定功耗电流倍率关系模型K=F 1(Q,V,T)中的F 1That is, the estimating device can determine the power consumption ratio and current ratio of other samples based on different temperatures and voltages, and determine the power consumption and current ratio relationship model K=F 1 ( F 1 in Q, V, T).
S207、利用各个样本的实际静态功耗和基于P=K*P base计算得到的计算静态功耗,对校准模型P=Ca(K*P base)进行训练,确定校准函数Ca。 S207. Using the actual static power consumption of each sample and the calculated static power consumption calculated based on P=K*P base , train the calibration model P=Ca(K*P base ), and determine the calibration function Ca.
其中,校准函数Ca用于反映计算静态功耗和实际静态功耗之间的关系。Wherein, the calibration function Ca is used to reflect the relationship between the calculated static power consumption and the actual static power consumption.
在本申请实施例中,实际静态功耗可以是估计装置根据静态电流、电压等计算得到的。In this embodiment of the present application, the actual static power consumption may be calculated by the estimating device according to static current, voltage, and the like.
需要说明的是,步骤S206确定校准函数的步骤不是本申请实施例必须执行的。It should be noted that the step of determining the calibration function in step S206 is not mandatory in this embodiment of the present application.
采用本申请实施例提供的上述步骤,可以确定功耗模型涉及的各个函数相关的参数。Using the above steps provided in the embodiment of the present application, parameters related to each function involved in the power consumption model can be determined.
在本申请实施例中,在S206之后,估计装置可以将采用上述步骤确定的功耗模 型相关的参数配置在估计装置的相关程序中。在本申请其他实施例中,若功耗模型相关的参数由其他装置获取,其他装置也可以将功耗模型相关的参数配置在估计装置的相关程序中。本申请实施例对此不做限制。In this embodiment of the present application, after S206, the estimating device may configure the parameters related to the power consumption model determined by the above steps in the relevant programs of the estimating device. In other embodiments of the present application, if the parameters related to the power consumption model are obtained by other devices, the other devices may also configure the parameters related to the power consumption model in the relevant programs of the estimating device. This embodiment of the present application does not limit this.
在对估计装置中的功耗模型的配置参数后,估计装置就可以在目标电源域的工作电路实际工作时,基于从总线上获取的工作电路当前的IDDQ和功耗模型,估计工作电路当前的静态功耗。After configuring the parameters of the power consumption model in the estimating device, the estimating device can estimate the current power consumption of the working circuit based on the current IDDQ and power consumption model of the working circuit obtained from the bus when the working circuit in the target power domain is actually working. Static power.
举例来说,功耗模型可以为:P=Ca(K*P base),其中,K=F 1(Q,V,T),P base=F 0(V,T),
Figure PCTCN2021103711-appb-000007
For example, the power consumption model may be: P=Ca(K*P base ), where K=F 1 (Q,V,T), P base =F 0 (V,T),
Figure PCTCN2021103711-appb-000007
其中,需要说明的是,校准(Calibration)函数Ca、功耗电流倍率关系函数F 1、基准功耗关系函数F 0均可以采用实施例二的步骤确定。IDDQ 0可以是实施例二中使用的样本Y 0的IDDQ。该功耗模型只需要输入目标电源域电路的第一静态电流IDDQ,当前温度T、当前电压V,就可以获得目标电源域电路的第一静态功耗P。 Wherein, it should be noted that the calibration (Calibration) function Ca, the power consumption current ratio relationship function F 1 , and the reference power consumption relationship function F 0 can all be determined by the steps in the second embodiment. IDDQ 0 may be the IDDQ of sample Y 0 used in the second embodiment. The power consumption model only needs to input the first static current IDDQ of the target power domain circuit, the current temperature T, and the current voltage V to obtain the first static power consumption P of the target power domain circuit.
实施例三Embodiment Three
下面结合实际应用,对本申请实施例提供的估计方法的实施流程进行示例性地说明。The implementation process of the estimation method provided by the embodiment of the present application will be exemplarily described below in combination with practical applications.
图8为本申请实施例提供的静态功耗估计方法的实施流程的一种示意图。FIG. 8 is a schematic diagram of an implementation process of a static power consumption estimation method provided by an embodiment of the present application.
本申请实施例提供的静态功耗估计方法整体可以分为8个步骤完成,包括硅前的硬件电路设计,硅后的将IDDQ数据烧写在EFUSE上、大样本选取、大数据收集、模型训练及软件驱动配置与使能。一方面,通过硬件电路保证了计算的实时性、场景的适应性;另一方面,通过大样本选取、大数据收集,保证样本空间PVT维度覆盖的全面性及训练集的丰富性;再一方面,通过基于K_BASE进行倍率映射的静态功耗训练(training)算法,实现了计算简化,计算精度高,硬件实现简单,且估计装置占用面积和功耗均较小。The static power consumption estimation method provided by the embodiment of this application can be divided into 8 steps as a whole, including hardware circuit design before silicon, programming IDDQ data on EFUSE after silicon, large sample selection, large data collection, and model training And software driver configuration and enablement. On the one hand, the real-time calculation and the adaptability of the scene are guaranteed through the hardware circuit; on the other hand, the comprehensive coverage of the PVT dimension of the sample space and the richness of the training set are guaranteed through large sample selection and big data collection; on the other hand, , through the static power consumption training algorithm based on K_BASE for magnification mapping, the calculation is simplified, the calculation accuracy is high, the hardware implementation is simple, and the estimated device area and power consumption are small.
如图8所示,本申请实施例的步骤包括:As shown in Figure 8, the steps of the embodiment of the present application include:
S301、硅前根据模型格式设计硬件电路。S301. Design the hardware circuit according to the model format before silicon.
在本申请实施例中,基于K_BASE倍率映射的静态功耗训练算法中,算法模型格式可以是固定的,算法具体内容参见下面S305中的描述,此处暂不赘述。In the embodiment of the present application, in the static power consumption training algorithm based on K_BASE magnification mapping, the format of the algorithm model may be fixed. For the specific content of the algorithm, refer to the description in S305 below, which will not be repeated here.
在本申请实施例中,在硅前阶段可以根据模型格式设计硬件电路。In the embodiment of the present application, the hardware circuit can be designed according to the model format at the pre-silicon stage.
在本申请实施例中,作为一种示例,设计人员在确定了基本的功耗模型后,可以将基本的功耗模型写入选择的一组样本中。之后,可以对各个样本进行ATE测试,获取训练数据。In the embodiment of the present application, as an example, after the designer determines the basic power consumption model, he may write the basic power consumption model into a selected group of samples. Afterwards, the ATE test can be performed on each sample to obtain training data.
S302、ATE测试获取各样本的IDDQ值,并烧写在EFUSE中。S302. The ATE test acquires the IDDQ value of each sample, and writes it in EFUSE.
其中,作为一种示例,ATE测试可以获取各个簇(cluster)的IDDQ值。ATE测试时,将需要进行静态功耗估算的电源域对应的IDDQ值烧录入EFUSE。在ATE阶段实测获得的IDDQ值,准确度高且适合大规模量产。Wherein, as an example, the ATE test may obtain the IDDQ value of each cluster (cluster). During the ATE test, the IDDQ value corresponding to the power domain that needs to be estimated for static power consumption is burned into EFUSE. The IDDQ value measured in the ATE stage is highly accurate and suitable for mass production.
S303、通过IDDQ值挑选一定量级样本。S303. Select samples of a certain magnitude according to the IDDQ value.
其中,在挑选模型训练集样本时,可以按照IDDQ分布区间进行挑选。首先,可以通过大样本确定IDDQ分布区间的IDDQ值的上下限,在分布区间内均匀撒点(即等间隔分布)且要满足一定的数量k,确保训练集的丰富性及覆盖的全面性,满足工艺制造维度的大数据需求。Among them, when selecting the model training set samples, it can be selected according to the IDDQ distribution interval. First of all, the upper and lower limits of the IDDQ value of the IDDQ distribution interval can be determined through a large sample, and the points are evenly distributed in the distribution interval (that is, equally spaced distribution) and a certain number k must be satisfied to ensure the richness of the training set and the comprehensiveness of coverage. Meet the big data needs of the process manufacturing dimension.
S304、收集各种样本,以遍历不同温度点下各电压的静态漏电值。S304. Collect various samples to traverse the static leakage values of each voltage at different temperature points.
对训练集的各样本,配置到一定状态后放在温箱环境下,在温度(Temperature,T)和电压(Voltage,V)两个维度上进行遍历,收集交叉点上的静态电流。可参看图7所示,(1)V1为电压遍历区间的下界,Vn为电压遍历区间的上界,V_step为电压遍历两个相邻点的间隔。V1和Vn可以结合实际的电压使用区间确定,V_step的调节影响到模型精度。(2)T1为温度遍历区间的下界,Tn为温度遍历区间的上界,T_step为温度遍历两个相邻点的间隔。T1和Tn可以结合预估的温度实际分布区间确定,T_step的调节影响到模型精度。(3)k个样本,每个样本在V和T两个维度上对应n*m个静态电流Ln_m,形成对PVT的样本空间覆盖。Each sample in the training set is configured to a certain state and placed in an incubator environment, traversed in the two dimensions of temperature (Temperature, T) and voltage (Voltage, V), and collects the quiescent current at the intersection. As shown in FIG. 7 , (1) V1 is the lower boundary of the voltage traversal interval, Vn is the upper boundary of the voltage traversal interval, and V_step is the interval between the voltage traversal of two adjacent points. V1 and Vn can be determined in combination with the actual voltage range, and the adjustment of V_step affects the accuracy of the model. (2) T1 is the lower bound of the temperature traversal interval, Tn is the upper bound of the temperature traversal interval, and T_step is the interval between the temperature traversal of two adjacent points. T1 and Tn can be determined based on the estimated actual temperature distribution range, and the adjustment of T_step affects the accuracy of the model. (3) k samples, each sample corresponds to n*m quiescent currents Ln_m in the two dimensions of V and T, forming a sample space coverage of PVT.
S305、训练静态功耗模型。S305. Train the static power consumption model.
作为一种示例,图9为本申请实施例中样本对应的IDDQ的一种示意图,如图9所示为根据S303挑选样本,其中Y0是区间的下界,代表样本空间中IDDQ的最小值;Yn是区间的上界,代表样本空间中IDDQ的最大值。As an example, FIG. 9 is a schematic diagram of the IDDQ corresponding to the sample in the embodiment of the present application. As shown in FIG. 9, the sample is selected according to S303, wherein Y0 is the lower bound of the interval, representing the minimum value of IDDQ in the sample space; Yn is the upper bound of the interval, representing the maximum value of IDDQ in the sample space.
在本申请实施例中,整个训练算法可以分为3个部分,核心思想是将静态功耗的直接计算转化为样本间不同V/T组合下的静态功耗倍率计算:In the embodiment of this application, the entire training algorithm can be divided into three parts. The core idea is to convert the direct calculation of static power consumption into the calculation of static power consumption ratio under different V/T combinations between samples:
(1)第一部分(1) The first part
引入P base,P base指的是基于IDDQ值最小的样本Y 0,训练出Y 0在各温度、电压下的静态功耗模型P base。其中,P base与温度、电压相关。 P base is introduced, and P base refers to the static power consumption model P base of Y 0 at various temperatures and voltages based on the sample Y 0 with the smallest IDDQ value. Among them, P base is related to temperature and voltage.
作为一种示例,P base=F 0(V,T),F 0为基于V/T组合计算出Y 0的P base的函数。示例性地,可以由回归算法训练得出,不限于具体形式。 As an example, P base =F 0 (V,T), F 0 is a function of P base of Y 0 calculated based on the combination of V/T. Exemplarily, it can be obtained by training a regression algorithm, and is not limited to a specific form.
(2)第二部分(2) The second part
a)引入K,K指的是其余样本Y 1…Y n的静态功耗相对于样本Y 0静态功耗P base的倍率(在同样的温度、电压组合下)。 a) K is introduced, and K refers to the ratio of the static power consumption of the remaining samples Y 1 ... Y n relative to the static power consumption P base of the sample Y 0 (under the same temperature and voltage combination).
b)引入K base,K base指的是其余样本Y 1…Y n中的IDDQ 1,…IDDQ n分别相对于样本Y 0的IDDQ 0的基准倍率。 b) Introducing K base , K base refers to the base multiples of IDDQ 1 , ... IDDQ n in the remaining samples Y 1 ... Y n relative to IDDQ 0 of the sample Y 0 .
c)由于K与K base、温度、电压相关,可以得到K=F 1(K base,V,T),其中,F 1为基于Kbase、V、T组合下,计算当前温度、电压下其他样本Y 1…Y n中任一样本的静态功耗与样本Y 0的静态功耗P base之间倍率的函数。示例性地,可以由回归算法训练得出,不限于具体形式。 c) Since K is related to K base , temperature, and voltage, K=F 1 (K base ,V,T) can be obtained, where F 1 is based on the combination of Kbase, V, and T to calculate other samples under the current temperature and voltage A function of the multiplier between the static power consumption of any sample in Y 1 ... Y n and the static power consumption P base of sample Y 0 . Exemplarily, it can be obtained by training a regression algorithm, and is not limited to a specific form.
(3)第三部分(3) The third part
引入P,P可以指的是最终的静态功耗值。此部分是在(1)/(2)部分基础上得到初步静态功耗后,在全样本空间进行一次校准,由此可以得到P=Ca(K*P base),其中,Ca可以为在全样本空间基于K*P base算出来的计算功耗值与实测功耗值进行校准的函数。示例性地,可以由回归算法训练得出,不限于具体形式。 Introducing P, which may refer to the final static power consumption value. This part is to perform a calibration in the full sample space after obtaining the preliminary static power consumption on the basis of part (1)/(2), so that P=Ca(K*P base ) can be obtained, where Ca can be The sample space is a function of calibration based on the calculated power consumption value calculated by K*P base and the measured power consumption value. Exemplarily, it can be obtained by training a regression algorithm, and is not limited to a specific form.
作为一种示例,图10为本申请实施例中训练流程的示意图,结合上述训练算法的3个部分,整个训练的流程可以如图10所示。As an example, FIG. 10 is a schematic diagram of the training process in the embodiment of the present application. Combining the above three parts of the training algorithm, the entire training process can be shown in FIG. 10 .
S306、开机软件读取eFuse IDDQ值。S306. The boot software reads the eFuse IDDQ value.
此步骤中,在设备开机的时候软件驱动从eFuse对应区段读取各个目标电源域的IDDQ值,只需读一次即可,直至重新开机才需要再次读取。In this step, when the device is turned on, the software driver reads the IDDQ value of each target power domain from the corresponding section of the eFuse. It only needs to be read once, and it does not need to be read again until the device is turned on again.
S307、软件驱动配置参数至硬件电路寄存器。S307. The software drives the configuration parameters to the hardware circuit registers.
其中,可以将估计装置的硬件电路所需的一些参数通过软件驱动进行配置。比如IDDQ相关信息、统计窗口时长等信息等。此外,还可以包括优化计算资源的相关的信息。例如,Wherein, some parameters required by the hardware circuit of the estimation device may be configured through software driving. For example, IDDQ-related information, statistical window duration and other information. In addition, relevant information for optimizing computing resources may also be included. E.g,
S308、使能硬件电路,周期上报结果。S308. Enable the hardware circuit, and periodically report the result.
其中,在硬件初始化及相关参数配置完成后,可以通过软件驱动配置使能信号,以使硬件电路开始工作,并周期性上报静态功耗的估计结果。Among them, after the hardware initialization and related parameter configuration are completed, the enable signal can be configured through the software driver, so that the hardware circuit can start to work, and the estimation result of the static power consumption can be reported periodically.
在本申请实施例中,采用利用静态电流和静态功耗之间的关系,确定当前电源域 的电路的静态电流对应的静态功耗,估计功耗的过程可以不受温度限制,即在各种温度下均可以较为准确地反应出电路的真实的静态功耗。In the embodiment of the present application, the relationship between the quiescent current and the quiescent power consumption is used to determine the quiescent power consumption corresponding to the quiescent current of the circuit in the current power domain, and the process of estimating the power consumption may not be limited by temperature, that is, in various The actual static power consumption of the circuit can be reflected more accurately at any temperature.
采用本申请实施例提供的技术方案具有多项有益效果。Adopting the technical solutions provided by the embodiments of the present application has multiple beneficial effects.
一方面,基于ATE获得的IDDQ值(eFuse)、温度及电压,通过K_BASE进行倍率映射的静态功耗Training算法。能够简化计算步骤,而且计算精度高,硬件实现简单,面积功耗小。需要说明的是,利用IDDQ值、温度及电压覆盖PVT,在按照前述实施例中样本选取及数据收集方式下,大样本大数据Training计算精度高;通过K_BASE进行倍率映射,关键核心是将静态功耗的直接计算转化为样本间不同V/T下的静态功耗倍率计算,从而可以计算简化,硬件实现简单,面积功耗小。On the one hand, based on the IDDQ value (eFuse), temperature and voltage obtained by ATE, the static power consumption Training algorithm for magnification mapping is performed through K_BASE. The calculation steps can be simplified, and the calculation precision is high, the hardware implementation is simple, and the area power consumption is small. It should be noted that, using the IDDQ value, temperature and voltage to cover PVT, under the sample selection and data collection methods in the above-mentioned embodiments, the calculation accuracy of large sample and big data Training is high; the key core of the multiplier mapping through K_BASE is to convert the static power The direct calculation of power consumption is transformed into the calculation of static power consumption multiplier under different V/T between samples, so that the calculation can be simplified, the hardware implementation is simple, and the area power consumption is small.
另一方面,基于MTCMOS_EN(上、下电使能信号)及Voltage信号,通过硬化的训练算法实现的硬件电路结构。能够实时计算快速响应包含DVFS及上、下电的各场景变化,增强不同场景下的静态功耗计算准确性。需要说明的是:芯片实际运行时,频繁进行电压的切换及上下电,且目标电源域众多,如软件响应这些事件则使软件负载过重;本申请实施例中的硬件电路,通过感知上、下电使能信号及电压值信号,结合硬化的训练(Training)算法,硬件实时计算快速响应各类事件,处理时效性更高。On the other hand, based on MTCMOS_EN (power-on and power-off enable signals) and Voltage signals, the hardware circuit structure is realized through hardened training algorithms. It can calculate and respond quickly to various scene changes including DVFS and power-on and power-off in real time, and enhance the accuracy of static power consumption calculations in different scenarios. It should be noted that when the chip is actually running, the voltage is switched and powered on and off frequently, and there are many target power domains. If the software responds to these events, the software load will be overloaded; The power-off enable signal and voltage value signal, combined with the hardened training (Training) algorithm, the hardware real-time calculation quickly responds to various events, and the processing timeliness is higher.
又一方面,各项Training算法的流程包括但不限于样本选取方法,数据收集方法。能够保证训练算法的精度。首先,在样本选取方法中,ATE阶段通过批量样本(包含各个Corner)确定样本空间的IDDQ值上下界,并在IDDQ区间内均匀撒点,能够使得密度达到大样本的需求,即训练数据的分布更均匀。其次,在数据收集方法中,每个样本配置到一定状态后,再放在温箱环境,设置电源外供,然后在温度和电压两个维度上进行遍历测试。通过上述方法形成PVT三个维度上的大样本空间覆盖,即确定模型的大数据反映的静态电流和功耗之间关系更为准确,基于此的大数据训练能够充分地保证计算精度。On the other hand, the processes of various training algorithms include but not limited to sample selection methods and data collection methods. It can guarantee the accuracy of the training algorithm. First of all, in the sample selection method, the ATE stage determines the upper and lower bounds of the IDDQ value of the sample space through batch samples (including each Corner), and evenly sprinkles points in the IDDQ interval, so that the density can meet the requirements of large samples, that is, the distribution of training data more evenly. Secondly, in the data collection method, after each sample is configured to a certain state, it is placed in an incubator environment, an external power supply is set, and then the traversal test is performed in two dimensions of temperature and voltage. Through the above method, the large sample space coverage in the three dimensions of PVT is formed, that is, the relationship between the static current and power consumption reflected by the large data of the determination model is more accurate, and the large data training based on this can fully guarantee the calculation accuracy.
本申请实施例的其他技术方案及技术效果可参看本申请其他实施例中的相关说明。For other technical solutions and technical effects of the embodiments of the present application, reference may be made to relevant descriptions in other embodiments of the present application.
实施例四Embodiment four
本申请实施例还提供一种静态功耗估计装置。The embodiment of the present application also provides a device for estimating static power consumption.
图11为本申请实施例提供的静态功耗估计装置的一种结构示意图。如图11所示, 本申请实施例中的装置1200可以包括处理模块1210、收发模块1220。其中:FIG. 11 is a schematic structural diagram of an apparatus for estimating static power consumption provided by an embodiment of the present application. As shown in FIG. 11 , an apparatus 1200 in this embodiment of the present application may include a processing module 1210 and a transceiver module 1220 . in:
收发模块,用于获取属于目标电源域的第一工作电路的第一静态电流IDDQ。The transceiver module is configured to acquire the first quiescent current IDDQ of the first working circuit belonging to the target power domain.
处理模块,用于将所述第一IDDQ输入功耗模型,获得所述第一工作电路的第一静态功耗;其中,所述功耗模型为根据至少两个历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定的。A processing module, configured to input the first IDDQ into a power consumption model to obtain a first static power consumption of the first working circuit; wherein, the power consumption model is based on at least two historical IDDQs and each of the historical IDDQs The corresponding historical static power consumption is determined.
在一种可能的实施方式中,所述功耗模型为倍率模型In a possible implementation manner, the power consumption model is a rate model
P=K*P base;其中,K=F 1(Q); P=K*P base ; where, K=F 1 (Q);
其中,P为所述第一静态功耗,电流倍率Q为所述第一IDDQ与基准IDDQ之间的电流倍率,功耗电流倍率关系函数F 1用于反映所述电流倍率Q与功耗倍率K之间的关系,所述基准IDDQ为所述至少两个历史IDDQ中的一个历史IDDQ,所述基准静态功耗P base为所述基准IDDQ对应的历史静态功耗。 Wherein, P is the first static power consumption, the current ratio Q is the current ratio between the first IDDQ and the reference IDDQ, and the power consumption current ratio relationship function F1 is used to reflect the current ratio Q and the power consumption ratio The relationship between K, the base IDDQ is one of the at least two historical IDDQs, and the base static power consumption P base is the historical static power consumption corresponding to the base IDDQ.
在一示例中,所述F 1为根据所述至少两个IDDQ中除所述基准IDDQ之外的其他历史IDDQ与所述基准IDDQ之间的历史电流倍率,以及,所述其他历史IDDQ对应的历史静态功耗与所述P base之间的历史功耗倍率确定的。 In an example, the F1 is based on the historical current multiplier between other historical IDDQs except the reference IDDQ among the at least two IDDQs and the reference IDDQ, and the other historical IDDQs correspond to Determined by historical power dissipation multiplier between historical static power consumption and the P base .
在一种可能的实施方式中,所述功耗模型为校准模型In a possible implementation manner, the power consumption model is a calibration model
P=Ca(K*P base);其中,K=F 1(Q); P=Ca(K*P base ); where, K=F 1 (Q);
其中,P为所述第一静态功耗,电流倍率Q为所述第一IDDQ与基准IDDQ之间的电流倍率,功耗电流倍率关系函数F 1用于反映所述电流倍率Q与功耗倍率K之间的关系,校准函数Ca用于反映计算静态功耗和实际静态功耗之间的关系,所述基准IDDQ为所述至少两个历史IDDQ中的一个历史IDDQ,所述基准静态功耗P base为所述基准IDDQ对应的历史静态功耗。 Wherein, P is the first static power consumption, the current ratio Q is the current ratio between the first IDDQ and the reference IDDQ, and the power consumption current ratio relationship function F1 is used to reflect the current ratio Q and the power consumption ratio The relationship between K, the calibration function Ca is used to reflect the relationship between the calculated static power consumption and the actual static power consumption, the reference IDDQ is a historical IDDQ in the at least two historical IDDQs, the reference static power consumption P base is the historical static power consumption corresponding to the base IDDQ.
在一示例中,所述F 1为根据所述至少两个IDDQ中除所述基准IDDQ之外的其他历史IDDQ与所述基准IDDQ之间的历史电流倍率,以及,所述其他历史IDDQ对应的历史静态功耗与所述P base之间的历史功耗倍率确定的; In an example, the F1 is based on the historical current multiplier between other historical IDDQs except the reference IDDQ among the at least two IDDQs and the reference IDDQ, and the other historical IDDQs correspond to Determined by the historical power consumption ratio between historical static power consumption and the P base ;
所述Ca为根据基于所述至少两个IDDQ对应的历史静态功耗和所述至少两个IDDQ对应的历史计算静态功耗确定的,其中,所述至少两个历史IDDQ中每个所述历史IDDQ对应的计算静态功耗为根据每个所述历史IDDQ和P=K*P base计算得得 到的。 The Ca is determined based on the historical static power consumption corresponding to the at least two IDDQs and the historical calculation static power consumption corresponding to the at least two IDDQs, wherein each of the historical IDDQs in the at least two historical IDDQs The calculated static power consumption corresponding to the IDDQ is calculated according to each historical IDDQ and P=K*P base .
在一种可能的实现方式中,所述至少两个历史IDDQ和各个所述历史IDDQ对应的历史静态功耗为:从至少两个样本获取的样本数据;其中,In a possible implementation manner, the at least two historical IDDQs and the historical static power consumption corresponding to each of the historical IDDQs are: sample data obtained from at least two samples; wherein,
所述功耗模型为利用所述至少两个样本的样本数据训练得到的;其中,所述至少两个样本位于不同的裸片上,每个样本包含属于所述目标电源域的所述第一工作电路;The power consumption model is obtained by training using sample data of the at least two samples; wherein the at least two samples are located on different dies, and each sample includes the first work belonging to the target power domain circuit;
每个所述样本的样本数据包括:所述至少两个历史IDDQ中的至少一个历史IDDQ,和,与所述至少一个历史IDDQ中的各个历史IDDQ对应的历史静态功耗。The sample data of each sample includes: at least one historical IDDQ of the at least two historical IDDQs, and historical static power consumption corresponding to each historical IDDQ of the at least one historical IDDQ.
在一种可能的实现方式中,所述基准样本为所述至少两个样本中历史IDDQ最小的样本Y 0;所述基准静态功耗P base为所述样本Y 0的历史静态功耗IDDQ 0对应的P 0In a possible implementation manner, the base sample is the sample Y 0 with the smallest historical IDDQ among the at least two samples; the base static power consumption P base is the historical static power consumption IDDQ 0 of the sample Y 0 Corresponding P 0 ;
所述至少两个样本的数量为n+1,其中,n为大于0的整数;所述n+1个样本中除所述Y 0之外的其他样本为Y 1…Y nThe number of the at least two samples is n+1, where n is an integer greater than 0; among the n+1 samples, other samples except the Y 0 are Y 1 ... Y n ;
所述功耗模型中的功耗电流倍率关系函数F 1为利用所述样本Y 1…Y n中的每个样本的历史电流倍率和历史电流倍率,对功耗电流倍率关系模型K=F 1(Q)进行训练,确定的; The power consumption current ratio relationship function F1 in the power consumption model is to use the historical current ratio and historical current ratio of each sample in the samples Y1 ... Yn , and the power consumption current ratio relationship model K = F1 (Q) conduct training, sure;
其中,所述样本Y 1…Y n对应的历史功耗倍率K 1…K n中,第i个样本Y i对应的历史功耗倍率
Figure PCTCN2021103711-appb-000008
P i为Y i的历史静态功耗;所述样本Y 1…Y n的历史电流倍率Q 1…Q n中,第i个样本Y i对应的历史电流倍率
Figure PCTCN2021103711-appb-000009
IDDQ i为Y i的历史IDDQ,i为大于0且小于或者等于n-1的整数。
Among the historical power consumption ratios K 1 ...K n corresponding to the samples Y 1 ...Y n , the historical power consumption ratios corresponding to the i-th sample Y i
Figure PCTCN2021103711-appb-000008
P i is the historical static power consumption of Y i ; among the historical current multipliers Q 1 ...Q n of the samples Y 1 ...Y n , the historical current multiplier corresponding to the ith sample Y i
Figure PCTCN2021103711-appb-000009
IDDQ i is the historical IDDQ of Y i , and i is an integer greater than 0 and less than or equal to n-1.
在一种可能的实现方式中,所述获取模块,还用于在所述将所述第一IDDQ输入功耗模型,获得所述第一工作电路对应的第一静态功耗之前,获取所述第一工作电路的当前电压和当前温度;In a possible implementation manner, the acquiring module is further configured to acquire the first static power consumption corresponding to the first working circuit before inputting the first IDDQ into the power consumption model the current voltage and current temperature of the first working circuit;
所述处理模块,还用于将所述第一IDDQ、所述当前电压和所述当前温度输入所述功耗模型,获得所述第一工作电路对应的所述第一静态功耗;The processing module is further configured to input the first IDDQ, the current voltage and the current temperature into the power consumption model to obtain the first static power consumption corresponding to the first working circuit;
其中,所述功耗模型为根据所述至少两个样本在至少两组历史温度和历史电压组合下的历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定的。Wherein, the power consumption model is determined according to the historical IDDQ of the at least two samples under at least two sets of historical temperature and historical voltage combinations and the historical static power consumption corresponding to each of the historical IDDQs.
在一种可能的实施方式中,所述倍率模型中的基准功耗P base为根据 P base=F 0(V,T)确定的;其中,所述基准功耗关系函数F 0为根据至少两种历史温度和历史电压组合以及所述样本Y 0在所述至少两种历史温度和历史电压组合下的历史静态功耗确定的; In a possible implementation manner, the base power consumption P base in the rate model is determined according to P base = F 0 (V, T); wherein, the base power consumption relationship function F 0 is based on at least two A historical temperature and historical voltage combination and the historical static power consumption of the sample Y 0 under the at least two historical temperature and historical voltage combinations are determined;
其中,每个所述样本的样本数据包括:每个所述样本在所述至少两种历史温度和历史电压组合中每种历史温度和历史电压组合下的历史IDDQ和历史静态功耗。Wherein, the sample data of each sample includes: historical IDDQ and historical static power consumption of each sample under each historical temperature and historical voltage combination in the at least two historical temperature and historical voltage combinations.
在一种可能的实施方式中,所述功耗模型中的基准功耗关系函数F 0为利用所述至少两种历史温度和历史电压组合,以及,所述样本Y 0在所述至少两种历史温度和历史电压组合下的历史静态功耗,对功耗电流倍率关系模型P base=F 0(V,T)进行训练确定的。 In a possible implementation manner, the reference power consumption relationship function F 0 in the power consumption model uses the at least two historical temperature and historical voltage combinations, and the sample Y 0 is in the at least two The historical static power consumption under the combination of historical temperature and historical voltage is determined by training the power consumption current ratio relationship model P base =F 0 (V,T).
在一种可能的实施方式中,所述至少两个样本中的每个样本中的所述第一工作电路的工艺角满足:所述至少两个样本中的每个样本的工艺角在所述第一工作电路的工艺角范围内等间隔分布;所述至少样本中存在第一样本和第二样本,所述第一样本的工艺角为所述第一工作电路的工艺角范围中的最小值SS;所述第二样本的工艺角为所述工艺角范围的最大值FF。In a possible implementation manner, the process angle of the first working circuit in each of the at least two samples satisfies: the process angle of each of the at least two samples is within the Distributed at equal intervals within the process angle range of the first working circuit; the first sample and the second sample exist in the at least one sample, and the process angle of the first sample is within the process angle range of the first working circuit The minimum value SS; the process angle of the second sample is the maximum value FF of the process angle range.
在一种可能的实施方式中,所述第一IDDQ为在所述第一工作电路处于上电状态时的IDDQ,其中,所述第一工作电路是否处于上电状态为根据基于通过电源线接收到的所述第一工作电路的上下电使能信号确定的。In a possible implementation manner, the first IDDQ is the IDDQ when the first working circuit is in the power-on state, wherein whether the first working circuit is in the power-on state is based on the determined by the received power-on/off enable signal of the first working circuit.
在一种可能的实施方式中,所述处理模块,还用于根据所述第一静态功耗和所述第一工作电路在预设时间段内的上电状态,确定所述第一工作电路在预设时间段内的平均功耗;In a possible implementation manner, the processing module is further configured to determine the first working circuit according to the first static power consumption and the power-on state of the first working circuit within a preset time period Average power consumption over a preset time period;
其中,所述第一工作电路在预设时间段内的上电状态为基于通过信号线接收的所述第一工作电路的电平信号确定的。Wherein, the power-on state of the first working circuit within a preset time period is determined based on a level signal of the first working circuit received through a signal line.
本申请实施例的其他技术方案细节和技术效果参见本申请其他实施例中的相关说明。For details of other technical solutions and technical effects of the embodiments of the present application, refer to relevant descriptions in other embodiments of the present application.
图12为本申请实施例提供的静态功耗估计装置的另一种结构示意图。FIG. 12 is another schematic structural diagram of the static power consumption estimating device provided by the embodiment of the present application.
如图12所示,本申请实施例中的装置1300可以包括:处理器1310和接口1320;As shown in FIG. 12 , an apparatus 1300 in this embodiment of the present application may include: a processor 1310 and an interface 1320;
其中,接口可用于获取属于目标电源域的第一工作电路的第一IDDQ。Wherein, the interface may be used to acquire the first IDDQ of the first working circuit belonging to the target power domain.
处理器,用于执行本申请实施例中任一所述的方法。A processor, configured to execute the method described in any one of the embodiments of the present application.
在一种可能的实现方式中,接口可以包括:In a possible implementation, the interface may include:
第一接口,与系统总线相连,用于获取所述第一IDDQ;The first interface is connected to the system bus and is used to obtain the first IDDQ;
第二接口,与所述第一工作电路通过信号线相连,用于获得所述第一工作电路的电平信号;The second interface is connected to the first working circuit through a signal line, and is used to obtain a level signal of the first working circuit;
第三接口,与温度传感器相连,用于获取所述第一工作电路的当前温度;The third interface is connected to a temperature sensor and is used to obtain the current temperature of the first working circuit;
第四接口,与电压数据寄存器相连,用于获取所述第一工作电路的当前电压。The fourth interface is connected to the voltage data register and is used to obtain the current voltage of the first working circuit.
作为一种示例,信号线为硬件线缆,第一工作电路的电平信号中的高电平信号可表示第一工作电路处于上电状态,低电平信号可表示第一工作电路处于下电状态。As an example, the signal line is a hardware cable, a high-level signal in the level signal of the first working circuit may indicate that the first working circuit is in a power-on state, and a low-level signal may indicate that the first working circuit is in a power-off state state.
在实际应用中,作为一种可选的实施方式,装置1200还可以包括存储器1330,用于存储指令和数据。In practical applications, as an optional implementation manner, the device 1200 may further include a memory 1330 for storing instructions and data.
本申请实施例还提供一种支持功耗估计的电路系统,包括:The embodiment of the present application also provides a circuit system supporting power consumption estimation, including:
属于目标电源域的第一工作电路,所述第一工作电路存储有所述第一工作电路的静态电流IDDQ;A first working circuit belonging to the target power domain, where the first working circuit stores a quiescent current IDDQ of the first working circuit;
估计电路,用于从所述第一工作电路获取所述第一工作电路的IDDQ,以及,用于将所述第一工作电路的IDDQ输入功耗模型,获得所述第一工作电路的静态功耗估计结果;an estimation circuit, configured to acquire the IDDQ of the first operating circuit from the first operating circuit, and input the IDDQ of the first operating circuit into a power consumption model to obtain the static power of the first operating circuit Consumption estimation results;
其中,所述功耗模型为根据至少两个历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定的。Wherein, the power consumption model is determined according to at least two historical IDDQs and historical static power consumption corresponding to each of the historical IDDQs.
在一种可能的实现方式中,所述第一工作电路包括非易失性存储器;In a possible implementation manner, the first working circuit includes a non-volatile memory;
所述第一工作电路的IDDQ为通过IDDQ测试工具在预设温度和预设电压组合条件下测量得到,并存储至所述第一工作电路的非易失性存储器中的;The IDDQ of the first working circuit is measured by an IDDQ test tool under the combined conditions of preset temperature and preset voltage, and is stored in the non-volatile memory of the first working circuit;
所述估计装置,用于通过系统总线从所述第一工作电路的非易失性存储器中读取所述第一工作电路的IDDQ。The estimation device is used to read the IDDQ of the first working circuit from the non-volatile memory of the first working circuit through the system bus.
在一种可能的实现方式中所述电路系统还包括:In a possible implementation manner, the circuit system further includes:
温度传感器,用于向所述估计电路上报所述第一工作电路的当前温度数据;a temperature sensor, configured to report the current temperature data of the first working circuit to the estimation circuit;
电压数据寄存器,用于存储所述第一工作电路当前配置的电压数据;a voltage data register, configured to store voltage data currently configured by the first working circuit;
所述估计装置,还用于从所述电压数据寄存器中读取所述第一工作电路当前配置的电压数据。The estimating device is further configured to read the voltage data of the current configuration of the first working circuit from the voltage data register.
在一种可能的实现方式中,所述目标电源域电路与所述估计电路通过信号线相连;In a possible implementation manner, the target power domain circuit is connected to the estimation circuit through a signal line;
所述目标电源域电路,还用于通过所述信号线向所述估计电路发送电平信号;The target power domain circuit is further configured to send a level signal to the estimation circuit through the signal line;
所述估计电路,还用于通过所述电平信号确定所述目标电源电路的上下电状态。The estimation circuit is further configured to determine the power-on/off state of the target power supply circuit through the level signal.
一种可能的实现方式中,所述估计电路与所述第一工作电路通过总线相连。In a possible implementation manner, the estimation circuit is connected to the first working circuit through a bus.
本申请实施例的其他技术方案细节和技术效果参见本申请其他实施例中的相关说明。For details of other technical solutions and technical effects of the embodiments of the present application, refer to relevant descriptions in other embodiments of the present application.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk)等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the present application will be produced in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server, or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, DSL) or wireless (eg, infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a Solid State Disk).

Claims (17)

  1. 一种静态功耗估计方法,其特征在于,所述方法包括:A method for estimating static power consumption, characterized in that the method comprises:
    获取属于目标电源域的第一工作电路的第一静态电流IDDQ;Acquiring a first quiescent current IDDQ of a first working circuit belonging to a target power domain;
    将所述第一IDDQ输入功耗模型,获得所述第一工作电路对应的第一静态功耗;Inputting the first IDDQ into a power consumption model to obtain a first static power consumption corresponding to the first working circuit;
    其中,所述功耗模型为根据至少两个历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定的。Wherein, the power consumption model is determined according to at least two historical IDDQs and historical static power consumption corresponding to each of the historical IDDQs.
  2. 根据权利要求1所述的方法,其特征在于,所述功耗模型为倍率模型The method according to claim 1, wherein the power consumption model is a rate model
    P=K*P base;其中,K=F 1(Q); P=K*P base ; where, K=F 1 (Q);
    其中,P为所述第一静态功耗,电流倍率Q为所述第一IDDQ与基准IDDQ之间的电流倍率,功耗电流倍率关系函数F 1用于反映所述电流倍率Q与功耗倍率K之间的关系,所述基准IDDQ为所述至少两个历史IDDQ中的一个历史IDDQ,所述基准静态功耗P base为所述基准IDDQ对应的历史静态功耗。 Wherein, P is the first static power consumption, the current ratio Q is the current ratio between the first IDDQ and the reference IDDQ, and the power consumption current ratio relationship function F1 is used to reflect the current ratio Q and the power consumption ratio The relationship between K, the base IDDQ is one of the at least two historical IDDQs, and the base static power consumption P base is the historical static power consumption corresponding to the base IDDQ.
  3. 根据权利要求1所述的方法,其特征在于,所述功耗模型为校准模型The method according to claim 1, wherein the power consumption model is a calibration model
    P=Ca(K*P base);其中,K=F 1(Q); P=Ca(K*P base ); where, K=F 1 (Q);
    其中,P为所述第一静态功耗,电流倍率Q为所述第一IDDQ与基准IDDQ之间的电流倍率,功耗电流倍率关系函数F 1用于反映所述电流倍率Q与功耗倍率K之间的关系,校准函数Ca用于反映计算静态功耗和实际静态功耗之间的关系,所述基准IDDQ为所述至少两个历史IDDQ中的一个历史IDDQ,所述基准静态功耗P base为所述基准IDDQ对应的历史静态功耗。 Wherein, P is the first static power consumption, the current ratio Q is the current ratio between the first IDDQ and the reference IDDQ, and the power consumption current ratio relationship function F1 is used to reflect the current ratio Q and the power consumption ratio The relationship between K, the calibration function Ca is used to reflect the relationship between the calculated static power consumption and the actual static power consumption, the reference IDDQ is a historical IDDQ in the at least two historical IDDQs, the reference static power consumption P base is the historical static power consumption corresponding to the base IDDQ.
  4. 根据权利要求2或3所述的方法,其特征在于,所述至少两个历史IDDQ和各个所述历史IDDQ对应的历史静态功耗为:从至少两个样本获取的样本数据;其中,The method according to claim 2 or 3, wherein the at least two historical IDDQs and the historical static power consumption corresponding to each of the historical IDDQs are: sample data obtained from at least two samples; wherein,
    所述功耗模型为利用所述至少两个样本的样本数据训练得到的;其中,所述至少两个样本位于不同的裸片上,每个样本包含属于所述目标电源域的所述第一工作电路;The power consumption model is obtained by training using sample data of the at least two samples; wherein the at least two samples are located on different dies, and each sample includes the first work belonging to the target power domain circuit;
    每个所述样本的样本数据包括:所述至少两个历史IDDQ中的至少一个历史IDDQ,和,与所述至少一个历史IDDQ中的各个历史IDDQ对应的历史静态功耗。The sample data of each sample includes: at least one historical IDDQ of the at least two historical IDDQs, and historical static power consumption corresponding to each historical IDDQ of the at least one historical IDDQ.
  5. 根据权利要求4所述的方法,其特征在于,所述基准样本为所述至少两个样本中历史IDDQ最小的样本Y 0;所述基准静态功耗P base为所述样本Y 0的历史静态功耗 IDDQ 0对应的P 0The method according to claim 4, wherein the reference sample is the sample Y 0 with the smallest historical IDDQ among the at least two samples; the base static power consumption P base is the historical static of the sample Y 0 P 0 corresponding to power consumption IDDQ 0 ;
    所述至少两个样本的数量为n+1,其中,n为大于0的整数;所述n+1个样本中除所述Y 0之外的其他样本为Y 1…Y nThe number of the at least two samples is n+1, where n is an integer greater than 0; among the n+1 samples, other samples except the Y 0 are Y 1 ... Y n ;
    所述功耗模型中的功耗电流倍率关系函数F 1为利用所述样本Y 1…Y n中的每个样本的历史电流倍率和历史电流倍率,对功耗电流倍率关系模型K=F 1(Q)进行训练,确定的; The power consumption current ratio relationship function F1 in the power consumption model is to use the historical current ratio and historical current ratio of each sample in the samples Y1 ... Yn , and the power consumption current ratio relationship model K = F1 (Q) conduct training, sure;
    其中,所述样本Y 1…Y n对应的历史功耗倍率K 1…K n中,第i个样本Y i对应的历史功耗倍率
    Figure PCTCN2021103711-appb-100001
    P i为Y i的历史静态功耗;所述样本Y 1…Y n的历史电流倍率Q 1…Q n中,第i个样本Y i对应的历史电流倍率
    Figure PCTCN2021103711-appb-100002
    IDDQ i为Y i的历史IDDQ,i为大于0且小于或者等于n-1的整数。
    Among the historical power consumption ratios K 1 ...K n corresponding to the samples Y 1 ...Y n , the historical power consumption ratios corresponding to the i-th sample Y i
    Figure PCTCN2021103711-appb-100001
    P i is the historical static power consumption of Y i ; among the historical current multipliers Q 1 ...Q n of the samples Y 1 ...Y n , the historical current multiplier corresponding to the ith sample Y i
    Figure PCTCN2021103711-appb-100002
    IDDQ i is the historical IDDQ of Y i , and i is an integer greater than 0 and less than or equal to n-1.
  6. 根据权利要求5所述的方法,其特征在于,在所述将所述第一IDDQ输入功耗模型,获得所述第一工作电路对应的第一静态功耗之前,所述方法还包括:The method according to claim 5, wherein before the first IDDQ is input into the power consumption model to obtain the first static power consumption corresponding to the first working circuit, the method further comprises:
    获取所述第一工作电路的当前电压和当前温度;Acquiring the current voltage and current temperature of the first working circuit;
    所述将所述第一IDDQ输入功耗模型,获得所述第一工作电路对应的第一静态功耗,包括:将所述第一IDDQ、所述当前电压和所述当前温度输入所述功耗模型,获得所述第一工作电路对应的所述第一静态功耗;The inputting the first IDDQ into the power consumption model to obtain the first static power consumption corresponding to the first working circuit includes: inputting the first IDDQ, the current voltage and the current temperature into the power consumption consumption model, to obtain the first static power consumption corresponding to the first working circuit;
    其中,所述功耗模型为根据所述至少两个样本在至少两组历史温度和历史电压组合下的历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定的。Wherein, the power consumption model is determined according to the historical IDDQ of the at least two samples under at least two sets of historical temperature and historical voltage combinations and the historical static power consumption corresponding to each of the historical IDDQs.
  7. 根据权利要求6所述的方法,其特征在于,所述倍率模型中的基准功耗P base为根据P base=F 0(V,T)确定的;其中,所述基准功耗关系函数F 0为根据至少两种历史温度和历史电压组合以及所述样本Y 0在所述至少两种历史温度和历史电压组合下的历史静态功耗确定的; The method according to claim 6, wherein the base power consumption P base in the rate model is determined according to P base = F 0 (V, T); wherein, the base power consumption relationship function F 0 determined according to at least two historical temperature and historical voltage combinations and the historical static power consumption of the sample Y0 under the at least two historical temperature and historical voltage combinations;
    其中,每个所述样本的样本数据包括:每个所述样本在所述至少两种历史温度和历史电压组合中每种历史温度和历史电压组合下的历史IDDQ和历史静态功耗。Wherein, the sample data of each sample includes: historical IDDQ and historical static power consumption of each sample under each historical temperature and historical voltage combination in the at least two historical temperature and historical voltage combinations.
  8. 根据权利要求7所述的方法,其特征在于,所述功耗模型中的基准功耗关系函数F 0为利用所述至少两种历史温度和历史电压组合,以及,所述样本Y 0在所述至少两种历史温度和历史电压组合下的历史静态功耗,对功耗电流倍率关系模型 P base=F 0(V,T)进行训练确定的。 The method according to claim 7, characterized in that, the reference power consumption relation function F0 in the power consumption model utilizes the combination of the at least two historical temperatures and historical voltages, and the sample Y0 is in the The historical static power consumption under at least two historical temperature and historical voltage combinations is determined by training the power consumption current ratio relationship model P base =F 0 (V,T).
  9. 根据权利要求4-8任一所述的方法,其特征在于,所述至少两个样本中的每个样本中的所述第一工作电路的工艺角满足:The method according to any one of claims 4-8, wherein the process angle of the first working circuit in each of the at least two samples satisfies:
    所述至少两个样本中的每个样本的工艺角在所述第一工作电路的工艺角范围内等间隔分布;Process corners of each of the at least two samples are equally spaced within the range of process corners of the first working circuit;
    所述至少样本中存在第一样本和第二样本,所述第一样本的工艺角为所述第一工作电路的工艺角范围中的最小值SS;所述第二样本的工艺角为所述工艺角范围的最大值FF。There are a first sample and a second sample among the at least samples, the process angle of the first sample is the minimum value SS in the process angle range of the first working circuit; the process angle of the second sample is The maximum value FF of the process angle range.
  10. 根据权利要求1-9任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-9, wherein the method further comprises:
    根据所述第一静态功耗和所述第一工作电路在预设时间段内的上电状态,确定所述第一工作电路在预设时间段内的平均功耗;determining the average power consumption of the first working circuit within a preset time period according to the first static power consumption and the power-on state of the first working circuit within a preset time period;
    其中,所述第一工作电路在预设时间段内的上电状态为基于通过信号线接收的所述第一工作电路的电平信号确定的。Wherein, the power-on state of the first working circuit within a preset time period is determined based on a level signal of the first working circuit received through a signal line.
  11. 一种电子装置,其特征在于,包括:An electronic device, characterized in that it comprises:
    获取模块,用于获取属于目标电源域的第一工作电路的第一静态电流IDDQ;An acquisition module, configured to acquire the first quiescent current IDDQ of the first working circuit belonging to the target power domain;
    处理模块,用于将所述第一IDDQ输入功耗模型,获得所述第一工作电路对应的第一静态功耗;A processing module, configured to input the first IDDQ into a power consumption model to obtain a first static power consumption corresponding to the first working circuit;
    其中,所述功耗模型为根据至少两个历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定的。Wherein, the power consumption model is determined according to at least two historical IDDQs and historical static power consumption corresponding to each of the historical IDDQs.
  12. 根据权利要求11所述的电子装置,其特征在于,The electronic device according to claim 11, wherein,
    所述获取模块,还用于获取所述第一工作电路的当前电压和当前温度;The obtaining module is also used to obtain the current voltage and current temperature of the first working circuit;
    所述处理模块,还用于将所述第一IDDQ、所述当前电压和所述当前温度输入所述功耗模型,获得所述第一工作电路对应的所述第一静态功耗;The processing module is further configured to input the first IDDQ, the current voltage and the current temperature into the power consumption model to obtain the first static power consumption corresponding to the first working circuit;
    其中,所述功耗模型为根据至少两个样本在至少两组历史温度和历史电压组合下的历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定的。Wherein, the power consumption model is determined according to historical IDDQs of at least two samples under at least two sets of historical temperature and historical voltage combinations and historical static power consumption corresponding to each of the historical IDDQs.
  13. 根据权利要求12所述的电子装置,其特征在于,所述至少两个样本中的每个样本中的所述第一工作电路的工艺角满足:The electronic device according to claim 12, wherein the process angle of the first working circuit in each of the at least two samples satisfies:
    所述至少两个样本中的每个样本的工艺角在所述第一工作电路的工艺角范围内等间隔分布;Process corners of each of the at least two samples are equally spaced within the range of process corners of the first working circuit;
    所述至少样本中存在第一样本和第二样本,所述第一样本的工艺角为所述第一工 作电路的工艺角范围中的最小值SS;所述第二样本的工艺角为所述工艺角范围的最大值FF。There are a first sample and a second sample among the at least samples, the process angle of the first sample is the minimum value SS in the process angle range of the first working circuit; the process angle of the second sample is The maximum value FF of the process angle range.
  14. 一种支持功耗估计的电路系统,其特征在于,包括:A circuit system supporting power consumption estimation, comprising:
    属于目标电源域的第一工作电路,所述第一工作电路存储有所述第一工作电路的静态电流IDDQ;A first working circuit belonging to the target power domain, where the first working circuit stores a quiescent current IDDQ of the first working circuit;
    估计电路,用于从所述第一工作电路获取所述第一工作电路的第一IDDQ,以及,用于将所述第一工作电路的IDDQ输入功耗模型,获得所述第一工作电路的第一静态功耗估计结果;an estimating circuit, configured to acquire a first IDDQ of the first operating circuit from the first operating circuit, and input the IDDQ of the first operating circuit into a power consumption model, and obtain an IDDQ of the first operating circuit a first static power consumption estimation result;
    其中,所述功耗模型为根据至少两个历史IDDQ和各个所述历史IDDQ对应的历史静态功耗确定的。Wherein, the power consumption model is determined according to at least two historical IDDQs and historical static power consumption corresponding to each of the historical IDDQs.
  15. 根据权利要求14所述的电路系统,其特征在于,所述第一工作电路包括非易失性存储器;The circuit system according to claim 14, wherein the first working circuit comprises a non-volatile memory;
    所述第一工作电路的IDDQ为通过IDDQ测试工具在预设温度和预设电压组合条件下测量得到,并存储至所述第一工作电路的非易失性存储器中的;The IDDQ of the first working circuit is measured by an IDDQ test tool under the combined conditions of preset temperature and preset voltage, and is stored in the non-volatile memory of the first working circuit;
    所述估计装置,用于通过系统总线从所述第一工作电路的非易失性存储器中读取所述第一工作电路的IDDQ。The estimation device is used to read the IDDQ of the first working circuit from the non-volatile memory of the first working circuit through the system bus.
  16. 根据权利要求14或15所述的电路系统,其特征在于,所述电路系统还包括:The circuit system according to claim 14 or 15, wherein the circuit system further comprises:
    温度传感器,用于向所述估计电路上报所述第一工作电路的当前温度数据;a temperature sensor, configured to report the current temperature data of the first working circuit to the estimation circuit;
    电压数据寄存器,用于存储所述第一工作电路当前配置的电压数据;a voltage data register, configured to store voltage data currently configured by the first working circuit;
    所述估计装置,还用于从所述电压数据寄存器中读取所述第一工作电路当前配置的电压数据。The estimating device is further configured to read the voltage data of the current configuration of the first working circuit from the voltage data register.
  17. 根据权利要求14-16任一所述的电路系统,其特征在于,所述目标电源域电路与所述估计电路通过信号线相连;The circuit system according to any one of claims 14-16, wherein the target power domain circuit is connected to the estimation circuit through a signal line;
    所述目标电源域电路,还用于通过所述信号线向所述估计电路发送电平信号;The target power domain circuit is further configured to send a level signal to the estimation circuit through the signal line;
    所述估计电路,还用于通过所述电平信号确定所述目标电源电路的上下电状态。The estimation circuit is further configured to determine the power-on/off state of the target power supply circuit through the level signal.
PCT/CN2021/103711 2021-06-30 2021-06-30 Quiescent power dissipation estimation method and related apparatus WO2023272615A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/103711 WO2023272615A1 (en) 2021-06-30 2021-06-30 Quiescent power dissipation estimation method and related apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/103711 WO2023272615A1 (en) 2021-06-30 2021-06-30 Quiescent power dissipation estimation method and related apparatus

Publications (1)

Publication Number Publication Date
WO2023272615A1 true WO2023272615A1 (en) 2023-01-05

Family

ID=84692167

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/103711 WO2023272615A1 (en) 2021-06-30 2021-06-30 Quiescent power dissipation estimation method and related apparatus

Country Status (1)

Country Link
WO (1) WO2023272615A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115993943A (en) * 2023-03-23 2023-04-21 苏州宽温电子科技有限公司 Memory characterization method, chip design method, medium and device
CN116502596A (en) * 2023-06-28 2023-07-28 杭州行芯科技有限公司 Chip power consumption evaluation method, power consumption model generation method and computer equipment
CN117971604A (en) * 2024-03-29 2024-05-03 此芯科技(上海)有限公司 Static current prediction method and device, storage medium and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050050494A1 (en) * 2003-09-02 2005-03-03 Mcguffin Tyson R. Power estimation based on power characterizations of non-conventional circuits
US20070001694A1 (en) * 2005-06-30 2007-01-04 Sanjeev Jahagirdar On-die real time leakage energy meter
CN102866291A (en) * 2012-08-27 2013-01-09 中国科学院微电子研究所 Gate-level power consumption analysis device and method based on hardware platform
US20130139120A1 (en) * 2011-11-30 2013-05-30 Taiwan Semiconductor Manufacturing Co., Ltd. Computer implemented system and method for leakage calculation
US8694939B1 (en) * 2013-03-13 2014-04-08 Xilinx, Inc. Method for determining critical junction temperature
US20170083383A1 (en) * 2015-09-23 2017-03-23 Tomer RIDER Task assignment for processor cores based on a statistical power and frequency model
CN108008715A (en) * 2016-10-27 2018-05-08 财团法人工业技术研究院 System power evaluation device and method based on FPGA
CN108488969A (en) * 2018-03-23 2018-09-04 北京百度网讯科技有限公司 Control method and control device for handpiece Water Chilling Units
US10133836B1 (en) * 2016-09-21 2018-11-20 Cadence Design Systems, Inc. Systems and methods for on-the-fly temperature and leakage power estimation in electronic circuit designs
CN110554758A (en) * 2018-06-01 2019-12-10 三星电子株式会社 computing device and method of operating a computing device
US20200151296A1 (en) * 2018-11-14 2020-05-14 Baum Co., Ltd. System and method for estimating leakage power of circuit design at early stage

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050050494A1 (en) * 2003-09-02 2005-03-03 Mcguffin Tyson R. Power estimation based on power characterizations of non-conventional circuits
US20070001694A1 (en) * 2005-06-30 2007-01-04 Sanjeev Jahagirdar On-die real time leakage energy meter
US20130139120A1 (en) * 2011-11-30 2013-05-30 Taiwan Semiconductor Manufacturing Co., Ltd. Computer implemented system and method for leakage calculation
CN102866291A (en) * 2012-08-27 2013-01-09 中国科学院微电子研究所 Gate-level power consumption analysis device and method based on hardware platform
US8694939B1 (en) * 2013-03-13 2014-04-08 Xilinx, Inc. Method for determining critical junction temperature
US20170083383A1 (en) * 2015-09-23 2017-03-23 Tomer RIDER Task assignment for processor cores based on a statistical power and frequency model
US10133836B1 (en) * 2016-09-21 2018-11-20 Cadence Design Systems, Inc. Systems and methods for on-the-fly temperature and leakage power estimation in electronic circuit designs
CN108008715A (en) * 2016-10-27 2018-05-08 财团法人工业技术研究院 System power evaluation device and method based on FPGA
CN108488969A (en) * 2018-03-23 2018-09-04 北京百度网讯科技有限公司 Control method and control device for handpiece Water Chilling Units
CN110554758A (en) * 2018-06-01 2019-12-10 三星电子株式会社 computing device and method of operating a computing device
US20200151296A1 (en) * 2018-11-14 2020-05-14 Baum Co., Ltd. System and method for estimating leakage power of circuit design at early stage

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JIACHUN WAN; HAI WANG; TAN SHELDON X.-D.; CHI ZHANG; YUAN YUAN; KEHENG HUANG; ZHENGHONG ZHANG: "A fast full-chip static power estimation method", 2016 13TH IEEE INTERNATIONAL CONFERENCE ON SOLID-STATE AND INTEGRATED CIRCUIT TECHNOLOGY (ICSICT), IEEE, 25 October 2016 (2016-10-25), pages 241 - 243, XP033134844, ISBN: 978-1-4673-9717-9, DOI: 10.1109/ICSICT.2016.7998888 *
KUMAR R., RAVIKUMAR C.P.: "Leakage power estimation for deep submicron circuits in an ASIC design environment", PROCEEDINGS OF THE 15TH INTERNATIONAL CONFERENCE ON VLSI DESIGN., IEEE COMPUTER SOCIETY, 1730 MASSACHUSETTS AVE., NW WASHINGTON, DC 20036-1992 USA, 7 January 2002 (2002-01-07) - 11 January 2002 (2002-01-11), 1730 Massachusetts Ave., NW Washington, DC 20036-1992 USA , pages 45 - 50, XP010588079, ISBN: 978-0-7695-1441-3, DOI: 10.1109/ASPDAC.2002.994883 *
LAI LINGQING, LI DONGKAI : "Research Summary of CMOS Static Power Optimization and Estimation Methods", HEILONGJIANG SCIENCE AND TECHNOLOGY INFORMATION, HEILONGJIANG SCIENCE POPULARIZATION CENTER, CN, no. 27, 30 September 2016 (2016-09-30), CN , pages 157 - 157, XP093019282, ISSN: 2096-4390 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115993943A (en) * 2023-03-23 2023-04-21 苏州宽温电子科技有限公司 Memory characterization method, chip design method, medium and device
CN116502596A (en) * 2023-06-28 2023-07-28 杭州行芯科技有限公司 Chip power consumption evaluation method, power consumption model generation method and computer equipment
CN116502596B (en) * 2023-06-28 2023-10-31 杭州行芯科技有限公司 Chip power consumption evaluation method, power consumption model generation method and computer equipment
CN117971604A (en) * 2024-03-29 2024-05-03 此芯科技(上海)有限公司 Static current prediction method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
WO2023272615A1 (en) Quiescent power dissipation estimation method and related apparatus
US7900172B2 (en) Method and apparatus for analyzing power consumption
US7793239B2 (en) Method and system of modeling leakage
Spiliopoulos et al. Introducing DVFS-management in a full-system simulator
US9619609B1 (en) Integrated circuit chip design methods and systems using process window-aware timing analysis
US8255850B2 (en) Fabricating IC with NBTI path delay within timing constraints
TWI776323B (en) Unified material-to-systems simulation, design, and verification for semiconductor design and manufacturing
US9104834B2 (en) Systems and methods for single cell product path delay analysis
CN103116069B (en) The method of testing of chip frequency, Apparatus and system
US20070043548A1 (en) Verifying a simulated hardware environment for a simulated device under test
US7882467B2 (en) Test pattern evaluation method and test pattern evaluation device
US8108816B2 (en) Device history based delay variation adjustment during static timing analysis
Darringer et al. Early analysis tools for system-on-a-chip design
TWI604326B (en) Fpga-based system power estimation apparatus and method
US20170277613A1 (en) Multiple mode testing in a vector memory restricted test environment
US9477568B2 (en) Managing interconnect electromigration effects
US20090217220A1 (en) Method of designing an electronic device and device thereof
Karmakar et al. Window-based peak power model and Particle Swarm Optimization guided 3-dimensional bin packing for SoC test scheduling
US10963026B2 (en) Digital signal transition counters for digital integrated circuits
CN113627107A (en) Method, apparatus, electronic device, and medium for determining power supply voltage data
US10885243B1 (en) Logic partition reporting for integrated circuit design
US10831953B1 (en) Logic partition identifiers for integrated circuit design
US20180005663A1 (en) Method and apparatus for dynamic mode memory testing
Maragos et al. Application performance improvement by exploiting process variability on FPGA devices
US11609262B2 (en) On-die aging measurements for dynamic timing modeling

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21947569

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21947569

Country of ref document: EP

Kind code of ref document: A1