arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2206.06975cs.LGcs.AIcs.AR
收藏

DeepTPI:使用深度强化学习的测试点插入

DeepTPI: Test Point Insertion with Deep Reinforcement Learning

The Chinese University of Hong Kong(香港中文大学);HiSilicon Technologies Co., Ltd.(海思半导体有限公司)

Zhengyuan Shi, Min Li, Sadaf Khan, Liuzheng Wang, Naixing Wang, Yu Huang, Qiang Xu

摘要:

测试点插入(TPI)是一种广泛使用的可测性增强技术,特别是对于逻辑内建自测试(LBIST),由于其相对较低的故障覆盖率。本文提出了一种基于深度强化学习(DRL)的TPI方法,称为DeepTPI。与以前的基于学习的解决方案不同,将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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑