Font Size: a A A

Android SDK Research And Design Based On CK-CPU

Posted on:2015-03-27Degree:MasterType:Thesis
Country:ChinaCandidate:Y C LiangFull Text:PDF
GTID:2268330425996824Subject:Circuits and Systems
Abstract/Summary:PDF Full Text Request
As Android system develops, the development of Android application based on SDK has become more and more popular. Android SDK contains a set of software tools, including Android system image, debuggers, phone emulator, documentation, sample code tutorials and so on. CK-CPU is a32bit high performance embedded CPU with independent intellectual property which is designed by Hangzhou C-SKY Microsystem Co..Ltd. and Institute of VLSI Design, Zhejiang University. It has many advantages, such as low power, high performance, high code density and so on. Based on careful analysis of Android SDK, the topics can be summarized into following points:design Android emulator-csky and integrate various resources of the Android SDK tools.Android emulator-csky is a phone emulator based on dynamic binary translation technology. Dynamic binary translation collects dynamic information to optimize the translation process. Emulator-csky design is the most important part of this paper. It can be divided into four parts, respectively, CK-CPU simulation, dynamic translation engine, device management module and external IP implementation. In the process of CK-CPU emulation, this paper uses software to emulate hardware MMU. exception handling and flags. Dynamic translation engine TCG is translated into micro-instructions first, and finally generate the target machine(x86) code. And also this paper introduces the translation basic unit TB and it’s management mechanisms. Device management module is responsible for managing device creation and elimination. In this section, we introduce the device qdev mechanism. In the external IP emulation, we emulate timers, interrupt controller, MAC, UART, LCD controllers and other peripherals. These devices will be mounted to the emulated bus. with the other three parts together forming a complete emulator system. We also present a library function automatic packaging technology, which can effectively improve the efficiency of dynamic binary translation system. In the last part we introduce a simple "Hello World" application routine based on CK-CPU Android SDK.
Keywords/Search Tags:CK-CPU, Android SDK, Dynamic Binary Translation, emulator-csky
PDF Full Text Request
Related items