王勝德臺灣大學:電機工程學研究所陳冠宏Chen, Guan-HongGuan-HongChen2007-11-262018-07-062007-11-262018-07-062007http://ntur.lib.ntu.edu.tw//handle/246246/53551本論文利用CoWare 公司的Platform Architect電子層級設計軟體,來建立處理程序層級的系統單晶片平台,並以多媒體應用jpeg2000為例,做軟硬體執行時間的改善。在我們所提出的架構中,軟體負責輸入資料及控制硬體動作,硬體負責執行解碼運算。在硬體改善方面,以改善平台溝通方式為主,方法有兩種,一是減少溝通所需路徑;二是將硬體IP改成具有bus master功能後,減少由軟體控制每一筆資料傳輸的時間。而後在軟體改善方面,使用快取記憶體及編譯器參數,並針對不同的溝通方式,對應到軟體作原始碼的改寫,而後探討在不同的平台溝通架構下的執行時間改善比率。Platform Architect, one of the CoWare corporation’s electronic system level design tool, can be used to build and simulate various virtual System-on-chip(SoC) platforms. This thesis explores a jpeg2000 decoder on SoC platforms that are based on Transaction-Level Modeling (TLM). We improve the system execution time by using both methods of hardware and software optimizations. In the hardware part, we refine the communication architecture and make use of master ports on the SoC platform to reduce communication time. In the software part, we enable caches, compiler options and rewriting parts of the source code for the different architectures to improve the system execution time. Finally we can get the best solution from exploring the hardware and software optimizations.口試委員會審定書 i 致謝 ii 中文摘要 iii 英文摘要 iv 目錄 v 圖目錄 vii 表目錄 vii 第一章:緒論 1 1.1研究動機 1 1.2研究目標和構想 1 1.3論文章節安排 2 第二章:相關研究 3 2.1處理程序層級系統平台介紹 4 2.2CoWare之匯流排模型 5 2.3Transfer層級介紹 6 2.3.1 Transfer層級傳輸方式 7 2.3.2 Transfer與周邊的傳輸關係 8 2.3.3 Transaction、Transfer和Attributes之間的組成關係 9 第三章:方法 10 3.1實驗使用到的軟體版本及工具介紹 10 3.2實驗流程 11 3.3平台建立流程 12 3.4分析流程 14 3.4.1軟體分析流程 15 第四章:實驗過程和實驗結果 20 4.1基本架構(架構一) 20 4.1.1 架構一軟體部分 22 4.1.2 架構一硬體部分 24 4.2減少傳輸路徑(架構二) 26 4.2.1 架構二軟體修改 26 4.3硬體IP的改善(架構三) 27 4.3.1 架構三軟體部分 28 4.3.2 架構三硬體部分 30 4.4軟體最佳化 32 4.4.1 開啟快取記憶體後的改善 32 4.4.2加入編譯器參數優化級別(-O1、-O2)與優化方向(-Otime) 34 4.4.3 改寫原始碼 35 4.5實驗結果 36 第五章:結論 39 參考文獻 402237198 bytesapplication/pdfen-US電子層級設計軟體處理程序層級執行時間系統單晶片快取記憶體electronic system level design toolTransaction-Level Modelingexecution timeSystem-on-chipcache多媒體應用的系統單晶片平台設計-以JPEG2000解碼器為例SoC Platform Design Optimizations for Multimedia Applications-An Example for JPEG2000 Decodersthesishttp://ntur.lib.ntu.edu.tw/bitstream/246246/53551/1/ntu-96-J93921035-1.pdf