I would like to replace sm320vc33-120ep (vc33) with tms320c6713b (c6713) on the board.
so using the c6713 and vc33 on board, I tested the performance of calculation speed and the interface speed of peripheral part.
* tested environment
-- only coded in c language
-- the board used the external bootloader / flash memory.
1. performance of calculation speed
/** Addition**/
void TestSpeed_Add(void)
{
float i,r;
r=0.0;
LedMastOff();
for(i=0;i<999;i+=1)
{
r += i;
}
LedMastOn();
}
/**Subtraction **/
void TestSpeed_Sub(void)
{
float i,r;
r=0.0;
LedMastOff();
for(i=0;i<999;i+=1)
{
r -= i;
}
LedMastOn();
}
/**Multiply**/
void TestSpeed_Mul(void)
{
float i,r;
r=1.0;
LedMastOff();
for(i=1;i<14;i+=1)
{
r *= i;
}
LedMastOn();
}
/**Divide**/
void TestSpeed_Div(void)
{
float i,r;
r = 1.0;
LedMastOff();
for(i=1;i<13;i+=1)
{
r /= i;
}
LedMastOn();
}
2. interface speed of peripheral part
/**LED Turn on/off**/
void TestSpeed_InterfaceBoard(void)
{
LedMastOff();
LedMastOn();
}
measuring the test data
Calculation VC33 C6713
Addition 233us 79.8us
Subtraction 233us 78.8us
Multiply 3us 1.08us
Divide 11.6us 7.76us
LED on/off 100ns 500ns
------------------------------------------------------------------
MIPS(datasheet) 60 1600
MFLOP(datasheet) 120 1200
according to datasheet, c63713(200Mhz)'s mips spec is 26 times faster than vc33 and mflop spec is 10 times faster.
after testing, I found that c6713's performance speed is 2.5 times faster than vc33.
I would like to know why the measures as described above table and please advise if there is a more accurate measure than the above method.
Best regards.