Programming Digital Signal Processors in High-Level Languages

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.

View Entire Paper | Previous Page | White Papers Search

If you found this page useful, bookmark and share it on: