Font Size: a A A

The Design And Implement Of 16/32-bit MCU Software Simulator

Posted on:2010-10-28Degree:MasterType:Thesis
Country:ChinaCandidate:H L XuFull Text:PDF
GTID:2178360275459238Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the prevalence of PC and ubiquitous computing,embedded system application becomes one of the hottest areas of computer industry.Species of 16/32-bit MCU is becoming the key and hot spot,for the advantage of powerful,fast and low energy consumption.In the software development of embedded application,the traditional development mode reduces the efficiency of development.Hamper from hardware to software has serious impact on software debugging and testing,delays the development progress,and makes the quality of software hard to guarantee.Simulation development is an effective way to break the mass.With simulation technology simulating the running of hardware system,software development and system testing can be implemented on a virtual platform,which avoids mutual wait between hardware development and software development,improves the development efficiency and lowers the costs and risk.Through the analysis of 16/32-bit MCU simulation technology,a general MCU simulator with good expansibility is designed and implemented.Using the idea of object-oriented and referring to the MVC patten,the MCU simulator is divided into two tiers:user interface and instruction simulation.The interface is implemented by component technology,which makes the simulator eazily expanded.The instruction simulation utilizes virtual instruction technology,which makes the simulator a general one.Firstly,through the analysis of MCU,component technology is utilized to build MCU simulator.The MCU software simulator model based on component is designed and MCU's sub-components are implemented.Dynamic integration is utilized to form a complete MCU simulator with isolated components,which makes MCU software simulator can be dynamic configured and eazily expanded.Secondly,to simulate different instructions,virtual instruction technology is utilized to design of instruction simulation, and the construction,translation and optimization is studied.The instruction function is designed and the translated virtual instruction is opotimized.At last,a generic and hierarchy-independent instruction simulator is implemented.Thirdly,to facilitate the software development,simulation debugging is implemented and several debug modes are provided and the timing analyse.Finally the test of MCU software simulator is done,the result shows that the MCU software simulator model and the design of virtual instruction both can satisfy the requirement of MCU software simulator.
Keywords/Search Tags:MVC patten, component, MCU software simulator, virtual instruction set, simulation debugging
PDF Full Text Request
Related items