摘要
SkyEye是一个指令级模拟器,用它能模拟多种嵌入式开发板,目前模拟的硬件包括CPU、内存、I/O寄存器、UART、LCD及TouchScreen等.详细阐述了针对S3C2440A开发板的音频输出系统的模拟模块的设计实现.此模拟模块是通过截获所有读写DMA、L3总线接口和IIS接口的信息以得到音频数据、设备控制参数数据,并用这些数据控制SkyEye所在的宿主机的音频播放设备.此外,在每次音频数据DMA传输后,此模块还要模拟中断的产生.最后,将基于Linux操作系统的音频播放程序在嵌入式Linux系统上运行,验证了此模块的正确性.
SkyEye is a Instruction-level simulator and can be used to simulate many embedded development boards. Now it can simulate CPU,memory,I/O register,UART,LCD, TouchSereen and so on. This paper first described how to add a simulation module to SkyEye,then gave very specific details about design and implementation of simulation module of audio output system for S3c2440A. All the data, sent to or sent by audio output system, was captured by this simulation module and used to control the real audio output system on the machine where SkyEye was running. After every transmission of the audio data,this simulation module needed to generate interruption. A test program,used to play audio data,and Linux operating system could run successfully on SkyEye simulator, which proved the correctness of this simulation module.
出处
《厦门大学学报(自然科学版)》
CAS
CSCD
北大核心
2010年第2期215-218,共4页
Journal of Xiamen University:Natural Science