InF-ATPG: Intelligent FFR-Driven ATPG with Advanced Circuit Representation Guided Reinforcement Learning
Bin Sun, Rengang Zhang, Zhiteng Chao, Zizhen Liu, Jianan Mu, Jing Ye, Huawei Li
TL;DR
This work tackles the slow, heavy-cost ATPG problem in modern ICs by introducing InF-ATPG, which partitions circuits into fanout-free regions and uses a Quality-Value Graph Neural Network to provide ATPG-specific state representations to a reinforcement-learning agent. By modeling the task as an MDP and solving with a DQN that leverages QGNN embeddings, InF-ATPG achieves large reductions in backtracks and decision-sequence length while improving fault coverage. Experimental results on ISCAS-based benchmarks show up to 55% backtrack reduction versus gate-level ATPG and meaningful gains over ML baselines, with particularly strong performance on larger circuits. These findings indicate that coarse-grained, structure-aware RL with specialized circuit features can significantly speed up ATPG while maintaining or improving fault detection, suggesting practical potential for industrial deployment.
Abstract
Automatic test pattern generation (ATPG) is a crucial process in integrated circuit (IC) design and testing, responsible for efficiently generating test patterns. As semiconductor technology progresses, traditional ATPG struggles with long execution times to achieve the expected fault coverage, which impacts the time-to-market of chips. Recent machine learning techniques, like reinforcement learning (RL) and graph neural networks (GNNs), show promise but face issues such as reward delay in RL models and inadequate circuit representation in GNN-based methods. In this paper, we propose InF-ATPG, an intelligent FFR-driven ATPG framework that overcomes these challenges by using advanced circuit representation to guide RL. By partitioning circuits into fanout-free regions (FFRs) and incorporating ATPG-specific features into a novel QGNN architecture, InF-ATPG enhances test pattern generation efficiency. Experimental results show InF-ATPG reduces backtracks by 55.06\% on average compared to traditional methods and 38.31\% compared to the machine learning approach, while also improving fault coverage.
