CN118551715B - A circuit processing method, device and electronic device for analyzing circuit performance - Google Patents
A circuit processing method, device and electronic device for analyzing circuit performance Download PDFInfo
- Publication number
- CN118551715B CN118551715B CN202410982594.4A CN202410982594A CN118551715B CN 118551715 B CN118551715 B CN 118551715B CN 202410982594 A CN202410982594 A CN 202410982594A CN 118551715 B CN118551715 B CN 118551715B
- Authority
- CN
- China
- Prior art keywords
- network
- matrix
- circuit
- compressed
- sub
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/36—Circuit design at the analogue level
- G06F30/367—Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
Abstract
The application relates to a circuit processing method, electronic equipment and storage medium for analyzing circuit performance, wherein the method comprises the following steps of dividing an RC network to be analyzed into at least one sub-network according to the circuit communication relation of the RC network to be analyzed, wherein the sub-network is provided with a preset number of ports, and a preset circuit model is a circuit model with the preset number of ports; and compressing at least one sub-network based on a preset circuit model to obtain a compressed network corresponding to the RC network to be analyzed. According to the technical scheme, the RC network to be analyzed is compressed based on the circuit connection relation, the complexity of the RC network to be analyzed is reduced, the efficiency of analyzing the circuit performance is improved, meanwhile, the RC network is compressed in a mode of compressing the sub-network based on the preset circuit model with the same port number as the sub-network, and the accuracy of analyzing the circuit performance can be ensured.
Description
Technical Field
The present application relates to the field of integrated circuits, and in particular, to a circuit processing method, apparatus, electronic device, and storage medium for analyzing circuit performance.
Background
With technological progress, chip design has entered into the nanometer-scale era, the number of transistors integrated on a single chip can reach 10-12 orders of magnitude, and how to realize more powerful functions and higher efficiency in a tiny chip becomes an important issue in chip design. Taking circuit power consumption as an example, power consumption management is a very important consideration in the chip design process. High power consumption can not only cause the chip to heat up, affecting its performance and reliability, but can also limit its usable operating frequency and battery life. Therefore, the circuit performance analysis and calculation are the basis of chip design optimization, and the chip can be ensured to meet the design requirement only by mastering an accurate performance analysis means.
Because of the complexity of modern integrated circuit designs, accurate performance analysis models often require significant computational resources and time, while performance optimization processes require rapid feedback of performance analysis results, such that performance analysis requires a balance between accuracy and efficiency. Therefore, there is a need for an analysis scheme that can improve computational efficiency while also having higher accuracy.
Disclosure of Invention
In view of the above technical problems, the present application provides a circuit processing method, apparatus, electronic device, and storage medium for analyzing circuit performance, which can improve efficiency of analyzing circuit performance and ensure accuracy of analyzing circuit performance.
In order to solve the above technical problems, the present application provides a circuit processing method for analyzing circuit performance, the method comprising the following steps:
Dividing the RC network to be analyzed into at least one sub-network according to the circuit communication relation of the RC network to be analyzed, wherein the sub-network is provided with a preset number of ports, and the preset circuit model is a circuit model with the preset number of ports;
and compressing at least one sub-network based on a preset circuit model to obtain a compressed network corresponding to the RC network to be analyzed.
In some embodiments, the method further comprises:
and carrying out power consumption analysis on the compression network.
In some embodiments, the dividing the RC network to be analyzed into at least one sub-network according to the circuit connectivity relationship of the RC network to be analyzed includes:
And according to the circuit connection relation of the RC network to be analyzed, respectively taking the parts which are not in connection relation with each other in the RC network to be analyzed as a sub-network so as to divide the sub-network into at least one sub-network.
In some embodiments, the compressing at least one sub-network based on a preset circuit model to obtain a compressed network corresponding to the RC network to be analyzed includes:
Compressing a sub-network to be compressed based on the preset circuit model, and determining compressed first circuit information of the sub-network to be compressed;
And determining second circuit information of the compression network according to the compressed first circuit information of each sub-network to be compressed.
In some embodiments, the compressing the sub-network to be compressed based on the preset circuit model, and determining the compressed first circuit information of the sub-network to be compressed includes:
determining a conductance matrix and a capacitance matrix of the sub-network to be compressed;
And performing reduced-order processing on the conductance matrix and the capacitance matrix based on the preset circuit model, and determining compressed first circuit information of the sub-network to be compressed.
In some embodiments, the determining the conductance matrix and the capacitance matrix of the sub-network to be compressed comprises:
And determining a linear time independent system equation corresponding to the sub-network to be compressed according to the port number and the circuit structure information of the sub-network to be compressed, wherein the linear time independent system equation comprises a conductance matrix and a capacitance matrix of the sub-network to be compressed.
In some embodiments, the step-down processing the conductance matrix and the capacitance matrix based on the preset circuit model, determining the compressed first circuit information of the sub-network to be compressed includes:
performing reduced-order processing on the conductance matrix and the capacitance matrix based on a projection matrix;
determining an admittance matrix function corresponding to the reduced conductance matrix and the capacitor matrix;
Determining compressed first circuit information of the sub-network to be compressed according to the admittance matrix function;
Determining second circuit information of the compressed network according to the compressed first circuit information of each sub-network to be compressed, including:
Determining circuit structure information corresponding to the preset circuit model according to the first circuit information;
And determining second circuit information of the compression network according to the circuit structure information of the preset circuit model corresponding to each sub-network to be compressed.
In some embodiments, before the step-down processing is performed on the conductance matrix and the capacitance matrix based on the preset circuit model to determine the compressed first circuit information of the sub-network to be compressed, the method further includes:
Rearranging elements in the conductance matrix and the capacitance matrix, so that the elements of the conductance matrix and the capacitance matrix corresponding to the description internal nodes of the sub-network to be compressed are located in a first preset area in the corresponding matrix, and the elements of the conductance matrix and the capacitance matrix corresponding to the description port nodes of the sub-network to be compressed are located in a second preset area in the corresponding matrix;
And/or, before the rearranging the elements of the conductance matrix and the capacitance matrix, the method further comprises:
the linear time independent system equation is converted to the frequency domain.
In some embodiments, after converting the linear time independent system equation to the frequency domain and rearranging the elements in the conductance matrix and the capacitance matrix, the system equation expression is as follows:
Wherein, Is an element describing an internal node,Is an element describing a port node,,,,In order for the sub-matrix to be compressed,For sub-matrices that do not require compression,O representsA zero matrix of the dimensions is used,Is the current at the input port;
the projection matrix is represented as follows:
Wherein, Is an identity matrix;
Performing reduced-order processing on the conductance matrix based on the projection matrix to obtain a reduced-order conductance matrix The expression is as follows:
Performing reduced-order processing on the capacitance matrix based on the projection matrix to obtain a reduced-order capacitance matrix The expression is as follows:
Wherein, ;
An admittance matrix function corresponding to the reduced conductance matrix and the capacitance matrix has the following characteristicsDimensional form:
Wherein, Is the inverse of the resistance,Is a capacitor.
The present application also provides a circuit processing apparatus for analyzing circuit performance, comprising:
The sub-network determining module is used for dividing the RC network to be analyzed into at least one sub-network according to the circuit connection relation of the RC network to be analyzed;
And the compression module is used for carrying out compression processing on at least one sub-network based on a preset circuit model so as to obtain a compression network corresponding to the RC network to be analyzed.
The application also provides an electronic device comprising a storage medium and a controller, characterized in that the storage medium has stored thereon a computer program which, when executed by the controller, implements the steps of the circuit processing method for analysing circuit performance as described above.
The present application also provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a circuit processing method for analysing circuit performance as described above.
The circuit processing method, the electronic equipment and the storage medium for analyzing the circuit performance comprise the steps of dividing an RC network to be analyzed into at least one sub-network according to the circuit connection relation of the RC network to be analyzed, wherein the sub-network is provided with a preset number of ports, a preset circuit model is a circuit model with the preset number of ports, compressing the at least one sub-network based on the preset circuit model to obtain a compressed network corresponding to the RC network to be analyzed, and analyzing the compressed network. According to the technical scheme, the RC network to be analyzed is compressed based on the circuit connection relation, the complexity of the RC network to be analyzed is reduced, the efficiency of analyzing the circuit performance is improved, meanwhile, the RC network is compressed in a mode of compressing the sub-network based on the preset circuit model, and the accuracy of analyzing the circuit performance can be guaranteed.
Drawings
FIG. 1 is a flow diagram illustrating a circuit processing method for analyzing circuit performance according to one embodiment.
Fig. 2 is a schematic diagram of an RC network to be analyzed, according to one embodiment.
Fig. 3 is a schematic diagram illustrating a predetermined circuit model according to an embodiment.
FIG. 4 is a schematic diagram illustrating another predetermined circuit model according to an embodiment.
Fig. 5 is a schematic diagram of a conductivity matrix shown according to an embodiment.
Fig. 6 is a schematic diagram of a capacitive matrix shown according to an embodiment.
Fig. 7 is a schematic diagram of a rearranged conductance matrix, according to one embodiment.
Fig. 8 is a schematic diagram of a rearranged capacitive matrix, according to an embodiment.
Fig. 9 is a schematic diagram of a projection matrix shown according to an embodiment.
FIG. 10 is a comparative schematic of analysis results shown according to one embodiment.
FIG. 11 is a comparative schematic diagram showing another analysis result according to an embodiment.
Fig. 12 is a schematic diagram showing a structure of a circuit processing apparatus for analyzing circuit performance according to an embodiment.
Detailed Description
In order that the invention may be readily understood, a more complete description of the invention will be rendered by reference to the appended drawings. The drawings illustrate preferred embodiments of the invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items. In the present invention, "each" includes one and two or more numbers.
FIG. 1 is a flow diagram illustrating a circuit processing method for analyzing circuit performance according to one embodiment. As shown in fig. 1, the circuit processing method for analyzing circuit performance of the present application comprises the steps of:
S1, dividing an RC network to be analyzed into at least one sub-network according to a circuit connection relation of the RC network to be analyzed;
s2, compressing at least one sub-network based on a preset circuit model to obtain a compressed network corresponding to the RC network to be analyzed.
The RC network to be analyzed may be a power RC network under a package structure or at a PCB level (Printed circuit board ), or may be another RC network to be analyzed. Fig. 2 is a schematic diagram of an RC network to be analyzed, specifically, a power RC network, including a power supply network (VDD) and a ground network (VSS), but the RC network to be analyzed is not limited thereto.
The sub-network of the RC-network to be analyzed may be the RC-network to be analyzed itself, i.e. the whole RC-network to be analyzed corresponds to one sub-network. The sub-network of the RC network to be analyzed may also be a circuit network in the RC network to be analyzed, that is, the RC network to be analyzed is divided into more than one circuit network, and at least one of the divided circuit networks is used as the sub-network. The RC network is compressed in a mode of compressing the sub-network based on a preset circuit model, so that the analysis precision can be ensured.
In some embodiments, the sub-network has a preset number of ports, and the preset number of ports may be set according to needs, for example, two ports and three ports, which are preferred in this embodiment. The preset circuit model is a circuit model with a preset number of ports, that is, the number of ports of the preset circuit model is the same as the number of ports of the sub-network, and the complexity of the compressed RC network and the compression efficiency are determined by the selection of the preset circuit model.
In some embodiments, the preset circuit model may select a double-T model as shown in fig. 3, or a circuit model having three ports as shown in fig. 4, and the preset circuit model is not limited thereto according to the number of ports selected. Preferably, the sub-network selects a two-port network, and the preset circuit model selects a double-T model, so that the compression process is simpler, the compressed RC network has proper node number, and the efficiency and the precision of analyzing the circuit performance can be better considered. In some embodiments, a power consumption analysis or other circuit performance analysis may be performed on the compressed network.
The preset circuit models corresponding to different sub-networks can be the same or different, so that a proper preset circuit model can be selected according to the circuit information of the sub-networks, and analysis efficiency and analysis precision are considered.
According to the complexity of different sub-networks, all the sub-networks can be compressed, and part of the sub-networks can be compressed, so that the compression is not needed for the sub-networks with lower complexity, the compression speed is improved, and meanwhile, the analysis precision can be further ensured. When compression processing is performed on all the sub-networks, all the compressed sub-networks form a compression network. When the partial sub-networks are compressed, the sub-networks which are not compressed and the sub-networks which are compressed form a compressed network.
The RC network to be analyzed is divided according to the circuit connection relation of the RC network to be analyzed, so that the compression results of the sub-networks are more in line with the circuit connection relation of the original network, and the compression accuracy is improved. The RC network is provided with a plurality of current paths, the current paths can be mutually communicated, current can flow between different paths, the current paths can be not mutually communicated, no current flows between the current paths which are not mutually communicated, and a circuit communication relationship is used for indicating whether the current paths are mutually communicated.
In some embodiments, the user-specified io ports that need to be reserved are obtained, and the RC network to be analyzed is partitioned according to the number and distribution of ports.
In some embodiments, dividing the RC network to be analyzed into at least one subnetwork according to a circuit connectivity relationship of the RC network to be analyzed, comprising:
According to the circuit connection relation of the RC network to be analyzed, the parts which are not connected with each other in the RC network to be analyzed are respectively used as a sub-network so as to divide the sub-network into at least one sub-network.
The io port is reserved according to the circuit connection relation of the RC network to be analyzed, and each sub-network is correspondingly provided with the io port. Taking the RC network shown in fig. 2 as an example, after circuit division, VDD and VSS are respectively used as a sub-network, and are both two-port networks. The part without the communication relation refers to that no current flows between the two part networks, and the part without the communication relation in the RC network to be analyzed is respectively used as a sub-network, so that the compression processes of different sub-networks can be mutually decoupled, and the compression process is simplified.
In some embodiments, compressing at least one sub-network based on a preset circuit model to obtain a compressed network corresponding to the RC network to be analyzed includes:
compressing the sub-network to be compressed based on a preset circuit model, and determining compressed first circuit information of the sub-network to be compressed;
and determining second circuit information of the compressed network according to the compressed first circuit information of each sub-network.
And respectively compressing the sub-networks to be compressed to obtain compressed first circuit information of the sub-networks to be compressed. The first circuit information refers to mathematical information generated in the compression process for describing the corresponding circuit, and may be, for example, matrix, resistance, capacitance, conductance, and the like. The second circuit information is circuit structure information including resistance, capacitance and connection relation thereof, that is, the second circuit information is information which is processed according to mathematical information generated in the compression process and can represent the resistance, capacitance and connection relation thereof of the compression circuit.
When compression processing is carried out on all the sub-networks, second circuit information of the compression network is determined according to the first circuit information of all the compressed sub-networks. When compression processing is performed on a part of the sub-networks, the circuit configuration information of the sub-networks which are not compressed and the first circuit information of the sub-networks which are compressed determine the second circuit information of the compressed network. And (3) obtaining a netlist file for describing the compressed network according to the second circuit information of the compressed network, and performing required analysis by utilizing the netlist file corresponding to the compressed network based on the step (S3) to realize analysis of the RC network to be analyzed.
In some embodiments, compressing the sub-network to be compressed based on a preset circuit model, determining compressed first circuit information of the sub-network to be compressed includes:
s21, determining a conductance matrix and a capacitance matrix of a sub-network to be compressed;
S22, performing reduced-order processing on the conductance matrix and the capacitance matrix based on a preset circuit model, and determining compressed first circuit information of the sub-network to be compressed.
The method comprises the steps of carrying out reduced order processing on the conductance matrix and the capacitance matrix, and reducing the number of nodes of the sub-network to be compressed to the number of nodes corresponding to a preset circuit model, so that the number of nodes of the RC network to be analyzed is reduced, the complexity of a circuit is reduced, the analysis can be completed in a short time, and the analysis efficiency is improved.
In some embodiments, the conductance matrix is a symmetric non-negative definite matrix and the capacitance matrix is a diagonal matrix of capacitances to ground.
In some embodiments, S21, determining the conductance matrix and the capacitance matrix of the sub-network to be compressed includes:
And determining a linear time independent system equation corresponding to the sub-network to be compressed according to the port number and the circuit structure information of the sub-network to be compressed, wherein the linear time independent system equation comprises a conductance matrix and a capacitance matrix of the sub-network to be compressed.
Wherein, according to the circuit structure information, the following linear time independent system equation (LINEAR TIME-invariant, LTI) is generated for each sub-network to be compressed:
Wherein, Is a conductance matrix, a symmetrical non-negative definite matrix,Representing the voltage at the node and,Is a diagonal matrix of capacitances to ground (i.e. a capacitance matrix),Is the current at the input port and,Is the correlation matrix of the input port current and the nodes, p is the number of ports, p=2 in the equation of the two-port network, n is equal to the number of nodes, and t represents time.
In some embodiments, the linear time independent system equation may be converted to the frequency domain as follows:
Where s represents an argument in the frequency domain. After the conversion to the frequency domain, the expression of the equation is simpler, and the calculation process can be further simplified. The conductance matrix and the capacitance matrix are unchanged when the frequency domain is converted.
In some embodiments, S22, performing reduced-order processing on the conductance matrix and the capacitance matrix based on a preset circuit model, determining compressed first circuit information of the sub-network to be compressed, including:
Performing reduced-order processing on the conductance matrix and the capacitance matrix according to the projection matrix;
determining an admittance matrix function corresponding to the reduced conductance matrix and the capacitor matrix;
And determining compressed first circuit information of the sub-network to be compressed according to the admittance matrix function.
In some embodiments, determining second circuit information of the compressed network from the compressed first circuit information of each sub-network to be compressed includes:
determining circuit structure information corresponding to a preset circuit model according to the first circuit information;
And determining second circuit information of the compression network according to the circuit structure information of the preset circuit model corresponding to each sub-network to be compressed.
Wherein the projection matrix is used for performing reduced order processing on the conductance matrix and the capacitance matrix, so that after the conductance matrix and the capacitance matrix are reduced in order, an admittance matrix functionThe order reduction is also performed, and information in the admittance matrix function after the order reduction can be extracted as the first circuit information, and in this embodiment, the information used as the first circuit information in the admittance matrix function after the order reduction includes a conductance value and a capacitance value.
According to the information of the admittance matrix function, the circuit structure information corresponding to the preset circuit model can be determined, and the circuit structure information corresponding to the preset circuit model is equivalent to the compressed circuit structure information of the sub-network to be compressed.
In some embodiments, to further reduce the complexity of the calculation, S22 performs a reduced-order process on the conductance matrix and the capacitance matrix based on a preset circuit model, and before determining the compressed first circuit information of the sub-network to be compressed, the method further includes:
Rearranging elements in the conductance matrix and the capacitance matrix, so that the elements of the conductance matrix and the capacitance matrix corresponding to the description internal nodes of the sub-network to be compressed are located in a first preset area in the corresponding matrix, and the elements of the conductance matrix and the capacitance matrix corresponding to the description port nodes of the sub-network to be compressed are located in a second preset area in the corresponding matrix.
After rearranging the conductance matrix and the capacitance matrix, the system equation expression is as follows:
Wherein, Is an internal node which is connected to the network,Is a port node which,,,,In order for the sub-matrix to be compressed,For sub-matrices that do not require compression,O representsZero matrix of dimensions.
When the conductance matrix and the capacitance matrix are rearranged, elements describing the port nodes are found according to port numbers to be rearranged, and the positions of the other elements in the matrix are adapted to be adjusted, so that the elements describing the port nodes and the elements describing the internal nodes are respectively concentrated in corresponding areas of the matrix, for example, the elements describing the port nodes are adjusted to be positioned at the corner positions of the matrix, and the elements describing the internal nodes are adjusted to other areas beyond the corner positions.
After the conductance matrix and the capacitance matrix are rearranged, the expression of the projection matrix and the process of reducing the order of the conductance matrix and the capacitance matrix can be simplified. It can be understood that, on the basis of the technical concept of the present application, even if the conductance matrix and the capacitance matrix are not rearranged, the computational complexity is increased to a certain extent relative to the rearrangement processing, but the reduction of the conductance matrix and the capacitance matrix can be completed only by constructing a proper projection matrix, which is not described herein.
In some embodiments, after rearranging the conductance matrix and the capacitance matrix, the constructed projection matrix V may be represented as follows:
Wherein, Is an identity matrix. The projection matrix V is acted on two ends of the rearranged conductance matrix and the capacitor matrix to obtain a reduced conductance matrixCapacitive matrix:
Recording deviceThen:
Then, the admittance matrix function after the reduction can be obtained, and the admittance matrix function has the following characteristics Dimensional form:
Wherein, Is the inverse of the resistance,Is a capacitor.
And then, calculating circuit structure information corresponding to a preset circuit model according to the information of the admittance matrix function, and obtaining the compressed circuit structure information of the sub-network to be compressed. Specifically, "reduction" is performed on the reduced circuit equation (matrix), namely, circuit synthesis is performed, so as to obtain circuit structure information of a small-scale RC circuit, wherein the small-scale RC circuit is a sub-network after compression.
Taking the double-T model with five unknown elements (three resistors and two capacitors) as an example, as shown in fig. 2, a reduced-order circuit with the same properties as the original circuit is used, wherein R1>0, rm >0, R2>0, C1>0, and C2>0 are required. Using admittance functionsCan obtain circuit information satisfying the circuit model shown in fig. 2:
Wherein,
Wherein k may take any value satisfying the following conditions:
in general, it is possible to take 。
The first circuit information after the sub-network to be compressed is obtained, a series of sub-networks obtained by dividing are processed according to the steps, a series of compressed circuit models are finally obtained, and then the compressed circuit models are combined into a new compressed network, so that the netlist file corresponding to the compressed network can be utilized for carrying out required analysis.
Next, taking an RC network to be analyzed as a power network as an example, a calculation procedure of the circuit processing method for analyzing circuit performance of the present application is illustrated.
Firstly, the RC Spice model of the power supply network and the opposite network is extracted as follows:
.subckt VDD_0_arc 1 25
R1 6 1 1.7094193
R2 2 3 6.5406294
R3 4 5 6.5406294
R4 6 7 1.7094193
R5 8 9 1.0920632
R6 10 11 1.0920632
R7 12 13 1.0920632
R8 14 15 1.0920632
R9 16 17 1.0920632
R10 18 19 1.0899954
R11 20 21 1.0899954
R12 22 23 1.0899954
R13 24 25 0.2930939
R14 2 7 1.0899954
R15 3 8 1.0899954
R16 9 4 1.0899954
R17 5 10 0.2930939
R18 12 11 0.2930939
R19 14 13 0.2930939
R20 16 15 0.2930939
R21 18 17 0.2930939
R22 19 20 0.2930939
R23 21 22 1.4245161
R24 23 24 0.09495385
C1 1 02.388319e-14
C2 3 0 1.1778861e-14
C3 6 0 4.599731e-15
C4 9 0 5.2077555e-15
C5 10 0 1.2396841e-14
C6 12 0 5.4866686e-15
C7 18 0 2.0988753e-13
C8 21 0 2.0741826e-13
C9 25 0 2.0741826e-13
.ends
Taking R1 6 1.7094193 as an example, R1 is a resistor name, 6 and 1 are node numbers corresponding to R1, and 1.7094193 is a resistor value (unit: ohm). Taking C1.388319 e-14 as an example, C1 is a resistor name, 1 and 0 are node numbers corresponding to C1 respectively, wherein 0 represents ground, 2.388319e-14 is a capacitance value (unit: method).
Next, the io port 1,25 that needs to be reserved is selected. It can be seen that the network has only one two-port network, so that the network is not divided, and the conductance matrix and the capacitance matrix are directly generated according to the netlist information. The conductance matrix is shown in fig. 5, and the capacitance matrix is shown in fig. 6.
Then, the conductance matrix and the capacitance matrix are rearranged according to the port numbers, the rearrangement result of the conductance matrix is shown in fig. 7, and the rearrangement result of the capacitance matrix is shown in fig. 8. From the division result, it is possible to obtain,,I.e.A sub-matrix of 1 to 23 rows and 1 to 23 columns of G,A sub-matrix of 1 to 23 rows and 24 to 25 columns of G,A sub-matrix of 24 to 25 rows and 1 to 23 columns of G,A sub-matrix of 24 to 25 rows and 24 to 25 columns of G is similarly available;,,,。
Next, a reduced order process is performed, and a projection matrix is constructed as shown in fig. 9. The reduced admittance matrix function can be calculated, wherein the conductance value and the capacitance value are the first circuit information:
as shown in fig. 2, according to the reduced admittance function matrix information, the compressed circuit structure information can be obtained by calculation as follows:
R1 = 13.50991857;
Rm = 17.18914469;
R2 = 1.37244980;
C1 = 1.29439360e-13;
C2 = 5.58637737e-13。
Finally, taking power consumption analysis as an example, simulating the compressed circuit, and obtaining simulation results as shown in fig. 10 and 11, wherein two curves in fig. 10 are overlapped, the simulation results are correct, the maximum error of the two curves in fig. 11 is 0.019%, and the simulation results are within an acceptable range.
As shown in fig. 12, the present application further provides a circuit processing apparatus for analyzing circuit performance, including:
The sub-network determining module 11 is configured to divide the RC network to be analyzed into at least one sub-network according to a circuit connection relationship of the RC network to be analyzed, where the sub-network has a preset number of ports, and the preset circuit model is a circuit model with a preset number of ports;
The compression module 12 is configured to perform compression processing on at least one sub-network based on a preset circuit model, so as to obtain a compression network corresponding to the RC network to be analyzed.
In some embodiments, the apparatus further comprises an analysis module for performing a power consumption analysis on the compressed network.
In some embodiments, when the RC network to be analyzed is divided into at least one sub-network according to the circuit connectivity relationship of the RC network to be analyzed, the sub-network determining module 11 is configured to:
According to the circuit connection relation of the RC network to be analyzed, the parts which are not connected with each other in the RC network to be analyzed are respectively used as a sub-network so as to divide the sub-network into at least one sub-network.
In some embodiments, compression module 12 is configured to:
compressing the sub-network to be compressed based on a preset circuit model, and determining compressed first circuit information of the sub-network to be compressed;
And determining second circuit information of the compressed network according to the compressed first circuit information of each sub-network to be compressed.
In some embodiments, the compressing module 12 is configured to, when performing compression processing on the sub-network to be compressed based on the preset circuit model and determining the compressed first circuit information of the sub-network to be compressed:
Determining a conductance matrix and a capacitance matrix of a sub-network to be compressed;
and performing reduced-order processing on the conductance matrix and the capacitance matrix based on a preset circuit model, and determining compressed first circuit information of the sub-network to be compressed.
In some embodiments, in determining the conductance matrix and the capacitance matrix of the subnetwork to be compressed, the compression module 12 is configured to:
And determining a linear time independent system equation corresponding to the sub-network to be compressed according to the port number and the circuit structure information of the sub-network to be compressed, wherein the linear time independent system equation comprises a conductance matrix and a capacitance matrix of the sub-network to be compressed.
In some embodiments, when performing the reduced-order processing on the conductance matrix and the capacitance matrix based on the preset circuit model and determining the compressed first circuit information of the sub-network to be compressed, the compression module 12 is configured to:
Performing reduced-order processing on the conductance matrix and the capacitance matrix according to the projection matrix;
determining an admittance matrix function corresponding to the reduced conductance matrix and the capacitor matrix;
And determining compressed first circuit information of the sub-network to be compressed according to the admittance matrix function.
In some embodiments, the compression module 12 is configured to determine the second circuit information of the compression network according to the compressed first circuit information of each sub-network to be compressed:
determining circuit structure information corresponding to a preset circuit model according to the first circuit information;
And determining second circuit information of the compression network according to the circuit structure information of the preset circuit model corresponding to each sub-network to be compressed.
In some embodiments, the apparatus further includes a rearrangement module configured to, before performing a reduced-order process on the conductance matrix and the capacitance matrix based on a preset circuit model, determine compressed first circuit information of the sub-network to be compressed:
Rearranging elements in the conductance matrix and the capacitance matrix, so that the elements of the conductance matrix and the capacitance matrix corresponding to the description internal nodes of the sub-network to be compressed are positioned in a first preset area in the corresponding matrix, and the elements of the conductance matrix and the capacitance matrix corresponding to the description port nodes of the sub-network to be compressed are positioned in a second preset area in the corresponding matrix;
and/or the apparatus further comprises a conversion module for, prior to reordering the conductance matrix and the capacitance matrix:
The linear time independent system equation is converted to the frequency domain.
In some embodiments, after converting the linear time independent system equation to the frequency domain and rearranging the elements in the conductance matrix and the capacitance matrix, the system equation expression is as follows:
Wherein, Is an element describing an internal node,Is an element describing a port node,,,,In order for the sub-matrix to be compressed,For sub-matrices that do not require compression,O representsA zero matrix of the dimensions is used,Is the current at the input port;
the projection matrix is represented as follows:
Wherein, Is an identity matrix;
Performing reduced-order processing on the conductance matrix based on the projection matrix to obtain a reduced-order conductance matrix The expression is as follows:
Performing reduced-order processing on the capacitance matrix based on the projection matrix to obtain a reduced-order capacitance matrix The expression is as follows:
Wherein, ;
An admittance matrix function corresponding to the reduced conductance matrix and the capacitance matrix has the following characteristicsDimensional form:
Wherein, Is the inverse of the resistance,Is a capacitor.
The specific implementation process of the steps executed by each module in the circuit processing device for analyzing the circuit performance is referred to the description of the method embodiment, and will not be repeated.
The present application also provides an electronic device including a storage medium and a controller, the storage medium having stored thereon a computer program which, when executed by the controller, implements the steps of the circuit processing method for analyzing circuit performance as described in the above embodiments.
The present application also provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the circuit processing method for analysing circuit performance as described in the above embodiments.
The circuit processing method, the electronic equipment and the storage medium for analyzing the circuit performance comprise the steps of dividing an RC network to be analyzed into at least one sub-network according to the circuit connection relation of the RC network to be analyzed, and compressing the at least one sub-network based on a preset circuit model to obtain a compressed network corresponding to the RC network to be analyzed, wherein the sub-network is provided with a preset number of ports, and the preset circuit model is a circuit model with the preset number of ports. According to the technical scheme, the RC network to be analyzed is compressed based on the circuit connection relation, the complexity of the RC network to be analyzed is reduced, the efficiency of analyzing the circuit performance is improved, meanwhile, the RC network is compressed in a mode of compressing the sub-network based on the preset circuit model, and the accuracy of analyzing the circuit performance can be guaranteed.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410982594.4A CN118551715B (en) | 2024-07-22 | 2024-07-22 | A circuit processing method, device and electronic device for analyzing circuit performance |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410982594.4A CN118551715B (en) | 2024-07-22 | 2024-07-22 | A circuit processing method, device and electronic device for analyzing circuit performance |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN118551715A CN118551715A (en) | 2024-08-27 |
| CN118551715B true CN118551715B (en) | 2025-04-01 |
Family
ID=92453516
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410982594.4A Active CN118551715B (en) | 2024-07-22 | 2024-07-22 | A circuit processing method, device and electronic device for analyzing circuit performance |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118551715B (en) |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB414634A (en) * | 1932-10-31 | 1934-08-09 | Electrical Res Prod Inc | Improvements in or relating to electric signal transmission systems |
| JP3971167B2 (en) * | 2001-11-20 | 2007-09-05 | 株式会社ルネサステクノロジ | Equivalent circuit derivation method and system therefor |
| CN103207941A (en) * | 2013-04-27 | 2013-07-17 | 清华大学 | Transient analysis method and transient analysis system under integrated circuit power supply network full-parameter model |
| CN104376140A (en) * | 2013-08-15 | 2015-02-25 | 复旦大学 | Power ground power supply network model price-reducing method and device |
| US10031988B2 (en) * | 2014-09-24 | 2018-07-24 | International Business Machines Corporation | Model order reduction in transistor level timing |
| CN111859835A (en) * | 2020-06-29 | 2020-10-30 | 浪潮电子信息产业股份有限公司 | Order reduction method, order reduction device and order reduction device for circuit interconnection network model |
| CN115496019A (en) * | 2022-11-17 | 2022-12-20 | 浪潮电子信息产业股份有限公司 | A circuit simulation analysis method, system, device and storage medium |
| CN116227113A (en) * | 2022-11-21 | 2023-06-06 | 清华大学 | Solution method, device, electronic equipment and medium for thermal system simulation |
| CN115730194A (en) * | 2022-11-25 | 2023-03-03 | 中国人民解放军国防科技大学 | Variable-step-length compression sampling method, device and equipment for gearbox oil temperature signal |
-
2024
- 2024-07-22 CN CN202410982594.4A patent/CN118551715B/en active Active
Non-Patent Citations (1)
| Title |
|---|
| 深亚微米VLSI电源/地线网络信号完整性主要问题的算法研究;苏浩航;《中国博士学位论文全文数据库(电子期刊)信息科技辑》;20080815;第I135-41页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118551715A (en) | 2024-08-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8117576B2 (en) | Method for using an equivalence checker to reduce verification effort in a system having analog blocks | |
| US8165861B2 (en) | Printed circuit analysis method and device | |
| JP4582962B2 (en) | Power supply network analysis method, computer program for executing power supply network analysis method, recording medium, and power supply network analysis apparatus | |
| Lee et al. | HiPRIME: Hierarchical and passivity preserved interconnect macromodeling engine for RLKC power delivery | |
| Miettinen et al. | PartMOR: Partitioning-based realizable model-order reduction method for RLC circuits | |
| KR100404065B1 (en) | Method and apparatus for preparing a simulation model for semiconductor integrated circuit at power supply terminal for simulating electromagnetic interference | |
| JP2006209590A (en) | Electromagnetic field analysis apparatus, analysis method, and analysis program | |
| Afacan et al. | A comprehensive analysis on differential cross-coupled CMOS LC oscillators via multi-objective optimization | |
| US20050273309A1 (en) | Circuit simulation method, device model, and simulation circuit | |
| CN114462352B (en) | Circuit simulation verification method and related device | |
| CN115496019A (en) | A circuit simulation analysis method, system, device and storage medium | |
| CN118551715B (en) | A circuit processing method, device and electronic device for analyzing circuit performance | |
| Xu et al. | Hierarchical exact symbolic analysis of large analog integrated circuits by symbolic stamps | |
| CN113408226A (en) | Chip power supply network fast-convex current estimation method and system based on deep learning | |
| CN117272888B (en) | Circuit parameter solving method and device, electronic equipment and storage medium | |
| Chen et al. | Tsa-ticer: A two-stage ticer acceleration framework for model order reduction | |
| Rodriguez-Chavez et al. | Graph-based symbolic and symbolic sensitivity analysis of analog integrated circuits | |
| JP2006133994A (en) | Analysis device, analysis program, and computer-readable recording medium recording analysis program | |
| CN216792893U (en) | Passive device complete graph equivalent circuit based on Y parameter transfer function matrix | |
| CN116542200A (en) | Convenient order reduction method for parasitic RC parameters of interconnection line circuit in time domain | |
| CN118690720B (en) | Method and system for testing stability of chip modeling component based on production operation | |
| JPH07287051A (en) | Input data generator for logic simulator | |
| CN113420518A (en) | Method and system for transistor level circuit simulation | |
| Dong et al. | A Time Constant Estimation Method for Block RC Circuits with Application to Power Grid Analysis | |
| CN114239458B (en) | Complete graph equivalent circuit of passive devices based on Y parameter matrix and its construction method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |