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.

The speed difference between emulation and simulation.

Hi,

I am doing a speed test of integer multiply on a C6467t EVM Board.

This test intC[1000] = intA[1000]*intB[1000] run 1000 times.

All the arrays A,B,C are stored in L2SRAM.

The build option o3, none debug mode.

 

The result of Simulation shows 1 cycle cost in one multiply calculation.

But the result of Emulation shows 10 cycles cost.

 

The code is like this

#include<stdio.h>

#define SIZE 1000

#pragma DATA_SECTION( "sramABC")

int arrayA[SIZE], arrayB[SIZE], arrayC[SIZE];

 

void main(){

int i;

for(i=0; i<SIZE; i++)

arrayC[i]=arrayA[i]*arrayB[i];

}

Is there any clue why the difference occurs?

Thanks.