Font Size: a A A

The Research And Implementation Of Universal Simulation In Embedded CPU Instruction System

Posted on:2010-07-03Degree:MasterType:Thesis
Country:ChinaCandidate:N G HuangFull Text:PDF
GTID:2178360275494333Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
Software simulation is used to test the validity and performance of the structure in embedded system, which greatly reduces the cost and time of development. In addition, it's an important method to guarantee and improve the reliability of embedded developing software. But at present, most of the software simulation platform for simulating CPU module in embedded system is based on the binary code after compiling, which causes the dependence to the compiler of specific microcontrollers, and hinders the development of software simulation. This thesis proposes an instruction simulation method based on the source code. In this way, the simulation of embedded application software code is directly taken from the assembly code, but not from specific machine language. This thesis also proposes the "three analysis "method based on the principle of compiling.Among the software simulation tools in embedded system, there is still short of the sunplus SPCE061A microprocessor simulation software. And mainstream simulators are mainly used for a specific type processor, still lacking universal software simulation platform in embedded system. In view of this situation, and based on the sunplus SPCE061A microprocessor, this thesis has done a lot of work to search after the functional principle of CPU and the method of simulation ,and to find out the universal simulation method to kinds of CPUs.This thesis has primarily realized the universal embedded software simulation tools USMIC based on SPCE061A, and it mainly uses Visual C++ 6.0 which is based on object-oriented technology as development tools. USMIC's main function is to identify the source code, execute it, and then put out the simulation results, right after the developer puts in the assembly source code in accordance with grammatical rules. The whole process of simulation can be monitored in visual window. The preliminary test of USMIC tool shows that USMIC has realized functional simulation of assembly source code of sunplus SPCE061A.
Keywords/Search Tags:Instruction Simulation, Universal Simulation, Simulation Based On Source Code
PDF Full Text Request
Related items