Difference in speed between sram datasheet and c language coding

cancel
Showing results for 
Search instead for 
Did you mean: 

Difference in speed between sram datasheet and c language coding

274 Views
jjangyja
Contributor I

void test_func()
{
 unsigned int i = 0;
 
   for(i = 0;i < 52560;i++)
   {
    test_buffer_out[i] = test_buffer_in[i];
   }
 
 
 i = 0; 
}

byte : 52 KByte

for loop time : 5.576 ms !!!!!

and....

SRAM DataSheet

* Features

 - Fast-clock-to-output times

   8.0 ns (100-Mhz Version)

- 16bit Databus

8.0 ns (2 Byte Read/Write Speed)


8.0ns   ===>  5.57 ms Calculate the capacity to process in 1.39 MB.

for loop : DataSheet

56 KB : 1.39 MB

Why is this big difference in capacity (byte)?

0 Kudos
0 Replies