A method and system for optimizing power consumption of subthreshold digital circuits

By adjusting the gate length of the main delay unit device in the sub-threshold digital circuit, combined with simulation and statistical analysis, the complex problem of power consumption optimization of large-scale sub-threshold digital sequential circuits is solved, and power consumption is reduced and optimization speed is improved.

CN110956009BActive Publication Date: 2024-09-06INST OF MICROELECTRONICS CHINESE ACAD OF SCI LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811113017.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-09-25
Publication Date
2024-09-06
Estimated Expiration
2038-09-25

AI Technical Summary

Technical Problem

It is difficult to effectively optimize the power consumption of large-scale sub-threshold digital sequential circuits with existing technology. Traditional methods lead to high complexity and long optimization time of device size optimization, and cannot be directly applied to large-scale sub-threshold digital circuits.

Method used

By identifying logic unit circuits that can reduce performance and power consumption, increase or shorten the gate length of the main delay unit devices within a reasonable range, adjust timing constraints to optimize sub-threshold circuit power consumption, and conduct simulation and statistical analysis Establish a lookup table for the relationship between delay-gate length and power consumption.

Benefits of technology

Reduce the power consumption of integrated circuits while meeting timing requirements, reduce gate length to reduce power consumption and save area, while increasing optimization speed and avoiding local optimal point traps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110956009B
    Figure CN110956009B
Patent Text Reader

Abstract

The present invention discloses a method and system for optimizing power consumption of a subthreshold digital circuit. The method first determines a logic unit circuit that can reduce performance and power consumption; then performs timing analysis on a given integrated circuit to obtain all signal paths with loose timing; then determines a number of main delay units that can reduce performance and power consumption in each signal path with loose timing; finally, according to preset timing constraints, the gate length of the device of the main delay unit is increased or shortened to adjust the device, so as to optimize the power consumption of the subthreshold circuit by adjusting the gate length. The present invention reduces the circuit performance and improves the delay time of the unit by increasing or shortening the gate length of the device of the main delay unit within a reasonable range, thereby reducing the power consumption of the integrated circuit while meeting the timing requirements. In addition, the power consumption can be reduced and the area can be saved by reducing the gate length. At the same time, the method also improves the optimization speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of circuit power consumption optimization, and in particular to a sub-threshold digital circuit power consumption optimization method and system. Background Art

[0002] Subthreshold digital circuits refer to digital logic circuits whose operating voltage is lower than the threshold voltage of transistor devices. Since the circuit operates in the subthreshold region, the dynamic power consumption and static power consumption of the circuit can be greatly reduced. And precisely because the device operates in the subthreshold region, the current and voltage of the device are exponentially related. Changes in device size will lead to significant changes in current and parasitic capacitance, which will significantly change the electrical performance of the circuit. In addition, the circuit performance fluctuates greatly with PVT (Process-Voltage-Temperature) deviations. In order to make the designed subthreshold digital circuit have higher robustness, the statistical analysis and optimization of PVT deviations need to be considered in the design optimization process of subthreshold digital circuits. This will exponentially increase the complexity of device size optimization of subthreshold digital circuits, making the device optimization speed process extremely slow.

[0003] At present, with the increase in the scale of subthreshold digital circuits, the statistical analysis and optimization of PVT deviation combined with traditional random optimization algorithms and heuristic optimization algorithms can no longer be directly applied to the optimization of large-scale subthreshold digital circuits, especially the optimization of large-scale subthreshold digital timing circuits. In addition, in order to reduce the power consumption of subthreshold digital circuits, the performance of subthreshold digital circuits can be reduced under the premise of meeting the timing requirements. The traditional method is to reduce the gate width / gate length ratio of the MOS device in the circuit. However, reducing the gate width will cause the discretization of the cell height in the standard cell library used, further causing area waste; and increasing the gate length of the cell working in the subthreshold region may improve the performance of the cell due to the reverse short channel effect, and in the random optimization algorithm, the device size optimization will fall into the local optimum due to the reverse short channel effect. These further increase the complexity of subthreshold circuit design optimization, resulting in excessively long optimization time. Summary of the invention

[0004] The present invention proposes a sub-threshold digital circuit power consumption optimization method and system, which increases or shortens the gate length of the device of the main delay unit within a reasonable range, reduces its circuit performance, improves the delay time of the unit, and reduces the power consumption of the integrated circuit while meeting the timing requirements. In addition, it is also possible to reduce power consumption and save area by reducing the gate length.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] A method for optimizing power consumption of a subthreshold digital circuit, comprising:

[0007] Identify logic cell circuits that can reduce performance and power consumption;

[0008] Performing timing analysis on a given integrated circuit to obtain all signal paths with loose timing, wherein the signal paths include: a latch and a front-end combinational logic unit thereof or a trigger and a front-end combinational logic unit thereof;

[0009] Determining a number of major delay elements in each of the relaxed timing signal paths that can reduce performance and power consumption;

[0010] The gate length of the device of the main delay unit is increased or shortened according to the preset timing constraint condition, so as to optimize the power consumption of the sub-threshold circuit by adjusting the gate length size.

[0011] Furthermore, the step of determining a logic unit circuit that can reduce performance and power consumption includes:

[0012] Obtaining a logic unit circuit in a used logic unit library or a logic unit circuit referenced in a design to be optimized;

[0013] For each of the logic unit circuits, the gate length of the MOS device in the logic unit circuit is changed, the input-output waveform of the logic unit circuit under the corresponding gate length is obtained by simulating the logic unit circuit, the input-output waveform of the logic unit circuit is measured to obtain the delay of the logic unit circuit under the corresponding gate length, and the gate length-delay data is obtained;

[0014] Check the gate length-delay data. If the delay is less than the delay under the original gate length, remove the corresponding gate length-delay data.

[0015] If there is gate length-delay data of a delay greater than the delay under the original gate length, the logic unit circuit is listed as a logic unit circuit that can reduce performance and power consumption, otherwise it is a logic unit circuit that cannot reduce performance and power consumption.

[0016] Furthermore, it also includes:

[0017] For the logic unit circuit capable of reducing performance and power consumption, a delay-gate length relationship query table of the logic unit circuit is established by using the gate length-delay data with a delay greater than the delay under the original gate length.

[0018] Furthermore, it also includes:

[0019] For the logic unit circuit that can reduce performance and power consumption, the gate length of the MOS device in the logic unit circuit is changed, the input-output waveform of the unit circuit under the corresponding gate length is obtained by simulating the logic unit circuit, the input-output waveform of the logic unit circuit is measured to obtain the delay of the logic unit circuit, and the power consumption of the logic unit circuit under the delay is obtained at the same time, and the gate length-delay and power consumption data when the delay is greater than the delay under the original gate length are used to establish a delay-power consumption relationship query table of the logic unit circuit.

[0020] Furthermore, it also includes:

[0021] For the logic unit circuit capable of reducing performance and power consumption, the maximum delay of the logic unit circuit under a fixed gate width and the maximum value of the delay amplification factor relative to the original gate length, that is, the performance shrinkage factor of the logic unit circuit, are obtained.

[0022] Furthermore, it also includes:

[0023] For the logic unit circuit that can reduce performance and power consumption, based on statistical simulation of the logic unit circuit, a statistical delay-gate length relationship query table of the logic unit circuit with a delay greater than the delay under the original gate length is established.

[0024] Furthermore, the step of performing timing analysis on a given integrated circuit to obtain all signal paths with loose timing includes:

[0025] Perform timing analysis on a given integrated circuit using statistical timing analysis tools or based on circuit statistical simulation to obtain the delay distribution of all signal paths;

[0026] Determining whether the delay distribution of each of the signal paths satisfies the preset timing constraint condition;

[0027] The signal paths that meet the preset timing constraint conditions are listed as signal paths with loose timing.

[0028] Furthermore, the step of determining a number of main delay units in each of the signal paths with loose timing that can reduce performance and power consumption includes:

[0029] If the logic unit circuit in the timing-relaxed signal path that meets the preset timing constraint condition is a calibrated logic unit circuit that can reduce performance and power consumption, then the logic unit circuit is included in the main delay unit circuit that can reduce performance and power consumption;

[0030] If the latch or trigger in the timing-relaxed signal path that does not meet the preset timing constraint condition is a logic unit circuit that has been calibrated to reduce performance and power consumption, it will be included in the main delay unit circuit that can reduce performance and power consumption.

[0031] A subthreshold digital circuit power consumption optimization system, comprising:

[0032] A first determining unit, used to determine a logic unit circuit that can reduce performance and power consumption;

[0033] An analysis unit, used to perform timing analysis on a given integrated circuit to obtain all signal paths with loose timing, wherein the signal paths include: a latch and a front-end combinational logic unit thereof or a trigger and a front-end combinational logic unit thereof;

[0034] A second determining unit, configured to determine a number of main delay units in each of the signal paths with loose timing that can reduce performance and power consumption;

[0035] The adjustment unit is used to increase or shorten the gate length of the device of the main delay unit according to the preset timing constraint condition, so as to optimize the power consumption of the subthreshold circuit by adjusting the gate length size.

[0036] Further, the first determining unit includes:

[0037] An acquisition unit, used to acquire a logic unit circuit in a used logic unit library or a logic unit circuit referenced in a design to be optimized;

[0038] A processing unit, configured to change the gate length of the MOS device in each logic unit circuit, obtain the input-output waveform of the logic unit circuit under the corresponding gate length by simulating the logic unit circuit, measure the input-output waveform of the logic unit circuit to obtain the delay of the logic unit circuit under the corresponding gate length, and obtain gate length-delay data;

[0039] A checking unit, used for checking the gate length-delay data, and if the delay is less than the delay under the original gate length, removing the corresponding gate length-delay data;

[0040] If there is gate length-delay data of a delay greater than the delay under the original gate length, the logic unit circuit is listed as a logic unit circuit that can reduce performance and power consumption, otherwise it is a logic unit circuit that cannot reduce performance and power consumption.

[0041] Through the above technical solutions, it can be known that compared with the prior art, the present invention discloses a method and system for optimizing power consumption of a subthreshold digital circuit, which first determines the logic unit circuit that can reduce performance and power consumption; then performs timing analysis on a given integrated circuit to obtain all signal paths with loose timing; then determines several main delay units that can reduce performance and power consumption in each signal path with loose timing; finally, according to the preset timing constraints, the gate length of the device of the main delay unit is increased or shortened to adjust the device, so as to optimize the power consumption of the subthreshold circuit by adjusting the gate length. The present invention reduces the circuit performance and improves the delay time of the unit by increasing or shortening the gate length of the device of the main delay unit within a reasonable range, thereby reducing the power consumption of the integrated circuit while meeting the timing requirements. In addition, the power consumption can be reduced and the area can be saved by reducing the gate length, and the method also improves the optimization speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0043] Figure 1 A flow chart of a sub-threshold digital circuit power consumption optimization method provided by an embodiment of the present invention;

[0044] Figure 2 A flowchart of a specific implementation method of step S101 provided in an embodiment of the present invention;

[0045] Figure 3 A flowchart of a specific implementation method of step S102 provided in an embodiment of the present invention;

[0046] Figure 4 A structural diagram of a sub-threshold digital circuit power consumption optimization system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] like Figure 1 As shown, an embodiment of the present invention provides a method for optimizing power consumption of a sub-threshold digital circuit, which may specifically include the following steps:

[0049] S101. Determine a logic unit circuit that can reduce performance and power consumption.

[0050] In the embodiment of the present invention, Figure 2 FIG. 1 is a specific implementation of the above step S101. Specifically, the above step of determining the logic unit circuit that can reduce performance and power consumption includes:

[0051] S201. Obtain a logic unit circuit in a used logic unit library or a logic unit circuit referenced in a design to be optimized.

[0052] S202. For each logic unit circuit, change the gate length of the MOS device in the logic unit circuit, obtain the input-output waveform of the logic unit circuit under the corresponding gate length by simulating the logic unit circuit, measure the input-output waveform of the logic unit circuit to obtain the delay of the logic unit circuit under the corresponding gate length, and obtain gate length-delay data.

[0053] S203, check the gate length-delay data to determine whether there is a delay that is less than the delay under the original gate length, if so, execute step S204, if not, execute step S205.

[0054] S204, removing the corresponding gate length-delay data.

[0055] S205 , classify the logic unit circuit as a logic unit circuit that can reduce performance and power consumption, otherwise it is a logic unit circuit that cannot reduce performance and power consumption.

[0056] Further, after determining the logic unit circuit for improving performance, it also includes:

[0057] For a logic unit circuit that can reduce performance and power consumption, the above gate length-delay data with a delay greater than the delay under the original gate length is used to establish a delay-gate length relationship query table of the logic unit circuit.

[0058] Further, after determining the logic unit circuit for improving performance, it also includes:

[0059] For logic unit circuits that can reduce performance and power consumption, the gate length of the MOS device in the logic unit circuit is changed, the input-output waveform of the unit circuit under the corresponding gate length is obtained by simulating the logic unit circuit, the input-output waveform of the logic unit circuit is measured to obtain the delay of the logic unit circuit, and the power consumption of the logic unit circuit under the delay is obtained at the same time, and the gate length-delay and power consumption data when the delay is greater than the delay under the original gate length are used to establish a delay-power consumption relationship query table for the logic unit circuit.

[0060] Further, after determining the logic unit circuit for improving performance, it also includes:

[0061] For a logic unit circuit that can reduce performance and power consumption, the maximum delay of the logic unit circuit under a fixed gate width and the maximum value of the delay amplification factor relative to the original gate length, that is, the performance shrinkage factor of the logic unit circuit, are obtained.

[0062] Further, after determining the logic unit circuit for improving performance, it also includes:

[0063] For logic unit circuits that can reduce performance and power consumption, a statistical delay-gate length relationship query table is established for logic unit circuits with a delay greater than the original gate length based on statistical simulation of the logic unit circuits.

[0064] S102, performing timing analysis on a given integrated circuit to obtain all signal paths with loose timing, wherein the signal paths include: a latch and its front-end combinational logic unit or a trigger and its front-end combinational logic unit.

[0065] In the embodiment of the present invention, Figure 3 FIG. 1 is a specific implementation of the above step S102. Specifically, the above step of performing timing analysis on a given integrated circuit to obtain all signal paths with loose timing includes:

[0066] S301, performing timing analysis on a given integrated circuit using a statistical timing analysis tool or based on circuit statistical simulation to obtain delay distributions of all signal paths;

[0067] S302: Determine whether the delay distribution of each signal path meets the preset timing constraint condition. If yes, execute step S303; if not, execute step S304.

[0068] S303: List the signal paths that meet the preset timing constraints into signal paths with loose timing.

[0069] S304: List the signal paths that do not meet the preset timing constraint conditions into signal paths that do not meet the timing looseness.

[0070] In the embodiment of the present invention, each latch or trigger and its front-end combinational logic need to meet a preset timing constraint condition, and the preset timing constraint condition is specifically:

[0071] t Prev_FF-Pdelay,max +t CML-Pdelay,max +t FF-setup,max <α.T clock

[0072] t Prev_FF-Pdelay,min +t CML-Pdelay,min >β.t FF-hold,max

[0073] Among them, α is between (0, 1), and the maximum value is generally 0.5; β is between (1, +∞), and the minimum value is generally 1.5. Prev_FF-Pdelay,max The maximum value of the output delay time of the previous latch or trigger; t CML-Pdelay,max T is the maximum time for the output signal of the front-end combinational logic circuit to reach the latch or trigger; clock It is the clock signal period of the sequential circuit, that is, the inverse value of the clock signal frequency; t CML-Pdelay,min The minimum time it takes for the output of the front-end combinational logic to reach the latch or trigger; t Prev_FF-Pdelay,min The minimum delay time of the previous latch or trigger data output; t FF-hold,max The maximum hold time of the data input of a latch or flip-flop; t FF-setup,max is the maximum setup time for the data input of a latch or flip-flop.

[0074] S103 , determining several main delay units in each signal path with loose timing that can reduce performance and power consumption.

[0075] In the embodiment of the present invention, specifically, the step of determining a number of main delay units in each of the signal paths with loose timing that can reduce performance and power consumption includes:

[0076] If the logic unit circuit in the timing-relaxed signal path that meets the preset timing constraint condition is a logic unit circuit that has been calibrated to reduce performance and power consumption, then it is included in the main delay unit circuit that can reduce performance and power consumption;

[0077] If the latch or trigger in the timing-relaxed signal path that does not meet the preset timing constraints is a logic unit circuit that has been calibrated to reduce performance and power consumption, it will be included in the main delay unit circuit that can reduce performance and power consumption.

[0078] Specifically, for each front-end combinational logic circuit and latch or trigger with loose timing, the results of the units that can reduce performance and power consumption determined in the above steps are used to check the main delay units that can reduce performance and power consumption. If the logic unit in the front-end combinational logic circuit with loose timing is the aforementioned calibrated logic unit that can reduce performance and power consumption, it will be included in the main delay unit that can reduce performance and power consumption, otherwise the logic unit will be excluded from the unit to be optimized; the same process is performed on the latch or trigger circuit.

[0079] S104, increasing or shortening the gate length of the device of the main delay unit according to the preset timing constraint condition, so as to optimize the power consumption of the sub-threshold circuit by adjusting the gate length size.

[0080] In the embodiment of the present invention, each latch and its front-end combinational logic unit or trigger and front-end combinational logic circuit must comply with the above-mentioned preset timing constraints, and the preset timing constraints are:

[0081] t Prev_FF-Pdelay,max +t CML-Pdelay,max +t FF-setup,max <α.T clock

[0082] t Prev_FF-Pdelay,min +t CML-Pdelay,min >β.t FF-hold,max

[0083] Among them, α takes values ​​between (0, 1), β takes values ​​between (1, +∞), T clock It is the clock signal period of the sequential circuit, that is, the inverse value of the clock signal frequency; t Prev_FF-Pdelay,max The maximum value of the output delay time of the previous latch or trigger; t CML-Pdelay,max T is the maximum time for the output signal of the front-end combinational logic circuit to reach the latch or trigger; clock It is the clock signal period of the sequential circuit, that is, the inverse value of the clock signal frequency; t CML-Pdelay,min The minimum time it takes for the output of the front-end combinational logic to reach the latch or trigger; t Prev_FF-Pdelay,min The minimum delay time of the previous latch or trigger data output; t FF-hold,max The maximum hold time of the data input of a latch or flip-flop; t FF-setup,max is the maximum setup time for the data input of a latch or flip-flop.

[0084] In addition, t CML-Pdelay,max and t CML-Pdelay,min They are determined by the maximum delay time and minimum delay time of each level of logic gates, specifically:

[0085] t CML-Pdelay,max =∑t Cell-Pdelay,max,i

[0086] t CML-Pdelay,min =∑t Cell-Pdelay,min,i

[0087] For the latch and its front-end combinational logic unit or the trigger and its front-end combinational logic under the loose book order, the delay space that can be reduced is respectively positioned as:

[0088] t delay_improve_goal1 =α s .T clock -(t Prev_FF-Pdelay,max +t CML-Pdelay,max +t FF-setup,max )

[0089] t delay_improve_goal2 =(t Prev_FF-Pdelay,min +t CML-Pdelay,min )-β s .t FF-hold,max

[0090] Among them, α s The value is between (0, 1), and α s >α;β s Take the value (1, +∞), and β s <β.

[0091] Considering that only cells are adjusted to optimize the delay and power consumption of the front-end combinational logic circuit (latches or flip-flops are not adjusted or cannot be adjusted):

[0092] ∑Δt RCSE_Cell-Pdelay,max,i ≤t delay_improve_goal1

[0093] ∑Δt RCSE_Cell-Pdelay,min,i ≥t delay_improve_goal2

[0094] Furthermore, considering the tuning of cells (including latches or flip-flops) to optimize the delay performance and power consumption of the front-end combinational logic circuit:

[0095] ∑Δt RCSE_Cell-Pdelay,max,i +Δt Prev_FF-Pdelay,max +Δt FF-setup,max ≤t delay_improve_goal1

[0096] ∑Δt RCSE_Cell-Pdelay,min,i -Δt FF-hold,max +Δt Prev_FF-Pdelay,min ≥t delay_improve_goal2

[0097] in:

[0098] Δt RCSE_Cell-Pdelay,max,i =t RCSE_Cell-Pdelay,max,i,new -t RCSE_Cell-Pdelay,max,I,org

[0099] Δt RCSE_Cell-Pdelay,min,i =t RCSE_Cell-Pdelay,min,i,new -t RCSE_Cell-Pdelay,min,i,org

[0100] Δt Prev_FF-Pdelay,max =t Prev_FF-Pdelay,max,new -t Prev_FF-Pdelay,max,org

[0101] Δt Prev_FF-Pdelay,min =t Prev_FF-Pdelay,min,new -t Prev_FF-Pdelay,min,org

[0102] Δt FF-setup,max =t FF-setup,max,new -tFF-setup,max,org

[0103] Δt FF-hold,max =t FF-hold,max,new -t FF-hold,max,org

[0104] Specifically, RCSE_Cell-Pdelay,max,i,new The maximum delay time after adjusting the gate length of logic unit i; t RCSE_Cell-Pdelay,max,I,org is the maximum delay time before the gate length of logic unit i is adjusted (i.e., the original gate length); t RCSE_Cell-Pdelay,min,i,new The minimum delay time after adjusting the gate length of logic unit i; t RCSE_Cell-Pdelay,min,i,org The minimum delay time before the gate length of logic unit i is adjusted (i.e., the original gate length); t Prev_FF-Pdelay,max,new The maximum delay time after adjusting the gate length of the previous latch or trigger; t Prev_FF-Pdelay,max,org The maximum delay time before the gate length of the previous latch or trigger is adjusted (i.e., the original gate length); t Prev_FF-Pdelay,min,new The minimum delay time after adjusting the gate length of the previous latch or trigger; t Prev_FF-Pdelay,min,org The minimum delay time before the gate length of the previous latch or trigger is adjusted (i.e., the original gate length); t FF-setup,max,new The maximum setup time of input data after adjusting the gate length for a latch or flip-flop; t FF-setup,max,org The maximum setup time of input data before the latch or trigger adjusts the gate length (i.e. the original gate length); t FF-hold,max,new The maximum hold time of input data after adjusting the gate length for a latch or flip-flop; t FF-hold,max,org The maximum hold time of the input data before the gate length of the latch or trigger is adjusted (i.e. the original gate length).

[0105] For the system of inequalities:

[0106] ∑Δt RCSE_Cell-Pdelay,max,i ≤t delay_improve_goal1

[0107] ∑Δt RCSE_Cell-Pdelay,min,i ≥t delay_improve_goal2

[0108] or

[0109] ∑Δt RCSE_Cell-Pdelay,max,i +Δt FF-setup,max ≤t delay_improve_goal1 +Δt Prev_FF-Pdelay,max

[0110] ∑Δt RCSE_Cell-Pdelay,min,i -Δt FF-hold,max ≥t delay_improve_goal2 -Δt Prev_FF-Pdelay,min

[0111] Solve and get: Δt of each adjustable logic unit circuitRCSE_Cell-Pdelay,max,i The minimum value of each adjustable logic unit Δt RCSE_Cell-Pdelay,min,i The maximum value of each adjustable latch or flip-flop Δt FF-setup,max The maximum value of each adjustable latch or flip-flop Δt FF-hold,max The maximum value of

[0112] Further according to the following four formulas:

[0113] t RCSE_Cell-Pdelay,max,i,new =t RCSE_Cell-Pdelay,max,I,org +Δt RCSE_Cell-Pdelay,max,i

[0114] t RCSE_Cell-Pdelay,min,i,new =t RCSE_Cell-Pdelay,min,i,org +Δt RCSE_Cell-Pdelay,min,i

[0115] t FF-setup,max,new =t FF-setup,max,org +Δt FF-setup,max

[0116] t FF-hold,max,new =t FF-hold,max,org +Δt FF-hold,max

[0117] The delay of the unit under the new gate length can be obtained: t RCSE_Cell-Pdelay,max,i,new ; t RCSE_Cell-Pdelay,min,i,new ;t FF-setup,max,new and t FF-hold,max,new .

[0118] According to the delay-gate length relationship query table of the unit established above, the gate length of the corresponding adjustable logic unit after adjustment is obtained, and the delay t of the unit under the new gate length is RCSE_Cell-Pdelay,max,i,new , t RCSE_Cell-Pdelay,min,i,new ,t FF-setup,max,new and t FF-hold,max,new The corresponding front-end combinational logic circuit and latch or trigger can meet the timing requirements. Thus, the timing is optimized by adjusting the gate length.

[0119] Furthermore, when there are multiple gate length values ​​that can meet the timing requirement, the gate length value corresponding to the lowest power consumption is selected as the gate length size of the corresponding unit after adjustment.

[0120] Furthermore, when there are multiple gate length values ​​that can meet the timing requirements, the gate length value with the lowest power consumption is selected as the gate length size of the corresponding unit after adjustment under the premise of ensuring the robustness of the performance distribution.

[0121] Furthermore, taking the above-adjusted gate length as the initial value, the gate length is fine-tuned through the optimization algorithm, and on the premise of meeting the timing requirements, the unit power consumption is estimated using the gate length-power consumption relationship query table established above, thereby reducing the delay performance and power consumption on the premise of meeting the timing requirements.

[0122] Furthermore, based on the sequence of signal flow, the gate length of the devices of the main delay units of the front-end combinational logic circuit and the latch or trigger circuit combination is increased / reduced in turn, thereby reducing the unit circuit performance and power consumption while ensuring that the timing requirements are met.

[0123] The embodiment of the present invention discloses a method for optimizing power consumption of a subthreshold digital circuit. The method first determines a logic unit circuit that can reduce performance and power consumption; then performs timing analysis on a given integrated circuit to obtain all signal paths with loose timing; then determines a number of main delay units that can reduce performance and power consumption in each signal path with loose timing; finally, according to preset timing constraints, the gate length of the device of the main delay unit is increased or shortened to adjust the device, so as to optimize the power consumption of the subthreshold circuit by adjusting the gate length. The method reduces the circuit performance and improves the delay time of the unit by increasing or shortening the gate length of the device of the main delay unit within a reasonable range, thereby reducing the power consumption of the integrated circuit while meeting the timing requirements. In addition, the power consumption and area saving can be achieved by reducing the gate length.

[0124] See also Figure 4 Based on the sub-threshold digital circuit power optimization method disclosed in the above embodiment, this embodiment correspondingly discloses a sub-threshold digital circuit power consumption optimization system, which specifically includes: a first determination unit 401, an analysis unit 402, a second determination unit 403 and an adjustment unit 404, wherein:

[0125] A first determining unit 401 is used to determine a logic unit circuit that can reduce performance and power consumption;

[0126] An analysis unit 402 is used to perform timing analysis on a given integrated circuit to obtain all signal paths with loose timing, wherein the signal paths include: a latch and its front-end combinational logic unit or a trigger and its front-end combinational logic unit;

[0127] A second determining unit 403, configured to determine a number of main delay units in each timing-relaxed signal path that can reduce performance and power consumption;

[0128] The adjustment unit 404 is used to adjust the device of the main delay unit by increasing or shortening its gate length according to the preset timing constraint condition, so as to optimize the power consumption of the sub-threshold circuit by adjusting the gate length size.

[0129] Furthermore, the first determining unit 401 includes: an acquiring unit 4011, a processing unit 4012 and a checking unit 4013, wherein:

[0130] An acquisition unit 4011 is used to acquire a logic unit circuit in a used logic unit library or a logic unit circuit referenced in a design to be optimized;

[0131] The processing unit 4012 is used to change the gate length of the MOS device in each logic unit circuit, obtain the input-output waveform of the logic unit circuit under the corresponding gate length by simulating the logic unit circuit, measure the input-output waveform of the logic unit circuit to obtain the delay of the logic unit circuit under the corresponding gate length, and obtain gate length-delay data;

[0132] The checking unit 4013 is used to check the gate length-delay data, and if the delay is less than the delay under the original gate length, the corresponding gate length-delay data is removed;

[0133] If there is gate length-delay data of a delay greater than the delay under the original gate length, the logic unit circuit is listed as a logic unit circuit that can reduce performance and power consumption, otherwise it is a logic unit circuit that cannot reduce performance and power consumption.

[0134] The embodiment of the present invention discloses a subthreshold digital circuit power consumption optimization system, which first determines the logic unit circuit that can reduce performance and power consumption through a first determination unit; then performs timing analysis on a given integrated circuit through an analysis unit to obtain all signal paths with loose timing; then determines several main delay units that can reduce performance and power consumption in each signal path with loose timing through a second determination unit; finally, adjusts the device of the main delay unit by increasing or shortening its gate length according to preset timing constraints through an adjustment unit, so as to optimize the power consumption of the subthreshold circuit by adjusting the gate length size. This system reduces the circuit performance and improves the delay time of the unit by increasing or shortening the gate length of the device of the main delay unit within a reasonable range, thereby reducing the power consumption of the integrated circuit while meeting the timing requirements. In addition, it can also reduce power consumption and save area by reducing the gate length.

[0135] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0136] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that an article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such article or device. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the article or device including the above elements.

[0137] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for optimizing power consumption of subthreshold digital circuits. It is characterized in that include: Identify logic cell circuits that can reduce performance and power consumption; Performing timing analysis on a given integrated circuit to obtain all signal paths with loose timing, wherein the signal paths include: a latch and a front-end combinational logic unit thereof or a trigger and a front-end combinational logic unit thereof; Determining a number of major delay elements in each of the relaxed timing signal paths that can reduce performance and power consumption; According to the preset timing constraint condition, the gate length of the device of the main delay unit is increased or shortened to adjust the device, so as to optimize the power consumption of the subthreshold circuit by adjusting the gate length size; The step of determining a logic unit circuit that can reduce performance and power consumption includes: Obtaining a logic unit circuit in a used logic unit library or a logic unit circuit referenced in a design to be optimized; For each of the logic unit circuits, the gate length of the MOS device in the logic unit circuit is changed, the input-output waveform of the logic unit circuit under the corresponding gate length is obtained by simulating the logic unit circuit, the input-output waveform of the logic unit circuit is measured to obtain the delay of the logic unit circuit under the corresponding gate length, and the gate length-delay data is obtained; Check the gate length-delay data. If the delay is less than the delay under the original gate length, remove the corresponding gate length-delay data. If there is gate length-delay data of a delay greater than the delay under the original gate length, the logic unit circuit is listed as a logic unit circuit that can reduce performance and power consumption, otherwise it is a logic unit circuit that cannot reduce performance and power consumption; The step of determining a number of main delay units in each of the signal paths with loose timing that can reduce performance and power consumption includes: If the logic unit circuit in the timing-relaxed signal path that meets the preset timing constraint condition is a logic unit circuit that has been calibrated to reduce performance and power consumption, then it is included in the main delay unit circuit that can reduce performance and power consumption; If the latch or trigger in the timing-relaxed signal path that does not meet the preset timing constraint condition is a logic unit circuit that has been calibrated to reduce performance and power consumption, it will be included in the main delay unit circuit that can reduce performance and power consumption.

2. The method according to claim 1, It is characterized in that Also includes: For the logic unit circuit capable of reducing performance and power consumption, a delay-gate length relationship query table of the logic unit circuit is established by using the gate length-delay data with a delay greater than the delay under the original gate length.

3. The method according to claim 1, It is characterized in that Also includes: For the logic unit circuit that can reduce performance and power consumption, the gate length of the MOS device in the logic unit circuit is changed, the input-output waveform of the unit circuit under the corresponding gate length is obtained by simulating the logic unit circuit, the input-output waveform of the logic unit circuit is measured to obtain the delay of the logic unit circuit, and the power consumption of the logic unit circuit under the delay is obtained at the same time, and the gate length-delay and power consumption data when the delay is greater than the delay under the original gate length are used to establish a delay-power consumption relationship query table of the logic unit circuit.

4. The method according to claim 1, It is characterized in that Also includes: For the logic unit circuit capable of reducing performance and power consumption, the maximum delay of the logic unit circuit under a fixed gate width and the maximum value of the delay amplification factor relative to the original gate length, that is, the performance shrinkage factor of the logic unit circuit, are obtained.

5. The method according to claim 1, It is characterized in that Also includes: For the logic unit circuit that can reduce performance and power consumption, based on statistical simulation of the logic unit circuit, a statistical delay-gate length relationship query table of the logic unit circuit with a delay greater than the delay under the original gate length is established.

6. The method according to claim 1, It is characterized in that The step of performing timing analysis on a given integrated circuit to obtain all signal paths with loose timing includes: Perform timing analysis on a given integrated circuit using statistical timing analysis tools or based on circuit statistical simulation to obtain the delay distribution of all signal paths; Determining whether the delay distribution of each of the signal paths satisfies the preset timing constraint condition; The signal paths that meet the preset timing constraint conditions are listed as signal paths with loose timing.

7. A subthreshold digital circuit power consumption optimization system, It is characterized in that include: A first determining unit, used to determine a logic unit circuit that can reduce performance and power consumption; An analysis unit, used to perform timing analysis on a given integrated circuit to obtain all signal paths with loose timing, wherein the signal paths include: a latch and a front-end combinational logic unit thereof or a trigger and a front-end combinational logic unit thereof; A second determining unit, configured to determine a number of main delay units in each of the signal paths with loose timing that can reduce performance and power consumption; An adjustment unit, used to increase or shorten the gate length of the device of the main delay unit according to a preset timing constraint condition, so as to optimize the power consumption of the subthreshold circuit by adjusting the gate length size; The first determining unit includes: An acquisition unit, used to acquire a logic unit circuit in a used logic unit library or a logic unit circuit referenced in a design to be optimized; A processing unit, configured to change the gate length of the MOS device in each of the logic unit circuits, obtain the input-output waveform of the logic unit circuit under the corresponding gate length by simulating the logic unit circuit, measure the input-output waveform of the logic unit circuit to obtain the delay of the logic unit circuit under the corresponding gate length, and obtain gate length-delay data; A checking unit, used for checking the gate length-delay data, and if the delay is less than the delay under the original gate length, the corresponding gate length-delay data is removed; If there is gate length-delay data of a delay greater than the delay under the original gate length, the logic unit circuit is listed as a logic unit circuit that can reduce performance and power consumption, otherwise it is a logic unit circuit that cannot reduce performance and power consumption; The second determining unit determines a number of main delay units in each of the signal paths with loose timing that can reduce performance and power consumption, including: If the logic unit circuit in the timing-relaxed signal path that meets the preset timing constraint condition is a logic unit circuit that has been calibrated to reduce performance and power consumption, then it is included in the main delay unit circuit that can reduce performance and power consumption; If the latch or trigger in the timing-relaxed signal path that does not meet the preset timing constraint condition is a logic unit circuit that has been calibrated to reduce performance and power consumption, it will be included in the main delay unit circuit that can reduce performance and power consumption.