论文标题
DEEPTPI:带有深钢筋学习的测试点插入
DeepTPI: Test Point Insertion with Deep Reinforcement Learning
论文作者
论文摘要
测试点插入(TPI)是一种可增强可测试性的技术,特别是对于逻辑内置的自我测试(LBIST),由于其相对较低的故障覆盖范围。在本文中,我们提出了一种基于DeepTPI的Deep Greeptrices Learning(DRL)的新型TPI方法。与以前的基于学习的解决方案将TPI任务作为监督学习问题不同,我们训练一种新颖的DRL代理,即将图形神经网络(GNN)和深层Q学习网络(DQN)的组合实例化,以最大程度地提高测试覆盖范围。具体来说,我们将电路按照指示图进行建模,并设计基于图的值网络,以估计插入不同测试点的动作值。 DRL代理的策略定义为选择具有最大值的操作。此外,我们将预先训练模型的一般节点嵌入在增强节点特征中,并为值网络提出了专用的可验证性感注意机制。与商业DFT工具相比,具有各种尺度的电路的实验结果表明,DEEPTPI显着改善了测试覆盖率。这项工作的代码可在https://github.com/cure-lab/deeptpi上找到。
Test point insertion (TPI) is a widely used technique for testability enhancement, especially for logic built-in self-test (LBIST) due to its relatively low fault coverage. In this paper, we propose a novel TPI approach based on deep reinforcement learning (DRL), named DeepTPI. Unlike previous learning-based solutions that formulate the TPI task as a supervised-learning problem, we train a novel DRL agent, instantiated as the combination of a graph neural network (GNN) and a Deep Q-Learning network (DQN), to maximize the test coverage improvement. Specifically, we model circuits as directed graphs and design a graph-based value network to estimate the action values for inserting different test points. The policy of the DRL agent is defined as selecting the action with the maximum value. Moreover, we apply the general node embeddings from a pre-trained model to enhance node features, and propose a dedicated testability-aware attention mechanism for the value network. Experimental results on circuits with various scales show that DeepTPI significantly improves test coverage compared to the commercial DFT tool. The code of this work is available at https://github.com/cure-lab/DeepTPI.