A Novel Meta-predictor based Algorithm for Testing VLSI Circuits

Shruti Pandey, Jayadeva, Smruti R. Sarangi · DOI

Introduction

As integrated circuits (ICs) grow in complexity, testing for manufacturing defects like "stuck-at" faults has become a major computational bottleneck. This task, known as Automatic Test Pattern Generation (ATPG), is an NP-hard search problem. For decades, the industry has relied on the PODEM algorithm, which uses recursive backtracking to find input combinations that reveal internal faults. However, traditional tools are reaching their limits. While Machine Learning (ML) has been proposed to guide these searches, previous methods often failed to generalize to modern, large-scale designs or outperform proprietary commercial software.

Methodology: The HybMT Approach

The researchers introduced HybMT, a hybrid algorithm that integrates a two-level prediction system into the PODEM framework to accelerate the search process.

Level 1: Specialized Predictors

HybMT employs two underlying models to predict the "probability of no-backtrack"—the likelihood that a specific decision will lead to a successful test pattern without needing to undo steps:

  • HybNN: A deep neural network utilizing skip connections (similar to ResNet). These connections mitigate the vanishing gradient problem, enabling the model to learn more effectively from circuit structures. This architecture alone provided a 20.4% reduction in CPU time compared to standard neural networks.
  • SVR: A Support Vector Regressor used as an alternative expert for specific circuit topologies.

Level 2: The Meta-Predictor

Recognizing that no single model is optimal for every circuit, the authors developed a Meta-Predictor based on a Random Forest Classifier. At runtime, this meta-predictor analyzes eight circuit features—including COP (Controllability/Observability Program) and SCOAP metrics—to dynamically select whether HybNN or SVR should make the prediction for a given instance.

The HybMT meta-predictor architecture dynamically selects the optimal ML model (HybNN or SVR) based on real-time circuit features.

Experimental Setup and Key Insights

The models were trained on the classic ISCAS '85 benchmarks and evaluated on the EPFL arithmetic benchmark suite. The EPFL circuits are up to 70 times larger than the training data, serving as a rigorous test for generalization.

A key insight from the study was the importance of feature selection. Using radar plots for feature importance analysis, the researchers found that SCOAP one controllability is the most critical feature for accurate predictions. This confirms that quantifying the effort required to control internal signals is essential for avoiding redundant computations.

Results

HybMT demonstrated significant performance gains over both commercial and academic baselines. The meta-predictor achieved a 99% accuracy rate in model selection, ensuring the system remained "dynamically expert" across different benchmarks.

Performance comparison showing HybMT's significant speedup over baseline and other ML methods across various benchmark circuits.

Key results include:

  • 56.6% speedup compared to state-of-the-art commercial ATPG tools.
  • 126.4% speedup over the previous best ML-based ATPG methods.
  • Zero Loss in Coverage: Despite the speed increase, fault coverage remained equal to or slightly better (~2%) than commercial tools.

Conclusion and Future Work

HybMT proves that a meta-learning approach can significantly enhance Electronic Design Automation (EDA) tools. By choosing the right model for the right task, it achieves unprecedented speedups on modern benchmarks. Future research will focus on scaling the model's expressive power for even larger circuits and extending the framework to handle sequential logic elements like flip-flops.

Summary updated

BibTeX
@inproceedings{pandey2024novel,
  author = {Shruti Pandey and Jayadeva and Smruti R. Sarangi},
  title = {{A Novel Meta-predictor based Algorithm for Testing VLSI Circuits}},
  booktitle = {ASPDAC},
  year = {2024},
  doi = {10.1109/asp-dac58780.2024.10473922},
}
Figure