Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

what are the optimization techniques in DSP?

Status
Not open for further replies.

naresh850

Full Member level 3
Joined
Jun 9, 2006
Messages
157
Helped
6
Reputation
12
Reaction score
4
Trophy points
1,298
Activity points
2,249
Hello Guys,

I want to optimize the C code that will run on Blackfin DSP.

what are the optimization techniques that I have to used in optimization? or in generally how to optimized the C code.

Regards,
Naresh
 

Friends

start discussion on this topic,

how to optimize the c code on DSP platform

regards,
Naresh
 

Hi naresh,

There are several techniques for optimization using Blackfin.
1. You need to understand the algorithm which you are implementing.
2. Then you need to choose the instructions which could be used for that algo.
3. Blackfin has concept of load instruction which can be done parallely with DAG (any compute).
4. So get your Number of Instruction to be computed for your algo and based on that decide on your Load and compute instruction paralley.
5. You also need to take care of stall such that it should not increases your cycle count.
6. You can use PRINT_CYCLES count to see your cycles count of your algo function
 

If anybody have any material regarding optimization C Code on DSP platform then kindly please share it with me or send it to me on naresh850 at gmail

regards
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top