DSPRelated.com
Forums

Functional unit specification while doing programming in C

Started by avai...@gmail.com October 9, 2009
I am using TMS320C6713 DSP in my project. I am using Code composer studio. TMS320C6713 DSP has got 8 functional units.
I know that functional code allocation to specific instruction is possible, while doing programming in assembly language. Is it possible while doing C programming.
I want that a piece of code written in C uses some functional units and does not use others.

_____________________________________
Avais,

On Fri, Oct 9, 2009 at 5:15 AM, wrote:
>
> I am using TMS320C6713 DSP in my project. I am using Code composer studio. TMS320C6713 DSP has got 8 functional units.
> I know that functional code allocation to specific instruction is possible, while doing programming in assembly language. Is it possible while doing C programming.
> I want that a piece of code written in C uses some functional units and does not use others.

I do not know of a way to do this using C. As far as I know, you will
have to use assembly.

You *could* put the code that you want to modify into a separate C
file, build the project saving 'asm' files, replace the separate C
file with an asm file that was created from the previous build, then
rebuild the project.

mikedunn

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php

_____________________________________