Research and Design of Multi-Port Concurrent Test Definition Language and Compiler
- Author
- WangChuYi
- Advisor
- ZengHua
- School
- Southwest Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 35
- Citations
- 0
- Distributed multi-port concurrent test system
- Multi-port concurrent test definition language
- Multi-port concurrent test controller
- Compiler
Abstract
As defined in ISO 9646 for router test method has not meet the need of multi-port concurrent test, Key Laboratory of Sichuan Province network communication routers, multi-port test technology, including the definition of \Act (MPRC-TTM-Multi-Port Router Concurrent Transverse Test Method), multi-port concurrent test definition language (MP-CTDL-Multi-Port of Concurrent Test Definition Language), and the development of \(DMC-TS-Distributed Multi-port Concurrent Test System). DMC-TS consists of two parts: the concurrent test section and multiple dual-port test section, the former can be divided into multi-port concurrent test controller (MPC-TC-Multi-Port Concurrent Test Controller) and concurrent test cases support tools ( MP-CTDL compiler). This paper reflects the work is concurrent test cases support tools, namely the the MP-CTDL its compiler. As defined in ISO 9646 test description language TTCN (Tree and Table Combined Notation) is for single-threaded test multi-port concurrent test definition language to describe the multi-threaded test needs. The MP-CTDL mentioned in this article is defined in the case of the previous version is not clearly defined system requirements. Of the MP-CTDL basic needs divided into two categories: test concurrency control (coordination and synchronization between concurrent test threads) the macroscopic behavior of the functional requirements and routers dual-port describes the functional requirements. The main work of this paper include the following: a) MP-CTDL the needs analysis. b) design MP-CTDL framework, focus on the study of concurrent test control function. c) to explore the feasibility of compilation mode the MP-CTDL defined test cases converted into machine language (such as C / C). d) by with MP-CTDL write concurrent test sample to simulate the testing process, set up a test lab environment, verify the operability compiled. The paper experimental results show that the MP-CTDL defined language and its compiler functions to achieve the original design goals, laid the foundation for the subsequent development. Concurrent test cases compiled and system debugging concurrent test support tools for test management as a multi-port, MP-CTDL compiler provides a preliminary means. Due to time constraints, the macroscopic description of the test cases in the test process of the dual-port function subject to further study.
Table of contents
Abstract 4-5
ABSTRACT 5-7
directory 7-10
some of the terms herein abbreviated bilingual table 10 -11
Chapter 1 Introduction 11-16
1.1 of this thesis background 11-13
1.2 research status 13
1.3 paper reflects the research work and the author's main contribution 13-14
1.3.1 of this paper reflect the research work 13-14
1.3.2 author The main contribution 14
1.4 papers organizational structure 14-16
Chapter 2 multiport concurrent test definition language overall design 16-20
2.1 Overview 16
2.2 Requirements Analysis 16-19
2.2.1 on TPT macroscopic description of the functional requirements 18
2.2.2 Concurrency control process coordination describe the functional requirements 18-19
2.2.3 concurrent test described in other functional requirements 19
2.3 MP-CTDL language framework 19-20 < br /> Chapter 3 MP-CTDL defined 20-37
3.1 TPT-macro definitions 20-21
3.1.1 TPT definition describes 20 < br /> 3.1.2 TPT perform the test case description 20-21
3.2 Concurrency coordination and control process definition 21-26
3.2.1 MPC-TC for the coordination of TPT Control 21-24
3.2.2 TPT test cases during execution of concurrent coordinated control 24-26
3.3 DMC-TS in the other functions defined 26 -29
3.3.1 Data Transceiver Description 26-27
3.3.2 Test Statistics Description 27-28
3.3.3 Test verdict description 28-29
3.3.4 Logging 29
3.4 language basic structure 29-34
3.4.1 Test data naming and coding rules define 30-31
3.4.2 Description section 31-32
3.4.3 Variable definitions 32
3.4.4 function definition part 32 -33
3.4.5 Behavior section 33-34
3.5 language basic operators, data types, and a few important macros, functions, 34-37
first Chapter 4 MP-CTDL Compiler Design and Implementation 37-57
4.1 Overview 37-38
4.1.1 research status 37
4.1.2 compilation and interpretation weigh 37-38
4.2 overall design 38-41
4.2.1 compiler implementations 38-39
4.2.2 compiler construction 39-41
4.2 lexical analysis 41-43
4.2.1 lexical analysis outlined 41
4.2. 2 Use Lex construct lexical analyzer 41-42
4.2.3 lexical analysis error handling 42-43
4.3 parser 43-46 <br / > 4.3.1 Parsing Overview 43
4.3.2 to construct with YACC parser 43-44
4.3.3 syntax tree 44-45 < br /> 4.3.4 Parsing error handling 45-46
4.4 semantic analysis 46-49
4.4.1 Semantic Analysis Introduction 46-47 < br /> 4.4.2 In the YACC achieve semantic analysis 47
4.4.3 symbol table 47-49
4.4.4 semantic analysis error handling 49
4.5 code generation 49-57
4.5.1 Code Generation Profile 49
4.5.2 code generation design ideas 49-51
4.5.3 Data types translation 51-52
4.5.4 Functions translation 52
4.5.5 Basic program statements translation 52-53
4.5.6 test behavior translation 53-57
Chapter 5 Test Test and Analysis 57-66
5.1 Experimental Design 57-59
5.2 compiler experimental 59-61
5.2.1 compiler processes and phenomena 59-60
5.2.2 Analysis of experimental results 60-61
5.3 multi-port concurrency - Dual-port test controller experiment 61-66
5.3.1 experimental configuration 61-62
5.3.2 experiment 62-64
5.3.3 Analysis of experimental results 64-66
Conclusion and Outlook 66-68
Thanks 68-69 <br / > References 69-73
papers published during the study for a degree 73
Related dissertations
- Research and Realization of Technology of Test-State Transition Oriented Executable Test-Case Generation
- Research and Implementation of Key Technologies for YHFT-Matrix Compiler Based on GCC
- The Design and Implementation of a Complier for SCADA Based on C
- Backend Porting for CSKY Based on LLVM Compiler Infrastructure
- Establishment and Verification of the Timing and Power Consumption Model for the Embedded SRAM Compiler
- The Embedded SRAM Compiler Design and IP Verification
- Design and Implementation of SQL Compiler on Column-Oriented Database
- Design and Implementation of Configurable Compiling Tools
- The Optimized Frontend Compiling System Design for Remus Ⅱ Reconfigurable Processor
- A Self-Adapted Prolog Compiler
- The Design and Realization of Programming Device Based on the Type of STM8S208Single Chip Microcomputer as the Controller
- Research and Design of Digital Broadcast Platforms
- Automatic Platform for Parameterized Design of ASIP
- The design of embedded SRAM compiler
- Design and Implementation of Memory Compiler for Embedded SOC
- A Study on Preface of Selections of Novels in the Great Series of the New Literature 1917-1927
- Study on Virtual Instrumentation Development Environment Based on Dataflow Visual Programming Language
- Compiler Design for VLIW DSP with Performance and Power Consumption Optimizations
- Low-Power Techniques for Architecture and Compiler Optimization
- FPGA evaluation system layout module design