Abstract: Scratchpad memory (SPM) occupies less space and consumes less energy than cache memory. However, unlike with cache memory, the user or the compiler must directly allocate the data or ...