The need for reducing manufacturing defect escape in today's safety-critical applications requires increased fault coverage. However, generating a test set using commercial automatic test pattern generation (ATPG) tools that lead to zero-defect escape is still an open problem. It is challenging to detect all stuck-at faults to reach 100% fault coverage. In parallel, the hardware security community has been actively involved in developing solutions for logic locking to prevent IP piracy. Locks (e.g., XOR gates) are inserted in different locations of the netlist so that an adversary cannot determine the secret key. Unfortunately, the Boolean satisfiability (SAT) based attack, introduced in [1], can break different logic locking schemes in minutes. In this paper, we propose a novel test pattern generation approach using the powerful SAT attack on logic locking. A stuck-at fault is modeled as a locked gate with a secret key. Our modeling of stuck-at faults preserves the property of fault activation and propagation. We show that the input pattern that determines the key is a test for the stuck-at fault. We propose two different approaches for test pattern generation. First, a single stuck-at fault is targeted, and a corresponding locked circuit with one key bit is created. This approach generates one test pattern per fault. Second, we consider a group of faults and convert the circuit to its locked version with multiple key bits. The inputs obtained from the SAT tool are the test set for detecting this group of faults. Our approach is able to find test patterns for hard-to-detect faults that were previously failed in commercial ATPG tools. The proposed test pattern generation approach can efficiently detect redundant faults present in a circuit. We demonstrate the effectiveness of the approach on ITC'99 benchmarks. The results show that we can achieve a perfect fault coverage reaching 100%.
翻译:在当今的安全关键应用中,减少制造缺陷的漏洞的必要性要求增加断层覆盖率。然而,利用商业自动测试模式生成工具生成一套测试工具,导致零偏差逃逸,这仍然是一个尚未解决的问题。在本文中,我们建议采用新式测试模式生成方法,使用强大的SAT锁定逻辑攻击,达到100%的断层覆盖率。同时,硬件安全界一直积极参与开发逻辑锁定的解决方案,以防止IP盗版。在网络列表的不同位置插入了锁(例如,XOR门),以便对手无法确定秘密密钥。不幸的是,基于Boolean 的可燃性袭击(SAT)在[1]中推出,可以在几分钟内打破不同的逻辑锁定计划。在本文中,我们建议采用新的测试模式生成方法,使用强大的SAT 断层断层来达到100%的覆盖率。我们固定断层断层断层断层的模型可以保护启动和传播错误的属性。我们发现用于确定钥匙的输入模式是卡住断层断层的测试。我们建议两种不同的方法用于测试模式的断层的断层。先是前一基测试模式,再测试一个测试一个工具显示一个工具的断层。我们的一个测试模式,一个工具在一个工具中显示一个工具的断层中可以显示一个工具的断层。