Sei sulla pagina 1di 14

THE DSP-C EXTENSION TO C

Technical Seminar Report On

“THE DSP-C EXTENSION TO C”


Technical Seminar

under the guidance of


Mr. R.K. Shial
submitted by

Bijay Kumar Tripathy CS200117244

Presented by : Bijay Kumar Tripathy CS200117244


THE DSP-C EXTENSION TO C
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
Technical Seminar

with direct access to performance enhancing features in


DSP processors.

Presented by : Bijay Kumar Tripathy CS200117244


THE DSP-C EXTENSION TO C
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.
Technical Seminar

• 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.

Presented by : Bijay Kumar Tripathy CS200117244


THE DSP-C EXTENSION TO C
Typical DSP Architecture
Technical Seminar

Presented by : Bijay Kumar Tripathy CS200117244


THE DSP-C EXTENSION TO C

• 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.
Technical Seminar

• 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

Presented by : Bijay Kumar Tripathy CS200117244


THE DSP-C EXTENSION TO C
DSP-C FEATURES

• Arithmetic Features
• Multiple Memories
• Circular Buffers
Technical Seminar

• Portability
• Implementation

Presented by : Bijay Kumar Tripathy CS200117244


THE DSP-C EXTENSION TO C
Arithmetic Features

• The fixed Type :-The fixed type offers fixed point


arithmetic in the range of [-1.0, +1.0> (-1.0 included but
not +1.0).
Technical Seminar

• The accum Type :-The accum is also a fixed point type


and can also be qualified with short and long.

• The sat Qualifier:- It makes that all operations with


operands of sat qualified type are saturated.

Presented by : Bijay Kumar Tripathy CS200117244


THE DSP-C EXTENSION TO C

• The unsigned Qualifier :-The unsigned qualifier can


also be applied to the fixed point types.
Technical Seminar

• Arithmetic Operations :-The arithmetic operations for


fixed and accum include all those defined for the int type,
but exclude <<, >>, ~, &, | and ^.

Presented by : Bijay Kumar Tripathy CS200117244


THE DSP-C EXTENSION TO C
Portability

• By design, a DSP-C implementation is adapted to the


processor for which it is implemented.
Technical Seminar

• The portability of DSP-C programs is not always


guaranteed.

• As not all processors are equal, not all DSP-C


implementations can be equal.

Presented by : Bijay Kumar Tripathy CS200117244


THE DSP-C EXTENSION TO C
Multiple Memories

• Multiple memory access is implemented as type


qualifiers.
• There are no predefined keywords for this, as the actual
Technical Seminar

memory segmentation is left to the implementation.


• As an example, assume that X is a memory qualifier.
The definition:
__X int a[25] ;
Means that a is an array of 25 integers which is located
in the X memory.

Presented by : Bijay Kumar Tripathy CS200117244


THE DSP-C EXTENSION TO C
Implementation

• DSP-C should consider providing a specification of how


the language features are best used to achieve the
highest performance.
Technical Seminar

• The implementation might also consider that some parts


of DSP-C cannot be implemented at all without
significant performance overheads.

Presented by : Bijay Kumar Tripathy CS200117244


THE DSP-C EXTENSION TO C
THE FUTURE OF DSP-C

• Embedded C :-
Embedded C differs from DSP-C on
details, but it fully subscribes to its design rationale. It
Technical Seminar

bridges the gap between the signal processing


application, plain C, and signal processing hardware,
instead of introducing abstract notions that have no
counterpart in the processor. Embedded C is important
because it guarantees portability of important common
performance enhancing features of DSP processors

Presented by : Bijay Kumar Tripathy CS200117244


THE DSP-C EXTENSION TO C
CONCLUSION

• DSP-C is a relatively small extension to the C language,


but its impact on the programmability of DSP processors
is enormous. Specialized high performance features are
Technical Seminar

the reasons why DSP processors exist. The DSP-C


approach will become the standard solution for high level
language programming of the many billions of DSP
processors out in the field.

Presented by : Bijay Kumar Tripathy CS200117244


THE DSP-C EXTENSION TO C
Technical Seminar

THANK YOU!!!

Presented by : Bijay Kumar Tripathy CS200117244

Potrebbero piacerti anche