簡易檢索 / 詳目顯示

研究生: 周明忠
Jou, Ming-Jong
論文名稱: 應用PCI匯流排界面於H.264系統晶片開發驗證環境之實現
Realization of IP Verification Platform with PCI-Bus Enhancement for SoC-Based H. 264 Encoder Implementation
指導教授: 黃世杰
Huang, Shyh-Jier
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 電機工程學系
Department of Electrical Engineering
論文出版年: 2004
畢業學年度: 92
語文別: 中文
論文頁數: 117
中文關鍵詞: 矽智產系統晶片
外文關鍵詞: SoC, Nios, Avalon, Wishbone, PCI, H. 264
相關次數: 點閱:87下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  •   隨著無線網路佈建之日臻成熟,對於移動式多媒體的需求亦愈形迫切。而為了在有限的頻寬內,傳送高品質的視訊畫面,高效率的壓縮技術已被視為重要之解決方案,也因此國際電信聯盟的電信標準化部門提出H. 264的視訊標準,確有助於大幅降低所需的傳送頻寬,而本文即針對此項標準提出專用電路以滿足即時視訊的要求。
      目前相關視訊標準的運算架構日趨繁複,傳統的純邏輯電路的實現方式已力有未逮,而現階段的晶片設計更已逐漸邁向系統晶片(System-on-a-Chip; SoC)的設計理念,透過軟/硬體的協同設計使得晶片可同時兼顧彈性與運算效能。然而複雜的晶片設計,卻將對驗證與除錯的工作形成極嚴峻的挑戰。因此本研究亦提出以周邊元件互連匯流排(PCI)為輔的測試平台,期能經由資料傳輸效能之改進,達成有效驗證評估的目的。
      另為佐證本研究之可行性,本文在實作中將以軟/硬體協同設計的方式完成H. 264的視訊編碼晶片,同時在設計中嵌入PCI的橋接器以供測試與驗證所需,此外並將本研究中所提出之H. 264晶片,全以場規劃邏輯閘陣列 (Field Programmable Gate Array; FPGA)予以實現,且經由視訊資料予以驗證,測試結果證實本文所提之架構及其實作設計應已具有高度實用價值。

      With the advent of wireless network, the demand of mobile multimedia information has become an urgent issue. To deal with such a situation, a novel compression approach of H. 264 Specification has been proposed to provide a more efficient way of delivering video information even under a bandwidth-limited wireless network environment. However, the complexity of this specification was seen more than that of other standards; hence, motivating the application of dedicated hardware to conquer this computing bottleneck while satisfying the high compression performance requirements.
      In this thesis, considering to handling the increasing complexity revealed by the specification, the chip design is also gradually focused on the hardware/software co-design chip rather than the hardware-only logic circuit. In other words, the concept of the system-on-a-chip (SoC) was also embedded into the whole design. Then, by taking the burden reduction of verification and debug tasks into consideration, a novel idea in anticipation of reaching the construction of a verification environment with higher bandwidth and shorter response time is also completed. Namely, the peripheral component interconnection (PCI) bus was effectively included in the verification of SoC, where PCI bridge circuits along with a general-purpose processor were also designed in full cooperation such that the validation of the completed H. 264 IP can be well accomplished.
      Besides, in order to validate the effectiveness of the study, a hardware and software co-design methodology is employed for the implementation of H. 264 compression kernel. Furthermore, the H.264 chip is fully realized with the aid of field programmable gate array (FPGA) and tested through the video clip data. From the test results, they help support the proposed method for the applications considered.

    中文摘要 I 英文摘要 II 誌謝 III 目錄 IV 表目錄 VII 圖目錄 VIII 第一章 緒論 1 1.1 研究背景 1 1.2 研究方法 5 1.3 論文架構 6 第二章 相關技術 7 2.1 H. 264標準 7 2.1.1 視訊框頁定義 7 2.1.2 預測方塊定義 8 2.1.3 視訊框頁內之預測模式 10 2.1.4 視訊框頁間預測模式 14 2.1.5 彩度預測 15 2.1.6 離散餘弦轉換與餘值量化 15 2.1.7 餘值編碼 18 2.1.8 熵編碼 20 2.1.8.1 均一化之變動長度編碼法 20 2.1.8.2 可調適之變動長度編碼法 21 2.1.8.3 內容相關之可調適二元算術編碼法 21 2.2 Nios 簡介 26 2.3 PCI 匯流排標準 32 2.3.1 組態定址空間 33 2.3.2 I/O定址空間 33 2.3.3 記憶體映射定址空間 34 2.4 Avalon 匯流排標準 34 2.5 Wishbone匯流排標準 35 第三章 系統架構 37 3.1 運算效能分析 37 3.2 H.264矽智產設計 40 3.2.1 亮度編碼器 43 3.2.1.1 鄰近像素擷取模組 46 3.2.1.2 亮度預測模組 49 3.2.1.3 預測模式選擇電路 61 3.2.1.4 離散餘弦轉換與量化模組 61 3.2.1.4.1 水平離散餘弦轉換模組 61 3.2.1.4.2 垂直離散餘弦轉換暨量化模組 62 3.2.1.4.3 逆離散餘弦轉換模組 63 3.2.1.5 次數長度編碼器模組 67 3.2.1.6 餘值編碼界面 68 3.2.2 彩度編碼器 68 3.2.3 可調適之二元算術編碼模組 74 3.3 Nios之記憶體映射 77 3.3.1 Nios軟體架構 80 3.4 PCI 驅動程式架構 83 第四章 實驗結果 85 4.1 H. 264壓縮晶片 85 4.1.1 鄰近像素擷取模組 85 4.1.2 亮度預測模組 86 4.1.3 SAD模組 87 4.1.4 預測模式選擇電路 88 4.1.5 離散餘弦轉換與量化模組 89 4.1.6 逆量化/逆離散餘弦轉換模組 93 4.1.7 RLE模組 94 4.1.8 餘值編碼器 95 4.1.9 可調適二元算術編碼器 96 4.2 Nios軟體驗證 98 4.3 PCI/Wishbone 橋接器 103 4.4 PCI橋接器驗證環境 107 第五章 結論與未來研究方向 113 5.1 結論 113 5.2 未來研究方向 114 參考文獻 115 作者簡介 118

    [1] T. Wiegand, “Working Draft for Recommendation H. 264,” Joint Video Team of ISO/IEC MPEG and ITUT-T VCEG, Document JVT-C167, May 2002.

    [2] International Telecommunication Union, Advanced Video Coding for Generic Audiovisual Services, May 2003.

    [3] I. E. G. Richardson, “H. 264 and MPEG-4 Video Compression Video Coding for Next-Generation Multimedia,” Halsted Press, Great Britain, August 2003.

    [4] V. Lappalainen, A. Hallapuro and T. D. Hamalainen, “Complexity of Optimized H. 26L Video Decoder Implementation,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 13, No. 7, pp. 717-725, July 2003.

    [5] T. Wiegand, G. J. Sullivan, G. Bjotegaard and A. Luthra, “Overview of the H. 264/AVC Video Coding Standard,” IEEE Transactions on Circuits System for Video Technology, Vol. 13, No. 7, pp. 560-576, July 2003.

    [6] M. J. Garrido, C. Sanz, M. Jimenez and J. M. Menesses, “An FPGA Implementation of a Flexible Architecture for H. 263 Video Coding,” IEEE Transactions on Consumer Electronics, Vol. 48 No. 4, pp. 1056-1066, November 2002.

    [7] P. Pirsch, N. Demassieux and W. Gehrke, “VLSI Architectures for Video Compression – A Survey,” Proceedings of the IEEE, Vol. 83, No. 2, pp. 220-246, February 1995.

    [8] V. J. Mooney III and D. M. Blough, “A Hardware-Software Real-Time Operating Systems Framework for SoCs,” IEEE Design & Test of Computers, Vol. 19, No. 6, pp. 44-51, November/December 2002.

    [9] A. M. Rincon, G. Cherichetti, J. A. Monzel, D. R. Stauffer and M. T. Trick, “Core Design and System-on-a-Chip Integration,” IEEE Design & Test of Computers, Vol. 14, No. 4, pp. 26-35, October/December 1997.

    [10] L. Benini and G. De Micheli, “Networks on Chips: A New SoC Paradigm,” Computer, Vol. 35, No. 1, pp. 70-78, January 2002.

    [11] C. Rowen, “Reducing SoC Simulation and Development Time,” Computer, Vol. 35, No. 12, pp. 29-34, December 2002.

    [12] S. P. Beaumont, “The SoC Challenge,” Electronics & Communication Engineering Journal, Vol. 13, No. 6, pp. 234-235, December 2001.

    [13] Intel Company, “PCI Local Bus Specification,” Revision 2.2, December 1998.

    [14] A. Hallapuro and M. Karczewicz, “Low Complexity (I)DCT,” ITU-T SG 16 Document VCEG-N43, September 2001.

    [15] A. Hallapuro, M. Karczewicz and H. Malvar, “Low Complexity Length-4 Transform and Quantization,” JVT of ISO/IEC MPEG and ITU-T VCEG, Document JVT-B038 and JVT-B039, January 2002.

    [16] A. Moffat, R. M. Neal and I. H. Witten, “Arithmetic Coding Revisited,” ACM Transactions on Information Systems, Vol. 16, No. 3, pp. 256-294, July 1998.

    [17] M. Detlev, S. Heiko and W. Thomas, “Context-Based Adaptive Binary Arithmetic Coding in the H. 264/AVC Video Compression Standard,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 13, No. 7, pp. 620-636, July 2003.

    [18] Altera Company, “Simulating Nios Embedded Processor Designs,” Version 2.1, February 2003.

    [19] Altera Company, “Nios Embedded Processor: 32-Bit Programmer’s Reference Manual,” Version 3.1, January 2003.

    [20] Altera Company, “Custom Instructions for the Nios Embedded Processor,” Version 1.2, September 2002.

    [21] Altera Company, “Implementing Interrupt Service Routines in Nios Systems,” Version 1.0, January 2003.

    [22] Altera Company, “Nios Development Board Preference Manual, Stratix Edition,” Version 1.0, May 2003.

    [23] Altera Company, “Avalon Bus Specification Reference Manual,” Version 2.1, January 2003.

    [24] OpenCores Organization, “Wishbone System-on-Chip Interconnection Architecture for Portable IP Cores,” Revision B.3, September 2002.

    [25] OpenCores Organization, “PCI IP Core Specification,” Revision 1.2, January 2004.

    [26] Intel Company, http://www.intel.com/software/products/vtune/

    [27] Jungo Company, “WinDriver v6.00 User’s Guide,” March 2003.

    [28] RedHat Company, “GNUPro Toolkit User’s Guide for Altera Nios,” Version 1.0, June 2000.

    [29] Mentor Graphics Company, “ModelSim User’s Manual,” Version 5.7d, May 2003.

    [30] Altera Company, “PCI Development Kit, Stratix Edition,” Version 1.0.0, May 2003.

    無法下載圖示 校內:2054-06-14公開
    校外:2054-06-14公開
    電子論文尚未授權公開,紙本請查館藏目錄
    QR CODE