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.

DSP real-time simulation

Hi, I'm new at this.

I am using CCS v5.5. I'm doing a simulation with the DSP EVMC6748 to calculate the running time of a program in c.

I need to know the running time or cycles that would consume a method of that program in the DSP.

I have seen the option run -> cycle.CPU clock. I do not understand because it consumes more cycles debug mode in release mode. This is a simulation. But I want to know the runtime would take this program if I put that program in the DSP.

Thank you very much, greetings.
  • When you switch between debug and release project configurations you are not changing the mode of operation of the simulator or debug probe. What is changing is the set of build options used to create the program. The optimization settings may change and the amount of source level debug information will vary. In this compiler version the level of debug information generated will impact the amount of optimization the compiler can do. The C6x compiler can be very aggressive with optimization. Thus the cycle count you see between debug and release configurations will typically be different.

    Regards,
    John
  • For more information on the debug and release build configurations that John mentioned, see the below wiki link:
    processors.wiki.ti.com/.../Projects_and_Build_Handbook_for_CCS

    Thanks
    ki