30-01-2013, 01:56 PM
THE DSP-C EXTENSION TO C
THE DSP-C.ppt (Size: 82.5 KB / Downloads: 20)
Introduction
DSP-C offers DSP developers the opportunity to write their application in a portable manner. DSP-C is a language extension to C that provides the programmer with direct access to performance enhancing features in DSP processors.
The Glory of DSP-C Emulation
DSP-C emulation allows you to develop, test and debug the DSP application algorithms on your PC or workstation without having access to the actual processor.
DSP-C emulation simplifies the design flow significantly, reducing both the headaches associated with maintaining two sets of code.
It also increases market opportunity by reducing development time.
Typical DSP Architecture
DSP processors have a highly specialized architecture to achieve the performance requirements for signal processing applications within the limits of cost and power consumption set for consumer applications.
Unlike a conventional Load-Store (RISC) architecture, DSP processors have a data path with memory access units.
A further specialization of the data path is the coupling of multiplication and addition to form a single cycle multiply- Accumulate MAC unit
Portability
By design, a DSP-C implementation is adapted to the processor for which it is implemented.
The portability of DSP-C programs is not always guaranteed.
As not all processors are equal, not all DSP-C implementations can be equal.
Multiple Memories
Multiple memory access is implemented as type qualifiers.
There are no predefined keywords for this, as the actual memory segmentation is left to the implementation.
As an example, assume that X is a memory qualifier. The definition:
Implementation
DSP-C should consider providing a specification of how the language features are best used to achieve the highest performance.
The implementation might also consider that some parts of DSP-C cannot be implemented at all without significant performance overheads.