Decoding Ogg Vorbis Audio with The C6416 DSP, using a custom made MDCT core on FPGA
Ogg Vorbis is a fairly new and growing audio format, often used for online distribution of music and internet radio stations for streaming audio. It is considered to be better than MP3 in both quality and compression and in the same league as for example AAC. In contrast with many other formats, like MP3 and AAC, Ogg Vorbis is patent and royalty free. The purpose of this thesis project was to investigate how the C6416 DSP processor and a Stratix II FPGA could be connected to each other and work together as co-processors and using an Ogg Vorbis decoder as implementation example. A fixed-point decoder called Tremor (developed by Xiph.Org the creator of the Vorbis I specification), has been ported to the DSP processor and an Ogg Vorbis player has been developed. Tremor was profiled before performing the software / hardware partitioning to decide what parts of the source code of Tremor that should be implemented in the FPGA to off-load and accelerate the DSP.
Summary
This master thesis documents porting the Tremor fixed-point Ogg Vorbis decoder to a TI C6416 DSP and accelerating the MDCT stage with a custom FPGA core on a Stratix II. It explains hardware/software partitioning, DSP–FPGA interfacing, and performance trade-offs for real-time embedded audio decoding.
Key Takeaways
- Port the Tremor fixed-point Ogg Vorbis decoder to a C6416 DSP and adapt code for embedded constraints.
- Implement and offload the MDCT transform to an FPGA core to reduce DSP load and meet real-time deadlines.
- Profile and quantify performance and resource trade-offs between DSP-only and DSP+FPGA co-processing.
- Design DMA and bus interfacing strategies for efficient FPGA–DSP streaming of audio blocks.
- Optimize fixed-point arithmetic and buffer management to preserve audio quality under real-time constraints.
Who Should Read This
Embedded DSP and FPGA engineers with intermediate-to-advanced experience who want to accelerate audio codecs and implement real-time Ogg Vorbis playback on DSP+FPGA platforms.
Still RelevantAdvanced
Related Documents
- A Quadrature Signals Tutorial: Complex, But Not Complicated TimelessIntermediate
- Lecture Notes on Elliptic Filter Design TimelessAdvanced
- Computing FFT Twiddle Factors TimelessAdvanced
- Digital Envelope Detection: The Good, the Bad, and the Ugly TimelessIntermediate
- The World's Most Interesting FIR Filter Equation: Why FIR Filters Can Be Line... TimelessAdvanced







