Compiler-assisted dynamic scratch-pad memory management with space overlapping for embedded systems

Y. Yang, H. Yan, Zili Shao, M. Guo

Research output: Journal article publicationJournal articleAcademic researchpeer-review


Scratch-pad memory (SPM), a small, fast, software-managed on-chip SRAM (Static Random Access Memory) is widely used in embedded systems. With the ever-widening performance gap between processors and main memory, it is very important to reduce the serious off-chip memory access overheads caused by transferring data between SPM and off-chip memory. In this paper, we propose a novel compiler-assisted technique, ISOS (Iteration-access-pattern-based Space Overlapping SPM management), for dynamic SPM management with DMA (Direct Memory Access). In ISOS, we combine both SPM and DMA for performance optimization by exploiting the chance to overlap SPM space so as to further utilize the limited SPM space and reduce the number of DMA operations. We implement our technique based on IMPACT and conduct experiments using a set of benchmarks from DSPstone and Mediabench on the cycle-accurate VLIW simulator of Trimaran. The experimental results show that our technique achieves run-time performance improvement compared with the previous work. The average improvements are 13.15, 19.05, and 25.52% when the SPM sizes are 1KB, 512 bytes, and 256 bytes, respectively.
Original languageEnglish
Pages (from-to)737-752
Number of pages16
JournalSoftware-Practice & Experience
Issue number7
Publication statusPublished - 2011


  • Compiler
  • Scratch-pad memory
  • Embedded system

ASJC Scopus subject areas

  • Software

Cite this