Font Size: a A A

Dsp Microprocessor Instruction Level Simulator Developed

Posted on:2004-09-23Degree:MasterType:Thesis
Country:ChinaCandidate:S ShenFull Text:PDF
GTID:2208360095451078Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
The development of the computer technologies, especially the application of DSPs for the weapon systems, have enhanced the functions of weapon systems, and made the weapon systems more complicated, this situation incurred more affects on the weapon system by hardware(such as the CPU processor.), such that some unexpected problems could happen in the testing of the weapon systems. After suffering from the difficulties incurred by these problems, as a solution, the military enterprises resort to the pure digital simulation, which combines the algorithms and hardware together, while the analog simulation is the environment for this kind of simulation.Based on the thorough investigation of the executable COFF file structure, this thesis has designed and implemented simulator's loadable program, which can read codes, data and variables from COFF file, and then uploads them into the virtual data and program memory of the simulator.With the deep analysis on the system architecture of TMS320C25, the functions provided by the TMS320C25 architecture have been simulated, which include the addressing mode's processing simulation, interrupt simulation, timer function simulation, serial port simulation, program control simulation. The simulation of the addressing mode provides the possibility for the instruction simulation, and the simulation of the interrupt, timer and serial port lets the simulator implement the functions of the interrupt, timer and serial like a processor, and the program control simulation provides the possibility for running the program. This function is also the base for debugging program, which can set step running mode, set break points by using this program.Based on the analysis and research on the instruction system, this paper designs and realizes the interpretation system for instructions, and also the functions which compute program running time. The instruction interpretation system is the core of the simulator, the program can be executed by continuously invoking it, the instruction interpretation system includes the interpretation machine code function and instruction function. Because the program running time on the simulator is not the real system's running time, a method to compute the time has been designed, thus the real running time can be calculated after the program runs over. Because of the simulator's break point function,the running time of a segment of the program can be obtained.Finally, the author puts forward some constructive advices on the application of this simulator and the development of other simulator types.
Keywords/Search Tags:DSP, TMS320C25, simulation, Instruction-level simulators, Instructions simulation
PDF Full Text Request
Related items