Abstract: Due to the increasing challenges posed by the relentless rise in the design complexity of integrated circuits, Boolean Satisfiability (SAT) has emerged as a robust alternative to structural APTG techniques. However, the high cost of transforming a circuit testing problem to a Conjunctive Normal Form (CNF) limits the application of SAT in industrial ATPG scenarios, resulting in a loss of test coverage. In Order to address this problem, this paper proposes a conflict-driven structural learning (CDSL) ATPG algorithm firstly, in which the conflict-driven heuristic methods in modern SAT solver are implemented on the logic cone of fault propagation and activation directly. The proposed CDSL algorithm is composed of three parts: (1) According to the implication graph, various conflict constraints have been learned to prune search space. (2) Conflict-driven implication and justification have been applied to increase decision accuracy and solving efficiency. (3) A conflict-based diagnosis method is further proposed in the case of low coverage debug, leading to making the aborted faults testable by relaxing or modifying some constraints on primary inputs. Extensive experimental results on industrial circuits demonstrate the effectiveness and efficiency of the proposed CDSL algorithm. It is shown that compared with the SAT-based ATPG, the proposed CDSL can on average decrease $25.6\%$ aborted faults with $94.51\%$ less run time. With a two-stage computational flow, it has shown that the proposed CDSL can lead to $46.37\%$ less aborted faults than a one-stage structural algorithm, further with the $3.19\%$ improvement on fault coverage. In addition, the conflict diagnosis can lead to $8.89\%$ less aborted faults on average, and $0.271\%$ improvement in fault coverage rate.
Introduction: The Bottleneck of Modern ATPG
In the manufacturing of integrated circuits, Automatic Test Pattern Generation (ATPG) is critical for identifying faulty chips. As design complexity scales, traditional structural algorithms often struggle with "hard-to-detect" faults, leading to high "abort" rates when search limits are reached. While Boolean Satisfiability (SAT) solvers offer a powerful alternative for exploring vast search spaces, they introduce a significant computational "tax": the conversion of circuit logic into Conjunctive Normal Form (CNF).
As illustrated in Figure 2, the time required for CNF generation often dwarfs the actual solving time in industrial circuits. This overhead limits the practicality of SAT-based methods in high-throughput production environments, often resulting in lower overall test coverage.
Methods: Conflict-driven Structural Learning (CDSL)
To bypass the CNF translation bottleneck, this paper introduces Conflict-driven Structural Learning (CDSL). This approach integrates the advanced conflict-analysis heuristics of modern SAT solvers directly into the structural domain of logic gates.
The CDSL framework utilizes several key mechanisms:
- Implication Graphs and Conflict Learning: When a logical contradiction (conflict) occurs during search, the algorithm constructs an implication graph to identify the root cause. This allows for the learning of conflict constraints that prune the search space.
- Non-chronological Backtracking: By identifying Unique Implication Points (UIPs) within the circuit, the algorithm can jump back multiple decision levels to the source of a conflict, rather than just retreating one step at a time.
- VSIDS Heuristics: The "Variable State Independent Decaying Sum" strategy is adapted to rank logic gates. Gates frequently involved in conflicts are prioritized, making the search process increasingly "intelligent" as it progresses.
- Conflict Diagnosis: For persistently untestable faults, the algorithm analyzes learned conflicts to suggest modifications or relaxations of design-for-test (DFT) constraints on primary inputs.
Experimental Results
The proposed CDSL algorithm was evaluated on 20 large-scale industrial circuits provided by HiSilicon, covering both stuck-at and transition faults with gate counts reaching nearly 800,000.
The results, summarized in Figure 6, highlight the effectiveness of the CDSL approach. Key findings include:
- Efficiency vs. SAT: CDSL reduced aborted faults by 25.6% while operating 94.51% faster than state-of-the-art SAT-based frameworks like TG-Pro.
- Coverage vs. Structural: Compared to standard structural algorithms, CDSL achieved a 3.19% improvement in total fault coverage through a two-stage flow.
- Diagnosis Power: The conflict diagnosis feature successfully resolved 8.89% of previously aborted faults on average by identifying restrictive input constraints.
Conclusion and Future Work
CDSL demonstrates that the powerful reasoning capabilities of SAT solvers can be harnessed without the heavy overhead of CNF translation. By "learning" directly from structural conflicts, ATPG can achieve higher coverage with significantly lower computational costs. Future research will focus on refining memory management for learned constraints, exploring additional SAT-inspired restart strategies, and extending the framework to more complex fault models such as cell-aware or bridging faults.
Summary updated