Journal Dynamics of Complex Systems - XXI century №2 for 2025 г.
Article in number:
Performance and accuracy analysis of linear solvers in circuit-level simulation
Type of article: scientific article
DOI: https://doi.org/10.18127/j19997493-202502-02
UDC: 621.3.049
Authors:

V.S. Melikyan1, E.S. Ghazaryan2, A.G. Harutyunyan3

1–3 National Polytechnic University of Armenia (Yerevan, Armenia)
1 CJSC Synopsys Armenia (Yerevan, Armenia)
1 vazgenm@synopsys.com, 2 eghazaryan911@gmail.com, 3 harash@seua.am

Abstract:

Problem Statement. Accurate and efficient circuit modeling is crucial in modern electronics. A key part of circuit simulation is solving large systems of linear equations generated using Modified Nodal Analysis (MNA), where circuit behavior is represented through Kirchhoff's laws. Efficient and accurate numerical solvers are essential, especially for large-scale circuits with varying sparsity and condition numbers. The challenge lies in selecting an appropriate solver that balances computational efficiency, memory usage, and accuracy based on matrix properties such as symmetry, sparsity, condition number, and size.

Objective. The main goal of this work is a comparative analysis of four numerical solvers: LU decomposition, Sparse LU, Conjugate Gradient (CG), and an adaptive method combining CG and Sparse LU. The evaluation is based on performance and accuracy analysis using C++ Eigen library solvers, considering execution time, memory consumption, and numerical accuracy.

Results. Direct solvers (LU, Sparse LU) provide high accuracy but suffer from high computational and memory costs, making them impractical for large circuits. Sparse LU improves efficiency by leveraging matrix sparsity, making it a preferable choice when exact solutions are required. Iterative solvers, particularly CG, exhibit superior scalability for highly sparse systems, achieving the lowest execution times. The Adaptive method dynamically switches between CG and Sparse LU, offering a balance between efficiency and accuracy.

Practical Significance. The obtained results enable engineers to make correct decisions when selecting solvers based on their circuit characteristics, ensuring both computational efficiency and numerical reliability.

Pages: 7-11
For citation

Melikyan V.S., Ghazaryan E.S., Harutyunyan A.G. Performance and accuracy analysis of linear solvers in circuit-level simulation. Dynamics of complex systems. 2025. V. 19. № 2. P. 7–11. DOI: https://doi.org/10.18127/j19997493-202502-02 [in Russian]

References
  1. Najm F.N. Circuit simulation. John Wiley & Sons. 2010.
  2. Hamedi-Hagh S. Computational Electronic Circuits Simulation and Analysis with MATLAB. 2022.
  3. Hewlett J.D., Wilamowski B.M. SPICE as a Fast and Stable Tool for Simulating a Wide Range of Dynamic Systems. International Journal of Engineering Education. 2011. V. 27. № 2. P. 217–224.
  4. Hanke M. An Introduction to the Modifed Nodal Analysis. 2008. August 20. P. 1–10.
  5. Chen X., Wang Y., Yang H. A Fast Parallel Sparse Solver for SPICE-based Circuit Simulators. Design, Automation & Test in Europe Conference & Exhibition (DATE). 2015. P. 205–209.
  6. Chen X., Xia L., Wang Y., Yang H. Sparsity-Oriented Sparse Solver Design for Circuit Simulation. Design, Automation & Test in Europe Conference & Exhibition (DATE). 2016. P. 1583–1584.
  7. Shastri K.D., Biswas R., Kumari P. Comparison of Direct and Iterative Methods of Solving System of Linear Equations. JSRD - International Journal for Scientific Research & Development. 2015. V. 3. № 04. P. 3287–3288.
  8. Kapre N., DeHon A. Parallelizing Sparse Matrix Solve for SPICE Circuit Simulation using FPGAs. IEEE International Conference on Field-Programmable Technology (FPT 2009), December 9-11.
Date of receipt: 21.04.2025
Approved after review: 13.05.2025
Accepted for publication: 26.05.2025
Download