Research on RTL-gate Equivalence Checking

Author
WengYanLing
Advisor
YanXiaoLang
School
Zhejiang University
Major
Circuits and Systems
Classification
TN47 LSI,ultra LSI
Degree
Doctoral dissertation
Year
2008
Downloads
182
Citations
0

Request the full text

Abstract

VLSI verification takes about two thirds of the whole design time. In modern design flow of SoC, to guarantee the functional consistency of different abstract layers, a formal verification technique called Equivalence Checking (EC) is widely used. One challenging problem in EC is the verification of arithmetic designs. In the past few years, the author took part in the research and development of ZDFV Equivalence Checking System. Based on ZDFV work, the thesis focuses on the following key problems: how to construct an efficient synthesis engine; how to improve the structural similarity of the two designs; how to verify data path designs efficiently; how to use half adder graph to perform arithmetic unit verification; and how to use the hybrid SAT engine in the existing verification flow. The thesis includes the following original ideas and contributions.1. Research on developing high efficient synthesis engine. Synthesis engine transforms a RTL design into a gate level netlist. The quality of the result gate netlist has a significant effect on the entire verification performance. With studying and analyzing of Icarus Verilog synthesis engine and other synthesis systems/ algorithms, an effective synthesis flow was proposed and implemented in ZDFV. The synthesis engines supports module reuse, macro definition and synthesis directives. Experiments on widely used IWLS<sub>2</sub>005<sub>b</sub>echmarks<sub>V</sub><sub>l</sub> .0 benchmark designs show that, compared with Icarus system, our synthesis method reduces the total synthesis and flattening time by 98%.2. Study on improving the module level similarity. The state-of-the-art equivalence checking algorithms fully exploit the similarity of the two designs. Better similarity means better performance. A new flow for RTL to gate level netlist equivalence checking was proposed. Our new flow first extracts design information, then synthesize the design, find internal potential equivalent point pairs and verify these potential equivalent point pairs. Unlike traditional flows, the new flow analyzes how different level of synthesis optimizations may affect the design similarity. The synthesis decision making takes different IP implementations into consideration and use heuristics to get better similarity. Experiments conducted on multipliers with different implementations show this leads to 3% to 28% running time reduction of the verification engine.3. Equivalence checking of datapath: Datapath consists of series arithmetic operations, which can be optimized according to some transformation rules. Verification of different level representations of datapath was discussed. A RTL datapath rewriting technique was developed to achieve better design similarity. For adder and multiplier tree expressions, the proposed technique also considers the variable ordering and variable combinations. Experiments on multiplier tree and adder tree expressions exhibit running time reduction of 83% to 99%, and 40% to 80% respectively.4. Arithmetic unit check with half adder graph technique: Binary Moment Diagram (BMD) technique has been used in multiplier equivalence checking. Unlike BDD, BMD adds weight (moment) on edges and thus reduces the node quantity of the diagram. A new circuit abstraction method, half adder graph was proposed to represent arithmetic circuits during the synthesis period. The new synthesis engine first analyzes the implementation of the arithmetic unit to gets its architectural information. Then use the information to guide the synthesis of the corresponding RTL design. Applying this approach on multiplier circuits, the performance of verification engine has been improved by 4%~63%.5. A new equivalence checking flow based on hybrid SAT engine: In traditional equivalence checking flow, since the verification engines are gate-based, the RTL designs have to been synthesized to gate level netlists first. In this RTL to gate translation process, some structural information of the designs is lost. In this research, a hybrid SAT engine based verification flow was proposed. The constraint propagation process in the hybrid SAT engine was discussed. Compared with traditional flow, up to 99% verification time reduction was achieved when verifying single adder unit and adder tree expressions.

Table of contents

Abstract 3-5 Abstract 5-12 Chapter 1 Introduction 12-25 1.1 project background 12-14 1.2 Research 14-22 1.2.1 Equivalence Checking research status 14-16 1.2.2 Comprehensive Engine Research 16-18 1.2.3 equivalence verification of arithmetic circuits Research 18-22 1.3 The main thesis work and innovation 22-23 1.4 papers organizational structure 23-25 Chapter 2 ZDFV integrated engine design and implementation 25-45 2.1 Integrated Technical Brief 25-27 2.2 authentication system integrated engine position 27-28 2.3 synthesizable Verilog description subset 28-31 2.3.1 variable declaration and use 29 2.3.2 continuous assignment 29 2.3.3 Process assignment 29-30 2.3.4 serial block 30 2.3.5 Advanced program statement 30-31 2.4 Icarus Verilog realization 31-35 2.4.1 Pretreatment 32 2.4.2 preliminary analysis (parse) 32-33 2.4.3 fine resolution (elaborate) 33 2.4.4 Comprehensive Optimization (synthesis) 33-34 2.4.5 Code Generation 34-35 2.5 对 Icarus Verilog improvements 35-40 2.5.1 to increase the support of senior program statement 35-40 2.5.2 improve the overall engine's versatility 40 2.5.3 adopt various means to improve operational efficiency 40 2.6 ZDFV synthesis engine to achieve 40-42 2.7 experimental data 42-44 2.8 Summary 44-45 Chapter 3, to improve the circuit similarity algorithm 45-56 3.1 combinational circuit equivalence checking methods outlined 45-50 3.1.1 Functional Equivalence verification methods 45-46 3.1.2 incremental equivalence verification methods 46-50 3.2 module for universal similarity algorithm 50-54 3.2.1 integrated optimization of the circuit structure of 50-52 3.2.2 algorithm implementation details and complexity analysis 52-54 3.3 Experimental results 54 3.4 Summary 54-56 Chapter 4 datapath equivalence verification 56-67 4.1 Equivalence datapath Research 56-57 4.2 algorithm models and theorems 57-60 4.3 operator sorting algorithm 60-63 4.3.1 distance calculation 60-61 4.3.2 Initial variable grouping 61-62 4.3.3 multiplier multiplicand identification 62-63 4.3.4 Validation Framework 63 4.4 Case Study 63-65 4.5 Summary 65-67 Chapter 5 combines the arithmetic unit HAG equivalence verification 67-80 5.1 equivalence verification of arithmetic unit Research 67-71 5.2 algorithm model and define 71-72 5.3 circuit implementations extraction algorithm 72-77 5.3.1 HAG extraction algorithm 73-74 5.3.2 adder tree architecture extraction 74-76 5.3.3 Multiplication encoding identification 76-77 5.4 combines HAG arithmetic circuit verification 77-78 5.5 Test Results and Analysis 78-79 5.6 Summary 79-80 Chapter 6 engine based on hybrid SAT RTL verification algorithm 80-99 6.1 Boolean logic SAT engine 80-87 6.1.1 Boolean logic circuits of the SAT model 80-81 6.1.2 Boolean logic SAT engine 81-87 6.2 hybrid engine SAT solving electrical problems 87-93 6.2.1 Hybrid SAT Engine Research 87-88 6.2.2 HDPLL algorithm 88-93 6.3 SAT engine based on hybrid RTL verification system 93-97 6.3.1 implementation details 94-96 6.3.2 experimental data 96-97 6.4 Summary 97-99 Chapter 7 Conclusion and Outlook 99-103 7.1 Summary of thesis work 99-102 7.2 Next Job Outlook 102-103 References 103-114 Thanks 114-115 Appendix 1: Bench file syntax 115-118 Appendix 2: published during the study for a degree / hired academic 118

Related dissertations

  1. Equivalence Checking and Test Generation Using Boolean Satisfiability
    ZhengFeiJun ·Zhejiang University ·2008 ·Doctoral dissertation
  2. The Equivalence Checking for Partial Implementations of Sequential Circuits
    WangRui ·Lanzhou University ·2008 ·Master's thesis
  3. Functional Verification of YHFT-DX High Performance DSP
  4. Research on Formal Verification Methods for Integrated Circuit Based on PSA
    FanDeHui ·Harbin Engineering University ·2012 ·Doctoral dissertation
  5. ATPG Method and Application of Digital Circuits Based on SAT
    ZhangYueHua ·Jilin University ·2012 ·Master's thesis
  6. Front-end Design and Implementation of Equivalence Checking System of Verilog HDL
    MaTieMin ·Jilin University ·2012 ·Master's thesis
  7. Verilog Combinational Equivalence Checking Based on SMT Constraint Solver
    ZengHaiLin ·Jilin University ·2012 ·Master's thesis
  8. Research on Logic Equivalence Checking for Integrated Circuits
    YangJun ·Zhejiang University ·2007 ·Doctoral dissertation
  9. Equivalence Checking for Logic Circuits
    LiGuangHui ·Institute of Computing Technology ·2005 ·Doctoral dissertation
  10. Research on Formal Methods in Arithmetic Circuit Verification
    WangHaiXia ·Institute of Computing Technology ·2004 ·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. An Equivalence Checking Method for Circuits with Black Boxes Based on Logic Cone and SAT
    YueYuan ·Lanzhou University ·2007 ·Master's thesis
  16. Study on the Application of Formal Verification
    ZhuXueShi ·Harbin Engineering University ·2004 ·Master's thesis
  17. Study on the Formal Verification Methods of Combinatorial Circuit
    WuJunHua ·Harbin Engineering University ·2004 ·Master's thesis
  18. The Methodology Research and Application of the Verification in the Digital Circuit Back-end
  19. Logic Circuits Verification Based on BDD
    LiZhiHui ·Ningbo University ·2009 ·Master's thesis
  20. SAT algorithm applied to the formal verification of integrated circuits
    WangXiaoWei ·Changchun University of ·2010 ·Master's thesis