Cache-Aware Instruction SPM Allocation for Hard Real-Time Systems
Arno Luppold, Christina Kittsteiner, Heiko Falk · 2016
To improve the execution time of a program, parts of its instructions can be allocated to a fast Scratchpad Memory (SPM) at compile time. This is a well-known technique which can be used to minimize the program's worst-case Execution Time (WCET). However, modern embedded systems often use cached main memories. An SPM allocation will inevitably lead to changes in the program's memory layout in main memory, resulting in either improved or degraded worst-case caching behavior.