Verilog Combinational Equivalence Checking Based on SMT Constraint Solver
- Author
- ZengHaiLin
- Advisor
- OuYangDanTong
- School
- Jilin University
- Major
- Computer Software and Theory
- Classification
- TN406 Reliability and routine testing
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 32
- Citations
- 0
Abstract
With the development of the scalability and complexity of integrated circuit, the traditionsimulation based proof technique could not meet the need of developing large-scare hardwaresystem. The formal verification method, which is a supplement of simulation based technique,uses the mathematic logic in building the formal model of the system and reasoning, andtherefore strictly proves whether the system satisfy the specification. The formal verificationmethod is complete as it wouldn’t miss the cornel case. The formal verification method hasbecome an essential verification technique in modern integrated circuit development, andtherefore doing further research on it has significance value.The formal verification method includes the equivalence checking, theorem proving andmodel checking. In this paper we are focus on the equivalence checking problem ofcombinational circuits. Most previous works on combinational equivalence checking usedBDDs and other Boolean level representations to formulate and solve the problem, andtherefore the system model must be transformed and represented by Boolean variables.However, the arithmetic circuit usually includes word level arithmetic operations, and thistransformation will lose the information presented in the high level speciation. To overcomethis limitation, the word level proof techniques like Word Level Decision Diagrams (WLDD),Weighted Generalized List (WGL) and Satisfiability Module Theory (SMT) were proposed.The SMT can efficiently handle the designs containing word-level arithmetic operators andbit-level Boolean logic.In this paper, we present a technique checking the equivalence of two combinationalcircuits based on word level constraint solver. First, the reference and implementation circuitsare parsed by the front-end lexical and syntax analyzer. Then after elaboration process, theformal model defining the system constraint are extracted separately, and finally a Mitercircuit is constructed and handed over to the back-end constraint solver. By extracting theformal model using Static Single Assignment (SSA) form, combined with STP-a word-levelconstraint solver, we implement a Verilog combinational equivalence checker. Theexperimental results indicate that our method can utilize word-level information to speed upthe process of verification, and result in a decrease in memory usage.There are usually some equivalent nodes between the two circuits to be verified. Thestructure-based combinational equivalence checking method exploits structure similaritiesbetween internal nodes of the two circuits and uses this information to simplify the verification. One of these methods is introducing cut-points for the internal equivalent nodes.With these internal equivalent nodes, we can reconstruct the circuits by substitute some of thesub-circuits to cut-points, and therefore treated them as primary inputs, which will made therepresentation of the circuits much smaller, and result in a reduction in the memory usage andan improvement in the scalability of the circuits that the equivalence checking tools can beverified. This procedure looses the constraints and made the range of the value that thecircuits can get in these places much wider. Therefore, if the circuits are equivalent aftersimplified, the original two circuits are equivalent. Or else, we can get a counter example.That is, a group of assignments of the inputs of the simplified circuits. If the original circuitscan get these assignments in the corresponding place, the original two circuits are notequivalent. Or else, the counter example is spurious. The problem that the original circuits areequivalent while the simplified circuits are not equivalent is called the false-negative problem.The false-negative is very common in the cut-point based equivalence checking. One ofthe false-negative elimination methods is to substitute some of the cut-points to thecorresponding sub-circuits. The iteration procedure is continued, until the circuits are provedto be equivalent, or the counter example is proved to be real, that is the circuits are notequivalent.In this paper, we proposed a method for selecting the cut-points for substitution when thefalse-negative happens. We find the root cause of the false-negative with the unsatisfiable core,and only substitute the set of cut-points that caused the false-negatives. In this way, we canavoid the substitution of irrelevant cut-points and result in a reduction in the number ofiterations.
Table of contents
Summary 4-6
Abstract 6-10
Chapter 1 Introduction 10-14
1.1 Background and Significance 10 - 11
1.2 Research Status 11-13
1.3 The main work 13-14
formal Methods Chapter 2 introduces 14-20 <br / > 2.1 model checker 14-15
2.2 Theorem 15
2.3 equivalence checking 15-18
2.3.1 based functions method 16
2.3.2 structure-based methods 16-18
2.3.3 SAT -based approach 18
2.4 formal model extraction 18-19
2.5 Summary 19-20
Chapter 3 SMT -based combination equivalence checking 20-33
3.1 based on SAT 's combinational equivalence verification 21-23
3.2 algorithm thinking 23-24
3.3 algorithm 24-26
3.4 running instance 26-29
3.5 experimental results and analysis 29-32
3.6 Summary 32-33
Chapter 4 of the combined portfolio to meet the cut-set and non- nuclear equivalence checking 33-42
4.1 algorithm thinking 33-37
4.1.1 method cut set based 33-35
4.1. 2 misjudgment problem 35-36
4.1.3 unsatisfiable core and eliminate false positives 36-37
4.2 algorithm 37-40
4.2.1 cut points generated 38
4.2.2 misjudgment eliminate 38-39
4.2.3 algorithm Description 39-40
4.3 experiment results and Analysis 40-41
4.4 Summary 41-42
Chapter 5 conclusions and Prospects 42-44
5.1 Conclusion 42
5.2 job Outlook 42-44
References 44-47
Appendix 47-48
Appendix a: supported grammatical structures can be integrated About 47-48
authors and learning gained during research 48-49
Thanks 49
Related dissertations
- Functional Verification of YHFT-DX High Performance DSP
- Research on Formal Verification Methods for Integrated Circuit Based on PSA
- Front-end Design and Implementation of Equivalence Checking System of Verilog HDL
- Research on Logic Equivalence Checking for Integrated Circuits
- Equivalence Checking for Logic Circuits
- Research on Methods for Formal Verification of Vlsi Circuit
- Equivalence Checking and Test Generation Using Boolean Satisfiability
- Research on RTL-gate Equivalence Checking
- Formal Verification Method for Digital Circuits Based on Finite Ring Polynomials
- Research on Formal Verification Method for VLSI Design
- Research on SAT-based Formal Verification Approach for Digital Circuits
- The Equivalence Checking for Partial Implementations of Sequential Circuits
- An Equivalence Checking Method for Circuits with Black Boxes Based on Logic Cone and SAT
- Study on the Application of Formal Verification
- Study on the Formal Verification Methods of Combinatorial Circuit
- The Methodology Research and Application of the Verification in the Digital Circuit Back-end
- Logic Circuits Verification Based on BDD
- SAT algorithm applied to the formal verification of integrated circuits
- Research on AADL model transformation and verification
- Mounted Head General Control System of New SMT Machine Based on FPGA