And implementation of semantic VHDL behavioral description

Author
LiuHongChang
Advisor
GuoYuZuo , LinShouXun
School
Institute of Computing Technology
Major
Computer Applications
Classification
TN402 Design
Degree
Master's thesis
Year
1995
Downloads
379
Citations
1

Request the full text

Abstract

VHDL, a hardware description language, evolved into an IEEE standard in 1987. Today the techniques based on VHDL have become mainstream in the field of EDA. The VHDL simulator, which implements the behavioral semantics of VHDL descriptions, is one of the most basic components of a VHDL-based EDA environment. Since structural descriptions can be flatted into equivalent behavioral ones, we concentrate on the semantics of behavioral descriptions and the implementation thereof. Some issues about the design and implementation of a compile-coded VHDL simulator are discussed in this paper, including:1. behavioral semantics of VHDL descriptions, which is described with colored Petri nets(CPN)2. scheme based on LWP to implement VHDL processes, and a process scheduler impelemented with LWP primitives3. implementation of wait statement4. program framework, based on the concepts of object-orientation and parameterized type supported by C++, of a VHDL executable model,5. a VHDL-subset compiler, by which the key statements, such as process statement, signal assignment statement, wait statement, and so on, can be correctly translated into C++ according to the program framework6. method to resolve VHDL overloadingIt is the behavior of a digital system that is simulated by a simulator, so at first the simulator designer must have a thorough grasp of the VHDL behavioral semantics. For this sake we have described the main properties of VHDL semantics in Chapter 3 using colored Petri nets(CPN). Both signal and process take important roles in VHDL descriptions. In fact the behavior of a VHDL description can be equivalently considered as a set of signals and a set of processes. In Chapter 4 and S some aspects of signal and process are introduced, including signal types, updating signals, signal assignment, process scheduler, wait statement, and etc. The implementation of the VHDL compiler is presented in Chapter 6.The LWP-based method of VHDL process implementing and the simulator framework consisting of several C++ classes and class templates can meet the needs of semantical implementation of most VHDL behavioral

Table of contents

Thanks 2-3 Summary 3-4 ABSTRACT 4-6 directory 6-8 first Chapter Introduction 8-15 § 1.1 hardware description language and its development 8-12 § 1.2 VHDL development 12 § 1.3 VHDL 's Research and application 12 § 1.4 VHDL simulator development 12-13 § 1.5 of this thesis work describes 13-15 The second chapter of VHDL description 15-24 § 2.1 design entity (DESIGN ENTITY) and design libraries 15-16 § 2.2 behavioral description and schema 16-20 § 2.2.1 behavioral description 17 § 2.2.2 schema 17-18 § 2.2.3 describes the structure of expanded 18-20 § 2.3 VHDL scope and visibility rules 20-22 § 2.3.1 Statement zone (Declarative Region) 20-21 scope (Scope of Declarations) nbsp § 2.3.2 declaration ; 21-22 § 2.3.3 visibility (Visibility) 22 § 2.3.4 use clause ( use clause) 22 § 2.4 operators and Expressions semantic nbsp 22-24 Chapter III VHDL behavioral description ; 24-33 § 3.1 cOLORED PETRI Network (CPN) 24-25 § 3.2 VHDL model runs 25-26 § 3.3 of some type and function 26-27 <br / > § 3.4 signal assignment 27-29 § 3.5 WAIT statement semantics 29-30 § 3.6 core processes KP 30-33 Article chapters VHDL behavioral semantics to achieve 33-43 § 4.1 LWP library scheduling policy nbsp 33-34 § 4.2 VHDL processes ; 34-37 <br / > § 4.3 and processes responsible for user interaction 37-38 § 4.4 signal assignment to achieve 38-40 § 4.4.1 driving source (drivers) 38-39 § 4.4.2 delay model 39 § nbsp 4.4.3 update expected output waveform ; 39 § achieve nbsp 4.4.4 signal assignment statement ; 39-40 § achieve 4.5 WAIT statement 40-43 § 4.5.1 Calendar Calendar 40-41 § 4.5.2 sensor Sensor 41-42 § 4.5.3 wait statement concrete realization 42-43 Chapter VHDL type system and its implementation 43-48 § 5.1 VHDL type system 43-45 § 5.1.1 types of equivalence 44 § 5.1.2 subtype 44-45 § 5.2 is consistent treatment of different types of signals 45-48 § 5.2.1 C class template (class template) 45-46 § 5.2.2 several important class template 46-48 Chapter VI VHDL compiler 48-58 § overall structure 6.1 VHDL compiler 48-49 § 6.2 scanner and parser 49 § 6.3 VHDL reload its Discrimination 49-58 § 6.3.1 VHDL overloaded 49-51 § 6.3.2 VHDL Analysis overloaded method 51-58 § 6.3.2.1 an example 51 § 6.3.2.2 weight the method of non- discrimination set out in the form of instructions 51-53 § 6.3.2.3 overloaded form the basis of discrimination algorithm 53-55 § 6.3.2.4 defined function Gen_Calls of 55-58 Chapter VII Summary 58-59 References 59-63 Author Biography 63