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.

cycle and executed instructions count



I want to evaluate an algorithm that i would like to implement on the TMS320C6455. First, I'm debugging the application on the C6455 Device Cycle Accurate Simulator, Little Endian.

When I execute my program I obtain a number of executed instructions smaller than the number of elapsed clock cycles. If each functional unit of the DSP is able to execute an instruction per clock cycle, the number of executed instructions should be higher than the number of elapsed clock cycles, shouldn't it? Is this result normal?

Is there any document about the profiler functionality? Thank you very much in advanced.

Maria

  • Maria,

    Among other things, the Device Cycle Accurate Simulator will simulate any cache penalties and/or memory wait states required by the physical device. In other words, any access to the memory (a variable allocated in RAM, for example) will require a certain number of cycles for the data to be ready.

    If I am not mistaken, I think the device datasheet has information about the timings for all memory levels (L1, L2 and external).

    Information about the profiler can be seen at the page below:

    http://processors.wiki.ti.com/index.php/Profiler

    Hope this helps,

    Rafael