IEEE TRANSACTIONS ON COMPONENTS, PACKAGING AND MANUFACTURING TECHNOLOGY, VOL. 1, NO. 9, SEPTEMBER 2011 1447
Partitioned Latency Insertion Method with a Generalized Stability Criteria
Patrick Goh, José E. Schutt-Ainé, Fellow, IEEE, Dmitri Klokotov, Jilin Tan, Senior Member, IEEE,
Ping Liu, Wenliang Dai, and Feras Al-Hawari Abstract— This paper presents a modular approach to the high-frequency simulation of large networks. By utilizing the latency insertion method (LIM) and by studying the stability criteria of partitions of different latencies in the circuit, a robust method is formulated that is able to perform transient simulations significantly faster than the conventional LIM method. The LIM method is also extended to handle dependent sources, and a general stability criterion for selecting the time step, independent of the topology of the circuit, is proposed. The new method is verified with existing commercial tools for circuit simulations, and the improvement in run time is also depicted.
W ITH the increase in the density of interconnects and the complexity of high-speed packages, signal integrity becomes an important aspect in the design of modern devices. Circuit designers are constantly in need of newer and better methods that are able to capture the complicated electromagnetic behaviors of complex circuits. In this aspect, the ability to accurately simulate large circuits in a reasonable amount of time is invaluable in the design of any circuit. As a result, there is a constant need and push toward faster circuit simulation methods that are able to handle large circuits in a fraction of the time taken by conventional circuit simulators.
The latency insertion method (LIM) [1] has recently emerged as an efficient approach for performing fast simulations of very large circuits. By exploiting latencies in the circuit, LIM is able to solve the voltages and the currents in the circuit explicitly at each time step. This results in a computationally efficient algorithm that is able to simulate large circuits significantly faster than conventional matrix inversion–based methods such as SPICE [2].
The two main advantages of LIM over SPICE-like simulators for transient simulations are its linear numerical complex-
Manuscript received January 8, 2011; revised March 27, 2011; accepted April 29, 2011. Date of publication July 14, 2011; date of current version September 21, 2011. Recommended for publication by Associate Editor M. Cases upon evaluation of reviewers’ comments.
P. Goh, J. E. Schutt-Ainé, and D. Klokotov are with the Department of Electrical and Computer Engineering, University of Illinois at Urbana-Champaign, Urbana, IL 61801 USA (e-mail: [email protected]; [email protected]; [email protected]).
Color versions of one or more of the figures in this paper are available online at http://ieeexplore.ieee.org.
Digital Object Identifier 10.1109/TCPMT.2011.2158540 ity and its linear memory requirement [3]. For this reason, LIM is most efficiently used for solving large circuits where the number of elements is in the order of millions. For example, in [4]–[8], LIM has been used in both the transient and steadystate analysis of power distribution networks, where the usage of conventional simulators is prohibited by the large circuit size. In addition, LIM is also well suited to handle simulations of high-frequency circuits such as the tightly coupled transmission lines [9], [10] and circuits with frequency-dependent effects [11]–[13]. On the other hand, one of the disadvantages of LIM is its reliance on latency elements in the circuit in order to perform its time-stepping algorithm. The LIM algorithm is only conditionally stable, with an upper bound on the maximum time step which depends mainly on the smallest inductance and capacitance in the circuit. When the circuit contains very small latency elements, the time step required for a stable simulation could be equally small, which would result in a large number of time steps in a transient simulation. In order to alleviate this problem, a block-processing technique has been proposed [14]–[16], which utilizes different time steps for different parts of the circuit. However, selecting the maximum time step for each part of the circuit is still a challenging task, and the basic method used in [14]–[16] to select the time step can only be applied under very restrictive assumptions [17]. Specifically, each node in the circuit has to be connected to only two branches, and the values of the circuit elements have to be the same everywhere in each subcircuit. In this paper, we propose a more robust method to select the maximum time step of the LIM simulation, which is independent of the circuit topology. We then apply the method, along with the block-processing technique, to the simulation of circuits with partitions of different latencies, and demonstrate the accuracy and speed improvements of the proposed method over the basic LIM. In addition, we will also extend the basic LIM to handle dependent sources.
The remainder of this paper is organized as follows. Section II reviews the basic LIM formulation. Section III presents the matrix version of the semi-implicit LIM formulation, along with the usage of the amplification matrix to predict the stability of a time step. Section IV details the modification to the circuit parameter matrices to include dependent sources, and the resulting modifications to the amplification matrix. Section V will present the usage of multiple time steps to simulate circuits with partitions of different latencies, by applying the amplification matrix to select the time steps for each partition, and the speed improvement over the regular LIM.
In this section, the formulation of the vector-matrix version of the semi-implicit LIM [20] will be reviewed. From (1), we
=− M i
I ik n . (5) k=1 Equation (5) can then be written in a vector-matrix formulation as
GOH et al.: PARTITIONED LATENCY INSERTION METHOD 1449
form as
1450 IEEE TRANSACTIONS ON COMPONENTS, PACKAGING AND MANUFACTURING TECHNOLOGY, VOL. 1, NO. 9, SEPTEMBER 2011
Fig. 5. Transmission line connected to an external network.
GOH et al.: PARTITIONED LATENCY INSERTION METHOD 1451
For simplicity, it is assumed that all the time steps are integer multiples of the smallest time step. If not, they are rounded down to the nearest integer multiple of the smallest time step.
Fig. 7. Simulation algorithm for partitioned LIM.
as shown in Fig. 6, where the fictitious elements have been made small so as not to affect the accuracy of the solution.
The time step required for a stable simulation of this RLC circuit can then be shown to be [3]
where L i, p denotes the value of the pth inductor connected to node i . Notice that in this case, the L and C of the external network completely determine the maximum time step. In other words, the maximum time step to ensure stability is dictated by the section with the smallest latency. However, note that if we had considered a circuit with only the transmission line TLINE 1, the maximum time step would have been
must be used. Once all the time steps have been determined, the smallest time step is used in LIM to simulate the circuit, but each partition is updated only as needed, depending on its maximum stable time step. This results in a computationally efficient algorithm, with large speed-ups in the simulation time, especially when the partition with the smallest latency is small compared to the rest of the circuit. The method is summarized in Fig. 7.
VI. N UMERICAL R ESULTS
In this section, the methods presented in Section IV and V are applied to perform simulations of circuits using LIM in the presence of dependent sources and with partitions of different latencies. First, the formulation in Section IV is used to simulate a circuit with four dependent sources (VCCS, CCCS, VCVS, and CCVS). In order to validate the method, the same circuit is simulated in SPECTRE [22], a commercial circuit solver from Cadence Design Systems utilizing the modified nodal analysis (CS-MNA) method, and the results are compared. Next, the usage of multiple time steps is depicted with an example circuit with partitions of different latencies. Speed improvements over the conventional LIM will be illustrated.
A. Dependent Sources
In this example, the circuit shown in Fig. 8 is simulated in the LIM environment. It is assumed that all the branches and IEEE TRANSACTIONS ON COMPONENTS, PACKAGING AND MANUFACTURING TECHNOLOGY, VOL. 1, NO. 9, SEPTEMBER 2011 (a)
1.005 × 10 −10
Time (ns)
(a)
max (eig(A))
max (eig(A))
1452 1 0.995 0.99 (b)
× 10 −10 Fig. 9. Sweep of eigenvalues of the amplification matrix, A. (a) Broad view. (b) Expanded view.
the nodes in the circuit have inherent latencies as shown in the figure such that no fictitious elements have to be inserted. The input is a current source with a single trapezoidal pulse of rise and fall times equal to 1 ns and a pulse width of 4 ns. The maximum amplitude is 0.02 A. In order to validate Theorem 1 and the subsequent result in (30), a sweep of the eigenvalues of the amplification matrix A is performed and the maximum time step for stability is determined from where the magnitude of the maximum eigenvalue equals 1. This is shown in Fig. 9. Note that in practice, this process can be time consuming, especially when the circuit under consideration is large. In that case, the circuit can be partitioned into multiple segments, and the method presented in Section V can be used to simulate the different partitions with different time steps. Also, a more effective search algorithm can be employed to determine the maximum time step.
From Fig. 9, the maximum time step is determined to be t max < 6.864 × 10 −11 s. We then perform two transient simulations, first using a time step slightly smaller than the maximum time step, and then using a time step slightly larger Time (ns)
(b) Fig. 10. Simulation of circuit in Fig. 8 with t = 6.8×10 −11 s. (a) Voltage at node 1. (b) Voltage at node 4.
than the maximum time step. Plots of the resulting waveforms at the input (node 1) and output (node 4) are shown in Fig. 10. We see that the simulation using the properly chosen time step GOH et al.: PARTITIONED LATENCY INSERTION METHOD
1453
10 pF Circuit in example B.
results in a stable and accurate solution, which can be seen from the comparison with the CS-MNA shown in Fig. 10. On the other hand, the simulation using the time step slightly larger than t max results in an unstable simulation as can be seen in Fig. 11. Note that selecting a time step to ensure stability does not necessarily ensure accuracy. In general, the time step must also be small enough for sufficient accuracy. However, typically for an LIM simulation, the time step to ensure stability is small enough such that the accuracy is also preserved.
V(Volts)
Fig. 12.
In this example, the circuit in Fig. 12 is simulated in the LIM environment. The circuit consists of three partitions detailed as follows.
Partition 1: High-latency partition. 2) Partition 2: Low-latency partition. (In practice, this could
be a partition with no latency, whereby small fictitious elements have been inserted to enable LIM.) 3) Partition 3: Dependent sources. Using the method in Sections III and IV, the maximum time
corresponding to partitions 1, 2, and 3, respectively. Note that we have chosen the time steps to be the integer multiples of the smallest time step (in this case t 2 ) as mentioned in Section V.
The circuit is then simulated using the algorithm in Fig. 7 for performing LIM with partitions of different latencies, that is, partitioned latency insertion method (PLIM), and the results at the input (node 1a) and output (node 4c) are shown in Fig. 13. Next, the same circuit is simulated using the traditional LIM with time step t = t 2 = 1.07 × 10 −12 s and the results are also plotted in Fig. 13. No loss in accuracy is observed when using PLIM compared to the regular LIM.
Next, PLIM is used to simulate a large circuit where the partition with the smallest latency is small compared to the rest
Fig. 13. Simulation of circuit in Fig. 12. (a) Voltage at node 1a. (b) Voltage at node 4c.
of the circuit. To construct this circuit, partition 1 is cascaded N times and the simulation time is recorded for PLIM and LIM. The results are summarized in Table I. We observe that 1454 IEEE TRANSACTIONS ON COMPONENTS, PACKAGING AND MANUFACTURING TECHNOLOGY, VOL. 1, NO. 9, SEPTEMBER 2011 TABLE I C OMPARISON OF R UN T IMES N LIM (s) PLIM (s) Speed-up
5000 64.52 0.68 94.9 when the sizes of the partitions are comparable, a small speedup is obtained when using PLIM. On the other hand, when the partition with the smallest latency is small compared to the rest of the circuit, a large speed-up is obtained which approaches the limit of t large /t min where t large is the time step of the largest partition and t min is the smallest time step in the circuit, which also dictates the maximum time step of the regular LIM.
VII. C ONCLUSION
An improved version of the LIM, called PLIM, has been proposed. The PLIM is capable of simulating large circuits with partitions of different latencies significantly faster than the conventional LIM. The LIM method has also been extended to handle dependent sources, and a general stability condition for selecting the time step of the simulation has been shown. The validity of the method has been verified and significant speed-ups were observed when using the new method.
R EFERENCES
[1] J. E. Schutt-Ainé, “Latency insertion method (LIM) for the fast transient
simulation of large networks,” IEEE Trans. Circuits Syst. I: Fundam. Theory Appl., vol. 48, no. 1, pp. 81–89, Jan. 2001. [2] L. W. Nagel, “SPICE2: A computer program to simulate semiconductor
circuits,” Dept. Electr. Eng. Comput. Sci., Univ. California, Berkeley, Tech. Rep. UCB/ERL M520, 1975. [3] S. N. Lalgudi, M. Swaminathan, and Y. Kretchmer, “On-chip power-grid
simulation using latency insertion method,” IEEE Trans. Circuits Syst. I, vol. 55, no. 3, pp. 914–931, Apr. 2008. [4] Z. Deng and J. E. Schutt-Ainé, “LIM-SPICE for the analysis of power
distribution networks,” in Proc. 9th IEEE Workshop Signal Propagat. Interconn., Garmisch-Partenkirchen, Germany, May 2005, pp. 17–20. [5] Y. Inoue, T. Sekine, and H. Asai, “GPGPU-based latency insertion
method: Application to PDN simulations,” in Proc. IEEE Electr. Des. Adv. Packag. Syst. Symp., Shatin, Hong Kong, Dec. 2009, pp. 1–4. [6] T. Watanabe and H. Asai, “Equivalent circuit modeling of multilayered
power/ground planes for fast transient simulation,” in Proc. IEEE Eur. Conf. Exhibit. Des. Autom. Test, Dresden, Germany, Mar. 2010, pp. 1153–1158. [7] D. Klokotov and J. E. Schutt-Ainé, “Latency insertion method for the
analysis of steady state on-chip power distribution networks and transient simulation of lossy interconnects,” in Proc. IEEE Asia-Pacific Microw. Conf., Macau, China, Dec. 2008, pp. 1–4. [8] D. Klokotov and J. E. Schutt-Ainé, “Extensions of the latency insertion
method (LIM) to DC analysis of power supply networks and modeling of circuit interconnects with frequency-dependent parameters,” in Proc. 59th IEEE Electron. Comp. Technol. Conf., San Diego, CA, May 2009, pp. 1624–1629.
[9] T. Sekine and H. Asai, “Block latency insertion method (block-LIM) for
fast transient simulation of tightly coupled transmission lines,” in Proc. IEEE Int. Electromag. Compat., Austin, TX, Aug. 2009, pp. 253–257. [10] Y. Inoue, T. Sekine, and H. Asai, “Parallel-distributed block-LIM-based
fast transient simulation of tightly coupled transmission lines,” in Proc. 60th IEEE Electron. Comp. Technol. Conf., Las Vegas, NV, Jun. 2010, pp. 657–662. [11] D. Klokotov and J. E. Schutt-Ainé, “Transient simulation of lossy
interconnects using the latency insertion method (LIM),” in Proc. IEEE Electr. Perform. Electron. Packag., San Jose, CA, Oct. 2008, pp. 251– 254. [12] Z. Deng, J. E. Schutt-Ainé, J. Tan, C. Kumar, and D. Milosevic, “Latency
insertion method with frequency dependent effect,” in Proc. 1st IEEE Electron. Systemintegr. Technol. Conf., Dresden, Germany, Sep. 2006, pp. 503–506. [13] J. E. Schutt-Ainé, D. Klokotov, P. Goh, J. Tan, F. Al-Hawari, P. Liu,
and W. Dai, “Application of the latency insertion method to circuits with blackbox macromodel representation,” in Proc. 11th IEEE Electron. Packag. Technol. Conf., Singapore, Dec. 2009, pp. 92–95. [14] R. Gao and J. E. Schutt-Ainé, “Improved latency insertion method
for simulation of large networks with low latency,” in Proc. IEEE Electr. Perform. Electron. Packag., Monterey, CA, Oct. 2002, pp. 37–40. [15] H. Asai and N. Tsuboi, “Multi-rate latency insertion method with
RLCG-MNA formulation for fast transient simulation of largescale interconnect and plane networks,” in Proc. 57th IEEE Electron. Comp. Technol. Conf., Reno, NV, May–Jun. 2007, pp. 1667– 1672. [16] N. Tsuboi and H. Asai, “Multi-rate latency insertion method for the
fast transient simulation of large networks with nonlinear termination,” in Proc. IEEE Electr. Perform. Electron. Packag., Scottsdale, AZ, Oct. 2006, pp. 137–140. [17] Z. Deng and J. E. Schutt-Ainé, “Stability analysis of latency insertion
method (LIM),” in Proc. 13th IEEE Electr. Perform. Electron. Packag., Portland, OR, Oct. 2004, pp. 167–170. [18] K. Yee, “Numerical solution of initial boundary value problems involv-
ing Maxwell’s equations in isotropic media,” IEEE Trans. Antennas Propagat., vol. 14, no. 3, pp. 302–307, May 1966. [19] S. N. Lalgudi and M. Swaminathan, “Analytical stability condition of
the latency insertion method for nonuniform GLC circuits,” IEEE Trans. Circuits Syst. II, vol. 55, no. 9, pp. 937–941, Sep. 2008. [20] J. E. Schutt-Ainé, “Stability analysis of the latency insertion method
using a block matrix formulation,” in Proc. IEEE Electr. Des. Adv. Packag. Syst. Symp., Seoul, Korea, Dec. 2008, pp. 155–158. [21] J. P. Hespanha, Linear Systems Theory. Princeton, NJ: Princeton Univ.