Execute nLog(n) algorithm in real time
Hey,
I am planning an algorithm that needs to work in Real time.
The system includes an ADC that samples in rate of 5Msps and the interface with the CPU is 80MHz in SPI.
From primary calculation the running time Complexity is O(n log n), and the result is around 15M operations is one sec.
As we know, the f(CPU) 480/400 MHz Max.
How can I be sure that the CPU can handle 15M operations in Real time?
What is the number of cycles each operation takes, if we will assume that the operation is multiply between two 16bit words and Summing the result.
Best Regards
Peleg