1. Field of the Invention
This invention relates to a method of reducing a multiple-inputs multiple-outputs (MIMO) interconnect circuit system in a global Lanczos algorithm and particularly to a model reduction of a high-speed MIMO interconnect circuit.
2. Description of Related Art
Conventionally, in the process of high-speed development of the semiconductor manufacturing process, the impact caused by the parasitic effect cannot be ignored in the design of interconnection of a high-speed VLSI, such as the prior art on IC Interconnect Analysis proposed in 2002 by M. Celik, L. T. and A. Odabasioglu, Kluwer Academic Publisher.
In order to speed up the flow of a circuit design, the interconnect circuit is generally indicated in a mathematical model for analysis on operating characteristics. Owing to the complexity of a circuit that is gradually going up, in the process of analysis on a result from an emulation, in order to emulate the characteristics of interconnect circuit, the corresponding orders of mathematical model also gradually goes up so that the method of effective model reduction becomes an essential technology for interconnect circuit modeling and simulation.
In the design of VLSI, well known methods of reducing the interconnect circuit model are:
However, the prior arts mentioned above only deals with the Single Input Single Output (SISO) system; they have not yet dealt with the Multiple Input Multiple Output (MIMO) system.
Thus, a technology of MIMO system model reduction is proposed, comprising:
However, in the prior art, when the order of reduced system is higher, the value may not be stable; for example, in the iteration process for the MPVL algorithm, breakdown may occur, thereby a preferable breakdown result being not given.
For this reason, in consideration of improvability of the defects described above, this inventor especially concentrates on studies and operate in coordination with academic theories in addition to the experience in this field for many years, finally providing this invention for a design reasonable and effective improvement of the defects mentioned above.
In order to solve the above problems, In the conventional design of VLSI, a technology of MIMO system model reduction is well known, comprising MPVL method and Arnoldi (BA) algorithm. However, in the algorithm, when the order of reduced system is higher, the value may not be stable, thereby a preferable breakdown result being not given.
To solve the technical problems, a method of reducing a multiple-inputs multiple-outputs (MIMO) interconnect circuit system in a global Lanczos algorithm is provided, comprising the steps of:
Thus, the global Lanczos algorithm is provided in this invention. Steps of vectorizing the matrix are applied in the process of operation, so the same expanded subspaces may still be given and a better breakdown result is given than that in the MPVL algorithm.
For a virtue compared with that of the prior art, a method of reducing a multiple-inputs multiple-outputs (MIMO) interconnect circuit system in a global Lanczos algorithm is provided. In this invention, the steps of vectorizing the matrix are applied in the process of operation, so the same expanded subspaces may still be given, a better breakdown result is given, and improvement of the unstable value occurring when the order of conventional reduced system is higher is made.
However, in the description mentioned above, only the preferred embodiments according to this invention are provided without limit to this invention and the characteristics of this invention; all those skilled in the art without exception should include the equivalent changes and modifications as falling within the true scope and spirit of the present invention.
Now, the present invention will be described more specifically with reference to the following embodiments. It is to be noted that the following descriptions of preferred embodiments of this invention are presented herein for purpose of illustration and description only; it is not intended to be exhaustive or to be limited to the precise form disclosed.
In a design of integrated circuit according to this invention, the operation of an interconnect circuit in VLSI is analyzed. Next, the structure of interconnect circuit is extracted, and an objective MIMO interconnect circuit is analyzed, such as a clock signal line, a power line, and a longer bus transmission line. Further, a cluster-based circuit model is constructed, and the parametric expression of cluster-based circuit is used to model the transmission line. A Modified Nodal Analysis matrix is constructed, and the method of Modified Nodal Analysis is applied to construct a math expression of the circuit. Next, a reduced model is constructed, and in a method of reducing a multiple-input-multiple-output (MIMO) interconnect circuit system in a global Lanczos algorithm that is proposed in this invention, a reduced system is constructed and the operation of circuit is analyzed, such as a frequency response waveform of the interconnect circuit. Finally, the simulation of interconnect circuit analysis ends.
In this invention, a method of reducing a multiple-inputs multiple-outputs (MIMO) interconnect circuit system in a global Lanczos algorithm is provided, comprising the steps of:
In the process of analysis on the characteristics of a linear interconnect circuit in VLSI, Modified Nodal Analysis (MNA) is applied in the prior art, in which a linear, time-invariant, RLCG interconnect circuit in VLSI may be expressed as the following form:
where a matrix
comprises capacitance C and inductance L in a circuit, a matrix
comprises resistance R and an incidence matrix E to satisfy Kirchhoff's Voltage Law (KVL) and Kirchhoff's Current Law (KCL), and M,N ε □n×n, B ε □n×s is a matrix determining input node voltage, in which s is a number of input signal and x(t) is a system union function, comprising voltage union and current union, namely
and u(t) is a function of system input signal. L ε □k×n To determine an output response matrix and simplify the description, s=k is made in this invention. If A=−(N+s0M)−1M and R=(N+s0M)−1B, in which s0 a frequency expansion point and N+s0M is non-singular, equation (1) may be changed into:
The transfer functions of original system and simplified system are respectively defined to:
H(s0+σ)=L(In−σA)−1R (3)
Ĥ(s0+σ)={circumflex over (L)}(In−σÂ)−1{circumflex over (R)} (4)
where  ε □q×q and q<<n.
The global Lanczos algorithm according to this invention is another algorithm of model reduction for the MIMO interconnect circuit, which may be regarded as a standard Lanczos algorithm applied in a matrix to ( ,r) and ( ,r), where ( ,r), ( ,r), and ( ,r). Is ε □s×s is a unit matrix, where {circle around (×)} is the Kronecker product of the two matrices, A=[aij]i,j=1m ε Rm×m and B=[bij]i,j=1n ε Rn×n, and the Kronecker product of A and B is made to be A{circle around (×)}B ε Rmn×mn, being defined below to:
A vector vec(R) ε Rns is defined to vec(R)=[R(•,1)T, . . . ,R(•,s)T]T, where R(•,j),j=1, . . . , s is a column vector j of R. vec(LT) ε Rnk is defined to vec(LT)=[L(1,•), . . . ,L(s,•)]T, where L(•,j),j=1, . . . ,k is a raw vector j of L. The relation between the conventional vectorization and the Kronecker product proposed in 1985 by P. Lancaster and M Tismenetsky, The Theory of Matrices: with Applications, Academic Press, pp. 410, is found below:
vec(ABC)=(CT{circle around (×)}A)vec(B).
vec(A)Tvec(B)=trace(ATB).
(A{circle around (×)}B)(C{circle around (×)}D)=(AC×BD).
Proposed in this invention, the global Lanczos algorithm is applied to generate Frobenius orthonormalization bases in two Krylov subspaces by means of recursion:
K
q(A,R)=span{R,AR, . . . ,Aq−1R} and Lq(AT,LT)=span{LT,ATLT, . . . ,(AT)q−1LT}
In
is an initial matrix, in which <•, •>F is a Frobenius inner product, <A,B>F=trace(ATB).
A Frobenius norm (proposed in 1985 by P. Lancaster and M Tismenetsky, The Theory of Matrices: with Applications, Academic Press) is defined in the prior art to:
∥A,B∥F=√{square root over (|trace(ATB)|)}=√{square root over (vec(A)Tvec(B))}{square root over (vec(A)Tvec(B))}
From the algorithm proposed in this invention, the Frobenius orthonormalization base may be given, as shown below:
V
g,q
=[V
1
V
2
. . . V
q
] ε K
q(A,R) and Wg,q=[W1 W2 . . . Wq] ε Lq(AT,LT)
and the following properties are given:
<Vi,Wj>F=0 when i≠j;i,j=1,2, . . . ,q
<Vi,Wj>F=1 when i=j
and Vg,q is made to be a matrix Vg,q, Vg,q, and Vg,q is a matrix Vg,q, Vg,q. Tg,q is a triangle matrix q×q:
The Kronecker product {circle around (×)} is used to satisfy the following relation:
AV
g,q
=V
g,q
{tilde over (T)}
g,q+δq+1Vq+1EqT (5)
A
T
W
g,q
=W
g,q
{tilde over (T)}
g,q
T+βq−1Wq+1EqT (6)
{tilde over (T)}g,q=Tg,q{circle around (×)}Is, where Is is a unit matrix of dimension s.
Ej=ej{circle around (×)}Is, where ej is a column vector j of the unit matrix.
The Dimension of Ej is identical to those of other matrices, but what is different from the standard Lanczos algorithm is the product of Wg,qTVg,q is not a unit matrix but a unit matrix of vec(Wg,qT)vec(Vg,q).
In this invention, a reduced model in the global Lanczos algorithm is proposed to generate two projection matrices Vg,q and Wg,q in an asymmetric, global Padé via Lanczos algorithm.
In case of {tilde over (W)}g,q=Wg,q(Wg,qTVg,q)−T, the simplified system is defined to:
Â={tilde over (W)}g,qTAVg,q, {circumflex over (R)}={tilde over (W)}g,qTR=δ1E1, and {circumflex over (L)}=LVg,q=β1E1TWg,qTVg,q (7)
The product of {tilde over (W)}g,qTVg,q is a unit matrix, in which {tilde over (W)}g,qT may be regarded as a pseudo-inverse matrix of Vg,q and may be expressed as Vg,q+, so the matrix Vg,qVg,q+ may be regarded as a projection matrix projected to a column space Vg,q.
Further, Vg,q, Wg,q, are Tg,q generated after q times of iteration in the global Lanczos algorithm; from the characteristics mentioned above, the characteristic of matching may prove.
For declining order system i-th, where i=0,1, . . . ,2q−1, the system union is described below.
In case of i=0, i=0, i=0 is a projection matrix in the i=0 column vector and i=0, so i=0, i=0 is established in case of i=0; supposing that i=0, i=0 is established. In case of i=k+1, then
AR exists in colspan{Vg,q}, so Vg,q{tilde over (W)}g,qTAR=AR. Thus, {circumflex over (L)}Ak+1{circumflex over (R)}=LAk+1R. It thus proves that the union matching property of the preceding 2q orders of the original system and reduced system is established.
In this invention, a math expression of the preceding 2q orders of the original system and reduced system is also proposed. In the definition given from equation (5) in the global Lanczos algorithm, if Δ1′=δq+1Vq+1EqT is defined, in case of k=0,1, . . . ,q−1 then
Likewise, if Δ2′=βq+1Wq+1EqT is defined, then
E1 is multiplied respectively at the right sides of equations (8) and (9), and then
where after q times of iteration in the global Lanczos algorithm, a result is given as follows:
Thus, in case of i<q−1, equations (10) and (11) may be reduced to:
A
i
V
g,q
E
1
=V
g,q
{tilde over (T)}
g,q
i
E
1 and (AT)iWg,qE1=Wg,q({tilde over (T)}g,qT)iE1.
In case of i=q−1, then
Thus,
LA
2q
R=LA
q
A
q
R=β
1
E
1
T
W
g,q
T
A
2q
V
g,q
E
1δ1=β1(E1T{tilde over (T)}g,qqWg,qT+(β2β3 . . . βq+1)Wq+1T)(Vg,q{tilde over (T)}g,qqE1+(δ2δ3 . . . δq+1)Vq+1)δ1=β1E1T{tilde over (T)}g,qqWg,qTVg,q{tilde over (T)}g,qqE1δ1+(β1β1 . . . βq+1δ1δ2 . . . δq+1)Wq+1TVq+1+β1(δ1δ2δ2 . . . δq+1)E1T{tilde over (T)}g,qqWg,qTVq+1+δ1(β1β2β2 . . . βq+1)Wq+1TVg,q{tilde over (T)}g,qqE (12)
where the last three items may be regarded as an error between the original system and the reduced system of order 2q.
In the global Lanczos algorithm, another simplified system is proposed in this invention, and the simplified system defines the declining system of order q to Â=Wg,qTA{tilde over (V)}g,q, where {tilde over (V)}g,q=Vg,q(Wg,qTVg,q)−1. Likewise, the product of Wg,qT{tilde over (V)}g,q is also a unit matrix. Thus, the union matching property is still applicable; namely in case of j=0,1, . . . ,2q−1, j=0,1, . . . ,2q−1.
Among many model reduction arts, a prior art is proposed on April 1995 by I. M. Jaimoukha and E. M. Kasenally “Oblique Projection Methods for Large Scale Model Reduction” Siam J. Matrix Anal. Appl. Vol. 16, No. 2, pp. 602-627 for application of a Lyapunov equation as a mathematical model,
AP+PA
T
+RR
T=0 (13)
A
T
Q+QA+L
T
L=0 (14)
If λi is a eigenvalue i of matrix A, for all i,j, in case of λi(A)+
P* is made to be a precise solution to equation (13) and Q* is made to be that to equation (14); in this invention, an approximate solution P* is proposed, of which the form is Pq=Vg,qXqVg,qT, where Xq ε □q×q is a randomly symmetric matrix and Vg,q is an orthonormalization base of Kq(A,B). Likewise for equation (14), an approximate solution of Q* is made to be Qq=Wg,qYqWg,qT, where Wg,q is a combination of orthonormalization bases in the Krylov subspace Lq(AT,LT) of dimension.
Further, this invention follows the prior art proposed on April 1995 by I. M. Jaimoukha and E. M. Kasenally “Oblique Projection Methods for Large Scale Model Reduction” Siam J. Matrix Anal. Appl. Vol. 16, No. 2, pp. 602-627, and an equation of residual error is defined so that results are given as follows from the Xq and Xq:
R
q(Xq):=A(Vg,qXqVg,qT)+(Vg,qXqVg,qT)AT+BBT (15)
S
q(Yq):=AT(Wg,qYqWg,qT)+(Wg,qYqWg,qT)A+LLT (16)
From equations (5) and (6), the sets of definition are given as follows:
{tilde over (H)}
q=(Wg,qTVg,q)−1Wg,qTAVg,q={tilde over (T)}g,q+(Wg,qTVg,q)−1Wg,qTVq+1δq+1EqT
{tilde over (G)}
q
=W
g,q
T
AV
g,q(Wg,qTVg,q−1={tilde over (T)}g,q+Eqβq+1Wq+1TVq+1(Wg,qTVg,q)−1
After substitution of equation (15) into equation (13), a result is given:
After substitution of equation (16) into equation (14), a result is given:
Supposing q times of global Lanczos algorithm is done, Pq=Vg,qX*qVg,qT, Qq=Wg,qY*qWg,qT is a low-order approximate solution to equations (13) and (14) and X*q and Y*q satisfy equations (19) and (20), respectively,
{tilde over (H)}
q
X*
q
+X*
q
{tilde over (H)}
q
T
+E
1δ12E1T=0 (19)
{tilde over (G)}
q
T
Y*
q
+Y*
q
{tilde over (G)}
q
+E
1β12E1T=0 (20)
then
(A−Δ1)Pq+Pq(A−Δ1)T+RRT=0 (21)
(A−Δ2)TQq+Qq(A−Δ2)+LTL=0 (22)
After substitution of Xq=X*q into equation (17), a result is given as follows:
(Wg,qTVg,q)−1Wg,qTVg,q=I, namely EqT(Wg,qTVg,q)−1Wg,qTVg,q=EqT, so a result is given as follows:
The equations are re-arranged and then Δ1=(I−Vg,q(Wg,qTVg,q)−1Wg,qT)Vq+1δq+1EqT(Wg,qTVg,q)−1Wg,pT.
Likewise, after substitution of Yq=Y*q in equation (22) into equation (18), a result is given as follows:
In case of EqT(Vg,qTWg,q)−1Vg,qTWg,q=EqT, then
Thus, Δ2=Vg,q(Wg,qTVg,q)−1Eqβq+1Wq+1T(I−Vg,q(Wg,qTVg,q)−1Wg,qT).
It is proposed in this invention that Δ=Δ1+Δ2 is substituted into the Lyapunov equation to satisfy:
(A−Δ)Pq+Pq(A−Δ)T+RRT=0 (23)
(A−Δ)TQq+Qq(A−Δ)+LTL=0 (24)
where the rank of Δ at most is 2, which may be expressed as:
In consideration of the system, if the perturbation system is added to equations (23) and (24), then
where from
the transfer matrix H66(s0+σ) of the original system extra provided with the perturbation system is equal to the transfer matrix Ĥ(s0+σ) of the reduced system. Because of the definition of Δ in equation (25), a result is given as follows:
{tilde over (W)}
g,q
T(I−Vg,q(Wg,qTVg,q)−1Wg,qT)=0□(I−Vg,q(Wg,qTVg,q)−1Wg,qT)Vg,q=0
thus
Thus, {tilde over (W)}g,qT(A−Δ)Vg,q={tilde over (W)}g,qTAVg,q, namely Â={tilde over (W)}g,qT(A−Δ)Vg,q. Vg,q is multiplied at the left side of the equation, and then Vg,qÂ=Vg,q{tilde over (W)}g,qT(A−Δ)Vg,q. In case of Vg,q ε colspan{Vg,q}, then
V
g,q
Â=(A−Δ)Vg,q
−σ is multiplied and then Vg,q is added, and the equation may be changed into:
(In−σ(A−Δ1))−1Vg,q=Vg,q(Iqs−σÂ)−1
Finally, L is multiplied at the left side of the equation, while {tilde over (W)}g,qTR is multiplied at the right side of the equation; after mathematic operation, a result is given as follows:
L(In−σ(A−Δ))−1Vg,q{tilde over (W)}g,qTR=LVg,q(Iqs−σÂ)−1{tilde over (W)}g,qTR□
R ε colspan{Vg,q}, Vg,q{tilde over (W)}g,qTR=R, so the equation may be changed into:
L(In−σ(A−Δ))−1R={circumflex over (L)}(Iqs−σÂ)−1{circumflex over (R)}
Then,
Ĥ(s0+σ)=HΔ(s0+σ) (27)
Thus, it proves that the output transfer function of the declining order system is equal to that of the original system additionally provided with turbulence.
For the process of this invention, refer to the flow shown in
Parameters of the original system that are inputted at step 1 are parameters for passive components that are inputted in the original circuit, in which a matrix
comprises capacitance C and inductance L in a circuit, and a matrix
comprises resistance R and an incidence matrix E, and a corresponding modified nodal analysis equation is constructed;
at step 2, determining the reduced order q: the declining system is generated in a projection skill applied for the original circuit and the reduced order q is determined;
at step 3, solving the Frobenius orthonormalization matrices Vg,q and Wg,q in the asymmetric Lanczos algorithm: in the global asymmetric Lanczos algorithm, q times of iteration is executed for the Frobenius orthonormalization matrices Vg,q and Wg,q;
at step 4, calculating the reduced system model: the reduced system is constructed through the two matrices, and the union of the preceding 2q orders of the reduced system is identical to the union of original system; and
finally, at step 5, building up the turbulence system: the turbulence system Δ is applied, and it may be verified that the output transfer function of reduced system is equal to that of original system additionally provided with the perturbation system, Ĥ(s0+σ)=HΔ(s0+σ).
In this invention, a simple embodiment is used as a test case for verification of the accuracy of algorithm, as shown in
Thus, there are 237 nodes, 240 branches, and dimension n=477 of MNA matrix in branching lines. In the simple embodiment, two input voltage sources and two output receiving terminals are included. They are s=2 and s=2. In this embodiment, an operating frequency range is {0,15 GHz}, and a frequency expansion point of reduced system is made to be s0=0 Hz. The order of reduced system is set to 7 and thus the determined order of reduced system is qs=14.
Next,
In
In this invention, a technology of reducing a MIMO circuit, the applied algorithm is the global Lanczos algorithm, and a congruent projection matrix is used to generate the reduced system so that the system union of preceding 2q system of the reduced system may be surely corresponding to that of original system. Also in this invention, the mathematic model of system union of order 2q+1 of the reduced system is proposed. In the Lyapunov equation as the model reduction art, the turbulence matrix Δ may be given in this invention, which is a mathematic model of which the rank at most is 2. The turbulence matrix comprises only the previous two Frobenius orthonormalization vectors in the global asymmetric PVL algorithm, so less calculation process is required. In this invention, it is proposed that the transfer function of reduced model in the algorithm is completely identical to that of original system additionally provided with the perturbation system.
While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.