天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

基于CK-CPU的Android SDK研究與設(shè)計

發(fā)布時間:2018-07-03 07:01

  本文選題:CK-CPU + Android ; 參考:《浙江大學(xué)》2014年碩士論文


【摘要】:隨著Android系統(tǒng)的日益推廣,基于Android SDK的應(yīng)用開發(fā)變得越來越流行。Android SDK軟件開發(fā)工具包包含了一套完備的開發(fā)工具,其中包括Android系統(tǒng)底層的二進(jìn)制映像、調(diào)試器、手機模擬器、文檔、示例代碼和教程等內(nèi)容。CK-CPU是杭州中天微系統(tǒng)有限公司在國家863、核高基重大專項等政府重大科技項目支持下研發(fā)的自主知識產(chǎn)權(quán)嵌入式CPU核,采用自主設(shè)計的16/32位混編指令集,具有低功耗、高性能、高代碼密度以及易使用等優(yōu)點。本文在仔細(xì)分析了Android SDK的基礎(chǔ)上,將該課題的研究內(nèi)容總結(jié)為以下兩點:CK-CPU的Android模擬器emulator-csky的開發(fā);整合AndroidSDK的各種工具集資源,使用戶可以基于該平臺方便的開發(fā)Android應(yīng)用程序并且完成調(diào)試的工作。 Android模擬器是基于動態(tài)二進(jìn)制翻譯技術(shù)的手機模擬器,可以無需使用物理設(shè)備即可開發(fā)、測試Android應(yīng)用程序。動態(tài)二進(jìn)制翻譯技術(shù)是在程序運行過程中對源程序進(jìn)行翻譯的技術(shù),它可以克服靜態(tài)翻譯的不足,利用動態(tài)信息對源程序進(jìn)行優(yōu)化翻譯。模擬器emulator-csky的設(shè)計是本課題研究的重點與難點,我們重點研究了模擬器的架構(gòu)和各個模塊的實現(xiàn)原理,將模擬器分成四個部分分別設(shè)計,分別是CK-CPU模擬、動態(tài)翻譯引擎、設(shè)備管理模塊以及外圍IP的實現(xiàn)。在模擬csky處理器的過程中,我們用軟件模擬了硬件MMU、異常處理和標(biāo)志位;動態(tài)翻譯引擎tcg負(fù)責(zé)將CK-CPU指令集翻譯成微指令,最后生成目標(biāo)機機器碼,并介紹了翻譯的基本單元tb和tb管理機制;設(shè)備管理模塊負(fù)責(zé)管理設(shè)備的創(chuàng)建和消除,在本節(jié)中我們介紹了模擬器的設(shè)備管理qdev機制:最后一個部分是外圍IP的模擬,我們模擬了定時器、中斷控制器、MAC、UART和LCD控制器等外圍設(shè)備,將這些設(shè)備掛載到模擬的總線上,和其它三個部分一起形成了完備的模擬器系統(tǒng)。針對動態(tài)二進(jìn)制翻譯過程中庫函數(shù)的包裝,本文提出了一種庫函數(shù)的自動包裝技術(shù),能夠有效的提升動態(tài)二進(jìn)制翻譯系統(tǒng)的效率。我們在文章的最后介紹了基于CK-CPU的Android SDK開發(fā)例程,發(fā)了一個簡單的"Hello World"應(yīng)用程序。
[Abstract]:With the increasing promotion of Android system, the application development based on Android SDK has become more and more popular. The software development toolkit of Android SDK includes a set of complete development tools, including the binary image, debugger and mobile simulator of Android system. Documents, sample codes, tutorials, etc. CK-CPU is an embedded CPU core of independent intellectual property rights developed by Hangzhou Zhongtian Microsystems Co., Ltd., with the support of major government scientific and technological projects such as the National 863, Nuclear High Foundation, and other major scientific and technological projects. It has the advantages of low power consumption, high performance, high code density and easy to use. Based on the detailed analysis of the Android SDK, this paper summarizes the research contents of this topic as follows: the development of Android simulator emulator-csky of the following two points: the integration of various tools resources of the Android SDK, Android simulator is a mobile phone simulator based on dynamic binary translation technology, which can be developed without physical devices. Test the Android application. Dynamic binary translation is a technique for translating source programs in the process of program operation. It can overcome the shortcomings of static translation and optimize the translation of source programs by using dynamic information. The design of simulator emulator-csky is the focus and difficulty of this research. We focus on the architecture of simulator and the realization principle of each module. The simulator is divided into four parts, namely, CK-CPU simulation, dynamic translation engine. Implementation of device management module and peripheral IP. In the process of simulating csky processor, we use software to simulate hardware MMU, exception handling and flag bit, dynamic translation engine tcg is responsible for translating CK-CPU instruction set into microinstruction, finally generating target machine code. In this section, we introduce the device management qdev mechanism of simulator. The last part is the simulation of peripheral IP. We simulate the peripheral devices, such as timer, interrupt controller, MACU UART and LCD controller, and mount these devices onto the analog bus, and form a complete simulator system together with the other three parts. In view of the packaging of library functions in the process of dynamic binary translation, this paper proposes an automatic packaging technology of library functions, which can effectively improve the efficiency of dynamic binary translation systems. At the end of the article, we introduce the Android SDK development routine based on CK-CPU and send a simple "Hello World" application.
【學(xué)位授予單位】:浙江大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP311.52

【參考文獻(xiàn)】

相關(guān)期刊論文 前3條

1 楊浩;唐鋒;謝海斌;武成崗;馮曉兵;;二進(jìn)制翻譯中的庫函數(shù)處理[J];計算機研究與發(fā)展;2006年12期

2 謝海斌;張兆慶;武成崗;馮曉兵;;二進(jìn)制翻譯中系統(tǒng)庫函數(shù)的分類處理方法[J];計算機應(yīng)用研究;2008年04期

3 姚昱e,

本文編號:2092828


資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/falvlunwen/zhishichanquanfa/2092828.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶1f521***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com
中文字幕欧美视频二区| 中文字幕无线码一区欧美| 中国黄色色片色哟哟哟哟哟哟| 美日韩一区二区精品系列| 白白操白白在线免费观看| 日本深夜福利视频在线| 一区二区三区日韩在线| 国产精品九九九一区二区| 青草草在线视频免费视频| 国产日产欧美精品视频| 都市激情小说在线一区二区三区 | 日韩欧美中文字幕人妻| 免费黄色一区二区三区| 在线日本不卡一区二区| 高清一区二区三区不卡免费| 久久热在线视频免费观看| 久草视频这里只是精品| 91欧美亚洲视频在线| 国产精品内射视频免费| 亚洲一区二区三区一区| 成人国产一区二区三区精品麻豆 | 欧美一区二区不卡专区| 偷拍美女洗澡免费视频| 99热中文字幕在线精品| 亚洲中文字幕在线观看四区| 成年女人下边潮喷毛片免费| 日韩欧美一区二区黄色| 亚洲欧美日韩国产综合在线| 精品国产91亚洲一区二区三区| 亚洲黄片在线免费小视频| 中文字幕亚洲精品在线播放| 中文字幕日韩欧美一区| 亚洲一区二区三区在线免费| 91亚洲人人在字幕国产| 男女一进一出午夜视频| 国产精品欧美激情在线播放| 九九视频通过这里有精品| 91人妻人人精品人人爽| 91精品日本在线视频| 亚洲一区二区三区中文久久| 亚洲中文字幕视频在线播放|