Equivalence Checking and Test Generation Using Boolean Satisfiability

Author
ZhengFeiJun
Advisor
YanXiaoLang
School
Zhejiang University
Major
Circuits and Systems
Classification
TN791 Logic circuits
Degree
Doctoral dissertation
Year
2008
Downloads
161
Citations
0

Request the full text

Abstract

With the development of modern and efficient Boolean Satisfiability (SAT) algorithms in recent years, SAT has increasingly made a significant impact on electronic design automation (EDA) applications. In this thesis we investigate the application of modern SAT engine for the equivalence checking and test pattern generation problems.The original contributions of this thesis are as follows:1. Efficient combinational equivalence checking using output grouping and circuit SAT. As the chip size and complexity dramatically grows, functional verification has become the main botterneck in IC design flows. Today’s large, complex designs often require an inordinate amount of time and computation resources to verify using traditional simulation technique alone. An alternative for some verification tasks is to use combinational equivalence checking. A new combinational equivalence checking technique combining output grouping and circuit SAT was introduced in the thesis. And/Inverter structural hashing technique was used to simplify the miter circuit first. The algorithm use our proposed heuristic to do output grouping for complex problems, and thus the equivalence checking problem can be converted into some circuit SAT problems, circuit SAT solver was used to solve these sub-problems. To reduce the search space, useful learning information of some sub-problem was shared. Experiment results for some larger verification tasks demonstrate the proposed algorithm’s efficiency.2. Sequential Equivalence Checking using invariant extraction technqiue and sequential SAT solver. One significant limitation of combinational equivalence checking is its requirement that two designs under verification have corresponding flip-flops. Synthesis tools may often apply sequential optimizations such as retiming to complex designs and hence destroy the correspondence between flip-flops in both the reference and implementation designs. Checking the equivalence of such designs should be carried out using sequential equivalence checking. We propose a sequential equivalence checking framework by integrating invariant checking and sequential SAT alternately. To explore the structural similarity, some invariants in the miter circuit are identified in advance, and the search space can be dramatically reduced by constraining these generated invariants. An enhanced invariant checking method that combines timeframe expansion and dynamic candidate selection strategies is proposed. What’s more, a heuristic for quickly finding counter-examples of in-equivalent tasks is introduced, it can solve some hard-to-detect problems with long solution length that are typically failed when bounded model checking tool is used. The efficiency of the approach is shown through its application on the ISCAS89 circuits and some hard-to-verify industrial circuits. The experimental results show that this work holds potential for sequential verification of large-scale circuits.3. Sequential automatic test pattern generation using an enhanced miter model which allows reuse of learned clauses for different faults. Automate test pattern generation (ATPG) for sequential circuits remains one of the most computationally difficult problems in EDA areas. It has been observed that the hard-to-detect faults often consume most of computational resources in running a traditional sequential ATPG tool. This thesis presents several ideas on more effective application of Boolean Satisfiability techniques to the sequential ATPG. We first propose an enhanced miter-based model, which can increase reusability of learned computational information by simultaneously injecting a set of target faults in a single miter circuit, instead of building a separate miter circuit for each fault. The use of this model dramatically improves the ATPG efficiency using a sequential satisfiability solver. Furthermore, detecting untestable faults now is only a byproduct of SAT solving. Some recent techniques developed for SAT-based sequential equivalence verification can also be modified and integrated to further improve the engine’s efficiency for sequential ATPG. The experimental results show that our method can improve both fault coverage and fault efficiency, and its especially useful for solving those hard-to-detect faults which aborted by using the traditional sequential ATPG tool.4. Diagnostic pattern generation that supports multiple faults with possibly different fault types. We also present an efficient diagnostic test pattern generation (DTPG) framework based upon a Boolean Satisfiability engine. The model used in sequential ATPG is further extended for DTPG application. With this modeling technique, learned information during DTPG for different fault pairs can then be naturally shared without any computational overhead and thus significantly improve the DTPG search efficiency. We also propose a model for DTPG of multiple faults with possibly different fault types, including static and dynamic faults. To reduce the diagnostic pattern count, we further introduce a compaction heuristic by exploring "don’t cares" at the primary inputs. We demonstrate experimental results which indicate that the proposed DTPG models and methods can significantly enhance the diagnosis resolution.

Table of contents

Abstract 4-7 Abstract 7-16 Chapter 1 Introduction 16-26 1.1 Background and Significance 16-23 1.1.1 Functional verification technology 16-20 1.1.2 circuit test technology 20-21 1.1.3 The equivalence verification and test generation technology 21-23 1.2 thesis work and innovation 23-24 1.3 papers organizational structure 24-26 Chapter 2 background 26-42 2.1 digital circuit 26-28 2.1.1 combinational circuit 26 2.1.2 Sequential Circuits 26-28 2.2 fault model 28-29 the the 2.3 binary decision Figure 29-33 2.3.1 definition and nature 29-30 2.3.2 BDD variable sequence 30-32 2.3.3 BDD arithmetic operations 32-33 2.4 Boolean satisfiability problem 33-41 2.4.1 SAT problems introduced 33-34 2.4.2 Basic DPLL framework 34-35 2.4.3 DPLL-based optimization techniques 35-37 2.4.4 combinational circuit SAT solver 37-40 2.4.5 sequential circuit SAT solver 40-41 2.5 This chapter Summary 41-42 Chapter 3 Combinational Equivalence verification technology 42-55 3.1 Method Overview 42-45 3.2 equivalence verification algorithm based on the output of the combination of packet and circuit SAT 45-54 3.2.1 algorithm processes 45-46 3.2.2 AIG structure simplifies 46-49 3.2.3 output grouped heuristic algorithm 49-51 3.2.4 circuit SAT verification sub 51-52 3.2.5 inheritance has been learning information 52 3.2.6 Experimental results 52-54 3.3 This chapter Summary 54-55 Chapter 4 sequential equivalence verification technology 55-76 4.1 the equivalence verification system for sequential circuits 55-56 4.2 trigger matching technology 56-62 the matching problem 4.2.1 own algorithm introduced 56-58 4.2.2 local BDD matching technology 58-59 4.2.3 target simulation technology 59-60 4.2.4 matching algorithm description 60-61 4.2.5 Experimental results 61-62 4.3 sequential circuit equivalence checking algorithm 62-74 4.3.1 before algorithm REVIEW 63-65 4.3.2 based on SAT timing equivalence algorithm 65-74 4.3.2.1 Sequential Circuits algorithm flow 65-67 4.3.2.2 Time frame extension 67-69 4.3.2.3 dynamic recognition invariant 69-70 4.3.2.4 the counterexample search heuristics 70-72 4.3.2.5 Experimental results 72-74 4.4 This chapter Summary 74-76 Chapter 5 SAT-based sequential circuit automatic test vector generation technology 76-94 5.1 digital systems, automatic test vector generation technology 76-79 5.2 SAT-based timing ATPG method 79-82 5.3 ATPG method based on the improved model of the coupling circuit timing 82-85 5.3.1 Fault injection techniques 82-83 5.3.2 Timing ATPG model introduced 83-85 5.4 combination of SAT engine timing ATPG algorithm 85-92 5.4.1 algorithm processes 85-87 5.4.2 structured fault grouping strategy 87 5.4.3 application boundary model checking to find test vectors 87-89 5.4.4 Applications invariant to simplify the circuit and identification unpredictable failures 89 5.4.5 Timing SAT solving compared unpredictable failure 89 5.4.6 Experimental results 89-92 5.5 This chapter Summary 92-94 Chapter 6 SAT-based diagnostic test generation technology 94-112 6.1 Introduction 94-95 the the 6.2 diagnostic test vector generation algorithm research 95-97 6.3 SAT-based diagnostic test vectors generated only became the world factory, but also has a potential to 6.3.1 Single the fault type DTPG model 98-101 6.3.2 different fault types DTPG model 101-103 6.3.3 multiple faults DTPG model 103-104 6.3.4 diagnostic test vector compression technology 104-106 6.3.5 nbsp based of the SAT DTPG technology diagnostic process; 106-107 6.3.6 Experimental results 107-110 6.4 This chapter Summary 110-112 Chapter 7 Summary and Outlook 112-115 7.1 paper summarizes 112-113 7.2 future work outlook 113-115 the References 115-122 to pursuing degree during the academic 122-123 Acknowledgements 123-124

Related dissertations

  1. ATPG Method and Application of Digital Circuits Based on SAT
    ZhangYueHua ·Jilin University ·2012 ·Master's thesis
  2. Research on RTL-gate Equivalence Checking
    WengYanLing ·Zhejiang University ·2008 ·Doctoral dissertation
  3. The Equivalence Checking for Partial Implementations of Sequential Circuits
    WangRui ·Lanzhou University ·2008 ·Master's thesis
  4. Study on the Formal Verification Methods of Combinatorial Circuit
    WuJunHua ·Harbin Engineering University ·2004 ·Master's thesis
  5. Functional Verification of YHFT-DX High Performance DSP
  6. Research on Formal Verification Methods for Integrated Circuit Based on PSA
    FanDeHui ·Harbin Engineering University ·2012 ·Doctoral dissertation
  7. Front-end Design and Implementation of Equivalence Checking System of Verilog HDL
    MaTieMin ·Jilin University ·2012 ·Master's thesis
  8. Verilog Combinational Equivalence Checking Based on SMT Constraint Solver
    ZengHaiLin ·Jilin University ·2012 ·Master's thesis
  9. Research on Logic Equivalence Checking for Integrated Circuits
    YangJun ·Zhejiang University ·2007 ·Doctoral dissertation
  10. Equivalence Checking for Logic Circuits
    LiGuangHui ·Institute of Computing Technology ·2005 ·Doctoral dissertation
  11. Research on Methods for Formal Verification of Vlsi Circuit
    LuYongJiang ·Zhejiang University ·2005 ·Doctoral dissertation
  12. Formal Verification Method for Digital Circuits Based on Finite Ring Polynomials
    LiDongHai ·Harbin Engineering University ·2008 ·Doctoral dissertation
  13. Research on Formal Verification Method for VLSI Design
    WuJunHua ·Harbin Engineering University ·2009 ·Doctoral dissertation
  14. Research on SAT-based Formal Verification Approach for Digital Circuits
    WangXiuQin ·Harbin Engineering University ·2009 ·Doctoral dissertation
  15. System Architecture of Equivalence Checking System of Integrate Circuits and Implementation
    ZhouNing ·Lanzhou University ·2007 ·Master's thesis
  16. An Equivalence Checking Method for Circuits with Black Boxes Based on Logic Cone and SAT
    YueYuan ·Lanzhou University ·2007 ·Master's thesis
  17. Study on the Application of Formal Verification
    ZhuXueShi ·Harbin Engineering University ·2004 ·Master's thesis
  18. The Methodology Research and Application of the Verification in the Digital Circuit Back-end
  19. To GSTE theory - based anti- case study
  20. Logic Circuits Verification Based on BDD
    LiZhiHui ·Ningbo University ·2009 ·Master's thesis