Abstract:In order to improve the reliability and security of on-board embedded software, and to solve the limitations of hard to build, expensive and difficult to monitor the running state of the hardware test environment, this paper presents the design and implementation of a full-digital simulation platform for on-board embedded software based on SPARC V8 architecture. The key technologies of the digital simulation platform are introduced, including CPU instruction simulation, register simulation, interrupt controller simulation, serial port simulation, timer simulation, virtual peripheral model simulation and design of device manage and platform timing. Compared with the hardware-based test platform, the full-digital simulation platform has the advantages of strong reusability, fast construction, low cast, high controllability, abundant debugging and testing means, support fault injection, etc. It has been used in the development of embedded software on satellite. Based on this platform, the virtual environment can be built quickly, and the embedded software can be simulated and tested.