There are many problems in traditional embedded software development process,such as the long development period、expensive hardware、difficult to debug on the target and so on. Previous simulators simulate peripherals serially,however, not only their performance is much slower than the real chip, but also can’t simulate the asynchronous relationship between peripherals and processor.This thesis analyses the impact of serial peripheral simulating and Run-Time Monitoring to DSP simulator,and put forward parallel peripherals simulating model and the optimization method of Run-Time Monitor system based on the TMS320C6701 DSP chip.The major work and contributions of this thesis are as follows:Firstly,we analyze the defects of the traditional serial simulations, then we put forward the parallel model of timer、DMA controller、EMIF and study the synchronization and communication way betweent peripherals and processor.Secondly, we propose to implement a Run-Time monitoring system which includes coverage of object code and fault injection, and use Bloom Filter to reduce the time consumption to optimize the performance of the simulator.Finally,we introduce the architecture of our simulator, and verify the effectiveness of our work by the function and performance tests. |