A Comprehensive Test Pattern Generation Approach Exploiting the SAT Attack for Logic Locking

被引:0
作者
Zhong, Yadi [1 ]
Guin, Ujjwal [1 ]
机构
[1] Auburn Univ, Dept Elect & Comp Engn, Auburn, AL 36849 USA
基金
美国国家科学基金会;
关键词
ATPG; D-Algorithm; Boolean satisfiability; logic locking; fault coverage; PIRACY; ACCELERATION; ALGORITHM;
D O I
10.1109/TC.2023.3248268
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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. In logic locking, locks are inserted in different locations of the netlist to modify the original functionality. Unless the correct key is programmed into the IC, the circuit functions incorrectly. Unfortunately, the Boolean satisfiability (SAT) based attack, introduced in (Subramanyan et al. 2015), can determine the secret key efficiently, and break different logic locking schemes. In this article, 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, where it can effectively deduce the satisfiable assignment with reduced backtracks under key initialization of the SAT attack. 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 attack tool are the test set for detecting this group of faults. Our approach can find test patterns for all hard-to-detect faults that were previously undetected in commercial ATPG tools. The proposed test pattern generation approach can efficiently detect redundant faults as well. We demonstrate the effectiveness of the approach on ITC'99 benchmarks. The results show that we can detect all the hard-to-detect faults and identify redundant faults and a 100% stuck fault coverage is achieved. In addition, we show that test generation time saving becomes significant for Approach 2 as multiple faults help reduce or remove conflicts.
引用
收藏
页码:2293 / 2305
页数:13
相关论文
共 44 条
  • [1] Alkabani Y, 2007, IEEE IC CAD, P674
  • [2] Alkabani YM, 2007, USENIX ASSOCIATION PROCEEDINGS OF THE 16TH USENIX SECURITY SYMPOSIUM, P291
  • [3] [Anonymous], 2018, ISO Standard No.26262-1:2018 Road Vehicles-Functional Safety-Part 1: Vocabulary
  • [4] Techniques for SAT-based constrained test pattern generation
    Balcarek, Jiri
    Fiser, Petr
    Schmidt, Jan
    [J]. MICROPROCESSORS AND MICROSYSTEMS, 2013, 37 (02) : 185 - 195
  • [5] Preventing IC Piracy Using Reconfigurable Logic Barriers
    Baumgarten, Alex
    Tyagi, Akhilesh
    Zambreno, Joseph
    [J]. IEEE DESIGN & TEST OF COMPUTERS, 2010, 27 (01): : 66 - 75
  • [6] Bhunia S., 2018, Hardware Security: A Hands-on Learning Approach
  • [7] Biere A., 2013, DEP COMPUTER SCI S B, VB-2013-1, P51
  • [8] Biere A., 2021, Handbook of Satisfiability
  • [9] Bushnell M, 2004, ESSENTIALS ELECT TES, V17
  • [10] IPP@HDL: Efficient intellectual property protection scheme for IP cores
    Castillo, Encarnacion
    Meyer-Baese, Uwe
    Garcia, Antonio
    Parrilla, Luis
    Lloris, Antonio
    [J]. IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2007, 15 (05) : 578 - 591