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

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

Introduction

As integrated circuit (IC) design moves toward the 7nm node and beyond, the complexity of these systems has exploded, often involving billions of transistors. Traditional SPICE simulators, while highly accurate, are far too slow for modern design cycles. To address this, engineers have historically used Current Source Models (CSM) that approximate transistor behavior using large Look-Up Tables (LUTs). However, these LUTs face a significant hardware bottleneck: memory latency. Because these tables are massive, they must be stored in DRAM, making data access orders of magnitude slower than computation.

Methodology: Shifting to Compute-Bound Simulation

NN-PARS (Neural Network Based Parallelized Circuit Simulation) addresses this bottleneck by shifting the simulation paradigm from memory-bound to compute-bound. The framework replaces traditional LUTs with lightweight, single-hidden-layer neural networks (NNs) for each logic cell (e.g., INV, NAND2).

Mapping logic gates to neural network models within the GPU architecture.

By using NNs, the "knowledge" of transistor behavior is stored in compact weights that fit within a GPU’s fast register files, eliminating the need for slow DRAM fetches. To ensure numerical stability and faster convergence, the NNs are trained on the logarithm of the output current rather than raw values.

To maximize the parallel processing power of NVIDIA GPUs, NN-PARS employs an event-driven scheduler. This scheduler identifies gates needing updates at each time step, allowing thousands of independent gates to be processed simultaneously across the GPU's cores, rather than following a strict, sequential topological order based on circuit layout.

Results and Accuracy

The framework was validated against industry-standard HSPICE using ISCAS85 benchmarks. A key metric for success is "Expected Waveform Similarity" ($E_{sim}$), which measures the deviation from the gold-standard SPICE output.

Comparison of voltage waveforms between SPICE, CSM-NN, and CSM-LUT.

As shown in the waveform comparison, the NN-based approach (CSM-NN) maintains high fidelity, with an error rate of less than 2% relative to HSPICE. In terms of performance, NN-PARS achieved a massive 134x speedup on the largest benchmark circuits compared to state-of-the-art CSM methods. These gains were consistent across different technologies, including 16nm MOSFET and 7nm FinFET devices, demonstrating the framework's technology independence.

Conclusion

NN-PARS demonstrates that performing complex calculations (NN inference) is significantly faster than fetching data from memory in modern computing architectures. By leveraging GPU parallelism and neural network approximations, the framework provides a scalable solution for high-speed, high-accuracy circuit simulation. Future work will expand the library to include sequential logic and more complex cells for full-chip System-on-Chip (SoC) analysis.

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