Font Size: a A A

Design And Implementation Of UM - BUS Bus Protocol Simulation Test System

Posted on:2015-10-07Degree:MasterType:Thesis
Country:ChinaCandidate:X L YangFull Text:PDF
GTID:2208330428481147Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
UM-BUS is a new multi-channel high-speed serial system bus based on M-LVDS. As lacking of some development tools corresponded to UM-BUS, it is very difficult to developing a new bus protocol of UM-BUS and hardly to predict the results. Besides, if analyzing and testing the bus protocol by the method of physical verification mode, it will be faced the problem of poor flexibility and huge cost. However, these problems can be resloved well by introducing the simulational technology, which used for building the protocol simulational model and testing analysis, to the procss of the bus protocol development. At present,the simulation technology is not only widely applied to develop protocol and analyze the performance of bus system but also used in optimizing the bus application system in the field of bus research.In this paper, a testing system of UM-BUS which applied to simulate and test the bus protocol are designed and realized with the technology of simulation. The system designed in the paper is based on the theory of discrete-event system simulation model and is realized with the C++and OTcl joint programming technology. At first, the paper analyzes the requirement of this system in detail, then according these requirements,an effective and feasible design scheme of the system is proposed. The structure of the system is divided into five layer with layered-design theory, which are interaction layer, simulator function layer, protocol simulational layer,device driver layer and hardware layer from top to buttom. Besids, according the modularized-design theory, the system can be composed by eight modules, which are user-interface module,simulator module, application request generator module,request generator module,protocol simulational module, record tracking and monitoring module, statistics analysis module and bus driver module. In the paper, the function and design and implementation of each module are detailedly described. When using the system to develop and test a new bus protocol, the fistly step is developing the protocol with simulational technology as a dynamic shared library, and loading this dynamic library file into the system, then according to the requirement of simulational testing and running environment, a usercase file is developed by adopting OTcl language. After all of these prep work is finished, the usercase file will be loaded into the system and simulational process of test will be started. At last, there are some parameters that reflected the system and protocol performance are concluded by the statistics and analysis of the simulational test results.Finally, a cache function protocol, which is one of protocols of UM-BUS processing layer, is simulational developed and tested with the system in this paper. The experimental results prove that this system can work well in various aspects and acquire the simulation datas correctly and effectively. All of these indicates that the system meets the design requirements.In the reseach of this paper, the simulation technology is introduced into the study of UM-BUS protocol development and test, and a testing system for UM-BUS is designed and realized. The system is not only applied to complete the work of simulating the protocol function and verification analysis on protocol performance, but also used for testing the application system of UM-BUS. Therefore, it is significantly improved the efficiency and correctly on the study of UM-BUS protocol development and test. At the same time, the design architecture and implementation method of this system have certain commonability, which give a good reference to the similar simulational and testing system for other bus.
Keywords/Search Tags:UM-BUS, Otcl, Simulation, Discrete-event, Protocol test, Protocol development
PDF Full Text Request
Related items