Processors White Papers

Programming Digital Signal Processors with High-Level Languages

Overview In this article Robert Jan lists the pros and cons of programming digital signal processors in high-level languages. Then he compares the code size and the speed of some example programs written in assembly language and in C. According to these measurements, the drawbacks in code size and execution speed are acceptable – especially with the use of some C language extensions. Robert Jan also shows that a C language program, when compiled by a well-designed C++ compiler, has little additional overhead, allowing for a smooth transition from C to C++. Finally, he shows that the use of some C++ constructs can actually improve the runtime performance of C code, and he discusses methods that programmers can use to avoid code performance and size degradation when recoding assembly language DSP application programs in both languages.

Further White Paper Details
PublisherTasking, Inc. File FormatPDF, requires Acrobat Rdr 5
Date PublishedAugust 2003 Downloads2
FormatWhite Papers   
Topics

Quick Sitemap Links: