簡易檢索 / 詳目顯示

研究生: 廖孝倫
Liao, Hsiao-Lun
論文名稱: 架構於平臺之MP3解碼器的軟硬體共同設計研究
Platform-based Hardware/Software CoDesign for MP3 Decoder
指導教授: 謝明得
Shieh, Ming-Der
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 電機工程學系
Department of Electrical Engineering
論文出版年: 2005
畢業學年度: 93
語文別: 英文
論文頁數: 66
中文關鍵詞: 平臺MP3解碼器SOC發展平台軟硬體共同設計
外文關鍵詞: SOC Design, HW/SW Codesign, Platform-based Design, MP3, Integrator
相關次數: 點閱:82下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  •   近幾年來,數位音訊編碼變得越來越受歡迎以及重要,而MP3格式則是由 MPEG 組織所制訂的一種數位音訊壓縮格式,由於其高壓縮率以及高音質的特性,MP3已經被廣泛地應用於網際網路的傳輸和多媒體的應用上。
      
      本論文中,我們利用軟硬體共同設計方式在ARM-based平臺上設計一MP3解碼器,經由複雜度的分析以及整體效能的評估,我們將運算複雜度較高且運算較規則的部分(IMDCT 和synthesis filterbank)用硬體來實現,其他大量控制和指標索引做判斷的部分則用軟體來完成。最後我們將此MP3解碼器的軟硬體透過AMBA介面在ARM-based 平台上做驗證,結果分析顯示,經過軟硬體共同設計後,此MP3解碼器比純軟體的情形下提高了87%的效能並能達到即時播放,在音質的測試方面,也能符合ISO所制訂的高音質標準。

      In recent years, digital audio coding is becoming increasingly popular and essential. MP3, the well-known compression format, is categorized as one of the MPEG standards for digital audio compression. Because of its high compression rate and high sound quality, MP3 has been applied extensively for internet transmissions and multimedia applications.
      
      In this thesis, we use a platform-based HW/SW co-design methodology to design a MP3 decoder on the ARM-based platform. According to the experimental results of the complexity analysis and overall efficiency estimation, we implement the computation-intensive and regular operation components (IMDCT and synthesis filterbank) in hardware, the other control-oriented and index decision making part in software. Furthermore, the MP3 decoder is verified through AMBA interface on ARM-based platform. The experimental results show that the MP3 decoder under HW/SW co-design improves 87% performance compared with the pure-software implementation, and achieves the real-time processing. Moreover, the sound quality also meets the ISO standard.

    CHAPTER 1  INTRODUCTION                   1 1.1.  Introduction                      1 1.2.  Motivation                       5 1.3.  Organization of Thesis                 6 CHAPTER 2  MPEG1 AUDIO LAYER III DECODING PROCEDURE 7 2.1.  Background                       7 2.2.  The MP3 Bitstream Format               10 2.2.1.  Audio Frame                     10 2.2.2.  Header                        11 2.2.3.  Side Information                   12 2.2.4.  Main Data                      12 2.3.  The MP3 Decoding Process               14 2.3.1. Frame Synchronization And CRC check         14 2.3.2. Huffman Decoding                    15 2.3.3. Invert Quantization                  17 2.3.4. Reordering                       18 2.3.5. Stereo Processing                   19 2.3.6. Alias Reduction                    20 2.3.7. IMDCT                          21 2.3.8. Synthesis Polyphase Filterbank            23 CHAPTER 3  PLATFORM-BASED DESIGN              24 3.1.SOC Design                         24 3.1.1. Platform-Based Design                 25 3.1.2. HW/SW CoDesign                     26 3.2. Development Platform                   28 3.2.1. ARM Integrator Overview                28 3.2.2. ASIC Platform                     29 3.2.3. Core Module                      31 3.2.4. Logic Module                      32 3.3. AMBA Specification                    33 3.3.1. Introducing the AMBA AHB               34 CHAPTER 4  THE ANALYSIS OF MP3 DECODER          37 4.1.  Decoding Complexity Analysis             37 4.2.  IMDCT Algorithm Analysis               39 4.3.  Synthesis Filterbank Analysis             40 4.4.  Hardware Design Issue                 41 4.4.1.  HW/SW Partition                   41 4.4.2.  Hardware Data Size                 42 4.4.3.  IMDCT                         43 4.4.4.  Synthesis Polyphase Filterbank           46 CHAPTER 5  HW/SW CO-DESIGN FOR MP3 AUDIO DECODER    49 5.1.  Software Environment                  49 5.2.  Memory-Mapping Interface Connection          51 5.3.  AHB-Lite Interface Architecture            52 5.4.  Hardware and Software Integration          54 5.5.  Experiment Result                   56 5.5.1.  Sound Quality                    56 5.5.2.  Performance Analysis                 58 CHAPTER 6 CONCLUSIONS AND FUTURE WORK             61 6.1.  Conclusions                       61 6.2.  Future Work                       62 REFERENCES                           63

    [1] ISO/IEC 11172-3:1993 Information technology - Coding of moving
    pictures and associated audio for digital storage media at up to
    about 1,5 Mbit/s 1993.
    [2] ARM Ltd, "AMBATM Specification", Revision 2.0.
    [3] B.G. Lee, "A New Algorithm to Compute the Discrete Cosine Transform,"
    IEEE Teansaction on Acoustics, Speech, and Signal Processing, Vo1. AS
    SP-32, No. 6, Dec.1984.
    [4] Y. Fan, V. Madisetti, R. Mersereau, "On Fast Algorithms for Computing
    the Inverse Modified Discrete Cosine Transform," IEEE Signal
    Processing Letters, Vol.6, No.3, Mar 1999.
    [5] S. Gadd, T. Lenart, A hardware accelerated mp3 decoder with Bluetooth
    streaming capabilities, MS thesis, Lund Institute of Technology,
    Sweden, 2001.
    [6] ARM Integrator/AP User Guide, ARM Corporation.
    [7] ARM Integrator/CM922T-XA10 Core Module User Guide, ARM Corporation.
    [8] ARM Integrator/LM-EP20K600E+ User Guide, ARM Corporation.
    [9] ARM Multi-ICE version 2.2 User Guide, ARM Corporation.
    [10] ARM Developer Suite Getting Started Guide, ARM Corporation.
    [11] ARM Developer Suite version 1.1 Codewarrior IDE Guide.
    [12] M. C. Tsai, The Design & Implement of MP3 audio decoder using HW/SW
    Codesign, MS thesis, Institute of electronics & information
    engineering NYUST, Yunlin, Taiwan, R.O.C., June 2001.
    [13] J. Princen, A. Johnson and A. Bradley, "Subband/transform coding
    using filter band designs based on time domain aliasing
    cancellation," Proc. 1987 IEEE International conference on Acoustics,
    Speech and Signal Processing, Dallas, pp. 2161-2164.
    [14] http://www.arm.com/
    [15] T. H. Tsai, T. H. Chen, and L. G. Chen, “An MPEG audio decoder
    chip,” IEEE Transactions Consumer Electronics, Vol.41, No.1, pp.89-
    96, February 1995.
    [16] S. Shlien, “Guide to MPEG-1 audio standard,” IEEE Trans. on
    Broadcasting, Vol. 40, No. 4, pp. 206 – 218, December 1994.
    [17] T. H. Tsai, Y. C. Yang, “A novel architecture design for MP3 audio
    decoder,” Proc. the 11th VLSI Design/CAD Symposium, pp. 16-19,
    August 2000.
    [18] K. Brandenburg, H. Popp, “An introduction to MPEG Layer-3,” EBU
    technical review, June 2000.
    [19] M. Ravasi, M. Mattavelli, High-level Algorithmic Complexity
    Evaluation for System Design, Journal of Systems Architecture, No.
    48, Elsevier, 2003.
    [20] K. Salomonsen, S. Sogaard, E. P. Larsen, Design and Implementation of
    an MPEG/Audio Layer III Bitstream Processor, MS’s thesis, Aalborg
    University, Denmark, 1997.
    [21] K.S. Lai, Hardware/Software Co-design of an AC-3 Audio Decoder on an
    ARM-based Platform, MS’s thesis, Department of Computer Science and
    Engineering NSYU, Kaohsiung, Taiwan, R.O.C., August 2003.
    [22] D. Pan, “A tutorial on MPEG/audio compression,” IEEE Multimedia,
    Vol. 2, No. 2, Summer 1995.
    [23] W. Wolf, “A Decade of Hardware/Software Codesign,” IEEE Computer,
    Vol. 36, No. 4, 2003.
    [24] C.M. Sun, J. M. Jou, H.Y. Su, Y.X Yan, H. Yang, "Design of a Multi-
    tile Reconfigurable Platform for DSP Applications," WCE2004, 2004.
    [25] J. M. Jou, J.S. Zheng, Hierarchical Interface Design Methodology:
    Using Real-Time MPEG1 Audio layer3 codec as a case, MS’s thesis,
    Department of electrical engineering NCKU, Tainan, Taiwan, R.O.C.,
    June 2002.
    [26] B. D. Liu, J. F. Yang, C.J. Yang, Implementation of JPEG Multimedia
    System with Hardware/Software Co-design on SoC Development Platform,
    MS’s thesis, Department of electrical engineering NCKU, Tainan,
    Taiwan, R.O.C., June 2002.
    [27] T. Sakamoto, M. Taruki, T. Hase, “A fast MPEG-audio layer III
    algorithm for a 32-bit MCU,” IEEE Transactions on Consumer
    Electronics, Vol. 45, No. 3, August 1999.
    [28] T. Uzelac, M. Kovac. “A fast MPEG audio layer III software decoder,”
    IEEE 1998.
    [29] K. Lagerstrom, Design and Implementation of an MPEG-1 Layer III Audio
    Decoder, MS’s thesis, Department of Computer Engineering, Chalmers
    University of Technology , Gothenburg, Sweden, 2001.

    下載圖示 校內:2007-08-09公開
    校外:2008-08-09公開
    QR CODE