This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMDSDSK6713: I want to operate CCS project without DSKchip....

Part Number: TMDSDSK6713

Tool/software: Code Composer Studio

Hi expert. I need your help. 

I am studing Code Optimization because my 6713chip cannot work up on 75 filter length.

So I have to do Code Optimization and make more efficient than I'll set  filter length to 125.

Here is my first example.

Second Code is same as first but modify that part.

First question is, I don't know why both code have same output.

and what is _mpy function? what is logic in it?

Second is this : I want to compile this file without dsk. As you can see, I made a code, but I want to test this file on my desktop, because of testing _mpy function.

Is it impossible? than how can I test _mpy function?

  • The names _mpy and _mpyh look and act like function calls.  However, when you build this code with the C6000 compiler, they are not processed as function calls, but intrinsics.  Read more about them in the C6000 compiler manual.  Search for the section titled Using Intrinsics to Access Assembly Language Statements.

    If you want to run code that uses intrinsics on a hosted system like a laptop, you need a C code implementation of the intrinsics you use.  In your case, you need a C code implementation of _mpy and _mpyh.  For two straightforward intrinsics like this, you could just implement them yourself.  If you use lots of different intrinsics, or more complicated ones, then consider using the host intrinsics package.

    Thanks and regards,

    -George

  • Thanks expert George, I don't get it absolutely but, I'll do it somehow.