A multi-threshold low power optimization method based on critical path number and sensitivity

Through a multi-threshold low-power optimization method based on the number of critical paths and sensitivity, the problems of weak representation ability of priority indicators and high method complexity in the existing technology are solved, and a more efficient power consumption optimization effect is achieved. Through the critical path The number and sensitivity evaluation priorities are sequentially replaced from high-threshold to low-threshold units to meet timing constraints and significantly improve the power consumption optimization effect.

CN112668261BActive Publication Date: 2024-10-01JIANGNAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110013836.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-06
Publication Date
2024-10-01
Estimated Expiration
2041-01-06

AI Technical Summary

Technical Problem

The existing multi-threshold low-power technology has problems such as weak representation ability of priority indicators, high method complexity, and unsatisfactory power consumption optimization effect.

Method used

A multi-threshold low-power optimization method based on the number of critical paths and sensitivity is used to replace the low-threshold combinational logic unit in the CMOS circuit to be optimized with a high-threshold combinational logic unit, collect timing and power consumption information before and after replacement, and calculate The sensitivity of each combinational logic unit is evaluated according to the number of critical paths and sensitivity, and unit replacement from high threshold to low threshold is performed sequentially until timing constraints are met.

Benefits of technology

It provides stronger priority evaluation capabilities, reduces method complexity, and significantly improves the power consumption optimization effect. It can prioritize the replacement of units with higher profits during the replacement process of high-threshold to low-threshold units, significantly improving power consumption. Optimization effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112668261B_ABST
    Figure CN112668261B_ABST
Patent Text Reader

Abstract

The present invention discloses a multi-threshold low-power optimization method based on the number and sensitivity of critical paths, and belongs to the field of integrated circuit low-power design. The priority evaluation index selected by the method is rich in reference features, and the priority characterization ability is stronger. Compared with the PCOM and GDSPOM methods, the method provided by the present invention can simultaneously consider the three factors of the delay change before and after the unit replacement, the power consumption change, and the number of critical paths in which the unit is located. According to the sorting result of this priority, the method can preferentially perform the replacement of units with higher benefits in the process of replacing high-threshold units to low-threshold units, and there is no need to distinguish between critical paths and non-critical paths. Therefore, the method has low complexity, is easier to implement and apply, and the power consumption optimization effect of the method of the present invention is significant.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a multi-threshold low power consumption optimization method based on the number of critical paths and sensitivity, and belongs to the field of integrated circuit low power consumption design. Background Art

[0002] As CMOS technology develops to the deep submicron stage, the proportion of leakage power consumption will gradually increase with the advancement of technology, and leakage power consumption has become one of the important considerations in low-power design.

[0003] Multi-threshold technology (also known as multi-threshold CMOS technology) is an effective method to reduce the static power consumption of CMOS circuits. In order to solve the trade-off between performance and power consumption, CMOS process manufacturers have launched a variety of standard cell libraries with different threshold voltages: HVT library, RVT library (some manufacturers call it MVT or SVT) library and LVT library, which are respectively called high threshold library, conventional threshold library and low threshold library. The voltage threshold of the CMOS cell affects the leakage power consumption and timing delay of the cell. CMOS cells with higher thresholds have the characteristics of low leakage power consumption and large timing delay, while CMOS cells with lower thresholds have the characteristics of high leakage power consumption and small timing delay.

[0004] In ASIC (Application Specific Integrated Circuit) design, the gate-level netlist of the logic circuit is composed of the most suitable CMOS unit instantiated from the standard cell library by the EDA tool according to the constraints, and the units in the gate-level netlist can also be replaced with the help of the EDA tool. Multi-threshold technology refers to the gate-level netlist of the digital logic circuit, which replaces the combinational logic unit with a lower threshold value with the combinational logic unit with a higher threshold value to reduce the leakage power consumption of the circuit. However, this unit replacement operation will increase the delay of the unit. Therefore, when using the low-threshold to high-threshold unit replacement method to try to reduce power consumption, it is also necessary to minimize the degree of timing degradation.

[0005] Chip designers have conducted a lot of research on multi-threshold technology. Since there is a trade-off between performance and power consumption, in general, in order to reduce leakage power consumption as much as possible at the smallest possible timing cost, logic units on non-critical paths should use higher threshold units as much as possible, while logic units on critical paths should use lower threshold units as much as possible. For a combinational logic unit, the higher the power consumption reduction per unit timing cost (that is, the higher the benefit of executing unit replacement), the higher the priority of performing low-threshold to high-threshold replacement operations on the unit should be. For this purpose, researchers have tried a variety of indicators to evaluate unit priority. Chung et al. (see “Chung B, Kuo J B. Gate-level Dual-threshold Static Power Optimization Methodology (GDSPOM) using Path-based Static Timing Analysis (STA) Technique for SOC Application [J]. Integration, 2008, 41(1): 9-16.”) proposed the GDSPOM method, which first uses RVT to synthesize the RTL, then uses the number of critical paths for each cell as an indicator for evaluating the priority of cell replacement, and finally performs RVT to LVT operations according to the priority order until the timing is just met. Hsu et al. (see “Hsu CB, Kuo J B.Power Consumption Optimization Methodology (PCOM) for Low-power Low-voltage 32-bit Microprocessor Circuit Design via MTCMOS[C]. 2014 IEEE 57thInternational Midwest Symposium on Circuits and Systems (MWSCAS),CollegeStation, TX, USA, 2014: 921-924.”) proposed a PCOM method, which first uses the power consumption change obtained by replacing the logic cell as the priority of the cell replacement, then traverses the combinational logic cells according to the priority, performs cell replacement from SVT to HVT, and ensures that the circuit can still meet the timing constraints after each replacement.Hsu et al. (see “Hsu CB, Hong YS, Kuo J B. MTCMOS Low-power Optimization Technique (LPOT) for 1VPipelined RISC CPU Circuit[C]. 2014 21st IEEE International Conference on Electronics, Circuits and Systems (ICECS), Marseille, France, 2015: 60-63.”) also proposed the LPOT method, which also sorts the access priority of nodes according to power consumption. Unlike the PCOM method, the LPOT method performs SVT to HVT cell replacement until a timing violation occurs. Then, the priority of each cell is evaluated based on its sensitivity (determined by the ratio of timing margin to leakage power consumption). Finally, the HVT to SVT cell replacement is performed in sequence according to the sensitivity ranking. Lin et al. (see “Lin GJY, Hsu CB and Kuo JB, Critical-path Aware Power Consumption Optimization Methodology (CAPCOM) using Mixed-VTH Cells for Low-power SOC Designs[C]. 2014IEEE International Symposium on Circuits and Systems (ISCAS), Melbourne VIC, 2014: 1740-1743.”) proposed a power consumption unit replacement method with critical path awareness. This method first replaces the cells of non-critical paths with higher threshold cells, and then replaces the cells of critical paths with higher threshold cells. This method can provide fine-grained power consumption optimization.

[0006] Among the above methods, the main idea of ​​the PCOM method and the CAPCOM method is to replace low-threshold units with high-threshold units in order of priority, while ensuring that the circuit can meet the timing constraints before and after each unit replacement. The LPOT and GDSPOM methods use another idea, which is a mirror image of the ideas used by PCOM and CAPCOM. First, all units are replaced with high-threshold units, and then high-threshold units are replaced with low-threshold units in order of priority until the circuit just meets the timing constraints.

[0007] The priority evaluation index used by the PCOM method is the change in power consumption obtained by executing unit replacement, and the priority evaluation index used by the GDSPOM method is the number of critical paths each unit is located in. These indicators can only reflect the characteristics of circuit units from a limited perspective, and the representation ability of priorities is weak. Considering that the number of critical paths where units on non-critical paths are located is 0, the CAPCOM method uses different priority evaluation methods for critical paths and non-critical paths. CAPCOM has fine-grained power optimization capabilities, but the complexity of the method is relatively high. The LPOT method only considers the power consumption of the unit itself when evaluating priority. This method has limited representation capabilities and has great application limitations. For example, for units that have high power consumption but little change in power consumption before and after unit replacement, using this evaluation method will make the priority sorting unreasonable and the power optimization effect unsatisfactory. Summary of the invention

[0008] In order to solve the problems existing in the existing multi-threshold low power consumption technology, such as weak characterization ability of priority indicators, high method complexity, and unsatisfactory power consumption optimization effect, the present invention provides a multi-threshold low power consumption optimization method based on the number of critical paths and sensitivity based on a new unit replacement strategy. The method first replaces all low-threshold combinational logic units in the CMOS circuit to be optimized with high-threshold combinational logic units, and collects the change information of the timing and power consumption of each combinational logic unit before and after the replacement. Then, the sensitivity of the replacement of each combinational logic unit is calculated according to the change information, and then the number of critical paths passing through each combinational logic unit is recorded. Then, the priority of the combinational logic unit in the replacement stage is evaluated according to the number of critical paths and sensitivity of the combinational logic unit. Finally, according to the priority, the unit replacement from high threshold to low threshold is performed on each combinational logic unit in turn until the CMOS circuit to be optimized just meets the timing constraint.

[0009] Optionally, the method comprises:

[0010] Step 1: Use the low-threshold standard cell library to perform logic synthesis to obtain the CMOS circuit netlist to be optimized;

[0011] Step 2: Traverse all low-threshold combinational logic units in the CMOS circuit to be optimized and record the delay of all low-threshold combinational logic units. and power consumption ;

[0012] Step 3: Replace all low-threshold combinational logic units in the CMOS circuit to be optimized with high-threshold combinational logic units;

[0013] Step 4: Traverse all high-threshold combinational logic units in the CMOS circuit to be optimized and record the delay of all high-threshold combinational logic units in the circuit and power consumption ;

[0014] Step 5: Based on the delay and power consumption information of the low threshold combinational logic unit and the high threshold combinational logic unit, calculate the delay change of each combinational logic unit before and after the unit is replaced from the low threshold to the high threshold , Power consumption change And sensitivity ;

[0015] Step 6: Traverse all combinational logic units and record the number of critical paths passing through each combinational logic unit. .

[0016] Step 7: Traverse all combinational logic units and calculate the unit priority when executing unit replacement for each combinational logic unit, where unit priority = ;

[0017] Step 8: For all combinational logic cells, perform cell replacement from high threshold to low threshold in order of cell priority from high to low until the timing of the circuit just meets the constraint requirements.

[0018] Optionally, in step 5, , , , .

[0019] Optionally, the method is implemented based on EDA tools and scripting languages.

[0020] Optionally, the EDA tools include: logic synthesis tools, timing and power consumption analysis tools.

[0021] Optionally, the method is applied to a circuit that has strict requirements on power consumption and timing of the circuit.

[0022] Optionally, the method is applied to a microprocessor circuit for optimization processing.

[0023] Optionally, the method is applied to a digital signal processing circuit for optimization processing.

[0024] Optionally, the method is applied to a graphics processing unit circuit for optimization processing.

[0025] Optionally, the method is applied to a neural network acceleration unit circuit for optimization processing.

[0026] The beneficial effects of the present invention are:

[0027] 1) The priority evaluation index of the method of the present invention has rich reference features and stronger priority characterization ability. Compared with the PCOM and GDSPOM methods, the method provided by the present invention can simultaneously consider the delay change before and after the unit replacement, the power consumption change, and the number of critical paths where the unit is located. According to the ranking result of this priority, the method can preferentially perform the unit replacement with higher benefits in the process of high threshold to low threshold unit replacement.

[0028] 2) Compared with the CAPCOM method, the priority evaluation method adopted by the method of the present invention does not need to distinguish between critical paths and non-critical paths, so the method has lower complexity and is easier to implement and apply.

[0029] 3) Compared with the LPOT method, the power consumption optimization effect of the method of the present invention is significant. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0031] Figure 1 It is a flowchart of a multi-threshold low power consumption optimization method provided in one embodiment of the present invention.

[0032] Figure 2 It is a file conversion flow chart of a multi-threshold low power consumption optimization method provided in one embodiment of the present invention.

[0033] Figure 3 It is a comparison diagram of the static power consumption reduction ratio after respectively applying the method of the present invention and the comparison method under different timing constraints.

[0034] Figure 4 It is a comparison diagram of the proportion of high threshold units after the method of the present invention and the comparison method are applied respectively under different time sequence constraints. DETAILED DESCRIPTION

[0035] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0036] Embodiment 1:

[0037] This embodiment provides a multi-threshold low power optimization method based on the number and sensitivity of critical paths. The method first performs logic synthesis on the RTL design based on the low threshold cell library and the design constraint file, thereby obtaining a circuit netlist, and power consumption optimization is performed based on the circuit netlist.

[0038] After obtaining the circuit netlist, record the delay of each low threshold combinational logic unit and power consumption , then replace all low threshold combinational logic units with high threshold combinational logic units, and record the delay of each high threshold combinational logic unit and power consumption , calculate the delay change of each combinational logic unit before and after the execution unit replacement operation , Power consumption change And sensitivity ,in , , , .

[0039] Then record the number of critical paths through each combinational logic cell. ,according to The cell replacement priority of each combinational logic cell is evaluated, and finally, according to the priority order, the high-threshold combinational logic cells are replaced with low-threshold combinational logic cells until the circuit just meets the timing constraint.

[0040] like Figure 1 As shown, the specific process of the multi-threshold low power optimization method based on the number of critical paths and sensitivity provided by the present application is:

[0041] Step 1: Use the low-threshold standard cell library to perform logic synthesis and obtain the synthesized CMOS circuit netlist to be optimized. The following steps are all performed on the basis of this netlist.

[0042] Step 2: Traverse all low-threshold combinational logic units in the circuit and record the delay of all low-threshold combinational logic units in the circuit and power consumption .

[0043] Step 3: Replace all low-threshold combinational logic units in the CMOS circuit to be optimized with high-threshold combinational logic units.

[0044] Step 4: Traverse all high-threshold combinational logic units in the CMOS circuit to be optimized and record the delay of all high-threshold combinational logic units in the circuit and power consumption .

[0045] Step 5: Based on the delay and power consumption information of the low threshold combinational logic unit and the high threshold combinational logic unit, calculate the delay change of each combinational logic unit before and after the unit is replaced from the low threshold to the high threshold , Power consumption change And sensitivity ,in , , .

[0046] Step 6: Traverse all combinational logic units and record the number of critical paths passing through each combinational logic unit. .

[0047] Step 7: Traverse all combinational logic units and calculate the unit priority when executing unit replacement for each combinational logic unit, where unit priority = .

[0048] Step 8: For all combinational logic cells, perform cell replacement from high threshold to low threshold in order of cell priority from high to low until the timing of the circuit just meets the constraint requirements.

[0049] In order to verify the performance of the multi-threshold low-power optimization method based on the number of critical paths and sensitivity provided in this application, a simulation experiment was conducted.

[0050] The low-power optimization method based on multi-threshold technology is usually implemented based on EDA (Electronic design automation) tools and script languages. For example, common related EDA tools include: logic synthesis tool DesignCompiler, timing and power analysis tool Prime Time, etc. Both tools use TCL language as the control script language.

[0051] Figure 2 The EDA tools Design Compiler and Prime Time are shown as examples, and the process of applying the method of the present invention in combination with the EDA tools is described in detail. The application process is mainly divided into two stages, namely, the logic synthesis stage and the power consumption optimization stage.

[0052] In the logic synthesis stage, the Verilog source file (it can also be a VHDL source file) of the CMOS circuit to be optimized, the design constraint file based on the TCL language, and the low-threshold standard cell library from the process manufacturer will be used as input to the Design Compiler. The logic synthesis tool Design Compiler will generate a synthesized circuit netlist (.v format or .sdf format) based on these inputs.

[0053] In the power consumption optimization stage, the method of the present invention is written as a control script of Prime Time using TCL language, and the netlist, design constraints (.tcl or .sdc format), low power consumption optimization script, low threshold standard cell library, and high threshold standard cell library generated in the logic synthesis stage are used as inputs of Prime Time. The timing and power consumption analysis tool Prime Time will execute the low power consumption optimization method of the present invention based on these inputs, and finally output the netlist after power consumption optimization.

[0054] The method of the present invention can be used for power consumption optimization of any basic digital circuit, and can be implemented using any EDA tool similar to DC and PT, and any script language similar to TCL.

[0055] The multi-threshold low power optimization method of the present invention is applied to conduct simulation experiments, and the benchmark test circuit c6288 is selected as the target circuit of the experiment. The circuit is a common benchmark test circuit and realizes the function of a 16-bit multiplier.

[0056] In the logic synthesis stage, the Verilog source file of c6288 is firstly logically synthesized based on the design constraint TCL script, Design Compiler and SMIC 65nmCMOS LVT process library to obtain the c6288 circuit netlist (.v format or .ddc format) composed of LVT CMOS standard cells. In the power consumption optimization stage, the TCL control script of the power consumption optimization method of the present invention is written in TCL language, the c6288 circuit netlist, design constraints (.tcl or .sdc format), low power consumption script, SMIC65nm LVT standard cell library, SMIC 65nm HVT standard cell library are input into Prime Time, low power consumption optimization is performed, and finally the power consumption optimized netlist is obtained.

[0057] In order to compare the performance of the method of the present invention, an existing method was selected as a control (the control method refers to "Chung B, Kuo J B. Gate-level Dual-threshold Static Power Optimization Methodology (GDSPOM) using Path-based Static Timing Analysis (STA) Technique for SOC Application [J]. Integration, 2008, 41 (1): 9-16."), and simulation experiments were carried out on the method of the present invention and the control method respectively.

[0058] Figure 3The paper describes the power consumption reduction ratio of the c6288 circuit after applying the method of the present invention and the control method under the clock cycle constraints of 10ns, 11ns, 12ns, 13ns, 14ns, 15ns and 16ns. Figure 3 It can be seen that under the constraints of 10ns, 11ns, 12ns, and 13ns clock cycles with relatively high circuit timing requirements, the power consumption reduction ratio of the present application method is much greater than that of the control method, and the power consumption reduction effect is more significant. Only under the constraints of 14ns, 15ns, and 16ns clock cycles with relatively loose circuit timing requirements, the power consumption reduction ratio of the control method can achieve the power consumption reduction effect of the present invention method. With the increase of the clock cycle, the power consumption reduction ratio of both methods will continue to rise. Before the power consumption reduction ratio of both methods reaches the maximum value, the power consumption reduction ratio of the present invention method is always greater than that of the control method, and the power consumption reduction effect is always more significant than that of the control method.

[0059] Figure 4 The proportion of high threshold cells in the C6288 circuit after applying the method of the present invention and the control method respectively under the constraints of 10ns, 11ns, 12ns, 13ns, 14ns, 15ns, and 16ns clock cycles is described. Figure 4 It can be seen that under the clock cycle constraints of 10ns and 11ns with high circuit timing requirements, the proportion of high threshold units in the method of the present invention is significantly higher than that in the control method. As the clock cycle increases, the proportion of high threshold units continues to rise, because the more relaxed circuit timing will allow more high threshold units to be applied in the circuit. On the other hand, the proportion of high threshold units in these two methods is always very close. After the clock cycle reaches 14ns, since the circuit timing is already loose enough, the method of the present application and the comparative method can replace all low threshold units with high threshold units in order to reduce leakage power consumption as much as possible, and the proportion of high threshold units reaches 100%. In this case, the power consumption reduction ratio will also reach the maximum value, i.e. 62.42%.

[0060] Some steps in the embodiments of the present invention may be implemented using software, and the corresponding software program may be stored in a readable storage medium, such as a CD or a hard disk.

[0061] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A multi-threshold low power consumption optimization method based on critical path number and sensitivity, characterized in that: The method first replaces all low-threshold combinational logic units in the CMOS circuit to be optimized with high-threshold combinational logic units, and collects the change information of the timing and power consumption of each combinational logic unit before and after the replacement, then calculates the sensitivity of the replacement of each combinational logic unit according to the change information, then records the number of critical paths passing through each combinational logic unit, and then evaluates the priority of the combinational logic unit in the replacement stage according to the number of critical paths and sensitivity of the combinational logic unit, and finally performs unit replacement from high threshold to low threshold on each combinational logic unit in turn according to the priority, until the CMOS circuit to be optimized just meets the timing constraint; The method comprises: Step 1: Use the low-threshold standard cell library to perform logic synthesis to obtain the CMOS circuit netlist to be optimized; Step 2: Traverse all low-threshold combinational logic units in the CMOS circuit to be optimized, and record the delay LD of all low-threshold combinational logic units. i and power consumption LP i ; Step 3: Replace all low-threshold combinational logic units in the CMOS circuit to be optimized with high-threshold combinational logic units; Step 4: Traverse all high-threshold combinational logic units in the CMOS circuit to be optimized, and record the delay HD of all high-threshold combinational logic units in the circuit i and power consumption HP i ; Step 5: Based on the delay and power consumption information of the low threshold combinational logic unit and the high threshold combinational logic unit, calculate the delay change ΔD of each combinational logic unit before and after the unit is replaced from the low threshold to the high threshold i , power consumption change ΔP i And sensitivity S i ; where ΔD i =HD i -LD i , ΔP i =HP i -LP i , Step 6: Traverse all combinational logic units and record the number of critical paths C that pass through each combinational logic unit i ; Step 7: Traverse all combinational logic units and calculate the unit priority when executing unit replacement for each combinational logic unit, where Step 8: For all combinational logic cells, perform cell replacement from high threshold to low threshold in order of cell priority from high to low until the timing of the circuit just meets the constraint requirements.

2. The method according to claim 1, characterized in that The method is implemented based on EDA tools and scripting language.

3. The method according to claim 2, characterized in that The EDA tools include: logic synthesis tools, timing and power consumption analysis tools.

4. The method according to claim 3, characterized in that The method is applied to a circuit with strict requirements on power consumption and timing of the circuit.

5. The method according to claim 4, characterized in that The method is applied to a microprocessor circuit for optimization processing.

6. The method according to claim 4, characterized in that The method is applied to a digital signal processing circuit for optimization processing.

7. The method according to claim 4, characterized in that The method is applied to a graphics processing unit circuit for optimization processing.

8. The method according to claim 4, characterized in that The method is applied to a neural network acceleration unit circuit for optimization processing.