論文使用權限 Thesis access permission:校內校外完全公開 unrestricted
開放時間 Available:
校內 Campus: 已公開 available
校外 Off-campus: 已公開 available
論文名稱 Title |
加強型八位元微控制器及其系統晶片整合 Enhanced 8-bit microcontroller and its SoC integration |
||
系所名稱 Department |
|||
畢業學年期 Year, semester |
語文別 Language |
||
學位類別 Degree |
頁數 Number of pages |
119 |
|
研究生 Author |
|||
指導教授 Advisor |
|||
召集委員 Convenor |
|||
口試委員 Advisory Committee |
|||
口試日期 Date of Exam |
2005-07-25 |
繳交日期 Date of Submission |
2006-03-17 |
關鍵字 Keywords |
微控制器、運算加強、晶片系統整合 Microcontroller, Operation enhancement, SoC integration |
||
統計 Statistics |
本論文已被瀏覽 5702 次,被下載 3691 次 The thesis/dissertation has been browsed 5702 times, has been downloaded 3691 times. |
中文摘要 |
3C商品所代表的意義是—運算(Computation)、通訊(Communication)及消費性電子(Consumer Electronics)產品,其中,消費性電子產品躍升為高科技產業主流,近幾年來,消費性電子產品變為更強調運算與通訊功能的整合性產品,另外,輕、薄、短、小的趨勢也使得消費性電子產品內部的各類晶片都朝向高度集積化發展,上述趨勢對嵌入式半導體供應商帶來的難題就是:必須在不增加晶片面積的前提下,強化運算能力與功能整合。 本篇論文提出的想法為,在不改變微控器基本架構的前提下,加入運算加強的指令集,並分析各種不同的硬體實作方式所能達到的效果,判斷各種方式之中的優缺點,在實際考量上做一個取捨,期望能以最小的硬體成本,達到最大的加速效果,最後實作出一顆以低成本加強運算能力的微控制器。 本論文的研究結果可從兩個方向來探討,其一為單純加強微控器的運算處理能力上,加入運算加強指令集之後,可在不影響系統時脈的情況下,增加約10%的面積來減少各種特殊運算的執行時間約54%,亦或是在可容許的些微系統時脈下降:同樣增加約10%的面積及6.35%時脈下降之成本,達到減少各種特殊運算執行時間約59%,故效能提升顯著。第二個方向則是微控器加入嵌入式擬真器之後的改變。顯然的,除錯功能的加入並不會改變系統時脈,但面積增加約112%,成本驚人,故可得知在嵌入式擬真器的加入方法之中,應採用全boundary scan cell方式來實作,以保持微控器及嵌入式擬真器之間的獨立性。 |
Abstract |
The word “3C products” means computation, communication and consumer electronics products. Particularly, consumer electronics products become one of the most important part of high technology industry. Recently, the properties of consumer electronics products tend to integrate powerful computation and communication abilities. Further more, the trend of more light, thin, short and small makes every kind of IC inside consumer electronics products highly integration. This tendency describe above brings embedded semiconductor providers a difficult problem. That is, we must improve the computation ability and function integration without increasing area overhead. The proposed method of this thesis is adding computation enhanced instructions in original instruction set without change basic architecture of microprocessor. Further, make a better design choice after analyzing different implement ways and considering their trade off between performance and cost. The goal is producing a powerful microprocessor which is improved the most with the least overhead. There are two directions in the result of this thesis. One is pure enhancing microprocessor computation ability. About 54% special operation execution time is reduced by adding operation enhanced instructions, but only taken 10% area cost. However, if 6.35% system frequency speeddown is acceptable, about 59% special operation execution time could be reduced. The other is the phenomenon after integrating In-Circuit Emulator (ICE) in microprocessor. Apparently, integrating debug mechanism doesn’t change timing of whole system. However, it makes a great deal of circuit area overhead about 112%. This result shows that a system needs keep individual characters between microprocessor and ICE. A batter method of integrating ICE in system is using boundary scan cell in whole system. |
目次 Table of Contents |
Chapter 1 Introduction 1.1 背景 1.2 動機 1.3 研究方法 1.4 主要貢獻 1.5 論文架構 Chapter 2 Related work 2.1 各種常見微處理器實用性及架構 2.1.1 PIC16C 架構 2.1.2 8051架構 2.2 其他對於運算加強需求的解法 2.2.1 在系統中加入DSP或ASIC 2.2.2 加入增強型指令集 Chapter 3 Implementation of PIC16C-like microprocessor 3.1 PIC16C相容指令集 3.2 微控器架構 3.2.1 微控器管線架構 3.2.2 中斷控制單元 3.2.3 定址模式 3.3 微控器核心模組 3.3.1 Instruction fetch & instruction decode stage 3.3.2 Execute & write back stage 3.4 Memory mapped register Chapter 4 Cost effective operation enhancement 4.1 運算增強指令集 4.2 自動化指令編碼演算法 4.3 運算加強指令實作方式與分析 4.3.1 乘法 實現方式一:實作單一週期乘法器 實現方式二:使用PIC原硬體架構實現乘法指令 實現方式三:串聯移位電路及加法器構成乘法器 使用多重週期路徑(multicycle path)來實現乘法指令的考量 乘法實作數據分析與決策 4.3.2 十六位元運算 4.3.3 查表指令 4.3.4 十進制調整 4.4 運算加強後微控器架構 4.4.1 微控器核心模組的改變 4.4.2 Memory mapped register的改變 4.4.3 軟體工具鏈的改變 4.4.4 微控器核心最長路徑分析 4.5 合成結果及分析— ALU運算能力加強 4.6 管線控制暫存器精簡 4.6.1 原始架構 — MEMCU full pipeline architecture 4.6.2 管線控制暫存器精簡方法 4.6.3 管線控制暫存器精簡結果 4.7 合成結果與分析 — 微控制器核心效率與成本 Chapter 5 SoC Integration 5.1 系統晶片架構 5.2 嵌入式擬真器整合方法 5.2.1 ICE架構 5.2.2 掃描鏈 5.2.3 時脈同步模組 5.2.4 系統整合架構 5.2.5 SYS8MI與ICE間溝通機制 5.3 合成結果及分析 — 系統晶片整合 5.4 應用實例 Chapter 6 Software development environment 6.1 C-complier 6.2 Assembler 6.3 Simulator 6.4 ICE control software 6.5 Interface Chapter 7 RTL verification and FPGA prototyping 7.1 RTL level軟硬體共同驗證流程 7.2 FPGA prototype驗證 7.2.1 實驗板介紹 — Nios Development Board (Cyclone Edition) 7.2.2 FPGA prototype驗證流程 Chapter 8 Conclusion 參考文獻(References) 附錄A 運算加強指令集 附錄B Memory map address table 附錄C Signals in internal scan chains 附錄D Signals in boundary scan chains 附錄E Components of Nios Development Board |
參考文獻 References |
[1]. J. Eyre and J. Bier, “The Evolution of DSP Processors,” IEEE Signal Processing Magazine, vol. 17, no. 2, March 2000, pp. 43 – 51 [2]. R. Bannatyne and G. Viot, “Introduction to Microcontrollers,” Proceedings of Wescon/98, 1998, pp. 350-366 [3]. 黃文凱, 適用於低成本嵌入式應用之多媒體微控制器, 碩士論文, 國立中山大學資訊工程學系, 2002 [4]. 陳信明, 微處理器之仿真器的軟硬體設計方法, 碩士論文, 國立中山大學資訊工程學系, 2001 [5]. Microchip Technology Inc., PIC16Cxx Data Sheet, http://www.microchip.com [6]. Winbond Electronics Corp., W77C32 Data Sheet, http://www.winbond.com.tw [7]. 德州儀器無線通訊事業部, DSP與多媒體, available at http://www.ti.com.tw/articles/detail.asp?sno=34&catalog=4 [8]. Texas Instruments Incorp., OMAP1610, available at http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=11994&path=templatedata/cm/product/data/omap_1610 [9]. 教育部商管學程系統晶片應用課程, 整合應用系統, available at http://bm.nsysu.edu.tw/tutorial/htt/soc/mtrl/Hsiao/7.pdf [10]. MIPS新款24KE核心整合DSP ASE, available at http://www.eettaiwan.com/ART_8800366812_876045_c626a913_no.HTM [11]. Michael Uhler, Multi-threading - Powering the Next Wave of Embedded Systems, MIPS Technologies, Inc., available at http://www.mips.com/content/PressRoom/TechLibrary/WhitePapers/ multithreading [12]. I. J. Huang, W. K. Huang, R. T. Gu and C. F. Kao, “A Cost Effective Multimedia Extension to ARM7 Microprocessors,” Proceedings of IEEE International Symposium on Circuits and Systems, Mar. 2002, pp. 304-307 [13]. Peleg and U. Weiser, “MMX Technology Extension to the Intel Architecture,” IEEE Micro, vol. 16, no. 4, July/Aug, 1996, pp. 42–50 [14]. M. Tremblay et al., “VIS Speeds New Media Processing,” IEEE Micro, vol. 16, no. 4, July/Aug. 1996, pp. 10–20 [15]. David Brash, The ARM Architecture Version 6 (ARMv6), ARM Ltd., available at http://www.arm.com/pdfs/ARMv6_Architecture.pdf [16]. D. A. Patterson and J. L. Hennessy, Computer Organization & Design 2nd, Morgan Kaufmann Publisher, Inc., 1998, pp. 75 [17]. Michael Keating and Pierre Bricaud, Reuse Methodology Manual 3rd, Kluwer Academic Publisher, 2002, pp. 131 [18]. Holtek Semiconductor Inc., HT49CV3 Data Sheet, http://www.holtek.com [19]. Atmel Corp., AT90S1200 Data Sheet, http://www.atmel.com [20]. Mike Johnson, RISC5x: Overview, Opencores Organization, available at http://www.opencores.org/projects.cgi/web/risc5x/overview [21]. ARM Ltd., ARM7TDMI-S (Rev 4) Technical Reference Manual, 2001, available http://www.arm.com/pdfs/DDI0234A_7TDMIS_R4.pdf |
電子全文 Fulltext |
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。 論文使用權限 Thesis access permission:校內校外完全公開 unrestricted 開放時間 Available: 校內 Campus: 已公開 available 校外 Off-campus: 已公開 available |
紙本論文 Printed copies |
紙本論文的公開資訊在102學年度以後相對較為完整。如果需要查詢101學年度以前的紙本論文公開資訊,請聯繫圖資處紙本論文服務櫃台。如有不便之處敬請見諒。 開放時間 available 已公開 available |
QR Code |