Pin Capacitance Dynamic Estimation Method, Device, Equipment and Storage Medium of Power Consumption Analysis Tool

By using a method of traversing the circuit downwardly and independently calculating the output pin transition time value and input pin capacitance value of each instance in the power consumption analysis tool, the problem of inaccurate pin capacitance value calculation in the prior art is solved, and the accuracy and reliability of power consumption estimation is improved, especially suitable for advanced semiconductor process nodes.

CN119830841BActive Publication Date: 2025-06-20INNODA (CHENGDU) ELECTRONIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510330422.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-20
Publication Date
2025-06-20
Estimated Expiration
2045-03-20

AI Technical Summary

Technical Problem

The existing power consumption analysis tools are not accurate enough when calculating the capacitance value of the pin, resulting in a significant decrease in the accuracy of power consumption estimation. Especially at the nodes of advanced semiconductor technology, the impact of dynamic changes in capacitance value on power consumption estimation gradually appears.

Method used

By identifying the start node of the circuit, the circuit is traversed downward from the start node. During the traversal process, the output pin transition time value and input pin capacitance value of the instance connected to the starting node are queried and calculated until the preset traversal termination condition is met. This method independently calculates each target instance, solves the parasitic parameter coupling effect, and obtains more accurate capacitance value data.

Benefits of technology

Improves the accuracy of power consumption analysis tools when calculating pin capacitance values, enhances the accuracy and reliability of power consumption estimation in integrated circuit design, especially under advanced process nodes, reducing the error in power consumption calculation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119830841B_ABST
    Figure CN119830841B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and storage medium for dynamically estimating the pin capacitance of a power consumption analysis tool. The method includes: identifying the starting node of the circuit, traversing the circuit downward starting from the starting node, and determining the first instance connected to the starting node found during the traversal as the target instance; starting from the output pin of the target instance, traversing to find the fan-out instances connected to the output pin of the target instance, and calculating the output pin transition time value and the input pin capacitance value of the target instance; determining whether the fan-out instance meets the preset traversal termination condition, and obtaining capacitance value data that is more accurate and closer to the actual value through an independent calculation of the output pin transition time value and the input pin capacitance value of each target instance found during the traversal, thereby improving the accuracy and reliability of power consumption estimation in integrated circuit design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of integrated circuit design, and particularly relates to a method, device, equipment and storage medium for dynamically estimating the pin capacitance of a power consumption analysis tool. Background Art

[0002] Electronic Design Automation (EDA) refers to using computer-aided design software to complete the design process of very large scale integrated (VLSI) chips. This process includes multiple stages such as functional design, synthesis, verification, physical design (such as layout, wiring, layout, design rule checking, etc.). Common EDA tools include low-power static check tool LPC, RTL-level power consumption analysis tool RPA, etc.

[0003] In the chip design process, power consumption analysis is crucial, and power consumption calculation is one of the core functions of relevant EDA tools (such as RTL-level power consumption analysis tool RPA). Accurate power consumption estimation can help chip designers evaluate the power consumption performance at the initial stage of design. How to provide accurate power consumption estimation is crucial for chip designers.

[0004] In EDA power consumption analysis, the capacitance value is a key factor affecting power consumption. The capacitance value directly affects the switching power consumption (the main variable parameter in the switching power consumption calculation formula), and indirectly affects the internal power consumption by affecting the signal switching speed. Therefore, accurately obtaining the capacitance value is crucial for power consumption estimation.

[0005] The prior art parses the static capacitance parameters (such as the capacitance value recorded in the capacitance field) in the library file (liberty file) and directly uses them as the input pin capacitance value as the basis for power consumption estimation.

[0006] However, as the semiconductor process nodes develop towards advanced nodes (such as 7nm and below), the parasitic effects of wires and devices become more complex, and the impact of the dynamic change of the capacitance value on power consumption estimation gradually appears. The deviation between the traditional fixed capacitance value and the capacitance value in the actual working state increases sharply, which cannot accurately reflect the true behavior of the circuit, and then leads to a significant decrease in the accuracy of key power consumption calculation results such as switching power consumption and internal power consumption. Summary of the Invention

[0007] The embodiments of this application provide a method, device, equipment and storage medium for dynamically estimating the pin capacitance of a power consumption analysis tool, aiming to solve the problem that the capacitance value calculation of the existing power consumption analysis tool is not accurate enough, and improve the accuracy of the power consumption analysis tool when calculating the pin capacitance value.

[0008] On the one hand, an embodiment of the present application provides a method for dynamically estimating the pin capacitance of a power consumption analysis tool, including the following steps:

[0009] Identify the starting node of the circuit, start traversing the circuit downward from the starting node, and determine the first instance connected to the starting node found during the traversal as the target instance;

[0010] Starting from the output pin of the target instance, traverse to find the fan-out instances connected to the output pin of the target instance, and calculate the output pin transition time value and the input pin capacitance value of the target instance;

[0011] Judge whether the fan-out instance meets the preset traversal termination condition. If the fan-out instance does not meet the traversal termination condition, determine the fan-out instance as the new target instance, and return to the step: calculate the output pin transition time value and the input pin capacitance value of the target instance until the traversal termination condition is met.

[0012] On the other hand, an embodiment of the present application provides a device for dynamically estimating the pin capacitance of a power consumption analysis tool, including:

[0013] An identification module, configured to identify the starting node of the circuit, start traversing the circuit downward from the starting node, and determine the first instance connected to the starting node found during the traversal as the target instance;

[0014] A calculation module, configured to calculate the output pin transition time value and the input pin capacitance value of the target instance;

[0015] A traversal module, configured to traverse along the output pin direction of the target instance to find the fan-out instances connected to the output pin, and judge whether the fan-out instance meets the preset traversal termination condition: when the fan-out instance does not meet the traversal termination condition, determine the fan-out instance as the new target instance, and return to the step: calculate the output pin transition time value and the input pin capacitance value of the target instance until the traversal termination condition is met.

[0016] On yet another hand, an embodiment of the present application provides an electronic device, which includes:

[0017] A processor and a memory storing computer program instructions;

[0018] When the processor executes the computer program instructions, it implements the steps of the method for dynamically estimating the pin capacitance of the power consumption analysis tool in the above aspect.

[0019] In another aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the steps of the pin capacitance dynamic estimation method of the power consumption analysis tool in the above aspect are implemented.

[0020] In another aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the pin capacitance dynamic estimation method of the power consumption analysis tool in the above aspect are implemented.

[0021] In the embodiment of the present application, the starting node of the circuit is identified, and the circuit is traversed downward from the starting node. The first instance connected to the starting node found during the traversal is determined as the target instance, and starting from the output pin of the target instance, the fan-out instances connected to the output pin of the target instance are traversed and searched for. It is determined whether the fan-out instance meets the preset traversal termination condition: if the fan-out instance does not meet the traversal termination condition, the fan-out instance is determined as the new target instance, and the steps are returned: calculating the output pin transition time value and the input pin capacitance value of the target instance until the traversal termination condition is met. Compared with the method of directly calling the static parameters pre-stored in the library file in the prior art, this method independently calculates the output pin transition time value and the input pin capacitance value of each target instance found during the traversal once, which can effectively solve the parasitic parameter coupling effect between the unit devices with direct input-output connections, thereby obtaining more accurate capacitance value data closer to the actual value and improving the accuracy and reliability of power consumption estimation in integrated circuit design. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required to be used in the embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.

[0023] Figure 1 is a schematic flowchart of the pin capacitance dynamic estimation method of the power consumption analysis tool provided by an embodiment of the present application;

[0024] Figure 2 is a schematic circuit structure diagram of the pin capacitance dynamic estimation method of the power consumption analysis tool provided by an embodiment of the present application;

[0025] Figure 3 is a schematic structural diagram of the pin capacitance dynamic estimation device of the power consumption analysis tool provided by another embodiment of the present application;

[0026] Figure 4 is a schematic structural diagram of an electronic device of the pin capacitance dynamic estimation method of the power consumption analysis tool provided by another embodiment of the present application. Detailed implementation manners

[0027] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the following further describes the present application in detail with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than limiting the present application. For those skilled in the art, the present application can be implemented without some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by showing examples of the present application.

[0028] It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover a non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, the elements defined by the statement "comprising..." do not exclude the presence of additional identical elements in the process, method, article or device comprising the elements.

[0029] Electronic Design Automation (EDA for short) refers to using computer-aided design software to complete the design process of very large scale integrated (VLSI) chips. This process includes multiple stages such as functional design, synthesis, verification, physical design (such as layout, wiring, layout, design rule checking, etc.). Common EDA tools include low-power static checking tool LPC, RTL-level power consumption analysis tool RPA, etc.

[0030] In the chip design process, power consumption analysis is crucial, and power consumption calculation is one of the core functions of related EDA tools (such as RTL-level power consumption analysis tool RPA). Accurate power consumption estimation can help chip designers evaluate the power consumption performance at the initial stage of design. How to provide accurate power consumption estimation is crucial for chip designers.

[0031] In EDA power consumption analysis, the capacitance value is a key factor affecting power consumption. The capacitance value directly affects the switching power consumption (the main variable parameter in the switching power consumption calculation formula) and indirectly affects the internal power consumption by affecting the signal switching speed. Therefore, accurately obtaining the capacitance value is crucial for power consumption estimation.

[0032] The capacitance value is the main variable parameter in the calculation formula of switching power consumption, and the capacitance value directly affects the switching power consumption. Among them, switching power is an important part of integrated circuit design and power consumption calculation. It refers to the energy consumed when the output state of a logic gate or other digital circuit element in an integrated circuit changes. In EDA (Electronic Design Automation) software, the switching power is closely related to the final power consumption analysis result. The switching power consumption calculation formula in digital circuits is P = α * C * V² * f, where: P represents the switching power consumption; α represents the activity factor, which represents the probability that a node jumps from 0 to 1, usually set to 0.5; C is the total capacitance; V is the power supply voltage; f is the clock frequency. EDA software usually needs to obtain relevant data from SPEF files, Liberty files, and simulation files, and then substitute them into the switching power consumption calculation formula to calculate the switching power consumption of the circuit.

[0033] The capacitance value is also the main variable parameter for calculating internal power consumption. Internal power consumption refers to the power consumption caused by the short-circuit current formed between the power supply and the ground during the short time when PMOS and NMOS transistors are both conducting during the flip of a CMOS logic gate. This short-circuit current directly flows from VDD to the ground, causing energy loss. The capacitance value mainly indirectly affects the internal power consumption by influencing the flip speed of the signal.

[0034] In related technologies, when determining the capacitance value of an input pin, usually the static capacitance parameter in the library file (liberty file) (such as the capacitance value recorded in the capacitance field) is parsed and directly used as the capacitance value of the input pin as the basis for power consumption estimation, which has a certain effect in design scenarios with low power consumption accuracy requirements. However, during the actual operation of the circuit, the pin capacitance value will change dynamically. Although the results obtained by using a fixed capacitance value for calculation in application scenarios with low power consumption estimation accuracy requirements are acceptable.

[0035] However, as the semiconductor process nodes develop towards advanced nodes (such as 7nm and below), the parasitic effects of wires and devices become more complex, and the impact of the dynamic change of the capacitance value on power consumption estimation gradually emerges. The deviation between the traditional fixed capacitance value and the capacitance value in the actual working state increases sharply, which cannot accurately reflect the true behavior of the circuit, and then leads to a significant decrease in the accuracy of key power consumption calculation results such as switching power consumption and internal power consumption.

[0036] In summary, there are problems in the pin capacitance dynamic estimation method of the power consumption analysis tool in related technologies, such as insufficient accuracy, large deviation between the estimated capacitance value and the actual capacitance value, and poor credibility of the error amplification calculation results under advanced processes.

[0037] To solve at least one of the above technical problems, an embodiment of the present application provides a method, apparatus, device, and storage medium for dynamically estimating the pin capacitance of a power consumption analysis tool. First, the method for dynamically estimating the pin capacitance of the power consumption analysis tool in the embodiment of the present application will be introduced with reference to the accompanying drawings.

[0038] Figure 1 FIG. shows an optional flowchart of the method for dynamically estimating the pin capacitance of the power consumption analysis tool in the embodiment of the present application. In this example, the method may include the following steps:

[0039] S110, identify the starting node of the circuit, start traversing the circuit downward from the starting node, and determine the first instance connected to the starting node found during the traversal as the target instance;

[0040] S120, start from the output pin of the target instance, traverse and find the fan-out instances connected to the output pin of the target instance, and calculate the output pin transition time value and the input pin capacitance value of the target instance;

[0041] S130, determine whether the fan-out instance meets the preset traversal termination condition. If the fan-out instance does not meet the traversal termination condition, determine the fan-out instance as the new target instance, and return to the step: start from the output pin of the target instance, traverse and find the fan-out instances connected to the output pin of the target instance, and calculate the output pin transition time value and the input pin capacitance value of the target instance until the traversal termination condition is met.

[0042] In this embodiment, by identifying the starting node of the circuit, starting to traverse the circuit downward from the starting node, determining the first instance connected to the starting node found during the traversal as the target instance, and starting from the output pin of the target instance, traversing and finding the fan-out instances connected to the output pin of the target instance, and determining whether the fan-out instance meets the preset traversal termination condition: if the fan-out instance does not meet the traversal termination condition, determining the fan-out instance as the new target instance, and returning to the step: calculating the output pin transition time value and the input pin capacitance value of the target instance until the traversal termination condition is met. Compared with the method of directly calling the static parameters pre-stored in the library file in the prior art, this method independently calculates the output pin transition time value and the input pin capacitance value of each target instance found by traversal once, can effectively solve the parasitic parameter coupling effect between the unit devices connected by direct input and output, thereby obtaining more accurate capacitance value data closer to the actual value, and improving the accuracy and reliability of power consumption estimation in integrated circuit design.

[0043] In S110, the starting node of the circuit is the main input port of the circuit, that is, the input of the top-level module. When performing power consumption analysis or other circuit analyses using EDA tools, the entire circuit is usually traversed starting from the starting node. That is, starting from the starting node, the circuit connection relationship is analyzed step by step along the propagation direction of the signal from input to output, and the first instance directly connected to the starting node found during the traversal process is determined as the target instance. The above-mentioned target instance is the specific object after the instantiation of the unit device. The behavior and parameters of the unit corresponding to the target instance are recorded in the library file. The input pin of the first target instance connected to the starting node is connected to the starting node.

[0044] In S120, traverse in the direction of the output pin of the target instance to find the fan-out instance connected to the output pin, and calculate the output pin transition time value and the input pin capacitance value of the target instance. Specifically, it includes: calculating and updating the output pin transition time value of the target instance according to the input pin capacitance value of the fan-out instance connected to the target instance; at the same time, calculating and updating the input pin capacitance value of the target instance according to the output pin transition time value of the previous-level instance connected to the input pin of the target instance. Among them, the fan-out instance is the next-level instance connected to the target instance and receiving the signal of the target instance. The circuit signal is directly connected from the output pin of the target instance to the input pin of the fan-out instance. After finding the fan-out instance connected to the output pin of the target instance, perform the steps of calculating the output pin transition time value and the input pin capacitance value of the target instance. Among them, the output pin transition time value of the target instance is the time required for the output signal on the output pin of the target instance to jump from high level to low level (or vice versa). The input pin capacitance value of the target instance refers to the load capacitance presented by the input pin of the target instance to the previous-stage circuit. Each time the output pin transition time value and the input pin capacitance value of the target instance are calculated, the output pin transition time value and the input pin capacitance value of the target instance are updated once with data and the accuracy is improved once.

[0045] In S130, determine whether the fan-out instance meets the preset traversal termination condition. When the fan-out instance does not meet the traversal termination condition, determine the fan-out instance as the new target instance, and return to the step: calculate the output pin transition time value and the input pin capacitance value of the target instance until the traversal termination condition is met. If the fan-out instance meets the preset traversal termination condition, stop the traversal.

[0046] It should be noted that the traversal termination condition in this embodiment is that there is no next-level instance for the fan-out instance. That is to say, in the hierarchical structure of the circuit, the output pin of the fan-out instance is not connected to any subsequent logic unit or instance. In other words, there is no further fan-out target for the output pin of the fan-out instance. In other embodiments, the traversal termination condition may further include: the output pin of the fan-out instance is connected to the final node of the circuit, where the final node refers to the main output port (primitive output) of the circuit, and the main output port of the circuit is usually the output port of the top-level module, indicating that the traversal reaches the end of the circuit.

[0047] In the case where the fan-out instance does not meet the traversal termination condition, it indicates that the fan-out instance still has a next-level instance, the output pin of the current fan-out instance is connected to the input pin of the next-level instance, and the output pin transition time value of the current fan-out instance can be continuously calculated or updated. In the case where the fan-out instance meets the traversal termination condition, it indicates that the current fan-out instance no longer has a next-level instance, and there is no need to perform a separate calculation and update of the output pin transition time value subsequently.

[0048] After the above steps, the output pin transition time value and the input pin capacitance value of each target instance found by the traversal are calculated, and the fan-out instance that meets the traversal termination condition no longer has a next-level instance or pin connection and association relationship. Therefore, when the fan-out instance meets the traversal termination condition, the calculation and data update of the output pin transition time value of the target instance or the input pin capacitance value of the fan-out instance that can be calculated in the circuit are completed once based on the pin connection relationship.

[0049] As an alternative embodiment, the above S120 may include:

[0050] S210, calculate the output pin transition time value of the target instance based on the pin transition time lookup table, the input pin transition time value, and the output pin capacitance value, where the pin transition time lookup table includes a plurality of index capacitance values, index transition time values, and result transition time values corresponding to the index capacitance values and the index transition time values.

[0051] Among them, the pin transition time lookup table records several index capacitance values, index transition time values, and the corresponding result transition time values that match both of them. The pin transition time lookup table is stored in the library file in tabular form. Usually, the above index capacitance values, index transition time values, and the corresponding result transition time values are obtained through pre-measurement or estimation and pre-stored in the pin transition time lookup table of the library file. In the pin transition time lookup table, the index capacitance values, index transition time values, and the corresponding result transition time values that match both of them are recorded and saved in a mapping manner, that is, using the index capacitance value and the index transition time value as the query index and the result transition time value as the output value for quick lookup and call.

[0052] The following is an example of the pin transition time lookup table in the library file. The pin transition time lookup table is an 8x8 query table recorded in the library file, formed by 8 index capacitance values and 8 index transition time values. In the pin transition time lookup table, the value that matches both the index transition time value and the index capacitance value is the result transition time value.

[0053] {

[0054] rise_transition(delay_template_8x8){

[0055] index_1("0.001,0.00218134,0.00475826,0.0103794,0.022641,0.0493878,0.107732,0.235");

[0056] index_2("0.0002,0.000605044,0.00183039,0.00553733,0.0167516,0.0506773,0.15331,0.463796");

[0057] values(

[0058] "0.00114123,0.00131873,0.0018541,0.00347308,0.00843215,0.023489,0.0690331,0.206894",

[0059] "0.00125902,0.00144143,0.00198726,0.00359838,0.00848276,0.0234904,0.0690824,0.206894",

[0060] "0.00183995,0.00202087,0.00244541,0.00390126,0.00875883,0.0236118,0.0691211,0.206911",

[0061] "0.00269243,0.00293168,0.00356908,0.0051868,0.00946834,0.0241446,0.0692052,0.206952",\

[0062] "0.00417516,0.00447807,0.00532775,0.00737574,0.0121709,0.0255245,0.0700324,0.207179",\

[0063] "0.00678458,0.00720175,0.00836044,0.0110551,0.0172148,0.0307391,0.0731649,0.208546",

[0064] "0.0112102,0.0118703,0.0135684,0.0174393,0.0255759,0.04277,0.0823884,0.214792",\

[0065] "0.0188822,0.0198724,0.0224221,0.0283273,0.0401332,0.0627177,0.110373,0.230139"\ );

[0067] }

[0068] S220, calculate the input pin capacitance value of the target instance based on the pin receiving capacitance lookup table, the input pin transition time value, and the output pin capacitance value, where the pin receiving capacitance lookup table includes a number of index capacitance values, index transition time values, and result capacitance values corresponding to the index capacitance values and the index transition time values.

[0069] Among them, the pin receiving capacitance lookup table records several index capacitance values, index transition time values, and the result capacitance values that match both of them. The pin receiving capacitance lookup table is stored in the library file in tabular form. Usually, the above-mentioned index capacitance values, index transition time values, and corresponding result capacitance values are obtained through pre-measurement or estimation and pre-stored in the pin receiving capacitance lookup table of the library file. In the pin receiving capacitance lookup table, the index capacitance values, index transition time values, and the result capacitance values that match both of them are recorded and saved in a mapping manner, that is, using the index capacitance value and the index transition time value as query indexes and the result capacitance value as the output value for quick search and call.

[0070] The following is an example of the pin receiving capacitance lookup table in the library file. This pin receiving capacitance lookup table is an 8x8 query table used in the library file to record the rising edge transition time. The value in the query table that matches both the index transition time value and the index capacitance value is the result capacitance value.

[0071] receiver_capacitance2_rise(delay_template_8x8){

[0072] index_1("0.00110331,0.00252549,0.00579461,0.0132797,0.0304333,0.0697445,0.159636,0.3663");

[0073] index_2("0.0002,0.000435398,0.000947858,0.00206348,0.00449217,0.00977942,0.0212897,0.0463475");

[0074] values(

[0075] "0.000452041,0.000451034,0.000452721,0.000453121,0.000453398,0.000453556,0.000453637,0.000453676",

[0076] "0.000456561,0.000456281,0.000456101,0.000456081,0.000456139,0.000456196,0.000456235,0.000456254",

[0077] "0.000456341,0.00045611,0.000455779,0.000455496,0.000455352,0.000455302,0.000455287,0.000455283",

[0078] "0.000458533,0.000458491,0.000458386,0.000458195,0.000458013,0.000457903,0.000457853,0.000457631",

[0079] "0.000461542,0.000481492,0.000481404,0.000481273,0.000481106,0.000480963,0.000480873,0.000480828",

[0080] "0.00054815,0.000548105,0.000548015,0.000547859,0.000547648,0.000547436,0.000547276,0.000547181",

[0081] "0.000705836,0.000705727,0.000705541,0.00070527,0.000704936,0.000704598,0.00070433,0.000704158",

[0082] "0.000909726,0.000923845,0.000940908,0.000956544,0.000967852,0.000974296,0.000977492,0.000975777" );

[0084] }

[0085] As an alternative implementation, please refer to Figure 2, taking the process of calculating the input pin capacitance value of the target instance i3 as an example, first determine the upper-level instance i1 connected to the target instance i3. The input pin i3 / A of the target instance is connected to the upper-level instance i1 through the net n1, and determine the transition time value of the output pin i1 / Z corresponding to the upper-level instance i1 as the input pin transition time value of the input pin i3 / A of the target instance. Then, determine the output pin capacitance value of the output pin i3 / Z of the target instance through the input pin capacitance values of the fan-out instances of the target instance, where the fan-out instances of the target instance are the lower-level instances connected to the target instance through the net n3.

[0086] After determining the input pin transition time value of the input pin, substitute the input pin transition time value and the output pin capacitance value of the above target instance into the pin transition time lookup table, and use the resulting capacitance value obtained from the query as the final input pin capacitance value of the input pin of the target instance, replacing the fixed capacitance value recorded in the library file in the prior art, so as to improve the accuracy of the input pin capacitance value of the target instance and improve the calculation accuracy when calculating other parameters associated with the output pin transition time value subsequently.

[0087] Similarly, if it is necessary to calculate the input pin capacitance values of other input pins of the target instance, for example, if it is desired to find the input pin capacitance value i3 / B of another input pin of the target instance, first determine the upper-level instance i2 connected to the input pin i3 / B of the target instance. The input pin i3 / B of the target instance is connected to the upper-level instance i2 through the net n4, and then determine the output pin transition time value i2 / Z of the upper-level instance i2 as the input pin transition time value of the input pin i3 / B of the target instance.

[0088] Correspondingly, the steps for calculating the output pin transition time value of the target instance include: first determine the input pin transition time value of the target instance, then determine the output pin capacitance value of the target instance, substitute the above input pin transition time value and output pin capacitance value into the pin receiving capacitance lookup table, and use the resulting transition time value obtained from the query as the output pin transition time value corresponding to a certain output pin of the target instance, so as to improve the accuracy of the output pin transition time value of the target instance and improve the calculation accuracy when calculating other parameters associated with the output pin transition time value subsequently.

[0089] Before performing step S120, that is, before calculating the output pin transition time value and input pin capacitance value of the target instance, it further includes the step of the electronic design automation software reading and loading a library file to obtain data such as a pin transition time lookup table and a pin receiving capacitance lookup table. This library file is usually written in accordance with the industry standard "Liberty User Guides and Reference Manual", and the library file usually has the extension.lib and can also be called a "Liberty file". The library file is used to describe in detail the timing characteristics, capacitance values, power consumption and other parameters of logic units, and is used to support the design and analysis of subsequent circuits, including data such as fixed capacitance values (pin capacitance), pin transition time lookup tables, and pin receiving capacitance lookup tables.

[0090] Compared with the traditional method of directly using fixed values or default values, in this embodiment, more accurate input pin capacitance values and output pin transition time values of the target pins can be calculated by looking up tables. The parameter changes of the associated pins of the upper-level instance or lower-level instance that are connected to the input pin or output pin of the target instance are added for separate calculation, and the method of querying in combination with the lookup tables pre-stored in the library file more accurately reflects the characteristics of the pin capacitance values and transition time values changing with working conditions, thereby reducing the error caused by model simplification and improving the accuracy and reliability of key design links such as integrated circuit power consumption analysis and timing analysis. In addition, the method of looking up tables also has the technical effect of fast calculation speed.

[0091] As an optional implementation manner, before the above S120, it may further include:

[0092] S310, when the input pin of the target instance is connected to the starting node, the input pin transition time value of the input pin is configured as the initial transition time value preset by the user; when the input pin is connected to the output pin of another instance, the input pin transition time value is the output pin transition time value of the upper-level instance connected to the input pin.

[0093] In step S310, in order to more accurately calculate the output pin transition time value and input pin capacitance value of the target instance, it further includes the step of initializing and configuring the input pin transition time value of the target instance. Specifically, when the target instance is the next-level instance directly connected to the top-level module, at this time, the input pin of the target instance receives the signal from the output port of the top-level module, and the input pin transition time value of the target instance will be configured as the initial transition time value preset by the user. If the user does not separately preset the initial transition time value in advance, the default initial transition time value 0 is used.

[0094] When the input pin of the target instance is connected to the output pin of other instances, that is, the input pin of the target instance is not directly connected to the starting node, but is connected to the output pin of other instances in the circuit (that is, the previous instance), at this time the input pin of the target instance receives the output signal from the previous instance, and the input pin transition time value of the input pin of the target instance will directly adopt the output pin transition time value of the previous instance connected to the input pin of the target instance.

[0095] By adopting the output pin transition time value of the previous level instance as the input pin transition time value of the current target instance, the problem that the input signal transition time value of the next level instance will be affected by the output signal transition time value of the previous level instance is solved. This can more truly reflect the transmission and change characteristics of the signal in the circuit, and provide more accurate input parameters for the subsequent calculation of the output pin transition time value and the input pin capacitance value.

[0096] As an optional implementation manner, before the above S120, the following may also be included:

[0097] S320, the output pin capacitance value of the target instance is configured as the input pin capacitance value of the fan-out instance connected to the output pin. During the first calculation, the input pin capacitance value of the fan-out instance is configured as the fixed input pin capacitance value preset for the fan-out instance in the library file.

[0098] In step S320, in order to more accurately calculate the output pin transition time value and input pin capacitance value of the target instance, the step of initializing and configuring the output pin capacitance value of the target instance is also included. Specifically, for each fan-out instance found by traversal, the input pin capacitance value of its input pin is obtained, and the input pin capacitance value of the fan-out instance is set as the output pin capacitance value of the target instance. Wherein, the fan-out instance refers to the next level instance whose input pin is connected to the output pin of the target instance. When the calculation is performed for the first time, since the input pin capacitance value of the fan-out instance has not been calculated separately, at this time, the input pin capacitance value of the fan-out instance can be configured as the input pin fixed capacitance value preset for the fan-out instance in the library file. Wherein, the input pin fixed capacitance value is the estimated capacitance reference value of the input pin pre-recorded in the relevant field of the library file, which is used to characterize the basic capacitance characteristics of the input pin under static conditions. The capacitance field is usually used in the library file to store this information. The EDA software can extract the input pin fixed capacitance value of the fan-out instance from the capacitance field after parsing the library file.

[0099] As an example, after the output pin capacitance value of the target instance is calculated for the first time, the input pin fixed capacitance value for the fan-out instance can be obtained from the library file. For example, the pre-defined input pin fixed capacitance value of 0.000481018 for input pin A1 of the fan-out instance is set as the output pin capacitance value of the target instance. Subsequently, as the iterative calculation progresses, the input pin capacitance value of the fan-out instance can be calculated and updated based on the pin receiving capacitance lookup table, the input pin transition time value, and the output pin capacitance value.

[0100] In some embodiments, the output pin of the target instance may be connected to the input pins of one or more fan-out instances, and the output pin capacitance value of the target instance can be configured to be the sum of the input pin capacitance values of all the fan-out instances connected thereto. Specifically, when there are multiple fan-out instances connected to the output pin of the target instance, the output pin capacitance value of the target instance can be configured to be the sum of the input pin capacitance values of all the fan-out instances whose input pins are connected to the output pin of the target instance, that is: calculate the total sum of the input pin capacitance values of all the fan-out instances connected to the output pin of the target instance, and then use this sum as the output pin capacitance value of the target instance.

[0101] In some embodiments, the output pin capacitance value of the target instance is configured to be the sum of the input pin capacitance values of all the fan-out instances connected thereto, plus the sum of the wire capacitance values between the output pin of the target instance and the input pins of the fan-out pins. The above method can more accurately evaluate the actual total load capacitance of the output pin of the target instance, providing more accurate input parameters for subsequent capacitance value and transition time calculations.

[0102] It should be noted that in the related prior art, the above input pin fixed capacitance value is usually directly set as the output pin capacitance value of other associations. However, in this embodiment, the purpose of obtaining the input pin fixed capacitance value is to serve as the data basis for calculating or looking up the transition time in the subsequent steps. After secondary calculation in combination with the pin transition time lookup table or the pin receiving capacitance lookup table, the final accurate calculation result of the output pin capacitance value is obtained, rather than directly extracting the input pin fixed capacitance value from the pin field of the library file and using it as the output pin capacitance value of the target instance for power consumption calculation.

[0103] Through the above method, the problem that the output pin capacitance value of the target instance is inconsistent with the input pin capacitance value of the next-level instance is solved, which can more truly reflect the transmission and change characteristics of signals in the circuit, provide more accurate input parameters for subsequent power consumption analysis, and moreover, after the input pin capacitance value of the fan-out instance is updated with iterative calculation, when calculating the output pin of the target instance next time, the input pin capacitance value of the fan-out instance updated in the previous round can be used to configure a more accurate output pin capacitance value for the target instance, so as to improve the accuracy of subsequent power consumption calculation.

[0104] As an alternative implementation, the above S120 may include: when there are an index transition time value and an index capacitance value that match the input pin transition time value and the output pin capacitance value simultaneously in the pin transition time lookup table or the pin receiving capacitance lookup table, determining the result transition time value that matches the input pin transition time value and the output pin capacitance value simultaneously in the pin transition time lookup table as the output pin transition time value of the target instance, or determining the result capacitance value that matches the input pin transition time value and the output pin capacitance value simultaneously in the pin receiving capacitance lookup table as the input pin capacitance value of the target instance.

[0105] In this embodiment, after the input pin transition time value or the output pin capacitance value of the target instance is given, if the provided input pin transition time value or output pin capacitance value can find an exactly matching index transition time value and index capacitance value in the lookup table, directly return the result capacitance value or result transition time value corresponding to the matching item, and update the corresponding input pin transition time value or output pin capacitance value with the result capacitance value or result transition time value, so as to achieve fast query and obtain accurate data.

[0106] As an alternative implementation, the above S120 may include: when there is no index transition time value that exactly matches the input pin transition time value or no index capacitance value that exactly matches the output pin capacitance value in the pin transition time lookup table or the pin receiving capacitance lookup table, select two adjacent index transition time values that are closest to the input pin transition time value or two adjacent index capacitance values that are closest to the output pin capacitance value, construct a linear interpolation formula based on the result transition time value or result capacitance value corresponding to the index transition time value or index capacitance value in the pin transition time lookup table or the pin receiving capacitance lookup table, substitute the input pin transition time value or output pin capacitance value into the linear interpolation formula to calculate the interpolation transition time value or interpolation capacitance value, and determine the calculated interpolation transition time value or interpolation capacitance value as the result transition time value or result capacitance value.

[0107] In this embodiment, when the input pin transition time value and the output pin capacitance value cannot exactly match the index value in the lookup table, the linear interpolation method is used to calculate the corresponding interpolation result. The specific steps are as follows: First, in response to the input request of the input pin transition time value and the output pin capacitance value, check whether there is an item that exactly matches the input value in the pre-stored pin transition time lookup table or pin received capacitance lookup table. If an exact match is found, directly return the corresponding transition time value or capacitance value. If there is no exact match in the lookup table, select two adjacent index values that are closest to the input value. Based on these two known index values and their corresponding transition time values or capacitance values, construct a linear interpolation formula. Subsequently, use the linear interpolation formula to substitute the input pin transition time value or the output pin capacitance value into the linear interpolation formula, calculate the interpolated transition time value or the interpolated capacitance value, and determine it as the result transition time value or the result capacitance value. Finally, return the calculated input pin transition time value or the output pin capacitance value and use it for subsequent calculation processes.

[0108] As an example, first, according to the pin received capacitance lookup table, it is determined that the input pin transition time value T = 0.013710 is between two known index transition time values T4 = 0.0122878 and T5 = 0.0274411. At this time, select the two index transition time values (T4 and T5) that are closest to the input pin transition time value T = 0.013710 and the corresponding capacitance values C4 and C5. Next, according to T4 and T5 and the corresponding capacitance values C4 and C5, use the linear interpolation method to construct a linear interpolation formula. Among them, the independent variable of the linear interpolation formula is the index capacitance value (C), and the dependent variable is the transition time value (T). The linear interpolation formula can be expressed as: C = [(T - T4) / (T5 - T4)]·(C5 - C4) + C4. Finally, substitute the input pin transition time value into the above linear interpolation formula: C = [(0.013710 - 0.0122878) / (0.0274411 - 0.0122878)]·(0.000745305 - 0.000611997) + 0.000611997, and obtain the interpolated capacitance value C = 0.000624508, and use this interpolated capacitance value as the result capacitance value of the pin received capacitance lookup table.

[0109] In this embodiment, by looking up the input pin transition time value and the output pin capacitance value, when there is no exact match in the lookup table, an estimated result capacitance value or result transition time value is obtained by selecting two adjacent values that are closest to the input value and using the linear interpolation formula for calculation. Even when the lookup table items do not exactly match, an estimated result with accuracy and precision can still be obtained.

[0110] As an alternative embodiment, the above S120 may include: the number of input pins of the target instance is one or more, the number of output pins of the target instance is one or more, and when the number of input pins or output pins of the target instance is multiple, calculate the output pin transition time value or input pin capacitance value of each output pin or input pin of the target instance.

[0111] In an actual circuit, the target instance may have a single or multiple input pins or output pins. Therefore, when the number of input pins or output pins of the target instance is multiple, calculate the output pin transition time value or input pin capacitance value of each input pin or output pin in sequence, so as to accurately estimate the transition time value or capacitance value of each pin and ensure the accuracy and reliability of the result.

[0112] As an embodiment, before step S110, it further includes:

[0113] Determine the target iteration number and the current iteration number of the circuit, where the initial value of the current iteration number is 0. After meeting the traversal termination condition, increment the count value of the current iteration number by 1, and determine whether the current iteration number is equal to the target iteration number. If the current iteration number is less than the target iteration number, return to identify the starting node of the circuit, start downward traversal of the circuit from the starting node, and determine the first instance connected to the starting node found during the traversal as the target instance.

[0114] Specifically, before the traversal starts, it includes the step of initializing the current iteration number and the target iteration number parameters, where the current iteration number is initialized to 0, and the target iteration number is defaulted to 2 according to the parameters set by the user.

[0115] After meeting the traversal termination condition, increment the count value of the current iteration number by 1, and compare the current iteration number with the target iteration number to determine whether the current iteration number is equal to the target iteration number; if the current iteration number is less than the target iteration number, return to execute step S110, that is, return to identify the starting node of the circuit, start downward traversal of the circuit from the starting node, and determine the first instance connected to the starting node found during the traversal as the target instance. If the current iteration number is equal to the target iteration number, it indicates that the specified traversal iteration number has been reached, and stop the traversal.

[0116] It should be noted that in each iteration process, starting from the target instance, traversing downward, calculating and updating the output pin transition time value and input pin capacitance value of the target instance, and continuing to obtain the next-level instance connected to the current target instance as the fan-out instance. When the traversal termination condition is not met, the fan-out instance is determined as the new target instance and its output pin transition time value and input pin capacitance value are calculated and updated.

[0117] In the first iteration, the output pin capacitance value or input pin transition time value corresponding to the target instance and the fan-out instance is configured as the initial value. For each traversed target instance, the steps of calculating the output pin transition time value of the target instance and calculating the input pin capacitance value of the target instance mainly rely on the pin transition time lookup table and the pin receiving capacitance lookup table. With this new calculation method, the first update and improvement of the data accuracy and precision of the output pin transition time value and input pin capacitance value of the target instance are realized.

[0118] In the second iteration, since the output pin capacitance value or input pin transition time value corresponding to the target instance and the fan-out instance is configured as the input pin capacitance value of the fan-out instance connected to the output pin or the output pin transition time value of the previous-level instance connected to the input pin, and the above input pin capacitance value and output pin transition time value have been calculated and updated once in the previous iteration process. Therefore, the second iteration actually uses the updated and more accurate input pin capacitance value and output pin transition time value as the new calculation initial value, and adding this new calculation method using the pin transition time lookup table and the pin receiving capacitance lookup table can further improve the accuracy of the output pin transition time value and input pin capacitance value data.

[0119] Based on the same inventive concept, the present application also provides a device for dynamically estimating the pin capacitance of a power consumption analysis tool. Specifically, it will be described in detail in combination with Figure 3 for elaboration.

[0120] Figure 3 is a schematic structural diagram of a device 300 for dynamically estimating the pin capacitance of a power consumption analysis tool provided by an embodiment of the present application.

[0121] As Figure 3 shown, the device for dynamically estimating the pin capacitance of the power consumption analysis tool may include:

[0122] An identification module 301, configured to identify the starting node of the circuit, start traversing the circuit downward from the starting node, and determine the first instance connected to the starting node queried during the traversal process as the target instance;

[0123] A calculation module 302 is configured to traverse and search for fan-out instances connected to the output pins along the direction of the output pins of the target instance, and calculate the output pin transition time value and the input pin capacitance value of the target instance;

[0124] A traversal module 303 is configured to determine whether the fan-out instance meets a preset traversal termination condition: when the fan-out instance does not meet the traversal termination condition, the fan-out instance is determined as a new target instance, and the process returns to the step of calculating the output pin transition time value and the input pin capacitance value of the target instance until the traversal termination condition is met.

[0125] Figure 4 FIG. shows a schematic hardware structure diagram of an electronic device for a method of dynamically estimating pin capacitance of a power consumption analysis tool provided by an embodiment of the present application. Among them, the electronic device may be at least one of a computer, a server, and a dedicated device for document generation. The electronic device includes a processor 1001 and a memory 1002 storing computer program instructions.

[0126] Specifically, the above-mentioned processor 1001 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured as one or more integrated circuits for implementing the embodiments of the present application.

[0127] The memory 1002 may include a mass storage for data or instructions. By way of example and not limitation, the memory 1002 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. In a suitable case, the memory 1002 may include a removable or non-removable (or fixed) medium. In a suitable case, the memory 1002 may be internal or external to the electronic device. In a specific embodiment, the memory 1002 is a non-volatile solid state memory.

[0128] The memory 1002 may include a read only memory (ROM), a flash memory device, a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, an electrical, optical, or other physical / tangible memory storage device. Thus, generally, the memory 1002 includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) of software that may be encoded with computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described in reference to the methods according to the above aspects of the present disclosure.

[0129] The processor 1001 reads and executes the computer program instructions stored in the memory 1002 to implement the steps of the pin capacitance dynamic estimation method of any one of the power consumption analysis tools in the above embodiments.

[0130] In one example, the electronic device may further include a communication interface 1003 and a bus 1010. Among them, the processor 1001, the memory 1002, and the communication interface 1003 are connected through the bus 1010 to complete communication with each other.

[0131] The communication interface 1003 is mainly used to implement communication between the modules, devices, units, and / or devices in the embodiments of the present application.

[0132] The bus 1010 includes hardware, software, or both, and couples the components of the electronic device to each other. By way of example and not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses or a combination of two or more of these. In a suitable case, the bus 1010 may include one or more buses. Although the embodiments of the present application describe and illustrate specific buses, the present application contemplates any suitable bus or interconnect.

[0133] In addition, in combination with the pin capacitance dynamic estimation method in the above embodiments, the embodiments of the present application may provide a computer storage medium to implement. Computer program instructions are stored on the computer storage medium; when the computer program instructions are executed by the processor, the pin capacitance dynamic estimation method of any one of the power consumption analysis tools in the above embodiments is implemented.

[0134] In addition, the term "and / or" in this article is merely an association relationship describing associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after.

[0135] It should be understood that in the embodiments of the present application, "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0136] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A pin capacitance dynamic estimation method for a power consumption analysis tool, characterized in that: The following steps are involved: Identify a starting node of a circuit, traverse the circuit downward from the starting node, and determine the first instance connected to the starting node found during the traversal as a target instance; Starting from the output pin of the target instance, traverse and search for the fan-out instance connected to the output pin of the target instance, and calculate the output pin transition time value and input pin capacitance value of the target instance, specifically including: calculating and updating the output pin transition time value of the target instance according to the input pin capacitance value of the fan-out instance connected to the target instance; calculating and updating the input pin capacitance value of the target instance according to the output pin transition time value of the upper-level instance connected to the input pin of the target instance, wherein the fan-out instance is a lower-level instance connected to the target instance and receiving the target instance signal, and the circuit signal is directly connected from the target instance output pin to the input pin of the fan-out instance; after finding the fan-out instance connected to the output pin of the target instance, executing the step of calculating the output pin transition time value and input pin capacitance value of the target instance, wherein the output pin transition time value of the target instance is the time required for the output signal on the output pin of the target instance to jump from a high level to a low level, and the input pin capacitance value of the target instance refers to the load capacitance presented by the input pin of the target instance to the previous circuit; Determine whether the fan-out instance satisfies a preset traversal termination condition; if the fan-out instance does not satisfy the traversal termination condition, determine the fan-out instance as the new target instance, and return to the step of: starting from the output pin of the target instance, traverse and search for the fan-out instance connected to the output pin of the target instance, calculate the output pin transition time value and the input pin capacitance value of the target instance, until the traversal termination condition is met.

2. The pin capacitance dynamic estimation method of the power consumption analysis tool according to claim 1, characterized in that: The calculating the output pin transition time value and the input pin capacitance value of the target instance includes: Calculating the output pin transition time value of the target instance based on a pin transition time lookup table, an input pin transition time value, and an output pin capacitance value, wherein the pin transition time lookup table includes a plurality of index capacitance values, index transition time values, and result transition time values ​​corresponding to the index capacitance values ​​and the index transition time values; The input pin capacitance value of the target instance is calculated based on a pin receiving capacitance lookup table, an input pin transition time value and an output pin capacitance value, wherein the pin receiving capacitance lookup table includes a plurality of index capacitance values, an index transition time value and result capacitance values ​​corresponding to the index capacitance values ​​and the index transition time value.

3. The pin capacitance dynamic estimation method of the power consumption analysis tool according to claim 2, characterized in that: Before executing the calculation of the output pin transition time value and the input pin capacitance value of the target instance, it also includes: when the input pin of the target instance is connected to the starting node, the input pin transition time value of the input pin is configured as an initial transition time value preset by the user; when the input pin is connected to the output pin of other instances, the input pin transition time value is the output pin transition time value of the upper-level instance connected to the input pin.

4. The pin capacitance dynamic estimation method of the power consumption analysis tool according to claim 2, characterized in that: Before executing the calculation of the output pin transition time value and the input pin capacitance value of the target instance, the method further includes: The output pin capacitance value of the target instance is configured as the input pin capacitance value of the fan-out instance connected to the output pin. When calculated for the first time, the input pin capacitance value of the fan-out instance is configured as the fixed input pin capacitance value preset for the fan-out instance in the library file.

5. The pin capacitance dynamic estimation method of the power consumption analysis tool according to claim 2, characterized in that: include: In the event that there are index transition time values ​​and index capacitance values ​​that simultaneously match the input pin transition time value and the output pin capacitance value in the pin transition time lookup table or the pin receiving capacitance lookup table, the resulting transition time value that simultaneously matches the input pin transition time value and the output pin capacitance value in the pin transition time lookup table is determined as the output pin transition time value of the target instance, or, the resulting capacitance value that simultaneously matches the input pin transition time value and the output pin capacitance value in the pin receiving capacitance lookup table is determined as the input pin capacitance value of the target instance.

6. The pin capacitance dynamic estimation method of the power consumption analysis tool according to claim 5, characterized in that: Also includes: In the case that there is no index transition time value that completely matches the input pin transition time value or the index capacitance value that completely matches the output pin capacitance value in the pin transition time lookup table or the pin receiving capacitance lookup table, select the two adjacent index transition time values ​​closest to the input pin transition time value or the two adjacent index capacitance values ​​closest to the output pin capacitance value, and construct a linear interpolation formula based on the result transition time value or the result capacitance value corresponding to the index transition time value or the index capacitance value in the pin transition time lookup table or the pin receiving capacitance lookup table, substitute the input pin transition time value or the output pin capacitance value into the linear interpolation formula to calculate the interpolation transition time value or the interpolation capacitance value, and determine the calculated interpolation transition time value or the interpolation capacitance value as the result transition time value or the result capacitance value.

7. The pin capacitance dynamic estimation method of the power consumption analysis tool according to claim 2, characterized in that: The number of input pins of the target instance is one or more, and the number of output pins of the target instance is one or more. When the number of input pins or output pins of the target instance is multiple, the output pin transition time value or input pin capacitance value of each output pin or input pin of the target instance is calculated.

8. The pin capacitance dynamic estimation method of the power consumption analysis tool according to claim 1, characterized in that: Also includes: Determine the target number of iterations and the current number of iterations of the circuit, wherein the initial value of the current number of iterations is 0, and after the traversal termination condition is met, increment the count value of the current number of iterations by 1, and determine whether the current number of iterations is equal to the target number of iterations; if the current number of iterations is less than the target number of iterations, return to the starting node of the identified circuit, traverse the circuit downward from the starting node, and determine the first instance connected to the starting node queried during the traversal as the target instance.

9. A pin capacitance dynamic estimation device for a power consumption analysis tool, characterized in that: include: An identification module, used for identifying a starting node of a circuit, traversing the circuit downward from the starting node, and determining the first instance connected to the starting node found during the traversal as a target instance; a calculation module, for calculating the output pin transition time value and the input pin capacitance value of the target instance, specifically comprising: calculating and updating the output pin transition time value of the target instance according to the input pin capacitance value of the fan-out instance connected to the target instance; calculating and updating the input pin capacitance value of the target instance according to the output pin transition time value of the upper-level instance connected to the input pin of the target instance, wherein the fan-out instance is a lower-level instance connected to the target instance and receiving the target instance signal, and the circuit signal is directly connected from the target instance output pin to the input pin of the fan-out instance; after finding the fan-out instance connected to the output pin of the target instance, executing the step of calculating the output pin transition time value and the input pin capacitance value of the target instance, wherein the output pin transition time value of the target instance is the time required for the output signal on the output pin of the target instance to jump from a high level to a low level, and the input pin capacitance value of the target instance refers to the load capacitance presented by the input pin of the target instance to the previous circuit; A traversal module is used to traverse along the output pin direction of the target instance to find the fan-out instance connected to the output pin, and determine whether the fan-out instance meets the preset traversal termination condition: when the fan-out instance does not meet the traversal termination condition, determine the fan-out instance as the new target instance, and return to the step of calculating the output pin transition time value and the input pin capacitance value of the target instance until the traversal termination condition is met.

10. An electronic device, characterized in that: include: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the steps of the pin capacitance dynamic estimation method of the power consumption analysis tool according to any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the steps of the pin capacitance dynamic estimation method of the power consumption analysis tool according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Local circuit identification matching method, device, equipment, medium and product

    CN118194800A

  • Incremental elmore delay calculation

    US20130326449A1