Efficient model order reduction via multi-point moment matching
A method for mapping moments in a reduced order system of approximation order q for use in simulating a circuit or system having n state variables at n nodes, the circuit or system having I inputs. The method includes calculating only q+I moments, where q is the approximation order and I is the number of inputs of the circuit or system being simulated, sorting the state variables at the n nodes, selecting q nodes of the n nodes, and calculating the dominate poles and zeros using a multi-point moment matching algorithm to simultaneously match q+I moments at the selected q nodes of the circuit or system. In one embodiment, the method includes using extra dummy inputs such that the total number of inputs equals I, such that K*I>q where K is a constant having a value in the range of about 4 to 8.
This application is a division of application Ser. No. 10/143,276, filed on May 9, 2002, now U.S. Pat. No. ______, which claims priority of provisional application Ser. No. 60/290,465, filed on May 11, 2001.
FIELD OF THE INVENTIONThis invention relates to the design of microelectronic circuits and systems, and more particularly, to simulators for evaluating the performance of microelectronic circuits and systems prior to fabrication.
BACKGROUND OF THE INVENTIONIn the process of designing circuits, particularly large scale integrated circuits, it is normal practice to mathematically model the electrical circuits. Many circuit simulators have been developed to mathematically model the circuits. Particularly, the outputs of the circuit are modeled as a function of the inputs to the circuit. The mathematical model is used to determine various response characteristics of the circuit.
Circuit simulation has long been an essential step in the design and manufacture of microelectronic circuits and systems. Circuit simulators are typically software based and are designed to accept a description of the circuit that defines the circuit topology and element values. Simulators typically simulate circuits which contain linear devices such as resistors capacitors and inductors, voltage and current sources and nonlinear devices such as diodes, bipolar junction transistors (BJT), junction field effect transistors (JFET) and metal oxide semiconductor field effect transistors (MOSFET). The simulator can typically be configured to perform DC analysis, AC small signal analysis and transient analysis.
The modeling of the larger overall circuit can be extremely complex in large scale integrated (LSI) circuits, very large scale integrated (VLSI) circuits, and ultra large scale integrated (ULSI) circuits. Simulation of extremely LSI, VLSI, and ULSI circuits require better simulators. As the size and complexity of circuits has grown, so has the need for simulators that are capable of testing larger and more complex circuits.
A traditional simulation tool, such as a dynamic simulator (SPICE, for example), can be used. However, because of the large number of circuit elements involved, a complete simulation becomes extremely time consuming and may exceed the storage capability of the processing system on which the simulation is run. Dynamic simulators such as SPICE-like simulators that are based on integration of nonlinear ordinary differential equations are useful in analyzing nonlinear circuit but are relatively inefficient for highly interconnected circuits or networks.
In recent years, moment matching techniques, e.g., [1]-[3], have grown to be among the most popular linear circuit simulation techniques. The moments of a transfer function of order n results from expanding the transfer function into a Taylor series around s=0 as given by
The ith moment of the transfer function m1 is the coefficient of s1 in the series expansion. To illustrate the relation between the moments, poles, and residues of the transfer function, (1) can be expressed as a partial fractions sum given by
where p1 is the ith pole of the transfer function and k1 is the corresponding residue. By expanding each term in equation (2) into powers of s, the moments of H(s) can be expressed as
This favorable reciprocal relation between the moments and the poles stresses the dominant poles with smaller magnitudes. Dominant poles are of most interest when evaluating the transient response. This characteristic makes the moments very popular in circuit simulation. Moreover, the moments around s=0 can be calculated very easily for tree structured and tree like interconnect in linear time with the number of elements in the circuit [1]-[5]. Path tracking techniques for efficiently calculating the moments for tree and tree like structures where introduced in [4] and [5]. Note that tree like structures include capacitively and inductively coupled trees. Also, other techniques have been developed in [5] to extend the efficiency of path tracking techniques to circuits with few resistive and inductive loops. The overwhelming majority of interconnects in integrated circuits fall into these categories of circuits. The efficiency of calculating the moments around s=0 further increased the popularity of moment matching techniques.
Numerous moment matching techniques are known in the art for large linear circuit analysis. One technique in particular is the asymptotic Waveform Evaluation (AWE) algorithm. The AWE technique [2], [3] employs moment matching by calculating the first 2q moments of the transfer function around s=0 to determine the first q dominant poles and corresponding residues of the transfer function. The moments at node j are approximated by
where the terms representing poles with magnitude larger than pq are neglected and p1<p2< . . . <pq. Hence, the first q most dominant poles and corresponding residues can be calculated by solving the set of 2q nonlinear equations with 2q variables in equation (4). Indirect methods to solve equation (4) were also developed in [2].
The process by which the moments are determined does not allow calculating the moments at few selected nodes of a circuit and the moments have to be calculated at all nodes since the i+1 moment at any node j depends on the ith moments at all the nodes [1]-[5]. However, the AWE techniques only uses the moments at a single node at a time to calculate the response at that node and all the moments calculated at other nodes are not used. Hence, techniques of the prior art such as the AWE techniques are referred to as Single-point Moment Matching (SMM) techniques. These techniques improve the approximation accuracy by calculating more moments at each node.
As will be shown, accuracy can be also improved by using the information in the moments at different nodes simultaneously. However, multiple input circuits are becoming increasingly common in integrated circuits with the increasing importance of analyzing interconnects with capacitive and inductive coupling. Also, important structures such as the power distribution networks are typically multi-input circuits. A major problem with SMM techniques is the inherent numerical instability with higher order approximations. The set of equations (4) is very sensitive to numerical errors with high q due to the high powers of the poles involved. Even with a moderate disparity in the pole values, higher moments very quickly contain no information about larger magnitude poles due to truncation errors. For that reason SMM techniques are limited to less than eight to ten poles [4]-[6]. With complicated integrated circuits, increasing inductance effects, higher inductive and capacitive coupling, and higher operating frequencies, approximations with orders higher than can be achieved by single-point moment matching become necessary. The poles of a circuit effectively represent its harmonics. The more complex the harmonics, the greater the number of poles required for accurate simulation. For simple RC (resistive-capacitance) circuits, usually only a few dominant poles are required for high accuracy simulation. Under such conditions, the AWE approximation method is quite accurate and is widely used for simple RC circuits. But, for today's more complex RLC circuits (resistive-inductive-capacitance) multi-input circuits, the harmonics becomes complex and the number of poles required for accurately simulating the circuit becomes quite large. As a general rule, AWE breaks down when poles exceed eight in number.
To overcome this limitation of AWE, techniques such as Complex Frequency Hopping (CFH) have been proposed to determine higher number of poles [7]-[8]. When circuit harmonics is complex, an approximation method is needed that is more accurate than AWE. “Complex Frequency Hopping” (CFH) represents a more accurate method.
Mathematically speaking, Complex Frequency Hopping works by calculating poles around s=0, but then “hops” to calculate poles around “s” at some harmonic frequency greater than 0. The common poles calculated at both “hops” (s=0 and s=non-zero) are said to be “accurate,” and the ones found only by one of the two hops are said to be “inaccurate.”
The Complex Frequency Hopping method is more accurate than AWE, but it is also time consuming and therefore slow to implement. For certain applications, such as microwave circuit design, high speed is not required (presumably because there are less design iterations or the circuits have a fairly modest number of nodes), so the method can work quite nicely. Because the CFH technique calculates the moments around several frequency points instead of only around s=0, a different set of poles is emphasized around the selected frequency point in each set of moments, allowing the calculation of high number of poles. However, calculating the moments around s≠0 cannot use path tracking techniques and is much more complicated than calculating the moments around s=0, especially when inductive and capacitive coupling are present. Also, determining the set of points around which the moments are calculated is a non-trivial task.
Another set of techniques becoming increasingly popular are based on Krylov sub-spaces and Lanczos process, e.g., [9]-[14]. These techniques implicitly match the moments of the circuit by using a different set of vectors that have the same span of the moment vectors but are much more numerically stable. High approximation orders can be achieved by using these techniques. The clear and unambiguous inference inherent to the prior art is, therefore, that explicit moment matching around s=0 cannot be used to calculate high order approximations. While Krylov space methods are quite old, some new methods based upon Krylov space methods have been developed in the 1990's. These methods are more accurate than AWE, but are slow and are less accurate than CFH.
The foregoing background information, together with other aspects of the prior art, including those teachings useful in light of the present invention, are disclosed more fully and better understood in light of the following references, each of which is incorporated herein in its entirety.
- [1] L. T. Pillage and R. A. Rohrer, “Delay Evaluation with Lumped Linear RLC Interconnect Circuit Models,” Proceedings of the Caltech Conference on VLSI, pp. 143-158, May 1989.
- [2] L. T. Pillage and R. A. Rohrer, “Asymptotic Waveform Evaluation for Timing Analysis,” IEEE Transactions on Computer-Aided Design, Vol. CAD-9, No. 4, pp. 352-366, April 1990.
- [3] T. K. Tang and M. S. Nakhla, “Analysis of High-Speed VLSI Interconnects Using the Asymptotic Waveform Evaluation Techniques,” IEEE Transactions on Computer-Aided Design, Vol. CAD-11, No. 3, pp. 341-352, March 1992.
- [4] C. L. Ratzlaff, I Fast Algorithm for Computing the Time Moments of RLC Circuits, Masters thesis, University of Texas at Austin, Austin, Tex., May 1991.
- [5] C. L. Ratzlaff, N. Gopal, and L. T. Pillage, “RICE: Rapid Interconnect Circuit Evaluator,” Proceedings of the IEEE/ACM Design Automation Conference, pp. 555-560, June 1991.
- [6] D. F. Anastasakis, N. Gopal, S. Y. Kim, and L. T. Pillage, “On the Stability of Approximations in Asymptotic Waveform Evaluation,” Proceedings of the IEEE/ACM Design Automation Conference, pp. 207-212, June 1992.
- [7] R. Achar, M. S. Nakhla and Q. Zhang “Full-Wave Analysis of High-Speed VLSI Interconnects Using Complex Frequency Hopping,” IEEE Transactions on Computer-Aided Design, Vol. CAD-17, No. 10, pp. 997-1016, October 1998.
- [8] E. Chiprout and M. S. Nakhla, “Analysis of Interconnect Networks Using Complex Frequency Hopping,” IEEE Transactions on Computer-Aided Design, Vol. CAD-14, pp. 186-200, February 1995.
- [9] P. Feldmann and R. W. Freund, “Efficient Linear Circuit Analysis by Pade Approximation via the Lancozos Process,” IEEE Transactions on Computer-Aided Design, Vol. CAD-14, No. 5, pp. 639-649, May 1995.
- [10] P. Feldmann and R. W. Freund, “Reduced-Order Modeling of Large Linear Subcircuits via Block Lanczos Algorithm,” Proceedings of the IEE/ACM Design Automation Conference, pp. 474-479, June 1995.
- [11] M. Silveira, M. Kamon, and J. White, “Efficient Reduced-Order Modeling of Frequency-Dependent Coupling Inductances Associated with 3-D Interconnect Structures,” Proceedings of the IEEE/ACM Design Automation Conference, pp. 376-380, June 1995.
- [12] D. L. Boley, “Krylov Space Methods on State-Space Control Models,” Journal of Circuits, Systems, and Signal Processing, Vol. 13, No. 6, pp. 733-758, May 1994.
- [13] A. Odabasioglu, M. Celik, and L. T. Pillage, “PRIMA: Passive Reduced-Order Interconnect Macromodeling Algorithm,” IEEE Transactions on Computer-Aided Design, Vol. CAD-17, No. 8, pp. 645-654, August 1998.
- [14] P. Feldmann and R. W. Freund, “Reduced-Order Modeling of Large Passive Linear Circuits by Means of the SyPVL Algorithm,” Proceedings of the IEEE/ACM International Conference on Computer-Aided Design, pp. 280-287, November 1996.
Accordingly, the prior art has associated with it numerous shortcomings and deficiencies, including those outlined above. AWE process time is directly proportional to “q,” where “q” represents the number of reduced order poles. Process time associated with “Krylov Space Methods” is directly proportional to “q2, but the “order” of the circuit (“n”=number of nodes) is also a factor in determining process time. As expressed above, AWE is commonly used for simple RC circuits. CFH is time consuming, but often applied where high-speed simulation isn't required, such as with microwave circuits. Today's large RLC circuits have very complex harmonics, and multiple circuit inputs. What is needed is a method that is both fast and accurate for today's more complex VLSI (very large scale integrated) circuits. It is, therefore, an object of the present invention to provide a method and/or apparatus for generating and analyzing a reduced-order model of a linear circuit, such method and apparatus as can simultaneously match the moments at several nodes of a circuit using explicit moment matching around s=0.
It will be understood by those skilled in the art that one or more aspects of this invention can meet certain objectives while one or more other aspects can meet certain other objectives. Each objective may not apply equally, in all its respects, to every aspect of this invention. As such, the following objects can be viewed in the alternative with respect to any one aspect of this invention.
It is an object of the present invention to provide an efficient method and apparatus for simulating linear and nonlinear circuits and systems using model order reduction.
Another object of the present invention is to provide an efficient method and apparatus for simulating linear and nonlinear circuits and systems using model order reduction using a moment matching technique which requires a significantly fewer number of moments than are required using known moment techniques for calculating a reduced order model.
Yet another object of the present invention to provide a moment matching technique the computational efficiency of which increases with the number of inputs to a circuit or system being simulated.
A further object of the present invention to provide a moment matching technique which is suitable for parallel processing.
It is a feature of the present invention that the moment matching technique requires only q+I moments, where q is the approximation order and I is the number of inputs of the circuit or system being simulated.
Another feature of the invention is to provide a model order reduction technique capable of achieving high order approximations that are not achievable using single-point explicit moment matching at even better computational efficiency.
Other objects, features, benefits and advantages of the present invention will be apparent from the following summary and descriptions of various preferred embodiments, and will be readily apparent to those skilled in the art having knowledge of various model order reduction and/or single moment matching techniques. Such objects, features, benefits and advantages will be apparent from the above as taken in conjunction with the accompanying examples, data, mathematical relationships, figures and all reasonable inferences to be drawn therefrom, alone or with consideration of the references incorporated herein.
SUMMARY OF THE INVENTIONThe present invention provides methods and related apparatus, together with techniques, for simulating linear and nonlinear circuits by model order reduction using a multi-point moment matching (MMM) technique provided by the present invention. By exploiting the spatial information in the moments, the use of MMM significantly reduces the number of moments required to achieve a specific accuracy and thus, improves computational efficiency. As explained more fully below, the reduction in the number of moments by using MMM, rather than the SMM techniques of the prior art, increases with the number of inputs to the subject circuit.
Multi-point Moment Matching (MMM) techniques, methods and related apparatus simultaneously match moments at several nodes of a circuit using explicit moment matching around s=0. AWE has been referred to above as a Single-Moment Matching (SMM) method of circuit approximation because it looks at each node in isolation of other nodes an approach that creates inefficiencies in terms of processing time and numerical accuracy. The present invention provides a Multiple-Moment Matching (MMM) algorithm that does consider the inter-dependencies among multiple nodes, but does so in a manner that is highly efficient. As compared to the well-known Single-point Moment Matching (SMM) techniques (such as AWE), MMM has several advantages. First, the number of moments required by MMM is significantly lower than SMM for a reduced order model of the same accuracy, which directly translates into computational efficiency. This higher computational efficiency of MMM as compared to SMM increases with the number of inputs to the circuit. Second, MMM has much better numerical stability as compared to SMM. This characteristic of MMM allows the calculation of an arbitrarily high order approximation of a linear system, achieving the required accuracy for systems with complex responses. Finally, MMM is highly suitable for parallel processing techniques especially for higher order approximations while using SMM requires calculating the moments sequentially and SMM cannot be adapted to parallel processing techniques. The invention also lends itself to parallel processing, a feature that is very important when simulating today's multi-input circuits that have inherent interdependencies among the multiple inputs. As the number of inputs grows, the processing speed of the invention grows exponentially in contrast to that of the AWE and other Single-point Moment Matching methods. AWE, while fast, does not allow for parallel processing, which is important as the number of circuit inputs increase. Components of today's system circuits are effectively less isolated from one another, so that multiple inputs must be treated at once. By enabling parallel processing, the invention (MMM) not only is from 2-10 times faster than AWE, but also is much more accurate and numerically stable. MMM is simpler than CFH, and unlike CFH it allows for so-called “path tracing. This results from the fact that the present invention calculates poles around s=0, and that CFH calculates poles around multiple points.” MMM is an explicit moment matching method. Prior to this invention, it was commonly believed that explicit moment matching methods around s=0 (calculating around s=0 simplifies things greatly) could not be used to calculate high-order approximations (high-order implying very large scale circuits). MMM takes advantage of certain “spatial” relationships to simplify circuit approximation while at the same time looking at interdependencies among nodes. The simplification reduces processing time, and treating nodes interdependently increases accuracy. Specifically, MMM enables the number of moments to be reduced, while at the same time it does so simply by viewing poles around s=0. Achieving both high accuracy and speed becomes important for circuits with complex responses. These can include circuit “interconnects” with capacitive and inductive coupling, power distribution networks and the like.
Determining a reduced order system of order q using the MMM technique requires only q+I moments, where q is the approximation and I is the number of inputs to the circuit. The MMM technique can be used with single input circuits or networks and/or multiple input circuits or networks. The MMM technique requires fewer moments because it exploits the fact that there is a common set of poles at all the nodes of a circuit or network. Because the q poles are common to all the nodes, adding an extra node only adds q new variables for q residues at the extra node. Therefore, the number of variables, when simultaneously considering q nodes, is q poles and q2 residues, and the MMM technique needs only to match q(q+I) moments which are q+I moments at q nodes. Using only q+I moments instead of q(I+1) moments does not reduce the accuracy of an approximation based upon the MMM technique as compared to single point moment matching.
The numerical stability of a q order approximation calculated using the MMM technique increases as the number of inputs to the circuit increases. Therefore, in accordance with another aspect of the invention, in calculating some approximations, dummy inputs are introduced. The introduction of dummy inputs reduces truncation errors in high order approximations due to the high powers of the poles involved. Dummy inputs can be added until the maximum power of the poles in the approximation is sufficiently low to guarantee the numerical stability of the approximation.
Higher computational efficiency as compared to known techniques, allowing the MMM technique to calculate an arbitrarily high order approximation of a linear system, achieving the required accuracy for systems with complex responses. Moreover, the MMM technique is suitable for parallel processing techniques, especially for high order approximations.
In accordance with another aspect of the invention, there is provided an interconnect evaluator which uses the MMM technique to simulate very large scale integration (VLSI) interconnects. The MMM simulations can produce desired outputs, including circuit speed, power consumption, signal coupling noise and signal skew, for example.
Further in accordance with the invention, there is provided a nonlinear circuit simulator including a circuit linearizer, which linearizes the nonlinear circuit about an operating point, and a simulator based on the MMM technique for simulating the linearized circuit and determining a new operating point which is supplied to the circuit linearizer. Thus, the circuit is linearized several times and the resulting linear circuits are simulated. The simulations that are obtained are combined over time to represent the response of the nonlinear circuit.
In accordance with yet another aspect of the invention, there is provided a simulation engine incorporating the MMM technique for providing iterative optimization of a circuit design. The simulation engine evaluates the performance of the circuit in terms of key operating parameters, such as speed, power consumption and signal integrity. If the circuit performance does not meet the design goals, the circuit is modified based upon a circuit optimization algorithm and the performance is evaluated again. The iterative process is repeated until the circuit meets the design goals or reaches optimum performance.
DESCRIPTION OF THE DRAWINGSThese and other advantages of the present invention are best understood with reference to the drawings, in which:
General Description
Referring to the drawings,
Digressing, in VLSI circuits and/or systems, the interconnects can be represented by linear circuits. As is known, the interconnect currently represents a large portion of the cycle time and it is important to accurately simulate its behavior. The MMM technique can be used directly without any additions or modifications to simulate VLSI interconnects.
Thus, one useful and important application of the MMM method/apparatus of this invention is for fast and accurate simulation of extremely dense integrated circuits and/or systems which operate at high frequencies. The interconnect evaluator 12 is advantageously used in simulating high density integrated circuits of the type that have several hundreds of millions of transistors and tens of millions of interconnect lines on a single chip. With such a large number of elements, it is impossible to verify the performance of a chip in reasonable time using traditional simulation tools, such as dynamic simulators (SPICE and AS/X are examples). However, the interconnect evaluator 12 incorporating the MMM technique can handle very high dense circuits in a reasonable time frame. A simulator, such as the interconnect evaluator 12, incorporating the MMM technique can run many times faster than traditional dynamic simulators and is capable of calculating high order approximations with high efficiency. Although the MMM technique is described without limitation as an interconnect evaluator, additional applications illustrating use of the present invention and related MMM techniques are disclosed below.
More specifically, with reference to
As is described below, the interconnect evaluator 12 transforms the circuit description into an equivalent DC circuit containing resistors, inductors, and capacitors, and the equivalent DC circuit is converted into a direct graph. A spanning tree of the directed graph is traversed to obtain moments of the circuit which are then mapped into poles and residuals for the interconnect circuit. To allow matching the moments to the poles and residual, a reduced order state space system of order q is determined. To approximate the selected state variables of the original circuit or system, a reduced order system with the first q+I moments is calculated, where I is the number of inputs of the circuit or system. The residues of the transfer function poles between the input(s) and any state variable(s) in the original circuit or system are calculated. Once the poles and residues of the transfer functions at the nodes of interest are determined, the response of the circuit or system at these nodes to an arbitrary input is calculated using simple LaPlace transform techniques.
As will be shown, the way the moments are mapped into dominant poles and zeros is much more efficient than the way moments are mapped using known single point mapping techniques. As is described more fully below, the present invention can be applied generally to multiple input, multiple (or single) output systems, as well as to more specific situations involving single input, multiple (or single) output systems. The use of dummy inputs to arbitrarily improve the numerical characteristics of the present invention and/or related MMM techniques are also described.
As will be shown, the Multi-point Moment Matching methods and related apparatus of this invention explicitly match moments around s=0. As compared to a single moment matching (SMM) technique, the MMM technique has several advantages. The number of moments required using the MMM technique is significantly lower than when a single point method, such as AWE, is used in calculating a reduced order model of the same accuracy. Moreover, the higher computational efficiency of MMM as compared to SMM increases with the number of inputs to the circuit. Also, the MMM technique exhibits a much better numerical stability than is obtainable using a SMM technique, allowing calculation of higher order approximation of linear systems thereby achieving the required accuracy for systems with complex responses. In addition, the MMM technique is suitable for parallel processing, especially for higher order approximations. Single moment matching (SMM) techniques requires calculating the moments sequentially, and single moment matching techniques cannot be adapted to parallel processing techniques.
Computer System
Referring to
In one embodiment, the storage devices 20 include software programs and files which are used in carrying out simulations of circuits and/or systems, including multi-point moment matching in accordance with the invention. The programs and files of the computer system include an operating system 31 and the MMM interconnect circuit simulator engine 32, for example. The programs and files of the computer system can also include or provide storage for a schematic 33, a netlist 34 and a node list 35 for a circuit or system being simulated. The processor is connected through suitable input/output interfaces and internal peripheral interfaces (not shown) to the input devices 16, the output devices 17, the storage devices 20, etc., as is known.
The computer system 15 can accept digital data representative of a circuit being simulated via a tape input or disk input, for example. Alternatively, the computer system can be used to produce a representation of a circuit in which case, the programs and files will include a suitable circuit design engine. The output devices 17 can be used to provide a visual display of results of circuit simulations.
MMM for a Single Input, Multiple Output System
In part, the present invention is a method for simultaneously matching q+I moments at q points of a circuit where I is the number of inputs of the circuit. For the case of a single input, multiple output system, I=1. To increase the efficiency and accuracy of the simulation, MMM uses the state space representation of the circuit. Consider a linear circuit with n state variables (independent capacitor voltages and inductor currents). Out of the n state variables, q variables are selected to represent the circuit. These state variables are denoted x1, x2, . . . , xq or x in vector notation. The qxl vector mi includes the ith moments of the state vector x due to a unit impulse input. A reduced order state space system of order q can be determined which approximates the original circuit by simultaneously matching the moments of the selected q state variables x. This system is given by
x=Ax+bu, (5)
where A is a q×q system matrix, b is a q×1 input vector, and u is the single input to the circuit. The state variables of the reduced order system have a one to one correspondence with the selected state variables from the original circuit x1, x2, . . . , xq. To approximate the selected state variables of the original circuit, a reduced order system with the first q+1 moments of mo, m1, . . . , mq is determined. Equation (5) can be expressed in the frequency domain as
s·[m0+m1s+m2s2+ . . . +mqsq+ . . . ]=A[m0+m1s+m2s2+ . . . +mqsq+ . . . ]+b·1, (6)
where u(s) is equal to 1 for a unit impulse input. By comparing the coefficients of equal powers of s in both sides, the following relations have to be satisfied
By excluding the first equation (i.e. b=−Am0), the equations above can be put in matrix form as
A[m1m2 . . . mq]=[m0m1 . . . mq-1], (8)
Hence, a reduced order system can be determined which has the same q+1 moments of the original state variables using the following two equations
A=Λ1Λ2−1, (9)
b=−Am0, (10)
where Λ1 and Λ2 are two q×q matrices given by
Λ1=[m1m2 . . . mq-1], (11)
Λ2=[m1m2 . . . mq]. (12)
The eigen values of A, p1, p2, . . . , pq, are the reduced order common set of poles of the circuit. The residues of the transfer function between the input and any state variable xj in the original circuit can be calculated by solving the set of linear equations given by
Note that the state variable xj can be any variable in the original circuit and does not have to be one of the q variables used in calculating the reduced order system. Once the poles and residues of the transfer functions at the nodes of interest are determined, the response of the circuit at these nodes to an arbitrary input can be calculated using simple Laplace transform techniques.
Determining a reduced order system of order q for a single input circuit or system using the MMM technique requires q+1 moments (m0−mq). The number of moments required for any SMM technique to determine a reduced order system of order q is 2q as discussed in articles [1]-[8] referenced above. Hence, only about half the number of moments are required by MMM as compared to SMM to calculate an approximation of the same order. The reason MMM uses fewer moments is that MMM exploits the fact that there is a common set of poles at all the nodes of a circuit. Because SMM considers only a single node at a time, SMM requires 2q moments to solve for 2q variables (q poles and their residues). However, by adding more nodes, the number of variables does not increase by 2q for each extra node. Since the q poles are common to all the nodes, adding an extra node only adds q new variables for q residues at the extra node. Hence, the number of variables when simultaneously considering q nodes is q poles and q2 residues, and MMM needs only to match q(q+1) moments which are q+1 moments at q nodes.
Using only q+1 moments rather than of 2q moments does not reduce the accuracy of an approximation calculated based on MMM as compared to SMM. Although there is no formal proof for this argument, this trait can be illustrated in several ways. Intuitively, although MMM uses fewer moments, the reduced order system in equation (5) represents the original circuit more closely by matching the circuit characteristics at more than one point rather than at a single point. Alternatively, in the special case when q=n, MMM exactly matches the circuit using n+1 moments while SMM requires 2n moments to exactly match the circuit.
For example, referring to
To illustrate the accuracy of a qth order approximation using MMM and SMM, 10th, 8th and 4th order approximations were calculated for the simple RLC interconnect circuit shown in
Another way to illustrate the similar accuracy of a qth order approximation using MMM and SMM is to note that both techniques implicitly solve the same sets of equations (4) and (13) to find q poles and q residues. The only difference is that MMM solves the system of equations more efficiently by exploiting the fact that there is a common set of poles at all the nodes.
The selection of the q variables used in calculating a MMM reduced order model is an important aspect relating to the accuracy of the MMM approximation. For example, if two state variables with exactly the same moments are selected, two identical rows appear in Λ2 and the matrix can not be inverted as required by equation (9). The choice of two state variables with close moments can also cause loss of accuracy. The state variables are preferably selected with moments as far way as possible. Digressing, any linear circuit has many nodes in it, as is evident from the circuits shown in
A way to achieve this objective is to sort the state variables in terms of the first moment and select the variables at equidistant steps starting with the variable with the smallest moment and ending with the variable with the largest moment. The variables are selected, if inductors are present in the circuit, both inductor currents and capacitor voltages should be selected as state variables when calculating the reduced order model. Intuitively, by choosing the variables according to these criteria, the circuit is more comprehensively sampled and hence is more accurately approximated by the reduced order model. Also, in many cases the q variables are implied by the physical nature of the circuit.
Consistent with this invention, MMM does not use the higher half of the moments which SMM uses for the same approximation order q. Thus, the maximum power of the poles in the system of equations solved by MMM is almost half that of SMM. As described in section I, the high powers of the poles are the primary reason for numerical instability in SMM techniques. Hence, MMM is numerically more stable than SMM. This is evident in
Finally, moment shifting can be readily applied in MMM and was shown in [6] to improve the accuracy of moment matching approximations by eliminating the inaccuracy effects of larger magnitude poles on the dominant poles. A reduced order system of the form in equation (5) can be calculated with a moment shifting of sh by using equation (9) with
Λ1=└mshmsh+1 . . . msh+q−1┘, (14)
Λ2=└msh+1msh+2 . . . msh+q┘, (15)
and
b=−Ash+1msh. (16)
A shift between 1-3 usually results in significant accuracy improvement of the reduced order model. If the moments are shifted too much, the information about the larger poles gets lost. Typically, the moment shifting is based on the type of circuit simulated. RC circuits have good pole separation, and thus generally there is no need to use any shifting (sh=0). For RLC circuits, a moment shifting of two is typical to improve the pole separation in the moments. Equation (3) shows the relation between moments and the poles. The higher moments increase the separation of the poles.
MMM for a Multiple Input, Multiple Output System
For a circuit with I inputs, a reduced order system of the form
x=Ax+Bu, (17)
is used as a q order approximation of the original circuit, where B is a q×I input matrix and u is an I×1 vector including the inputs to the circuit. This reduced order system can be expressed as
x=Ax+b1u1+b2u2+ . . . +bIuI, (18)
where u1-uI are the I inputs and b1-b1 are the corresponding columns of B. Unlike the single input case described above, there are I different sets of moment vectors that can be calculated for the multiple input system expressed as equation (18). A different set of moment vectors results from setting one input as a unit impulse while all the other inputs are set to zeros. The set of moment vectors corresponding to the input uk are denoted m0,k, m1,k, . . . , where mi,k includes the ith moments of the q state variables in x selected to represent the circuit. Note that these moments are the moments of the transfer functions between input k and the state variables of the circuit since a circuit with I inputs has I different transfer functions at each node j as described by
xj(s)=H1j(s)u1(s)=H2j(s)u2(s)+ . . . =HIj(s)uI(s). (19)
Following the same procedure as in the single input case, the following relations can be shown to hold when matching the moments of the reduced order system to the moments of the q variables xj, x2, . . . xq of the original circuit
bk=−Amo,k′
mi,k=Ami+1,k′ (20)
for any i=0, 1, 2, . . . and any k=1, 2, . . . , I. Any q+I moment vectors can be used to completely determine an approximation of the reduced order system expressed by equation (18) of order q since equation (18) has (q+I) q variables (q2 elements in A and qI elements in b1-b1). The only condition is that at least mo,k needs to be determined for all the inputs (k=1 . . . I) to determine bk as described by equation (20). Hence, A can be determined using equation (9) with several different alternatives for Λ1 and Λ2. One interesting choice is
which uses the first q/I+1 moments corresponding to each input u1-uI.
The eigen values of A, p1-pq, represent the common set of poles of the circuit. The number of residues at each node is qI since there are q residues corresponding to each of the I inputs of the circuit. The number of moments calculated at each node is only q+I and hence, it may seem impossible to determine the qI residues at each node. However, for any linear system, the residues of the transfer functions due to different inputs are not completely independent since the residue vectors are related to the eigen vectors of A by
for k=1 . . . I where ki,k is a vector including the residues of the ith pole pi at the q variables x.. x.. . . . , xq due to uk. vi is the eigen vector of A corresponding to the ith pole pi and α1,k-αq,k are a set of q constants unique to each input uk. This set of constants can be expressed in vector notation as αk and is determined from
αk=T−1bk, (24)
where
T=└v1v2 . . . vq┘, (25)
as explained in APPENDIX I. Note that the above relations hold for any linear system and therefore are also valid for the original circuit of dimension n (or when q=n). Hence, the residues due to different inputs are just the scaled eigen vectors of A. The set of constants α1k-αq,k are common to all nodes and define the ratios between the residues due to different inputs. Note that by using equation (23), the moments due to input k which are given by
are equivalent to
Hence, to determine the residues at any node, the eigen values of A p1-pq and the corresponding eigen vectors v1-vq are first calculated. The set of constants α1,k-αq,k which are common to all the nodes in the circuit are determined from equations (24) and (25). The residues at any node j can be determined directly from equation (23) if j belongs to the reduced order system. For any other node j in the original circuit, the jth components of the eigen vectors v1j-vqj have to be determined by solving the q linear equations given by
for k=1 . . . I where νij is the component of the ith eigen vector at node j. Note that the poles pi-pq and the constants α1,k-αq,k are known in (28) since they are determined from the reduced order system and are common to all nodes. The residues at node j can then be determined using the jth component of equation (23) given by
ki,kj=αi,kνij, (29)
MMM requires q+I moments to determine an approximation of order q for a circuit with I inputs. The number of moments required for SMM is at least q+qI moments to determine q common poles and q residues for each of the I inputs. Note that the savings in the number of moments required by MMM as compared to SMM increases dramatically with the number of inputs to the circuit especially a large value for q. This savings is again because MMM exploits the fact that the poles p1-pq and the constants α1,k-αq,k are common to all the nodes in the circuit. By considering only one node, SMM techniques cannot exploit this fact.
For example, consider the three capacitively coupled RC transmission lines shown in
Λ1=└m0,1m0,2m0,3┘, Λ2=└m1,1m1,2m1,3┘. (30)
The 3rd order MMM approximation is compared to SPICE in
A related aspect of this invention is that the numerical stability of a q order approximation based on MMM increases as the number of inputs to the circuit increase. This behavior can be explained by observing that the maximum power of the poles in equations (21)-(29) is (q/I+1). Hence, for a given q, an increase in I results in a direct improvement in the numerical stability of the reduced order model. Note that the maximum power of the poles in an SMM approximation of order q is 2q independent of the number of inputs to the circuit. For example, for a 40th order approximation, the maximum power of the poles is 80 in SMM and only five in the case of MMM with ten inputs to the circuit, which is a significant difference. While most typical circuits have less than ten inputs, dummy inputs can be arbitrarily introduced as discussed in the next section, allowing fine control of the numerical characteristics of an MMM approximation. In the limit, the highest power of the poles in a MMM approximation of any order can be limited to two in the special case when q=I. The minimum power of the poles in an MMM approximation can also be controlled by employing moment shifting [6], allowing an even greater control of the numerical characteristics of an MMM approximation. Equation (9) can be used to determine a reduced order multiple input system with a moment shifting of sh by using
Controlling Numerical Characteristics of an MMM Approximation Using Dummy Inputs
As discussed above, the maximum power of the poles in an MMM approximation decreases as the number of inputs to the circuit increases. This improves the numerical stability of the reduced order model. In many cases, circuits with a single or only a few inputs require high order approximations to accurately characterize the transient response of the circuit. In such cases, dummy inputs can be introduced to reduce the truncation errors in high order approximations due to the high powers of the poles involved. After the reduced order model is calculated, the dummy inputs can be set to zero in the reduced order model. The added dummy inputs should satisfy two conditions. First, setting a dummy input to zero should not change the circuit structure. For example, setting to zero a voltage source in parallel with a capacitor results in short circuiting the capacitor, changing the original circuit. Second, the moment vectors due to a dummy input should be easily calculated by using path tracking techniques [4], [5] where they apply. Also, if matrix factorization is necessary for calculating the moments due to the original inputs, calculating the moments due to a dummy input should not require any extra matrix factorization than that required by the original inputs. One input that satisfies these conditions is a voltage source 70 in series with an inductor Ld or a resistor Rd in the linear circuit 68 as shown in
In both exemplary circuits 68 and 80, the voltage sources 70 and 83 are not connected in parallel with any element in the circuits and are not connected between any node and the ground. It can be easily verified that such input satisfies the two conditions above.
Dummy inputs of this type can be added until the maximum power of the poles in the MMM approximation are sufficiently low to guarantee the numerical stability of the approximation. However, to achieve the maximum linear independence between the moment vectors due to different inputs, the inputs should be selected at nodes that are physically far from each other. The first moments due to one of the original inputs can be used again as a criterion to determine where the dummy inputs should be located.
For example, consider an underdamped RLC transmission line with a total resistance of 2, inductance of 1, and capacitance of 1.5. An underdamped transmission line is known to have one of the most complicated responses in all single input circuits with a large number of poles significantly affecting the transient response. Applying the SMM technique at the load node using 16 significant decimal digit arithmetic, only an eighth order approximation can be reached before running into serious numerical errors. In contrast, by applying the MMM technique with nine dummy inputs (a total of ten inputs including the original input) introduced at equal distances starting from the source and ending at the load, a 40th order approximation is accurately calculated. A moment shifting of two (sh=2) was used with in the MMM approximation.
Finally, consider the case of two identical coupled RLC transmission lines. A 40th order approximation is calculated using MMM with ten inputs (eight dummy and two original inputs) and a moment shifting of two. The approximation matches accurately SPICE simulations at the end of line one for several input switching conditions as shown in
Interconnect Evaluator Operations
Referring now to
Referring to
In Block 126, the equivalent DC circuit is then converted into a directed graph. A spanning tree is constructed from the directed graph in Block 128.
After the directed graph and spanning tree are constructed, the spanning tree is traversed, Block 130. Techniques for generating a directed graph and spanning tree are disclosed in the article [5] cited above. Then, a set of circuit moments are generated, Block 132. In Block 134, the moments are then mapped to dominant time constants using the MMM moment mapping algorithm. If the desired order of approximation is obtained, as determined by decision Block 136, a simulation is produced in Block 138. If decision Block 136 determines that the desired order of approximation has not been obtained, the flow is returned by loop 137 to Block 130 and a further traversal (or traversals) is performed to generate an additional set(s) of moments. As will be understood by one skilled in the art, multiple generations of moments can be calculated all at once without regard to the number of approximate poles required, as long as at least q+I moments are generated.
Process steps, such as the process steps that are represented by Blocks 122, 124, 126, 128 and 130, for example, are known in the art and will not be described in detail. For example, a method for simulating a microelectric interconnect circuit including process steps similar to those represented by Blocks 122, 124, 126, 128 and 130, for example, is disclosed in the U.S. Pat. No. 5,379,231 to Pillage et al., the disclosure of which is incorporated herein by reference in its entirety. An important difference between the method disclosed in the Pillage et al. '231 patent and the present invention is in the way that moments are mapped into dominant poles and zeros (represented by block 80 of the Pillage et al. '231 patent). The way moment mapping is accomplished using the multi-point moment matching technique according to the present invention is much more efficient and can give the accurate dominant poles using much less moments. Therefore, the loop 137 is traversed fewer times. Moreover, the MMM technique is capable of reaching high orders of approximation than is possible using the dominant pole mapping technique described in the Pillage et al. '231 patent. Process steps, such as the process steps that are represented by Blocks 132, 134 and 138 are described in detail below.
Moment Generation
Reference is now made to
Then, in Block 161, the capacitors are replaced with DC current sources and the inductors are replaced with DC voltage sources. Block 162 computes all link current sources of the equivalent DC circuit. If there are any link inductors in the circuit, a combination of these link currents is used to solve for the currents of all link inductors. Once all link currents are known, the tree branch currents are easily obtained by traversing the graph. The resulting tree branch currents yield the next set of moments for inductors.
Flow proceeds to Block 163 which calculates all tree branch voltages. If any tree capacitors exist in the circuit, then some combination of tree branch voltages specifies the tree capacitor voltages. The tree branch voltages are used to compute the node voltages by performing another traversal of the tree, Block 164.
Decision Block 165 determines if there are any resistor links present in the circuit. If so, the node voltages computed in Block 164 are only preliminary and are used to solve for the resistor link currents. These resistor link currents are then used to update the preliminary node voltages to their final values, Block 166. Flow then proceeds to decision Block 167. On the other hand, if decision Block 165 determines that the circuit does not include resistor links, flow proceeds directly from Block 165 to decision Block 167.
Decision Block 167 determines if this is the first generation of moments, and if so, the initial conditions (if any) are applied by subtracting them from the respective steady state solution, Block 168. Flow proceeds to a further decision Block 169. After the first generation of moments has been computed, flow proceeds from decision Block 167 to decision Block 169.
Decision Block 169 determines if this is a second generation of moments, and if so, flow proceeds to Block 170 in which a frequency scale factor is computed as the quotient of the first and second generation voltages at a response node designated by the user. Then, all second generation moments are scaled (multiplied) by this factor and all subsequent moment generations (3rd, 4th, etc.) are scaled by an integral power of this factor, Block 171, and the moment generation program is exited at block 172. For the first generation of moments, the moments are not scaled and so decision block 169 directs the flow to Block 172.
Moment Matching
Reference is now made to
Flow then proceeds to decision Block 186.
Decision Block 186 determines if q is greater than the number of inputs I, multiplied by a constant K. If so, dummy inputs are added, Block 187, to increase the increase the stability of the approximation. In one embodiment, the value of the constant K is six. The value six is chosen because six is a safe number where it is difficult for an approximation to numerically break. However, values greater than six or less than six can be used. If a value smaller than six is used to increase the stability of the approximation, more dummy inputs must be added to satisfy the relationship (K*I>q), i.e., the value of the constant K multiplied by the number of inputs I must be greater than q.
The dummy inputs introduced by Block 187 reduce the truncation errors in high order approximations. Dummy inputs are selected that are physically far from each other. Dummy inputs are added until the maximum power of the poles in the MMM approximation are sufficiently low to guarantee the numerical stability of the approximation.
In the example, in which q=3 and the circuit (
When the condition of Block 186 (K*I>q) is met, flow proceeds to decision Block 188 which determines if the circuit is a single input circuit or a multiple input circuit. If the circuit is a single input circuit, I=1, as is the case in the example, flow proceeds to Block 189 which calculates the dominant poles and zeros using equations [9]-[12]. For the case where the circuit to be simulated is a multiple input circuit, or where dummy inputs had to be added to meet the relationship of Block 186, flow proceeds to Block 190 which calculates the dominant poles and zeros using equations [20]-[22]. Finally, a time domain simulation is produced in Block 138.
As discussed above, the use of multi-point moment matching in accordance with the invention maps the moments into dominant poles and zeros in a more efficient manner than is possible using a single point moment matching technique. Further, use of MMM allows calculating the dominant poles using fewer moments than does single point moment matching. Consequently, the loop 137, shown in
Simulation
Reference is now made to
Then, starting with the first selected node, Block 202, the residues for each pole are calculated using the moments of the selected nodes, Block 203. Decision Block 204 determines if the response should be displayed. The simulated the time domain response can be produced by a step function excitation, or a ramp excitation, if desired, with a desired rise time entered by a user. The time domain response is displayed at Block 205. Otherwise, flow proceeds to Block 206 which determines if all response nodes have been selected. The process is repeated for each desired node response, Blocks 206 and 207, and completed when the waveforms for the full set of desired nodes have been displayed.
Nonlinear Simulator
Referring to
Block 224 linearizes the circuit around an operating point and provides the linearized circuit to Block 230 which corresponds to the simulator system 12 described above with reference to
Simulation Engine
Referring to
Referring to
Then, decision Block 250 determines if the design goals are met. If Block 250 determines that the design goals are met, the design optimization is ended at Block 223. However, if Block 250 determines that the design goals are not met, flow proceeds to Block 252 which modifies the circuit according to an optimization algorithm. Many optimization algorithms are known in the art. Examples of optimization algorithms which can be used to modify the circuit to meet design goals are described in:
- [15] J. Cong, A. B Kahng, C.-K. Koh and C.-W. A. Tsao, “Bounded-Skew Clock and Steiner Routing Under Elmore Delay,” Proceedings of the IEEE International Conference On Computer-Aided Design, pp. 66-71, January 1995.
[16] G. Y. Yacoub, H. Pham, M. Ma, and E. G. Friedman, “A System for Critical Path Analysis Based on Back Annotation and Distributed Interconnect Impedance Models,” Microelectronic Journal, Vol. 18, No. 3, pp. 21-30, June 1988.
- [17] K. D. Boese, A. B. Kahng, B. A. McCoy, and G. Robins, “Rectilinear Steiner Trees with Minimum Elmore Delay,” Proceedings of the IEEE/ACM Design Automation Conference, pp. 381-386, June 1994.
- [18] S. S. Sapatnekar, “RC Interconnect Optimization Under the Elmore Delay Model,” Proceedings of the IEEE/ACM Design Automation Conference, pp. 387-391, June 1994.
- [19] J. Cong and L. He, “Optimal Wire Sizing for Interconnects with Multiple Sources,” Proceedings of the IEEE International Conference on Computer-Aided Design, pp. 586-574, November 1995
The flow returns to decision Block 242 which causes Block 220 to provide a further simulation of the circuit as modified. Block 220 linearizes the modified circuit and produces the further simulation the results of which are provided to Block 246 for comparison with the required circuit performance. The process continue to loop in this manner until the circuit meets the design goals performance simulation is done as determined by decision Block 250.
Referring to
The inventor ran a simulation program which was based upon the multi-point moment matching technique of the present invention, using several different reduction orders and found very good consistency among all these orders.
As can be seen from
Relation Between the Residues and the Eigen Vectors of the System Matrix.
Consider a single input linear system with a dimension q of the form
x=Ax+bu. (34)
By taking the Laplace transform of equation (34) for a unit impulse input, x(s) can be expressed as
x(s)=(sI−A)−1b. (35)
This expression can be expanded into powers of s as
x(s)=−[A−1+A−2s+A−3s2+ . . . ]b. (36)
Hence, the moment vectors of x(s) are given by
mi=−A−(1+1)b. (37)
The vector b can be expressed as a linear combination of the eigen vectors of A as given by
b=α1v1+α2v2+ . . . +αqvq, (38)
where the constants α1−αq (expressed in vector notation as a) can be determined from
α=T−1b, (39)
with
T=└v1v2 . . . vq┘. (40)
Substituting equation (38) into equation (37) and using the well known relation f(A)vi=f(pi)vi where pi is the eigen value of A corresponding to vi and f(A) is any matrix function of A, the following relation results
However, the relation between the moments and the residues in equation (3) can be expressed in vector form as
where ki is the vector containing the residues corresponding to the pole pi at all the state variables in equation (34). By comparing equations (27) and (26), the residue vectors are just the scaled eigen vectors given by
ki=αi(j)vi. (43)
While the significance of this relation is not so obvious for single output systems, this relation has significant consequences for multiple input systems. Consider a linear system with I inputs of the form
x=Ax+b1u1+b2u2+ . . . +bIuI. (44)
The same process used for a single input system can be used on each input with all other inputs equal to zero, resulting in the following relations:
for k=1 . . . I where ki,k is a vector including the residues of the ith pole pi due to a unit impulse at uk and α1,k-αq,k are a set of q constants unique to each input which can be determined from
αk=T−1bk. (46)
Hence, the residue vectors corresponding to a certain pole pi due to different inputs are not completely independent but are actually just scaled versions of the same vector vi. This fact reduces the number of unknowns in the residue vectors from q2I to q2+qI which is a potentially much smaller number for large q and I. Finally, note that this relation holds for any linear system including the linear system representing the whole circuit of order n. Hence, by nature, the model order reduction technique used by MMM preserves this characteristic of the original circuit. Note also that a reduced order model determined based on MMM has a common set of poles at all the nodes represented by the eigen values of A and hence, MMM also preserves this characteristic of the original circuit.
Claims
1. A method for matching moments of selected state variables of a circuit or system, said method comprising:
- determining a reduced order system having q+I moments of the original state variables, where q is the approximation order and I is the number of inputs of the circuit or system, using the equations
- A=Λ1Λ2−1 bk=−Amo,k mi,k=Ami+1,k
- for any i=0, 1, 2,... q−1. and any k=1, 2,..., I, wherein Λ1 and Λ2 are two q×q matrices given by
- Λ 1 = [ m 0, 1 m 1, 1 … m q I - 1, 1 m 0, 2 m 1, 2 … m q I - 1, 2 … m 0, 1 m 1, 1 … m q I - 1, 1 ] Λ 2 = [ m 1, 1 m 2, 1 … m q I, 1 m 1, 2 m 2, 2 … m q I, 2 … m 1, 1 m 2, 1 … m q I, I ]
- wherein mo,k, m1,k,..., mq/I,k are the first q/I+1 moments due to the kth input of the circuit or system being simulated.
2. The method according to claim 1, including matching only q(q+I) moments which are q+I moments at q nodes of the circuit or system being simulated.
3. The method according to claim 2, wherein the numerical stability of a q order approximation increases as the number of inputs increases.
4. The method according to claim 1, including using at least one extra dummy input.
5. The method according to claim 1, including using extra dummy inputs such that the total number of inputs equals I, such that K*I>q, where K is a constant having a value in the range of about 4 to 8.
6. The method according to claim 5, wherein K has a value of 6.
7. A method for simulating a circuit or system using model order reduction, the circuit or system including n state variables, said method comprising:
- determining a reduced order system having q+I moments of the original state variables, where q is the approximation order and I is the number of inputs of the circuit or system, using the equations
- A=Λ1Λ2−1 bk=−Amo,k mi,k=Ami+1,k
- for any i=0, 1, 2,... and any k=1, 2,..., I, wherein Λ1 and Λ2 are two q×q matrices given by
- Λ 1 = [ m 0, 1 m 1, 1 … m q I - 1, 1 m 0, 2 m 1, 2 … m q I - 1, 2 … m 0, 1 m 1, 1 … m q I - 1, 1 ] Λ 2 = [ m 1, 1 m 2, 1 … m q I, 1 m 1, 2 m 2, 2 … m q I, 2 … m 1, 1 m 2, 1 … m q I, I ]
- wherein mo,k, m1,k,..., mq/I,k are the first q/I+1 moments due to the kth input of the circuit or system being simulated.
- determining the moments due to an input k by matching the moments of the reduced order system to the moments of the q variables xj, x2,..., xq of the original circuit or system
- bk=−Amo,k mi,k=Ami+1,k
- for any i=0, 1, 2,... and any k=1, 2,..., I;
- wherein the eigen values of A, p1-pq, represent the common set of poles of the circuit and the residues of the transfer function between the input and any state variable xj in the original circuit or system are related to the eigen vectors of A by
- k 1, k = α 1, k v 1 k 2, k = α 2, k v 2 ⋮ k q, k = α q, k v q
- for k=1... I where ki,k is a vector including the residues of the ith pole pi at the q variables x.. x....., xq due to uk. vi is the eigen vector of A corresponding to the ith pole pi and α1,k-αq,k are a set of q constants unique to each input uk; and
- calculating the response of the circuit or system at these nodes to an arbitrary input using LaPlace transform techniques.
8. The method according to claim 7, including matching only q(q+I) moments which are q+I moments at q nodes of the circuit or system being simulated.
9. The method according to claim 7, wherein the numerical stability of a q order approximation increases as the number of inputs increases.
10. The method according to claim 7, including using at least one extra dummy input.
11. The method according to claim 10, including setting the dummy input to zero in the reduced order system after the reduced order system has been determined.
12. The method according to claim 10, wherein the dummy input satisfies the condition that setting the dummy input to zero does not change the circuit structure of the circuit or system being simulated.
13. The method according to claim 10, wherein the dummy input satisfies the condition that moment vectors due to the dummy input can be calculated by using path tracing techniques where applicable.
14. The method according to claim 10, wherein the dummy input is represented as at least a voltage source.
15. The method according to claim 10, wherein the dummy input is represented as a voltage source connected in series with an inductor or a resistor in the circuit or system being simulated.
16. A method for simulating a circuit or system using model order reduction, the circuit or system including n state variables and a single input, said method comprising:
- determining a reduced order system having q+1 moments of the original state variables, where q is the approximation order, using the equations
- A=Λ1Λ2−1 b=−Am0
- and where Λ1 and Λ2 are two q×q matrices given by
- Λ1=[m1m2... mq−1] Λ2=[m1m2... mq]
- and where mo, m1,..., mq are the first q+1 moments at selected q nodes of the circuit of the circuit or system being simulated;
- calculating the residues ki of the transfer function between the input and any state variable xj in the original circuit or system using the set of linear equations
- m o j = - ( k 1 j p 1 + k 2 j p 2 + … + k q j p q ), m 1 j = - ( k 1 j p 1 2 + k 2 j p 2 2 + … + k q j p q 2 ), m q - 1 j = - ( k 1 j p 1 q + k 2 j p 2 q + … + k q j p q q ).
- where p1, p2,... pq are the reduced order common set of poles for the circuit or system, and where the eigen values of A, p1, p2,..., pq, are the reduced order common set of poles of the circuit or system; and
- calculating the response of the circuit or system at these nodes to an arbitrary input using LaPlace transform techniques.
17. The method according to claim 16, including matching only q(q+I) moments which are q+I moments at q nodes of the circuit or system being simulated.
18. The method according to claim 17, wherein the numerical stability of a q order approximation increases as the number of inputs increases.
19. A method for mapping moments in a reduced order system of approximation order q for use in simulating a circuit or system having n state variables at n nodes, the circuit or system having I inputs, said method comprising:
- calculating only q+I moments, where q is the approximation order and I is the number of inputs of the circuit or system being simulated,
- sorting the state variables at the n nodes;
- selecting q nodes of the n nodes; and
- calculating the dominate poles and zeros using a multi-point moment matching algorithm to simultaneously match q+I moments at the selected q nodes of the circuit or system.
20. The method according to claim 19, wherein sorting the state variables includes sorting the state variables at the nodes in terms of a first moment, and selecting the nodes corresponding to the moments at equidistant steps starting with the variable having the smallest moment and ending with the variable having the largest moment.
21. The method according to claim 19, including using at least one extra dummy input.
22. The method according to claim 19, including using extra dummy inputs such that the total number of inputs equals I, such that K*I>q where K is a constant having a value in the range of about 4 to 8.
23. The method according to claim 22, wherein K has a value of 6.
24. The method according to claim 21, including setting the dummy input to zero after the reduced order system has been determined.
25. The method according to claim 21, wherein the dummy input comprises a voltage source.
26. The method according to claim 21, wherein the dummy input comprises a voltage source in series with an inductor or a resistor.
27. The method according to claim 19, including applying moment shifting to improve the accuracy of moment matching approximations.
Type: Application
Filed: Aug 23, 2004
Publication Date: May 5, 2005
Inventor: Yehea Ismail (Evanston, IL)
Application Number: 10/924,292