Font Size: a A A

Cpu Logic Simulation And Instruction System Is Running To Achieve

Posted on:2009-04-12Degree:MasterType:Thesis
Country:ChinaCandidate:T FuFull Text:PDF
GTID:2208360272457562Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Facing the fleetly developing information system and technical invention, software engineers start to examine the merit of the software exploitation on simulation renewedly. Compiling the analog computer is a kind of the developmental software items, which incarnates the idea of maximizing investments. The software simulation technology widely applies at present in many research areas. Through simulating the computer hardware, providing the same programming interface as the one in the target machine, it can be used in supporting the research on architecture: revising the corresponding simulation module to adapt the change in hardware, move examples of the complex datum test, and may appraise the influence that the new hardware design creates to the computer system performance. The analog computer simulation platform has the important value to develop the CPU technology and the computer architecture research, as well as to develop the teaching experiments and the microcomputer system application. By carrying on the hardware design, the research and the experiment through the simulation platform, the development cycle is shorter, the price is low, the flexibility is better, and it has the better compatibility for the change in hardware. The practice proved that, by using the object-oriented technology and taking advantage of international advanced thoughts on the simulation platform, a high performance simulation system which has our own intellectual property rights might be developed. This article mainly aimed at the analog computer simulation technology to conduct the research. The major tasks done by the paper are summarized as follows:Firstly, a novel approach is proposed to deign and implement the prototype system of the analog computer in this paper. This system is an assembly molding machine which is realized depending on the embedded technology, has own virtual central processor (virtual CPU), instruction system, memory organization, register group, the stack and so on. It can simulate the actual movement process in the real computer, accepts instructions from the instruction system, and completes computation tasks or data processing tasks and so on. Its simplified instructions set, the succinct virtual central processor structure as well as merits of highly effective memory management mechanism and so on, cause it to be suitable for some platform in which resources is limited like the handset, personal digital assistant PDA and so on. Simultaneously the research has the practical significance for both developing application development research based on the CPU and the microcomputer system and enhancing the microcomputer education teaching and the experimental level.Secondly, assembler implementation based on the instructions set of this molding machine system has been designed and realized. As it turns out, the management of symbol information required by the assembler algorithms can be modeled in terms of abstract data types such as extendable arrays and hash table. And then, Finite State Machine (FSM) is used to carry on the modeling for the system. Simultaneously, in view of existent questions on the traditional FSM realization methods, a kind of FSM realization frame which is object-oriented and highly structural is proposed in this paper. It has realized the nimble multiplying mechanism, enhanced the system toughness and the maintainability. Besides, the dispatch algorithm that triggers the event transforms has been given.
Keywords/Search Tags:the analog computer, assembler implementation, simulation technology, Finite State Machine, embedded technology
PDF Full Text Request
Related items