Embedded systems demand high performance with minimal power consumption, and the optimisation of scratchpad memory (SPM) plays a critical role in meeting these stringent requirements. SPM, a small ...