AnsweredAssumed Answered

Difference in speed between sram datasheet and c language coding

Question asked by Yoo JongAn on Jul 22, 2018

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)?

Attachments

Outcomes