Dedicated audio DSP core - based AC-3 decoder design
- Author
- TangZuo
- Advisor
- LiPing , CuiZiZhong
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TN912.3 Speech Signal Processing
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 91
- Citations
- 2
- audio-specific DSP core
- AC-3 decoder
- Hardware and software co-verification
- Assembly code optimization
Abstract
Digital audio compression standard AC-3 perceptual coding system is the first specifically designed for encoding multi-channel digital audio signal, having a higher sound quality, and low complexity, is now widely used in various fields, such as DVD, definition television HDTV, the satellite digital broadcast DBS, Digital Video Broadcast DVB, ATSC, and the like. Late start in China in the field of digital audio codec design, had scarcely independent research and development for the AC-3 decoder dedicated audio DSP, so the research and development of dedicated audio DSP-based AC-3 decoder has a great practical significance and practical value. This paper discusses in detail the design and implementation of dedicated DSP cores based on audio AC-3 decoder, the specific work is divided into the following sections: 1 assembler design. Use independent research and development of audio DSP core subject, not a software development environment. If the direct use of the machine code programming is not only inefficient but also very easy to make mistakes, the assembler programming efficiency is greatly improved. The assembler assembler pseudo-code into binary machine code, but do not have the automatic optimization function. 2, the preparation of the AC-3 decoder program. Dedicated audio DSP core instruction set to write real-time decoding procedure for AC-3, including the: original information extraction procedures, index decoding process, the bit allocation procedures, mantissa extraction procedures, the decoupling procedure, matrix reconstruction program, IMDCT program, downmix procedures. Overall FPGA development board program debugging and real-time decoding. 3, the hardware and software co-verification platform design. Hardware and software co-verification method can greatly improve the efficiency of the hardware and software debugging. AC-3 audio raw data can be extracted by the software side, and in units of frames is downloaded to the FPGA input buffer via the PCI interface. Use the PCI9054 interface IP, with the C language program, to build the entire hardware and software co-verification platform. Preparation of Microsoft Visual Studio environment AC-3 audio extraction of the raw data and download the program. 4, the optimization of decoding procedures. Because the assembler does not have the automatic optimization features, and AC-3 audio decoding program has a great amount of computation, program optimization work is essential. Assembly code optimization work has two main purposes: to improve the decoding rate and save storage space. Variety of optimization tools, mainly including: reduce the function call, loop optimization, the use of a special instruction to remove redundant code, and the rational use of addressing modes, and reasonable arrangements for the statement sequence. Ultimately by the hardware and software work together to achieve real-time decoding for 5.1 channel AC-3 audio files with 33MHz clock frequency, the FPGA development board and clear decoding.
Table of contents
Abstract 4-6
ABSTRACT 6-11
first chapter 11-15
1.1 AC-3 audio Overview 11-12
1.2 research status and development trend 12-13
1.3 thesis topic selection basis 13
1.4 thesis arrangements 13-15
the second chapter of the AC-3 codec principle and decoding processes 15-28
2.1 AC-3 coding principle 15-16
2.2 AC-3 bit stream format 16
2.3 AC-3 decoding principle and decoding process 16-26
2.3.1 AC-3 decoding principle 16-17
2.3.2 synchronization and error detection 17
2.3.3 bitstream information and edge information extraction 17-18
2.3.3 Index decoding 18-20
2.3.4 bit allocation calculation 20
2.3.6 mantissa the inverse quantization 20-22
2.3.6 decoupling 22-24
2.3.7 Matrix reset 24-25
2.3.8 inverse transform 25
2.3.9 channel downmix 25-26
2.4 This chapter summarizes 26-28
hardware and software co-verification system Introduction 28-34
3.1 ten million level FPGA-based verification platform 28-29
3.2 audio dedicated DSP cores 29-31
3.3 PCI interface module 31
3.4 input and output buffer module 31-32
3.5 system architecture 32-33
3.6 This chapter summarizes 33-34
Chapter assembler design 34-50
4.1 addressing modes 34-36
4.2 instruction set 36-46
4.2.1 data transfer instruction 37-38
4.2.2 arithmetic logic class instruction 38-39
4.2.3 multiplicative instruction 39-40
of 4.2.4 program control class instruction 40-42
4.2.5 dedicated instruction 42-46
4.3 assembly design 46-49
4.3.1 assembler principles outlined 46-47
4.3.2 program jump label processing 47-48
4.3.3 assembler 48-49
4.4 This chapter summarizes 49-50
Chapter V AC-3 decoder program design and implementation 50-62
5.1 AC-3 the original data download program 50-51
5.2 decoding procedures designed 51-55
5.2.1 Data memory allocation 52-53
5.2.2 decoding procedures designed 53-55
5.3 software simulation 55-58
5.4 hardware debugging 58-60
5.5 decoding time Statistics and Analysis 60-61
5.6 This chapter summarizes 61-62
the
CHAPTER VI AC-3 decoding process optimization 62-83
6.1 Overview 62
6.2 code optimization 62-78
6.2.1 division instruction optimization 62-64
6.2.2 register the increment operation optimization 64-65
6.2.3 Using the multiplication instruction to achieve parallel operation 65
6.2.4 memory clear operation optimization 65-66
6.2.5 reduce function calls 66-67
6.2.6 reasonable arrangements for the sequence of statements 67-70
6.2.7 rational use of general-purpose registers 70-71
6.2.8 loop variable optimization 71-72
6.2.9 case statement structure optimization 72-75
6.2.10 use special dedicated instruction 75-78
6.3 storage space optimization 78-81
6.3.1 program space optimization 78-79
6.3.2 data space optimization 79-81
6.5 optimized decoding time statistics and analysis 81-82
6.7 This chapter summarizes 82-83
Chapter VII Conclusion 83-85
Acknowledgements 85-86
the
References 86-88
the
attack Shuo achieved during the research 88-89
Related dissertations
- Dedicated DSP cores based on audio MPEG-2 AAC decoder design and verification
- Based on ARM7 core SoC chip hardware and software co-verification
- Research on Verification for Digital Signal Processor MD16
- MPEG-SOC CPU subsystem design and hardware and software co-verification
- Functional Verification of SoC Based on 51 IP Core
- The Research and Implementation of Fibre Channel’s Core Technology
- Design study based hybrid modeling method SoC hardware and software co-verification environment
- SoC Software and Hardware Co-design Verification Based on Multi-operating System
- Since the launch of the pre-load interface chip Design and Implementation
- The FDP-SOPC chip ASIC part of Design and Implementation