NN-PARS: A Parallelized Neural Network Based Circuit Simulation Framework

Mohammad Saeed Abrishami, Hao Ge, Justin F. Calderon, Massoud Pedram, Shahin Nazarian

Abstract: The shrinking of transistor geometries as well as the increasing complexity of integrated circuits, significantly aggravate nonlinear design behavior. This demands accurate and fast circuit simulation to meet the design quality and time-to-market constraints. The existing circuit simulators which utilize lookup tables and/or closed-form expressions are either slow or inaccurate in analyzing the nonlinear behavior of designs with billions of transistors. To address these shortcomings, we present NN-PARS, a neural network (NN) based and parallelized circuit simulation framework with optimized event-driven scheduling of simulation tasks to maximize concurrency, according to the underlying GPU parallel processing capabilities. NN-PARS replaces the required memory queries in traditional techniques with parallelized NN-based computation tasks. Experimental results show that compared to a state-of-the-art current-based simulation method, NN-PARS reduces the simulation time by over two orders of magnitude in large circuits. NN-PARS also provides high accuracy levels in signal waveform calculations, with less than 2% error compared to HSPICE.

The Challenge of Modern Circuit Simulation

As transistor geometries shrink to 7nm and below, modeling the non-linear behavior of integrated circuits becomes increasingly complex. Designers face a "trilemma" between accuracy, speed, and scale. While SPICE simulators offer high accuracy, they are too slow for modern chips with billions of transistors. Conversely, Lookup Table (LUT) models are faster but suffer from the "memory wall"—the high latency of accessing large tables in DRAM compared to the speed of modern processors. The primary bottleneck in modern Current Source Models (CSM) is the latency of memory queries, which NN-PARS aims to eliminate by calculating circuit behavior on-the-fly using neural networks.

The NN-PARS Methodology

NN-PARS addresses these challenges by shifting from data retrieval to data computation. Instead of storing voltage and current data in large tables, the framework models each logic cell (e.g., INV, NAND, NOR) using a compact neural network (NN) with a single hidden layer.

GPU-based parallel simulation of logic gates using neural network models.

By storing NN weights in the GPU’s high-speed register files or L1 cache, the framework avoids high-latency DRAM queries. The execution is further optimized through:

  • Parallelized Computation: A tree-based structure parallelizes the multiplications and additions within the NN, allowing the GPU to compute the output of many logic gates simultaneously.
  • Event-Driven Scheduling: A scheduler identifies gates that can be simulated in parallel and only processes those where inputs have changed significantly, maximizing GPU utilization and reducing unnecessary work.

Experimental Results and Performance

The framework was evaluated using standard ISCAS85 benchmarks and 7nm/16nm technology nodes. The results demonstrate that NN-PARS effectively transforms a memory-bound problem into a compute-bound one, leveraging the massive floating-point performance of modern GPUs.

Comparison of signal waveforms between SPICE, traditional LUT-based models, and the proposed NN-based approach.

Key findings include:

  • Massive Speedup: NN-PARS achieved a 134x speedup for the largest tested benchmark (c7552) compared to state-of-the-art LUT methods.
  • High Fidelity: Signal waveform calculations showed less than 2% error compared to gold-standard HSPICE simulations, maintaining high accuracy for non-linear behaviors.
  • Scalability: The speedup increases with circuit size, as larger designs provide more opportunities for parallel gate processing, fully saturating the GPU's throughput.

Conclusion

NN-PARS demonstrates that replacing memory-intensive lookup tables with lightweight, parallelized neural networks can overcome the performance bottlenecks of traditional circuit simulation. By achieving near-SPICE accuracy with two orders of magnitude speedup, it provides a scalable solution for the design and verification of next-generation integrated circuits.

Summary updated

BibTeX
@inproceedings{abrishami2020nn,
  author = {Mohammad Saeed Abrishami and Hao Ge and Justin F. Calderon and Massoud Pedram and Shahin Nazarian},
  title = {{NN-PARS: A Parallelized Neural Network Based Circuit Simulation Framework}},
  booktitle = {ISQED},
  year = {2020},
  doi = {10.1109/isqed48828.2020.9137047},
}
Figure