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.
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.
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