Cs--dsp C Extension To C

  • Uploaded by: lipika008
  • 0
  • 0
  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Cs--dsp C Extension To C as PDF for free.

More details

  • Words: 777
  • Pages: 14
THE DSP-C EXTENSION TO C

Technical Seminar Report On

Technical Seminar

“THE DSP-C EXTENSION TO C”

under the guidance of Mr. R.K. Shial submitted by

Bijay Kumar Tripathy Presented by : Bijay Kumar Tripathy

CS200117244 CS200117244

THE DSP-C EXTENSION TO C

Technical Seminar

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.

Presented by : Bijay Kumar Tripathy

CS200117244

THE DSP-C EXTENSION TO C

The Glory of DSP-C Emulation

Technical Seminar

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

Presented by : Bijay Kumar Tripathy

CS200117244

THE DSP-C EXTENSION TO C

Technical Seminar

Typical DSP Architecture

Presented by : Bijay Kumar Tripathy

CS200117244

Technical Seminar

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. • 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 multiplyAccumulate MAC unit

Presented by : Bijay Kumar Tripathy

CS200117244

THE DSP-C EXTENSION TO C

Technical Seminar

DSP-C FEATURES • • • • •

Arithmetic Features Multiple Memories Circular Buffers Portability Implementation

Presented by : Bijay Kumar Tripathy

CS200117244

THE DSP-C EXTENSION TO C

Technical Seminar

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

Technical Seminar

• The unsigned Qualifier :-The unsigned qualifier can also be applied to the fixed point types. • 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

Technical Seminar

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

Presented by : Bijay Kumar Tripathy

CS200117244

THE DSP-C EXTENSION TO C

Technical Seminar

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: __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

Technical Seminar

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.

Presented by : Bijay Kumar Tripathy

CS200117244

THE DSP-C EXTENSION TO C

THE FUTURE OF DSP-C

Technical Seminar

• Embedded C :Embedded C differs from DSP-C on details, but it fully subscribes to its design rationale. It 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

Technical Seminar

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

Technical Seminar

THE DSP-C EXTENSION TO C

THANK YOU!!!

Presented by : Bijay Kumar Tripathy

CS200117244

Related Documents

C++ To Objective-c
December 2019 18
C-c++
November 2019 73
C C
December 2019 93
C,c++
November 2019 69
C#
November 2019 20

More Documents from "fernanda"