Pin capacitance estimation capacitor lookup table processing method, device, equipment, storage medium and product

By searching for the description information of the target input pin and the timing-related output pin in the library file, and comprehensively calculating the capacitance value, the calculation deviation caused by ignoring the influence of timing-related output pins in the prior art is solved, and the accuracy of capacitance value and power consumption estimation is improved.

CN120724929BActive Publication Date: 2025-11-21INNODA (CHENGDU) ELECTRONIC TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202511179186.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-22
Publication Date
2025-11-21
Estimated Expiration
2045-08-22

AI Technical Summary

Technical Problem

Existing technologies ignore the influence of timing-related output pins connected to the input pins when calculating the input pin capacitance value, resulting in a large deviation between the calculated result and the actual capacitance value, making it difficult to accurately reflect the true equivalent capacitance level of the input pin.

Method used

The result capacitance value is generated by searching the first description information of the target input pin and the second description information of the timing-related output pin in the library file, taking into account the capacitance value of the target input pin itself and the capacitance influence of the timing-related output pin connected to it.

Benefits of technology

It improves the accuracy of capacitance and power consumption estimation, accurately reflects the influence of coupling or loading effects on capacitance in actual circuits, and overcomes the calculation deviation caused by relying solely on the capacitance value of the target input pin in traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120724929B_ABST
    Figure CN120724929B_ABST
Patent Text Reader

Abstract

The application discloses a pin capacitance estimation capacitance lookup table processing method, device, equipment, storage medium and product. The method comprises the following steps: in response to a target input pin capacitance value calculation instruction triggered by a user, determining a target input pin specified by the user; searching for first description information corresponding to the target input pin in a library file, taking the name of the target input pin as an identifier, and the first description information containing a fixed capacitance value field of the target input pin or a pin receiving capacitance lookup table of the target input pin; and generating a result capacitance value of the target input pin according to the first description information and the second description information. The method can not only accurately evaluate the self capacitance of the target input pin, but also more accurately restore the influence of coupling effects or loading effects on the capacitance in an actual circuit, thereby effectively overcoming the calculation deviation caused by the dependence on the target input pin capacitance in the traditional method, and improving the accuracy of capacitance value and power consumption calculation.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of integrated circuit design, and particularly relates to a pin capacitance estimation capacitance lookup table processing method and device, equipment, storage medium and product. BACKGROUND

[0002] Electronic design automation (EDA) refers to a design method of using computer-aided design software to complete the functional design, synthesis, verification, physical design (including layout, wiring, layout, design rule checking, etc.) and other processes of a very large scale integrated circuit (VLSI) chip.

[0003] In EDA power analysis, the capacitance value is one of the key factors affecting power consumption, and the capacitance value can directly affect the dynamic power consumption analysis result of the EDA software. The dynamic power consumption includes specific internal power consumption and flip power consumption, and the influence of the capacitance value on the power consumption includes the influence on the internal power consumption of the current instance object and the influence on the input signal conversion time of the next instance object connected thereto. Therefore, accurate acquisition of the capacitance value is crucial for power consumption estimation.

[0004] In related technologies, when the capacitance value of an input pin is determined, the static capacitance parameter (such as the capacitance value recorded in the capacitance field) in the library file (liberty file) is usually analyzed, and then the queried static capacitance parameter is directly set as the capacitance value of the input pin and the basis for subsequent power consumption estimation. The above-mentioned calculation method of the capacitance value of the input pin has certain effect in the design scene with low power consumption precision requirement. However, in the process of circuit operation, the capacitance value of the input pin will change with the number of instances driven by the input pin. Generally, when an input pin drives multiple instances, the more instances driven, the larger the capacitance value of the input pin. The capacitance value of the input pin is dynamically changed. Although the result obtained by using the fixed capacitance value for calculation in the application scene with low power consumption estimation precision requirement is acceptable, the fixed capacitance value is actually not accurate.

[0005] In some other prior art, for example, the dynamic power consumption optimization method disclosed in Chinese patent ZL202510863861.0, a more accurate dynamic capacitance value than the static capacitance parameter is calculated by querying the pin transition time lookup table. The specific steps include querying the pin receiving capacitance lookup table, and then calculating the dynamic input pin capacitance value corresponding to the output pin transition time value. The dynamic input pin capacitance value can more accurately reflect the characteristics of the pin capacitance and the transition time changing with the working conditions, thereby reducing the error caused by model simplification and improving the accuracy and reliability of the key design links such as integrated circuit power consumption analysis and timing analysis.

[0006] The method for calculating the input pin capacitance value in the above-mentioned related prior art, whether using the method for extracting a fixed capacitance value or the method for calculating the capacitance value based on the pin-receiving capacitance lookup table, only considers the physical properties of the input pin itself. However, in actual applications, the input pin can be associated with one or more time sequence arc output pins having a connection relationship, and the number of pin-receiving capacitance lookup tables contained in the library file can be multiple. The related prior art usually only calculates the capacitance value based on the pin-receiving capacitance lookup table of the input pin itself, ignores the influence of the capacitance value introduced by the time sequence associated output pin connected thereto, and finally calculates the input pin capacitance value which still has a large deviation from the actual capacitance value, and it is difficult to accurately reflect the real equivalent capacitance level of the input pin. SUMMARY

[0007] The present application provides a pin capacitance estimation capacitance lookup table processing method, device, equipment, storage medium and product, aiming at solving the technical problems existing in the above-mentioned prior art, and providing a pin capacitance estimation capacitance lookup table processing method with high accuracy.

[0008] In a first aspect, the present application provides a pin capacitance estimation capacitance lookup table processing method, which comprises:

[0009] In response to a target input pin capacitance value calculation instruction triggered by a user, determining a target input pin specified by the user;

[0010] Finding first description information corresponding to the target input pin in the library file, the first description information taking the name of the target input pin as an identifier, and the first description information containing a fixed capacitance value field of the target input pin or a pin-receiving capacitance lookup table of the target input pin;

[0011] Determining a time sequence associated output pin corresponding to the target input pin, finding second description information corresponding to the time sequence associated output pin in the library file, the second description information taking the name of the time sequence associated output pin as an identifier, and the second description information containing a pin-receiving capacitance lookup table corresponding to the target input pin;

[0012] Generating a result capacitance value of the target input pin according to the first description information and the second description information.

[0013] In a second aspect, the present application provides a pin capacitance estimation capacitance lookup table processing device, which can comprise:

[0014] The query module is configured to determine a target input pin specified by a user in response to a target input pin capacitance value calculation instruction triggered by the user;

[0015] The first description information searching module is configured to search for first description information corresponding to the target input pin in a library file, the first description information taking the name of the target input pin as an identifier, and the first description information containing a fixed capacitance value field of the target input pin or a pin-receiving capacitance lookup table of the target input pin.

[0016] The second description information searching module is configured to determine a timing-associated output pin corresponding to the target input pin, search for second description information corresponding to the timing-associated output pin in the library file, the second description information taking the name of the timing-associated output pin as an identifier, and the second description information containing a pin-receiving capacitance lookup table corresponding to the target input pin.

[0017] The resultant capacitance value generating module is configured to generate a resultant capacitance value of the target input pin according to the first description information and the second description information.

[0018] In a third aspect, the present application provides a pin capacitance estimation capacitance lookup table processing device, comprising a processor and a memory storing computer program instructions; the processor implements the steps of the pin capacitance estimation capacitance lookup table processing method of the first aspect when executing the computer program instructions.

[0019] In a fourth aspect, the present application provides a computer readable storage medium, the computer readable storage medium storing computer program instructions, the computer program instructions being executed by the processor to implement the steps of the pin capacitance estimation capacitance lookup table processing method of the first aspect.

[0020] In a fifth aspect, the present application provides a computer program product, the computer program product comprising a computer program, the computer program being executed by the processor to implement the steps of the pin capacitance estimation capacitance lookup table processing method of the first aspect.

[0021] The application determines a target input pin specified by a user in response to a user-triggered target input pin capacitance value calculation instruction, finds first description information corresponding to the target input pin in a library file, determines a timing-associated output pin corresponding to the target input pin, finds second description information corresponding to the timing-associated output pin in the library file, and generates a result capacitance value of the target input pin according to the first description information and the second description information. Thus, when calculating the capacitance value of the target input pin, the capacitance value of the target input pin itself and the capacitance influence introduced by the timing-associated output pin connected to the target input pin are comprehensively considered. By obtaining the original capacitance value of the target input pin and the path-related capacitance value recorded in the timing-associated output pin, and performing joint calculation based on the capacitance data in the two dimensions, not only the capacitance value of the target input pin itself is concerned, but also the capacitance value of the target input pin under the influence of the timing-associated output pin is considered. The influence of the coupling effect or loading effect on the capacitance value in the actual circuit can be more accurately restored, so that the calculation deviation caused by only relying on the capacitance value of the target input pin in the traditional method is effectively overcome, and the precision of the capacitance value and power consumption estimation is improved. BRIEF DESCRIPTION OF DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly introduced. Those skilled in the art can obtain other drawings according to these drawings without creating any creative labor.

[0023] Figure 1 is a flowchart of a pin capacitance estimation capacitance lookup table processing method provided by an embodiment of the present application;

[0024] Figure 2 is a schematic diagram of the pin connection relationship between the timing-associated output pin and the target input pin in the pin capacitance estimation capacitance lookup table processing method provided by an embodiment of the present application;

[0025] Figure 3 is a structural schematic diagram of a pin capacitance estimation capacitance lookup table processing device provided by another embodiment of the present application;

[0026] Figure 4 is a structural schematic diagram of a pin capacitance estimation capacitance lookup table processing device provided by another embodiment of the present application; DETAILED DESCRIPTION

[0027] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.

[0028] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

[0029] Chips are very small and widely used in computers and other electronic devices. A chip is a silicon wafer containing an integrated circuit (IC). An integrated circuit is a circuit that integrates a certain number of common electronic components, such as resistors, capacitors, and transistors, along with their interconnections, using semiconductor technology to form a circuit with a specific function.

[0030] To design integrated circuits, designers typically use computer-aided design (CAD) software and electronic design automation (EDA) systems.

[0031] In the process of using EDA software to perform chip power consumption analysis, the capacitance value is a key factor affecting the accuracy of power consumption analysis. Specifically, the capacitance value is the main variable parameter in the formula for calculating switching power consumption. The capacitance value directly affects the calculation of switching power consumption and indirectly affects internal power consumption by affecting the signal switching speed. Therefore, how to accurately obtain the capacitance value is crucial for power consumption analysis in EDA software.

[0032] Specifically, the capacitance value is a main variable parameter in the calculation formula of the switching power, and the capacitance value will directly affect the switching power. The switching power is an important part of integrated circuit design and power consumption calculation, which 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, and the calculation formula of the switching power in a digital circuit is P = a * C * V² * f, where P represents the switching power, a represents the activity factor, C is the total capacitance, V is the power voltage, and f is the activity rate on the line network. EDA software usually needs to obtain relevant data from SPEF files, Liberty files and simulation files, and then substitute the switching power calculation formula to calculate the switching power of the circuit.

[0033] In related technologies, when determining the capacitance value of an input pin, the static capacitance parameter (such as the capacitance value recorded in the capacitance field) in the library file (Liberty file) is usually analyzed, and then the queried static capacitance parameter is directly set as the capacitance value of the input pin. However, due to the influence of changes in physical parameters such as temperature of the input pin during circuit operation, the capacitance value of the input pin will dynamically change. Although the results obtained by using the fixed capacitance value for calculation are acceptable in application scenarios with low power consumption estimation accuracy requirements, the above fixed capacitance value is actually inaccurate.

[0034] In some other related prior art, the pin receiving capacitance lookup table can be obtained, and the dynamic pin capacitance value can be obtained by substituting the transition time value parameter based on the pin receiving capacitance lookup table. Since the above dynamic pin capacitance value considers the factor that the pin capacitance value changes with the transition time, the calculation result obtained is more accurate than the fixed capacitance value, and the power consumption calculation accuracy can be improved to a certain extent.

[0035] However, in digital circuits, the capacitance value of a single input pin not only depends on the physical characteristics of the pin itself (such as metal wiring length, capacitive load, etc.), but also is affected by the timing-related output pins connected to the input pin. For example, timing-related output pins can introduce coupling effects or additional loads, which can significantly affect the actual capacitance value of the input pin. Among them, the parasitic coupling capacitance refers to the parasitic capacitance formed between adjacent wires when the wires of the timing-related output pins connected to the input pin are adjacent. When these timing-related output pins undergo signal flipping, additional capacitive effects are generated on the input pin through the coupling path, which is manifested as an increase in the equivalent input capacitance of the input pin, thereby affecting its signal transmission characteristics; the equivalent load capacitance refers to the local capacitance of the connected pins, which is superimposed on the line network when the input pin is connected to multiple timing-related output pins (such as multiple output pins) through a signal network, forming a total load capacitance, which ultimately affects the total load that the input pin needs to drive. The equivalent load capacitance directly affects the input capacitance value of the input pin, especially in high-fanout connection or cross-cell instance scenarios.

[0036] The above-mentioned related prior art method for calculating the input pin capacitance value, whether using the method of extracting a fixed capacitance value or the method of calculating the capacitance value based on the pin-receiving capacitance lookup table, only considers the physical properties of the input pin itself. However, in actual applications, the input pin can be associated with one or more timing-related output pins with a connection relationship, and the library file can contain multiple pin-receiving capacitance lookup tables. The related prior art usually calculates the capacitance value based on the pin-receiving capacitance lookup table of the input pin itself, ignoring the capacitance value influence introduced by the timing-related output pins connected to it. The final calculated input pin capacitance value still has a large deviation from the actual capacitance value, making it difficult to accurately reflect the true equivalent capacitance level of the input pin.

[0037] Figure 1 A flowchart of a pin capacitance estimation capacitance lookup table processing method provided by an embodiment of the present application is shown. The method can include the following steps:

[0038] S100, in response to a user-triggered target input pin capacitance value calculation instruction, determining a user-specified target input pin;

[0039] S200, searching for first description information corresponding to the target input pin in the library file, the first description information taking the name of the target input pin as an identifier, and the first description information containing a fixed capacitance value field of the target input pin or a pin-receiving capacitance lookup table of the target input pin;

[0040] S300, determine the timing associated output pin corresponding to the target input pin, find the second description information corresponding to the timing associated output pin in the library file, the second description information takes the name of the timing associated output pin as the identifier, and the second description information contains the pin receiving capacitor lookup table corresponding to the target input pin;

[0041] S400, generate the result capacitor value of the target input pin according to the first description information and the second description information.

[0042] The embodiment of the application determines the target input pin specified by the user in response to the user triggered target input pin capacitor value calculation instruction, finds the first description information corresponding to the target input pin in the library file, determines the timing associated output pin corresponding to the target input pin, finds the second description information corresponding to the timing associated output pin in the library file, and generates the result capacitor value of the target input pin according to the first description information and the second description information. Therefore, when calculating the capacitor value of the target input pin, the capacitor value of the target input pin itself and the capacitor influence introduced by the timing associated output pin connected thereto are comprehensively considered. By obtaining the original capacitor value of the target input pin and the path related capacitor value recorded in the timing associated output pin, and jointly calculating based on the capacitor data in the above two dimensions, not only the capacitor value of the target input pin itself is concerned, but also the capacitor value of the target input pin under the influence of the timing associated output pin is considered. The influence of the coupling effect or the loading effect on the capacitor value in the actual circuit can be more accurately restored, thereby effectively overcoming the calculation deviation caused by only relying on the capacitor value of the target input pin in the traditional method, and the precision of the capacitor value and the power consumption estimation is improved.

[0043] In S100, when the user triggered target input pin capacitor value calculation instruction is obtained, the target input pin to be queried specified by the user can be determined according to the instruction. The number of the target input pin can be one or more. The target input pin can be an input pin in a unit device, or an input pin in an instance object formed after the unit device is instantiated.

[0044] In S200, after the target input pin specified by the user is determined, the first description information corresponding to the target input pin can be found from the library file. The first description information takes the name of the target input pin as the identifier, and the first description information contains the fixed capacitor value field of the target input pin or the pin receiving capacitor lookup table of the target input pin.

[0045] The library file can be a file with a suffix of.lib. The library file is usually written according to the industry standard Liberty User Guides and Reference Manual. The library file usually has an extension of.lib and can also be referred to as a “Liberty file”. The library file is used to describe parameters such as timing characteristics, capacitance values, and power consumption of a logic unit in detail, to support the design and analysis of subsequent circuits, including fixed capacitance values (pincapacitance), pin transition time lookup tables, pin receiving capacitance lookup tables, and the like.

[0046] Specifically, the first description information corresponding to the target input pin in the library file refers to a description information field defined in the library file with the name of the target input pin as an identifier. The first description information is used to record static attribute information related to the target input pin, including but not limited to fixed capacitance values, pin receiving capacitance lookup tables, circuit elements associated with the target input pin, and the like.

[0047] The pin receiving capacitance lookup table corresponding to the target input pin is defined in the description information of the library file. The pin receiving capacitance lookup table corresponding to the target input pin is used to provide the capacitance value data corresponding to the target input pin under the condition corresponding to the index parameter. In addition, the fixed capacitance value field of the target input pin is also defined in the description information of the library file. The fixed capacitance value field is used to represent the physical capacitance value corresponding to the pin obtained based on the estimated test, to reflect the static capacitance characteristics of the pin under the process model.

[0048] As an example, the following is the first description information of the target input pin recorded in the library file, where the name of the target input pin is A. The first description information takes the name of the target input pin as an identifier, for example, pin(A). The first description information includes the fixed capacitance value field capacitance: 1 of the target input pin, and the pin receiving capacitance lookup table receiver_capacitance() of the target input pin.

[0049] pin (A){

[0050] direction: input;

[0051] capacitance : 1;

[0052] receiver_capacitance() { ...

[0054] receiver_capacitance1_rise (template_name){

[0055] index_1(...);

[0056] index_2(...);

[0057] values(..)

[0058] }

[0059] receiver_capacitance1_fall(...){}

[0060] receiver_capacitance2_rise(...){}

[0061] receiver_capacitance2_fall(...){}

[0062] }

[0063] }

[0064] }

[0065] In S300, the timing-associated output pin corresponding to the target input pin is determined. This timing-associated output pin is the output pin directly connected to the target input pin. Specifically, for example... Figure 2 As shown, in a unit device, input pin A is connected to output pins Y and Z. Specifically, output pins Y and Z are output pins directly connected to input pin A. There is a timing arc-based connection between output pins Y and Z and input pin A. Changes in output pins Y and Z affect the timing behavior of input pin A through the unit logic. Therefore, the timing-associated output pins of input pin A include output pins Y and Z. Correspondingly, EDA software can query the attribute information of unit devices in the library file and, based on the timing association nodes recorded in the attribute information for each port of the unit device, find the timing-associated output pins corresponding to the target input pin. This determines the names of all timing-associated output pins corresponding to the target input pin. Furthermore, based on the names of the timing-associated output pins corresponding to the target input pin, the software searches the library file for the second description information corresponding to the timing-associated output pins. The second description information uses the name of the timing-associated output pin as an identifier and contains a lookup table of pin receiving capacitances corresponding to the target input pin.

[0066] Specifically, the second description information corresponding to the timing-dependent output pin in the library file refers to the description information field defined in the library file with the name of the timing-dependent output pin as an identifier. The second description information is used to record the static attribute information related to the timing-dependent output pin, including but not limited to the target input pin information corresponding to the timing-dependent output pin, the circuit element information associated with the target input pin, the pin receiving capacitance lookup table of the timing-dependent output pin itself, and the pin receiving capacitance lookup table of the target input pin corresponding to the timing-dependent output pin.

[0067] Compared with the first description information corresponding to the target input pin in the library file, the second description information corresponding to the timing-dependent output pin in the embodiment records the information of the timing-dependent output pin itself, including the type and transmission direction of the timing-dependent output pin. The second description information also records the information of the input pin corresponding to the timing-dependent output pin, including the pin receiving capacitance lookup table of the input pin connected to the timing-dependent output pin. Specifically, the information of the input pin corresponding to the timing-dependent output pin in the second description information is recorded in the description information segment with the name of the target input pin as an identifier. The embodiment considers the capacitance value parameter of the target input pin itself and the capacitance value parameter recorded in the timing-dependent output pin that has an associated impact on the capacitance value parameter of the target input pin by obtaining the capacitance value information of the target input pin given by the first description information and the capacitance value of the target input pin from the second description information. By using more comprehensive data, a more accurate capacitance value estimation result is calculated.

[0068] It can be understood that the pin receiving capacitance lookup table of the timing-dependent output pin itself in the embodiment is the pin receiving capacitance lookup table established with the timing-dependent output pin as the target input pin, which records the variation of the capacitance value of the timing-dependent output pin itself under different index conditions. In addition, the second description information corresponding to the timing-dependent output pin in the library file also includes the pin receiving capacitance lookup table corresponding to the target input pin. The pin receiving capacitance lookup table of the timing-dependent output pin corresponding to the target input pin is used to describe the variation trend of the capacitance value of the target input pin under different working conditions under the influence of the driving or loading of the specific timing-dependent output pin, thereby reflecting the timing-dependent characteristics of the target input pin.

[0069] As an example, the following is a second description information of a timing associated output pin Y corresponding to a target input pin A recorded in a library file, wherein the timing associated output pin Y is an output pin having a connection relationship with the target input pin A, the second description information takes the name of the timing associated output pin as an identifier pin(Y), and contains description information corresponding to the target input pin A in the second description information, the above-mentioned description information corresponding to the target input pin A is stored in the description field of related_pin: A, and the second description information contains a pin receiver capacitance lookup table receiver_capacitance() corresponding to the target input pin A.

[0070] pin(Y){

[0071] direction: output; ....

[0073] timing(){

[0074] related_pin: A

[0075] receiver_capacitance() {

[0076] receiver_capacitance1_rise(template_name){

[0077] index_1(...);

[0078] index_2(...);

[0079] values(..)

[0080] }

[0081] receiver_capacitance1_fall(...){}

[0082] receiver_capacitance2_rise(...){}

[0083] receiver_capacitance2_fall(...){}

[0084] }

[0085] As an optional implementation, the pin-receiver-capacitance lookup table of the target input pin in the first description information and the second description information includes an index variable and a capacitance value corresponding to the index variable, wherein the pin-receiver-capacitance lookup table of the target input pin includes a one-dimensional table or a two-dimensional table, the index variable of the one-dimensional table is an input transition time value of the target input pin, and the index variable of the two-dimensional table is a combination of an input transition time value of the target input pin and an output total load value.

[0086] As an example, the pin-receiver-capacitance lookup table of the target input pin is a one-dimensional table, wherein the index variable of the one-dimensional table is an input transition time value index of the target input pin, and the output value of the one-dimensional table is a capacitance value values corresponding to the input transition time value index of the target input pin.

[0087] receiver_capacitance() {

[0088] receiver_capacitance1_rise (lu_template_name) {

[0089] index ("float,..., float");

[0090] values("float,..., float");

[0091] }

[0092] As an example, the pin-receiver-capacitance lookup table of the target input pin is a two-dimensional table, wherein the index variable of the two-dimensional table is a combination of an input transition time value index_1 of the target input pin and an output total load value index_2, and the output value of the two-dimensional table is a capacitance value values corresponding to the combination of the input transition time value index_1 of the target input pin and the output total load value index_2.

[0093] receiver_capacitance() {

[0094] receiver_capacitance1_rise (lu_template_name) {

[0095] index_1("float,..., float");

[0096] index_2("float,..., float");

[0097] values("float,..., float");

[0098] }

[0099] In some optional embodiments, the S400 described above can include:

[0100] S410, based on the pin-receiving capacitance lookup table of the target input pin contained in the first description information, the input transition time value of the target input pin, or the combination of the input transition time value of the target input pin and the output total load value, calculating and generating a first capacitance value;

[0101] S420, based on the pin-receiving capacitance lookup table corresponding to the target input pin contained in the second description information, the input transition time value of the target input pin, or the combination of the input transition time value of the target input pin and the output total load value, calculating and generating a second capacitance value;

[0102] S430, generating a result capacitance value of the target input pin according to the first capacitance value and the second capacitance value.

[0103] In the embodiment, the corresponding first capacitance value or second capacitance value is obtained by substituting the index parameter into the pin-receiving capacitance lookup table corresponding to the target input pin in the first description information or the second description information, and then the result capacitance value of the target input pin is generated according to the first capacitance value and the second capacitance value. Specifically, in the query process of the first capacitance value or the second capacitance value, if the pin-receiving capacitance lookup table corresponding to the first capacitance value or the second capacitance value is a one-dimensional table, the first capacitance value or the second capacitance value can be queried and generated by substituting the input transition time value of the target input pin into the pin-receiving capacitance lookup table; if the pin-receiving capacitance lookup table corresponding to the first capacitance value or the second capacitance value is a two-dimensional table, the corresponding first capacitance value or second capacitance value can be queried and generated by substituting the combination of the input transition time value of the target input pin and the output total load value into the pin-receiving capacitance lookup table.

[0104] As an example, the process of calculating and generating the first capacitance value is as follows: first, find all pin-receiving capacitance lookup tables corresponding to the target input pin from the library file, specifically, find the corresponding receiver_capacitance field under the description field of the target input pin, and then find the pin-receiving capacitance lookup table of the target input pin recorded in the receiver_capacitance field. Substitute the required index variable, such as the input pin transition time value or the combination of the input transition time value and the output total load value, into the pin-receiving capacitance lookup table of the target input pin, so as to obtain the first capacitance value.

[0105] Correspondingly, the process of calculating the second capacitance value is as follows: first, determine the timing associated output pin corresponding to the target input pin, the timing associated output pin includes the output pin having a connection relationship with the target input pin, then find out the pin-receiving capacitance lookup table corresponding to the target input pin from the description information of the timing associated output pin in the library file, specifically, the pin-receiving capacitance lookup table recording the second capacitance value is usually stored in the timing field of the timing modeling information block in the library file, and the timing modeling information block in the library file contains the name of the corresponding input pin, for example, the description information corresponding to the target input pin A is stored in the description field of related_pin: A, then find out the pin-receiving capacitance lookup table corresponding to the target input pin by searching the receiver_capacitance field in the description information corresponding to the target input pin A in the description information of the timing associated output pin, then after finding the pin-receiving capacitance lookup table, substitute the index variable required by the pin-receiving capacitance lookup table, which can be the input pin transition time value or the combination of the input transition time value and the output total load value, to obtain the second capacitance value.

[0106] As an optional implementation, the pin-receiving capacitance lookup table of the target input pin included in the first description information includes at least two of the rising edge pin-receiving capacitance lookup table, the falling edge pin-receiving lookup table and the segmented pin lookup table, and the first capacitance value includes a rising edge receiving capacitance value calculated according to the rising edge pin-receiving capacitance lookup table, a falling edge receiving capacitance value calculated according to the falling edge pin-receiving capacitance lookup table, and a segmented capacitance value calculated according to the segmented pin lookup table.

[0107] The pin-receiving capacitance lookup table corresponding to the target input pin included in the second description information includes at least two of the rising edge pin-receiving capacitance lookup table, the falling edge pin-receiving lookup table and the segmented pin lookup table, and the second capacitance value includes a rising edge receiving capacitance value calculated according to the rising edge pin-receiving capacitance lookup table, a falling edge receiving capacitance value calculated according to the falling edge pin-receiving capacitance lookup table, and a segmented capacitance value calculated according to the segmented pin lookup table.

[0108] As an example, the pin-receiver-capacitance lookup table of the target input pin in the first description information and the second description information includes a rising edge pin-receiver-capacitance lookup table receiver_capacitance1_rise, receiver_capacitance2_rise, a falling edge pin-receiver-capacitance lookup table receiver_capacitance1_fall, receiver_capacitance2_fall, and a segmented pin lookup table segment: 1, segment: 6, where receiver_capacitance1_rise, receiver_capacitance2_rise are the lookup identifiers of the rising edge pin-receiver-capacitance lookup table, receiver_capacitance1_fall, receiver_capacitance2_fall are the lookup identifiers of the falling edge pin-receiver-capacitance lookup table, and segment is the lookup identifier of the segmented pin lookup table. An example of the second description information is as follows:

[0109] pin (Y) {

[0110] direction : output;

[0111] function : "IQ"; ...

[0113] timing () {

[0114] related_pin : "A";

[0115] when : "E&!TE"; timing_sense : positive_unate;

[0116] receiver_capacitance () {

[0117] receiver_capacitance1_rise ("template_8x1") {

[0118] values("0.11111, 0.22222, 0.33333, 0.44444, 0.55555, \

[0119] 0.66666, 0.77777, 0.88888");

[0120] }

[0121] receiver_capacitance2_rise ("template_8x1") {

[0122] values("0.11111, 0.22222, 0.33333, 0.44444, 0.55555, \

[0123] 0.66666, 0.77777, 0.88888");

[0124] }

[0125] receiver_capacitance1_fall ("template_8x1") {

[0126] values("0.11111, 0.22222, 0.33333, 0.44444, 0.55555, \

[0127] 0.66666, 0.77777, 0.88888");

[0128] }

[0129] receiver_capacitance2_fall ("template_8x1") {

[0130] values("0.11111, 0.22222, 0.33333, 0.44444, 0.55555, \

[0131] 0.66666, 0.77777, 0.88888");

[0132] }

[0133] }

[0134] receiver_capacitance_rise ("delay_template_8x8") {

[0135] segment : 1;

[0136] values("0.11111, 0.22222, 0.33333, 0.44444, \

[0137] 0.55555, 0.66666, 0.77777, 0.88888,..."); ...

[0139] }

[0140] receiver_capacitance_rise ("delay_template_8x8") {

[0141] values("0.11111, 0.22222, 0.33333, 0.44444, \

[0142] 0.55555, 0.66666, 0.77777, 0.88888,...");

[0143] }

[0144] receiver_capacitance_fall ("delay_template_8x8") {

[0145] segment : 1;

[0146] values("0.11111, 0.22222, 0.33333, 0.44444, \

[0147] 0.55555, 0.66666, 0.77777, 0.88888,...");

[0148] } ...

[0150] receiver_capacitance_fall ("delay_template_8x8") {

[0151] segment : 6;

[0152] values("0.11111, 0.22222, 0.33333, 0.44444, \

[0153] 0.55555, 0.66666, 0.77777, 0.88888,...");

[0154] }

[0155] }

[0156] }

[0157] The specific process of searching for the first capacitance value or the second capacitance value according to the rising edge pin receiving capacitance lookup table, the falling edge pin receiving lookup table, and the segmented pin lookup table is as follows: first, the corresponding rising edge pin receiving capacitance lookup table, falling edge pin receiving lookup table, and segmented pin lookup table are found out by traversing the search identifiers of the rising edge pin receiving capacitance lookup table, the search identifiers of the falling edge pin receiving lookup table, and the search identifiers of the segmented pin lookup table in the first description information or the second description information, wherein the corresponding rising edge receiving capacitance value, falling edge receiving capacitance value, and segmented capacitance value are recorded in each rising edge pin receiving capacitance lookup table, falling edge pin receiving lookup table, and segmented pin lookup table, then the corresponding index variables are substituted into the rising edge pin receiving capacitance lookup table, falling edge pin receiving lookup table, and segmented pin lookup table, and the candidate first capacitance value or candidate second capacitance value is calculated, the candidate first capacitance value or candidate second capacitance value includes one or all of the rising edge receiving capacitance value, falling edge receiving capacitance value, and segmented capacitance value, and finally the final first capacitance value or second capacitance value is determined from the candidate first capacitance value or candidate second capacitance value according to the value selection rule input by the user.

[0158] As an optional implementation, the S400 can further include:

[0159] receiving the value selection rule input by the user, the value selection rule including selecting the maximum value, selecting the minimum value, or average calculation;

[0160] in a case where the value selection rule input by the user is selecting the maximum value, selecting the maximum value from the rising edge receiving capacitance value, falling edge receiving capacitance value, and segmented capacitance value as the first capacitance value or second capacitance value;

[0161] in a case where the value selection rule input by the user is selecting the minimum value, selecting the minimum value from the rising edge receiving capacitance value, falling edge receiving capacitance value, and segmented capacitance value as the first capacitance value or second capacitance value;

[0162] in a case where the value selection rule input by the user is average calculation, performing average calculation on the rising edge receiving capacitance value, falling edge receiving capacitance value, and segmented capacitance value, and taking the calculated average value as the first capacitance value or second capacitance value.

[0163] After the rising edge pin receiving capacitance lookup table, the falling edge pin receiving lookup table, and the segmented pin lookup table are searched for the multiple candidate first capacitance values or candidate second capacitance values such as the rising edge receiving capacitance value, falling edge receiving capacitance value, and segmented capacitance value in the embodiment, the value selection rule input by the user is further received, and then the result capacitance value of the target input pin is determined according to the priority order specified by the user from the candidate first capacitance value or second capacitance value.

[0164] In some other embodiments, one of the rising edge capacitance value or the falling edge capacitance value can be determined as the result capacitance value according to the multiple candidate first capacitance values or the multiple candidate second capacitance values found in the capacitance lookup table received from the rising edge pin and the user input value rule, or according to the multiple candidate first capacitance values or the multiple candidate second capacitance values found in the capacitance lookup table received from the falling edge pin and the user input value rule, so as to distinguish the capacitance difference of the target input pin in the rising edge and the falling edge time sequence state, and improve the estimation accuracy.

[0165] The embodiment is directed to the case that multiple pin-received capacitance lookup tables of target input pins exist in the library file, and effectively identifies and selects according to the preset screening rule, solves the problem that the related prior art cannot effectively identify and select the appropriate lookup table in the case that multiple pin-received capacitance lookup tables exist in the library file, thereby avoiding estimation error caused by data conflict or redundancy, and improving the accuracy of dynamic capacitance estimation.

[0166] As an optional implementation, the S400 can further include:

[0167] The first capacitance value and the second capacitance value are compared, and the larger one of the first capacitance value and the second capacitance value is determined as the result capacitance value of the target input pin.

[0168] After the first capacitance value and the second capacitance value are found, all the first capacitance values and the second capacitance values found can be compared, and one with a larger value is determined to generate the result capacitance value of the target input pin.

[0169] As an optional implementation, the S400 can further include:

[0170] A candidate capacitance value set is created, and the first capacitance value, the second capacitance value or the fixed capacitance value recorded in the first description information found in the library file is added to the candidate capacitance value set;

[0171] The candidate capacitance value set is traversed;

[0172] If the first capacitance value exists in the candidate capacitance value set, the first capacitance value is determined as the result capacitance value of the target input pin;

[0173] If the first capacitance value does not exist in the candidate capacitance value, it is further judged whether the second capacitance value exists in the candidate capacitance value, if yes, the second capacitance value is determined as the result capacitance value of the target input pin;

[0174] If the first capacitance value and the second capacitance value do not exist in the candidate capacitance value, the fixed capacitance value is determined as the result capacitance value of the target input pin.

[0175] The embodiment determines the result capacitance value according to the priority order set by the user, returns immediately after obtaining the matched data, and does not run all data, thus having the beneficial effects of fast calculation speed and high efficiency.

[0176] As an optional implementation, after S400, the method further includes:

[0177] obtaining the rising edge Miller capacitance value and the falling edge Miller capacitance value from the first description information or the second description information;

[0178] obtaining the Miller capacitance influence factor, and calculating the Miller capacitance value according to the product of the sum of the rising edge Miller capacitance value and the falling edge Miller capacitance value and the Miller capacitance influence factor;

[0179] adding the Miller capacitance value to the result capacitance value of the target input pin to obtain a corrected capacitance value, and updating the result capacitance value of the target input pin using the corrected capacitance value.

[0180] In some implementations, the Miller capacitance value of the target input pin in the rising edge and the falling edge switching process can be parsed from the first description information or the second description information. Specifically, first, find the first description information or the second description information in each timing modeling information block timing field in the pin description information of the library file, and then extract the capacitance values recorded in the rising edge Miller capacitance value field miller_cap_rise and the falling edge Miller capacitance value field miller_cap_fall in the first description information or the second description information as the rising edge Miller capacitance value and the falling edge Miller capacitance value, respectively. In some implementations, the rising edge Miller capacitance value field miller_cap_rise and the falling edge Miller capacitance value field miller_cap_fall are recorded in the first-stage modeling block ccsn_first_stage. For example, in the following exemplary description information, the capacitance value recorded in the rising edge Miller capacitance value field miller_cap_rise is 0.00136423, indicating that the Miller capacitance value of the target input pin in the rising edge is 0.00136423, and similarly, the capacitance value recorded in the falling edge Miller capacitance value field miller_cap_fall is 0.00134675, indicating that the Miller capacitance value of the pin in the falling edge is 0.00134675.

[0181] pin (Y) {

[0182] direction : output;

[0183] function : "IQ";

[0184] timing () {

[0185] related_pin : "A";

[0186] ccsn_first_stage () {

[0187] is_inverting : true;

[0188] is_needed : true;

[0189] miller_cap_fall : 0.00134675;

[0190] miller_cap_rise : 0.00136423;

[0191] stage_type : both;

[0192] }

[0193] }

[0194] }

[0195] After obtaining the rising edge Miller capacitance value and the falling edge Miller capacitance value, the Miller capacitance value is calculated according to the product of the sum of the rising edge Miller capacitance value and the falling edge Miller capacitance value and the Miller capacitance influence factor. Specifically, first, the Miller capacitance influence factor set by the user is obtained, and if the user does not set, the default value 0.5 is used. Then, the Miller capacitance value corresponding to the target input pin is calculated according to the following calculation formula: MillerCap = factor × (miller_cap_rise + miller_cap_fall) / 2. Finally, the calculated Miller capacitance value is added to the existing result capacitance value of the target input pin to obtain a corrected pin capacitance value. Finally, the corrected capacitance value is used to update the result capacitance value of the target input pin, so as to more accurately represent the capacitance change in the circuit switching process, thereby improving the accuracy of the input pin capacitance estimation.

[0196] Based on the same inventive concept, the application also provides a pin capacitance estimation capacitance lookup table processing device. Details will be described below with reference to the specific embodiments of the pin capacitance estimation capacitance lookup table processing device. Figure 3 .

[0197] As shown in Figure 3 , the pin capacitance estimation capacitance lookup table processing device can include:

[0198] The query module 301 is configured to determine the target input pin specified by the user in response to the target input pin capacitance value calculation instruction triggered by the user.

[0199] The first description information searching module 302 is configured to search for first description information corresponding to the target input pin in the library file, the first description information taking the name of the target input pin as an identifier, and the first description information containing a fixed capacitance value field of the target input pin or a pin-receiving capacitance lookup table of the target input pin.

[0200] The second description information searching module 303 is configured to determine a timing-associated output pin corresponding to the target input pin, search for second description information corresponding to the timing-associated output pin in the library file, the second description information taking the name of the timing-associated output pin as an identifier, and the second description information containing a pin-receiving capacitance lookup table corresponding to the target input pin.

[0201] The resultant capacitance value generating module 304 is configured to generate a resultant capacitance value of the target input pin according to the first description information and the second description information.

[0202] The pin capacitance estimation capacitance lookup table processing apparatus is described in detail as follows.

[0203] In some embodiments, the pin capacitance estimation capacitance lookup table processing apparatus can further include:

[0204] The first capacitance value calculating module is configured to calculate and generate a first capacitance value based on the pin-receiving capacitance lookup table of the target input pin contained in the first description information, the input transition time value of the target input pin, or a combination of the input transition time value of the target input pin and the output total load value.

[0205] The second capacitance value calculating module is configured to calculate and generate a second capacitance value based on the pin-receiving capacitance lookup table corresponding to the target input pin contained in the second description information, the input transition time value of the target input pin, or a combination of the input transition time value of the target input pin and the output total load value.

[0206] The resultant capacitance value generating module is configured to generate a resultant capacitance value of the target input pin according to the first capacitance value and the second capacitance value.

[0207] In some embodiments, the pin capacitance estimation capacitance lookup table processing apparatus can further include:

[0208] The value rule receiving module is configured to receive a value rule input by a user, the value rule including selecting a maximum value, selecting a minimum value, or average calculation.

[0209] The maximum value calculating module is configured to, in a case where the value rule input by the user is selecting a maximum value, select a maximum value from the rising edge receiving capacitance value, the falling edge receiving capacitance value, and the segmented capacitance value as the first capacitance value or the second capacitance value.

[0210] a minimum value calculation module, configured to select a minimum value from the rising edge received capacitance value, the falling edge received capacitance value and the segmented capacitance value as the first capacitance value or the second capacitance value in a case where the value selection rule input by the user is to select a minimum value;

[0211] an average calculation module, configured to perform average calculation on the rising edge received capacitance value, the falling edge received capacitance value and the segmented capacitance value, and take the calculated average value as the first capacitance value or the second capacitance value in a case where the value selection rule input by the user is to perform average calculation.

[0212] In some embodiments, the capacitance lookup table processing apparatus for pin capacitance estimation can further include:

[0213] a comparison module, configured to compare the first capacitance value and the second capacitance value, and determine the larger one of the first capacitance value and the second capacitance value as the result capacitance value of the target input pin.

[0214] In some embodiments, the capacitance lookup table processing apparatus for pin capacitance estimation can further include:

[0215] a candidate capacitance value set creation module, configured to create a candidate capacitance value set, and add the first capacitance value, the second capacitance value or the fixed capacitance value recorded in the first description information found in the library file into the candidate capacitance value set;

[0216] a traversal module, configured to traverse the candidate capacitance value set;

[0217] a first capacitance value determination module, configured to determine the first capacitance value as the result capacitance value of the target input pin if the first capacitance value exists in the candidate capacitance value set;

[0218] a second capacitance value determination module, configured to further determine whether the second capacitance value exists in the candidate capacitance value set if the first capacitance value does not exist in the candidate capacitance value set, and determine the second capacitance value as the result capacitance value of the target input pin if the second capacitance value exists;

[0219] a fixed capacitance value determination module, configured to determine the fixed capacitance value as the result capacitance value of the target input pin if neither the first capacitance value nor the second capacitance value exists in the candidate capacitance value set.

[0220] In some embodiments, the capacitance lookup table processing apparatus for pin capacitance estimation can further include:

[0221] a Miller capacitance value acquisition module, configured to acquire the rising edge Miller capacitance value and the falling edge Miller capacitance value from the first description information or the second description information;

[0222] The Miller capacitance influence factor acquisition module is configured to acquire a Miller capacitance influence factor, and calculate a Miller capacitance value according to a product of a sum of a rising edge Miller capacitance value and a falling edge Miller capacitance value and the Miller capacitance influence factor.

[0223] The corrected capacitance value calculation module is configured to add the Miller capacitance value to a result capacitance value of the target input pin to obtain a corrected capacitance value, and update the result capacitance value of the target input pin by using the corrected capacitance value.

[0224] Figure 4 A hardware structure schematic diagram of a pin capacitance estimation capacitance lookup table processing device provided by an embodiment of the present application is shown. The pin capacitance estimation capacitance lookup table processing device includes a processor 401 and a memory 402 storing computer program instructions. Specifically, the processor 401 can include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0225] The memory 402 can include a mass storage for data or instructions. By way of example and not limitation, the memory 402 can 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. Where appropriate, the memory 402 can include removable or non-removable (or fixed) media. Where appropriate, the memory 402 can be internal or external to the pin capacitance estimation capacitance lookup table processing device. In a particular embodiment, the memory 402 is non-volatile solid-state memory.

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

[0227] The processor 401 implements any one of the pin capacitance estimation capacitance lookup table processing methods in the above-described embodiments by reading and executing the computer program instructions stored in the memory 402.

[0228] In one example, the pin capacitance estimation capacitance lookup table processing device can further include a communication interface 403 and a bus 410. As shown in Figure 4 the processor 401, the memory 402, and the communication interface 403 are connected through the bus 410 and complete communication with each other.

[0229] The communication interface 403 is mainly used to realize the communication between the modules, devices, units and / or equipment in the embodiments of the present application.

[0230] The bus 410 includes hardware, software or both to couple the components of the pin capacitance estimation capacitance lookup table processing device to each other. By way of example, and not limitation, the bus can include an accelerated graphics port (AGP) or other graphics bus, an enhanced industry standard architecture (EISA) bus, a frontside 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 another suitable bus or combination of two or more of these. Where appropriate, the bus 410 can include one or more buses. Although the present embodiments describe and show a particular bus, the present application contemplates any suitable bus or interconnect.

[0231] The pin capacitance estimation capacitance lookup table processing device can be based on the pin capacitance estimation capacitance lookup table processing method, so as to realize the pin capacitance estimation capacitance lookup table processing method and device described in combination Figures 1 to 3 with the above embodiments.

[0232] In addition, in combination with the pin capacitance estimation capacitance lookup table processing method in the above embodiments, the present embodiments can provide a computer storage medium to realize. The computer storage medium has computer program instructions stored thereon; the computer program instructions are executed by a processor to realize any one of the pin capacitance estimation capacitance lookup table processing methods in the above embodiments.

[0233] In addition, the present embodiments also provide a computer program product, including a computer program, which can realize the steps and corresponding contents of the above method embodiments when executed by a processor.

[0234] In addition, the term "and / or" herein is only to describe the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent the three cases of A alone, A and B together, and B alone. In addition, the character " / " herein generally represents an "or" relationship between the front and rear associated objects.

[0235] 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 the determination of B according to A does not mean that B is determined only according to A, but B can also be determined according to A and / or other information.

[0236] The above merely describes specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present application, and these modifications or replacements should be encompassed within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A capacitance lookup table processing method for pin capacitance estimation, characterized in that, The method comprises the following steps: In response to a user-triggered target input pin capacitance value calculation instruction, a user-specified target input pin is determined; First description information corresponding to the target input pin is searched for in a library file, the first description information taking the name of the target input pin as an identifier, and the first description information containing a fixed capacitance value field of the target input pin or a pin-received capacitance lookup table of the target input pin; A timing-associated output pin corresponding to the target input pin is determined, and second description information corresponding to the timing-associated output pin is searched for in the library file, the second description information taking the name of the timing-associated output pin as an identifier, and the second description information containing a pin-received capacitance lookup table corresponding to the target input pin, wherein the pin-received capacitance lookup tables of the target input pin in the first description information and the second description information comprise an index variable and a capacitance value corresponding to the index variable, and the pin-received capacitance lookup table of the target input pin comprises a one-dimensional table or a two-dimensional table, the index variable of the one-dimensional table being an input transition time value of the target input pin, and the index variable of the two-dimensional table being a combination of the input transition time value of the target input pin and an output total load value; The result capacitance value of the target input pin is generated according to the first description information and the second description information, comprising: generating a first capacitance value based on the pin-received capacitance lookup table of the target input pin contained in the first description information, the input transition time value of the target input pin, or the combination of the input transition time value of the target input pin and the output total load value; generating a second capacitance value based on the pin-received capacitance lookup table corresponding to the target input pin contained in the second description information, the input transition time value of the target input pin, or the combination of the input transition time value of the target input pin and the output total load value; and generating the result capacitance value of the target input pin according to the first capacitance value and the second capacitance value.

2. The pin capacitance estimation capacitance lookup table processing method according to claim 1, wherein: The pin-received capacitance lookup table of the target input pin contained in the first description information comprises at least two of a rising edge pin-received capacitance lookup table, a falling edge pin-received lookup table, and a segmented pin lookup table, and the first capacitance value comprises a rising edge received capacitance value calculated according to the rising edge pin-received capacitance lookup table, a falling edge received capacitance value calculated according to the falling edge pin-received capacitance lookup table, and a segmented capacitance value calculated according to the segmented pin lookup table. The pin-receiving capacitance lookup table corresponding to the target input pin included in the second description information comprises at least two of a rising edge pin-receiving capacitance lookup table, a falling edge pin-receiving lookup table, and a segmented pin lookup table, and the second capacitance value comprises the rising edge receiving capacitance value calculated according to the rising edge pin-receiving capacitance lookup table, the falling edge receiving capacitance value calculated according to the falling edge pin-receiving capacitance lookup table, and the segmented capacitance value calculated according to the segmented pin lookup table.

3. The method of claim 2, wherein, The generating of the result capacitance value of the target input pin according to the first description information and the second description information comprises: receiving a user input value rule, the value rule comprising selecting a maximum value, selecting a minimum value, or average calculation; in the case that the user input value rule is selecting a maximum value, selecting a maximum value from the rising edge receiving capacitance value, the falling edge receiving capacitance value, and the segmented capacitance value as the first capacitance value or the second capacitance value; in the case that the user input value rule is selecting a minimum value, selecting a minimum value from the rising edge receiving capacitance value, the falling edge receiving capacitance value, and the segmented capacitance value as the first capacitance value or the second capacitance value; in the case that the user input value rule is average calculation, performing average calculation on the rising edge receiving capacitance value, the falling edge receiving capacitance value, and the segmented capacitance value, and taking the calculated average value as the first capacitance value or the second capacitance value.

4. The method of claim 1, wherein, The generating of the result capacitance value of the target input pin according to the first description information and the second description information comprises:

5. The method of claim 1, wherein, comparing the first capacitance value and the second capacitance value, and determining the larger one of the first capacitance value and the second capacitance value as the result capacitance value of the target input pin. The generating of the result capacitance value of the target input pin according to the first description information and the second description information comprises: creating a candidate capacitance value set, and adding the first capacitance value, the second capacitance value, or a fixed capacitance value recorded in the first description information found in the library file into the candidate capacitance value set; traversing the candidate capacitance value set; if there is a first capacitance value in the candidate capacitance value set, determining the first capacitance value as the result capacitance value of the target input pin; if there is no first capacitance value in the candidate capacitance value set, further determining whether there is a second capacitance value in the candidate capacitance value set, and if there is, determining the second capacitance value as the result capacitance value of the target input pin; 6. The method of claim 1, wherein, if there is no first capacitance value and no second capacitance value in the candidate capacitance value set, determining the fixed capacitance value as the result capacitance value of the target input pin. After the generating of the result capacitance value of the target input pin according to the first description information and the second description information, further comprising: obtaining a rising edge Miller capacitance value and a falling edge Miller capacitance value from the first description information or the second description information; An Miller capacitance influence factor is obtained, and a Miller capacitance value is calculated according to a product of a sum of the rising edge Miller capacitance value and the falling edge Miller capacitance value and the Miller capacitance influence factor; A corrected capacitance value is obtained by adding the Miller capacitance value to a result capacitance value of the target input pin, and the result capacitance value of the target input pin is updated using the corrected capacitance value.

7. A pin capacitance estimation capacitance lookup table processing device, characterized by, The method comprises the following steps: A query module is configured to determine a target input pin specified by a user in response to a user-triggered target input pin capacitance value calculation instruction; A first description information finding module is configured to find first description information corresponding to the target input pin in a library file, the first description information taking a name of the target input pin as an identifier, and the first description information containing a fixed capacitance value field of the target input pin or a pin-received capacitance lookup table of the target input pin; A second description information finding module is configured to determine a timing-related output pin corresponding to the target input pin, find second description information corresponding to the timing-related output pin in the library file, the second description information taking a name of the timing-related output pin as an identifier, and the second description information containing a pin-received capacitance lookup table corresponding to the target input pin, wherein the pin-received capacitance lookup tables of the target input pin in the first description information and the second description information comprise index variables and capacitance values corresponding to the index variables, and the pin-received capacitance lookup table of the target input pin comprises a one-dimensional table or a two-dimensional table, the index variable of the one-dimensional table being an input transition time value of the target input pin, and the index variables of the two-dimensional table being a combination of the input transition time value of the target input pin and an output total load value; A result capacitance value generation module is configured to generate a result capacitance value of the target input pin according to the first description information and the second description information, comprising: generating a first capacitance value based on the pin-received capacitance lookup table of the target input pin contained in the first description information, the input transition time value of the target input pin, or the combination of the input transition time value of the target input pin and the output total load value; generating a second capacitance value based on the pin-received capacitance lookup table corresponding to the target input pin contained in the second description information, the input transition time value of the target input pin, or the combination of the input transition time value of the target input pin and the output total load value; and generating the result capacitance value of the target input pin according to the first capacitance value and the second capacitance value.

8. A pin capacitance estimation capacitance lookup table processing device, characterized by, The method comprises the following steps: a processor and a memory storing computer program instructions; the processor executes the computer program instructions to implement the steps of the pin capacitance estimation capacitance lookup table processing method according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, the computer program instructions stored on the computer readable storage medium are executed by the processor to implement the steps of the pin capacitance estimation capacitance lookup table processing method according to any one of claims 1-6.

10. A computer program product, characterised in that, The instructions in the computer program product, when executed by a processor, implement the steps of the pin capacitance estimation capacitance lookup table processing method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Dynamic power consumption optimization method, electronic equipment and storage medium

    CN120373241A

  • Integrated learning-based parasitic capacitance estimation method in pre-layout stage

    CN120012702A

  • System and method for accurate modeling of back-miller effect in timing analysis of digital circuits

    US9928324B1