Tool/software: Linux
Dear TI experts,
When i run below test code on dsp,i found out the TDA3x's DSP is more efficient.
Test Code:
#define TSC_getDelay(preTSC) ((unsigned int)((0xFFFFFFFFl+TSCL)-(unsigned long long)preTSC)+ 1)
short *T0;
T0 = (short*) Utils_memAlloc(UTILS_HEAPID_DDR_CACHED_SR, 10240, 8U); //DDR
{
int t=0;
int t0_time;
int pclk;
TSCL=0;
pclk=TSCL;
for(t =0;t<10240;t++)
{
T0[t] = t;
}
t0_time= TSC_getDelay(pclk);
Vps_printf("DEBUG:---DDR = %d Result = %d ",t0_time,T0[1024]);
}
Result:
[DSP1 ] 38.649484 s: DEBUG:---DDR = 12412 Result = 1024 //TDA3X with 709M DSP ;VSDK2.12
[HOST] [DSP2 ] 58.513542 s: DEBUG:---DDR = 43946 Result = 1024 //TDA2H with 750M DSP; VSDK2.12 linux
Sid