高级检索
李文星, 王天成, 李华伟. 基于K近邻的数字电路自动测试向量生成方法[J]. 计算机辅助设计与图形学学报.
引用本文: 李文星, 王天成, 李华伟. 基于K近邻的数字电路自动测试向量生成方法[J]. 计算机辅助设计与图形学学报.
Wenxing Li, Tiancheng Wang, Huawei Li. An Automatic Test Pattern Generation Method for Digital Circuits Based on K-Nearest Neighbor[J]. Journal of Computer-Aided Design & Computer Graphics.
Citation: Wenxing Li, Tiancheng Wang, Huawei Li. An Automatic Test Pattern Generation Method for Digital Circuits Based on K-Nearest Neighbor[J]. Journal of Computer-Aided Design & Computer Graphics.

基于K近邻的数字电路自动测试向量生成方法

An Automatic Test Pattern Generation Method for Digital Circuits Based on K-Nearest Neighbor

  • 摘要: 基于分支限界搜索的自动测试向量生成(ATPG)是数字电路测试中的关键技术, 搜索中的回溯(Backtrack)次数对ATPG性能造成很大影响. 为了减少ATPG回溯次数, 提出一种基于K近邻(KNN)的数字电路ATPG方法. 将机器学习中的KNN算法引入POEDM测试生成算法, KNN结合电路结构数据和可测试性度量信息来指导PODEM算法中回退(Backtrace)路径的选择, 替代传统的启发式策略, 以尽快地到达有效决策点, 减少回溯次数. 在ISCAS85, ISCAS89和ITC99基准电路上进行验证, 所提方法相较于传统启发式策略以及一种基于人工神经网络(ANN)的回退路径选择策略, 在回溯次数, 回退次数, 运行时间和故障覆盖率指标下分别最高实现了1625%, 466%, 260%和2.2%的提升. 同时, 相比于基于ANN的方法, KNN没有显示的训练过程, 在搭建模型阶段能够节省一定的显存资源开销, 并且可以使用更少的训练集样本得到有效的预测模型.

     

    Abstract: Automatic test pattern generation (ATPG) based on branch-and-bound search is a key technology in digital circuit testing, and the number of backtracks in the search has a great impact on ATPG performance. In order to reduce the number of ATPG backtracks, a K-Nearest Neighbor (KNN)-based ATPG method for digital circuits is proposed. The KNN algorithm in machine learning is introduced into the POEDM test generation algorithm. It combines the circuit structure data and testability metric information to guide the selection of the backtrace path in the PODEM algorithm, replacing the traditional heuristic strategy to reach an effective decision as soon as possible to reduce the number of backtracks. Through validation on the ISCAS85, ISCAS89, and ITC99 benchmark circuits, the proposed method compared to traditional heuristic strategies, as well as the backtrace path selection strategy based on artificial neural network (ANN), achieved the highest increases of 1625%, 466%, 260%, and 2.2% in the number of backtracks, backtraces, running time, and fault coverage rate, respectively. At the same time, In comparison with the ANN-based method, the proposed method can save a certain amount of memory resource overhead because KNN has no explicit training process. In addition, our method consumes much less training data than the ANN-based method to get an effective prediction model.

     

/

返回文章
返回