Two yuan judgment diagram BDD and JAVA realization Application and Research
- Author
- BaiJinShan
- Advisor
- LiXiang
- School
- Guizhou University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 205
- Citations
- 0
Abstract
In digital control systems, computer-aided design (CAD), Computer Aided Test (CAT), artificial intelligence (AI) and programmable controllers and other areas many problems can be represented as a series of operations on Boolean functions, these operations depends on the Boolean symbolic representation of the function and the algorithm. Generally speaking, we usually use the Boolean expression or function truth table to describe digital logic functions. Boolean function is a digital logic can be accurately described function approach. But with the massive and rapid development of VLSI, digital logic functions become increasingly complex operations, the traditional method of gradually revealed some shortcomings, such as the use of Boolean functions to represent digital logic function, the expression tends to be too large and complex, making the function of the processing time is too long; while using the truth table method, then you need to take up a lot of storage space, can only be used in some special fields. In view of the above situation, researchers continue to explore and try to find a more concise description of the operation more convenient digital logic function expression. In 1986, ERBryant proposed a binary determination map BDD (Binary Decision Diagram) to said Boolean function, and compared to other representation BDD large digital systems in the search for effective analysis, testing and calculation methods, due to its inherent excellent performance while increasing attention. In summary, BDD has the following advantages: (1) visual, clear and logic circuit analysis. (2) to reflect the logical description of the digital circuit details of this analysis and testing of the circuit is very important. (3) ease of computer storage, preparation procedures beable algebra programs written shorter. (4) facilitate the use of artificial intelligence methods, heuristics for solving spatial search. (5) whether hardware or software, have access to beable algebra algorithms higher execution speed. (6) parallel graph algorithms can be applied to further improve the processing speed. Model checking is to verify the model generates a finite state model of the system meets the required properties. Abstract model checking techniques can be described as follows: Given a model M and logical description of the nature of P, check the model M in property P is established. Model checking is to verify the model generates a finite state model of the system meets the required properties. Model Checking the biggest challenge is the state space explosion problem. This problem stems from the system has many different components interact, or the system has a great range of complex data structures, in this case the state of the system will become very large scale. Since BDD less storage space used, so the researchers will test BDD is introduced into the model, making the model checking can verify the size of the system has been greatly improved. Temporal logic model checking occupies a very important position, model checking is based on temporal logic, temporal logic model may be constituted by several states, temporal logic formulas may be true in some states, in other is false, so , the value of the formula with a state change. State of the system based on the time path of the different characterizations of temporal logic can be divided into two categories: Calculate tree temporal logic (CTL) and Linear Temporal Logic (LTL). CTL is presented by the Clarke and Emerson. It has a simple nature of the operator can be efficiently calculated with a formula in a finite state model is a state are met. It is a time to model the way a tree with multiple branches indeterminate state paths. In the model checking process using BDD is mainly due to: the use of the expression of two predicate BDD formula, two BDD logic paradigm equal if and only if these two paradigms is the syntax BDD equal, that two BDD paradigm logical equivalence, when and only if these two paradigms are the same BDD BDD paradigm. Currently, the use of BDD to the planning problem solving basic idea is: first the state of planning and action is represented as BDD paradigm, and then enter it into the BDD solver, and then solving the obtained results into general programming problem representation . JAVABDD is a very good for the BDD generation, perform a variety of logical operations, describing the state change of the Java open source packages. Develop a set of software packages can take advantage of a variety of CTL formulas to achieve a simple model checking capabilities. This major work done as follows: 1. To be able to effectively use and expansion JavaBDD the software, the software our main algorithms code analysis. Including: (1) MK algorithm and Build algorithm: JavaBDD is how to array storage efficiency and the efficiency of the hash table lookup effectively combine to build ROBDD data structure to occupy less space, find speed. (2 ) APPLY algorithm: JavaBDD is how to achieve two logical operation between Boolean expressions. (3) RESTRIC algorithm, JavaBDD how to calculate the result of the assignment of a Boolean expression (4) SATCOUNT algorithm: Calculate ROBDD set to meet in a number of elements. (5) ANYSAT algorithms: find a satisfiable assignment. (6) ALLSAY algorithms: find all can meet the assignment. (7) JavaBDD the existential quantifier, universal quantifier quantifier with a unique algorithm. (2) increases the difference set for the JavaBDD arithmetic functions. 3 queens problem into the logical operation using JavaBDD calculation results. 4 Use JavaBDD circuit functions for circuit analysis and equivalence judgments. 5 Use JavaBDD computed tree temporal logic AX, EX, AF, EF, AG, EG, AU, EU operators. 6 Use JavaBDD complete Mlner's Soheduder example, demonstrated the finite state transition and demand state set up an example. 7 Use our CTL prepared an analysis of a papers were verified pointed out and corrected their mistakes.
Table of contents
Abstract 5-7
Abstract 7-9
The first chapter 9-10
1.1 Background 9
1.2 research status at home and abroad 9-10
1.3 JAVABDD Profile 10
Chapter BDD principles and development 10-39
2.1 Boolean functions with BDD 11-15
2.1.1 INF operation and Shannon expression 11-12
2.1.2 Annotate two yuan judgment Figure ROBDD 12-15
2.2 ROBDD construction and operation 15-30
2.2.1 MK algorithm 16-18
2.2.2 JAVABDD of MK algorithm 18-20
2.2.3 Build algorithm 20-21
2.2.4 APPLY algorithm 21-24
2.2.5 JAVABDD the APPLY algorithm 24
2.2.6 RESTRIC algorithm 24-25
2.2.7 JavaBDD in RESTRICT algorithm 25-26
2.2.8 SATCOUNT algorithm 26-27
2.2.9 ANYSAT algorithm 27-28
2.2.10 ALLSAT algorithm 28
2.2.11 JavaBDD the path algorithm 28
2.2.12 SIMPLIFY algorithm 28-30
2.3 BDD logic with quantifiers 30-33
2.3.1 quantifier logic 30-31
2.3.2 JavaBDD quantifiers achieve 31-33
2.3.3 BDD difference set in the realization 33
2.4 to solve the problem using ROBDD examples 33-39
2.4.1 8 queens problem: 33-35
2.4.2 Functional analysis of logic circuits 35-37
2.4.3 Equivalent circuit judge 37-39
Chapter model checking 39-71
3.1 validated modeling 39-40
3.2 Calculation tree logic syntax 40-42
3.3 Calculation tree logic semantics 42-48
3.4 CTL formula for the equivalence between 48-50
3.5 CTL verification example - the process mutex 50-52
3.6 model checking algorithm 52-57
3.6.1 tag algorithm 53-55
3.6.2 model checking algorithm program 55-57
3.7 CTL fixed point of characteristics 57-66
3.7.1 monotonic function 60-61
3.7.2 SAT_ (EG) correctness 61-63
3.7.3 SAT_ (EU) correctness 63-66
3.8 Symbolic Model Checking 66-71
3.8.1 state set representation 66-68
3.8.2 transition relation representation 68-71
Chapter JavaBDD achieve CTL 71-82
4.1 JavaBDD in the state set representation 71
4.2 JAVABDD achieve the transformation of state relations and Token Ring demo 71-77
4.3 JavaBDD make use of existing CTL 77-78
4.3.1 use JavaBDD seeking state set up 77-78
4.3.2 use JavaBDD achieve EX 78
4.4 CTL application examples 78-82
4.4.1. synchronization circuit 78-80
4.4.2 Microwave 80-82
This lack of work required to be performed with subsequent 82-83
Thanks 83-84
References 84-86
Related dissertations
- Research on the Model Checking Algorithm Using Hadoop
- Research on Temporal Logic to Assertion Graphs
- Semi-structured Data Query Based Model-Checking and Its Application
- The Research and Application of NuSMV Model Verifier
- Timed automata model - based verification techniques
- Risk Management Research of Credit Student Loans for Original Area Students
- Current situation and Countermeasures on the citizens tax compliance based on investigation and analysis of H City
- The Research on Zhuzhou City Domestic Service Industry Development of Present Situation and Corresponding Measure
- The Research of Bank Loans Risk in the Mode of Supply Chain Finance
- Study on Private Enterprises’ Financial Management Status
- Lotus Seeds Industry Status and Development Countermeasuresn Qianjiang
- Vegetables Industry Status and Development Countermeasures in Yantai
- On the Development of Non-public Economy in China
- A Study on Development Strategy on Agricultural Products Logistics Park of Changsha
- Study on the Development of Archives Publicity Work
- Publishing Research of Female Inspirational Books
- Present Situation of China’s TV Legal News
- Research on Trustworthiness of Resource Adaptability for Internetware
- Clocks Manipulation Applying to the Formal Verificationof Timed System
- Model Checking of FlexRay Communication Protocol