virtual_arm_platform_for_embedded_system_developers-外文文献(编辑修改稿)内容摘要:
re Level Code in SimITARM and H/W ARM Platform 3. Related work Recently, many different approaches have studied Virtual Tool for verification of embedded software in host PC. In this section, we briefly summarize some of them. As one of the most wellknown simulators for ARM, ARMulator [5] can be used to provide virtual prototyping environment for embedded system development. By virtually implementing hardware IP and porting an OS such as 181。 C/OSII [6] on ARMulator, it is possible to carry out simulation without H/W platform. SimItARM [3] is an instructionset simulator that runs both systemlevel and userlevel ARM programs. Also, SimItARM supports two popular simulation styles: interpretation and dynamic piled simulation. But as shown in Figure 3, SimItARM cannot build firmwarelevel executable program without linking I/O control codes with C Runtime Library (CRT), while hardware platform links I/O control codes with its startup code. Since initialization codes are different for each target platform, developers can’t use the same executable program in a virtual tool and a target H/W ARM platform. All these approaches have tried to offer developers to write a source code, build an executable program, and execute it in the host PC. But unfortunately, these tools can only simulate the executable file for a specific target microprocessor. Since it cannot simulate the execution for the whole target hardware platform, the control of peripheral devices is impossible, while imposing considerable limits in code simulations. Figure 4. Virtual ARM Platform Offering Control for Peripheral Devices 4. Implementation of virtual ARM platform We propose Virtual ARM Platform to offer extended control for peripheral devices which conventional ARM simulators cannot offer. By adding control codes for peripheral devices to existing ARM simulators such as SimITARM or SimpleScalar, Virtual ARM Platform can control peripheral devices such as LED, 7segment, step motor, etc. Figure 4 shows the procedure of embedded system development using Virtual ARM Platform that offers “targetlike” control for peripheral devices. Virtual ARM Platform consists of Virtual ARM Simulator, Graphic User Interface, Input Event Handler, Timer, and I/O Device Models. As Figure 5 shows, when Virtual ARM Platform is started, it initializes Graphic User Interface environment and displays the main GUI window on screen. Then Virtual ARM Simulator is executed, processing the instructions in the executable file and sending the results to Virtual ARM Platform. When Virtual ARM Platform gets the simulation results from Virtual ARM Simulator, it updates its GUI in cooperation with the execution report from Virtual ARM Simulator. When Input Event Handler detects any input events, it analyzes the event and terminates the program if the event is the termination event. If the event is not the termination event, the handler sends the processed input event to Virtual ARM Simulator, which simulates the instructions with the transferred input data. Authorized licensed use limited to: Zhengzhou University. Downloaded on February 25, 2020 at 05:15 from IEEE Xplore. Restrictions apply. 589 Figure 5. Execution Procedure of Virtual ARM Platform . Virtual ARM simulator Virtual ARM Simulator not only decodes and executes the given ARM instructions just as a real ARM processor does, but also handles the transferred events from Virtual ARM Platform. As Figure 6 shows, when Virtual ARM Simulator decodes an ARM instruction, it checks whether the decoded instruction includes control address of peripheral devices. If it doesn’t, Virtual ARM Simulator simply executes the ARM instruction and sends the results to Virtual ARM Platform. However, if it does, Virtual ARM Simulator has to do additional work. Since Virtual ARM Platform employs memory mapped I/O in controlling peripheral devic。virtual_arm_platform_for_embedded_system_developers-外文文献(编辑修改稿)
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。
用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。