Acceleration of Program Execution: EE POV | Cypress Semiconductor
Acceleration of Program Execution: EE POV
In the current market trend, we are in constant pursuit to make any application faster. The same trend persists for program execution in a System-on-Chip (SoC) application. The execution of program involves measuring input, processing the data, and displaying/transmitting the output. Here, input and output times depend on the peripheral ports and the processing of data depends on the implementation and CPU speed. In most SoC applications, it is the signal processing that consumes the majority of execution time. Use of extensive mathematical libraries for processing data is expensive in terms of both CPU time and memory usage. If the input and output are expected to be in a specified range, developers can optimize the data processing with the use of Look-Up-Tables (LUTs). The time spent to build the LUT will go into the one-time cost of design, rather than CPU overhead for every execution. In scenarios where the LUT method is feasible, its use depends on the tradeoff between execution time versus design time, and accuracy verses memory usage. This article discusses these tradeoffs between different methods of implementations and considers thermistor sensing and Proportional-Integral-Differential (PID) as case studies. To read more, click the download link below or visit: EDN.