首页> 外文期刊>IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems >A compiler-based approach for dynamically managing scratch-pad memories in embedded systems
【24h】

A compiler-based approach for dynamically managing scratch-pad memories in embedded systems

机译:用于动态管理嵌入式系统中暂存器的基于编译器的方法

获取原文
获取原文并翻译 | 示例
           

摘要

Optimizations aimed at improving the efficiency of on-chip memories in embedded systems are extremely important. Using a suitable combination of program transformations and memory design space exploration aimed at enhancing data locality enables significant reductions in effective memory access latencies. While numerous compiler optimizations have been proposed to improve cache performance, there are relatively few techniques that focus on software-managed on-chip memories. It is well-known that software-managed memories are important in real-time embedded environments with hard deadlines as they allow one to accurately predict the amount of time a given code segment will take. In this paper, we propose and evaluate a compiler-controlled dynamic on-chip scratch-pad memory (SPM) management framework. Our framework includes an optimization suite that uses loop and data transformations, an on-chip memory partitioning step, and a code-rewriting phase that collectively transform an input code automatically to take advantage of the on-chip SPM. Compared with previous work, the proposed scheme is dynamic, and allows the contents of the SPM to change during the course of execution, depending on the changes in the data access pattern. Experimental results from our implementation using a source-to-source translator and a generic cost model indicate significant reductions in data transfer activity between the SPM and off-chip memory.
机译:旨在提高嵌入式系统中片上存储器效率的优化非常重要。通过使用程序转换和内存设计空间的适当组合来增强数据局部性,可以显着减少有效的内存访问延迟。虽然已经提出了许多编译器优化来提高缓存性能,但相对而言,很少有技术专注于软件管理的片上存储器。众所周知,软件管理的内存在具有严格期限的实时嵌入式环境中非常重要,因为它们可以使人们准确地预测给定代码段将花费的时间。在本文中,我们提出并评估了编译器控制的动态片上暂存存储器(SPM)管理框架。我们的框架包括一个使用循环和数据转换的优化套件,一个片上存储器分区步骤以及一个代码重写阶段,该阶段可以自动集体转换输入代码以利用片上SPM。与以前的工作相比,该方案是动态的,并允许SPM的内容在执行过程中更改,具体取决于数据访问模式的变化。我们使用源到源转换器和通用成本模型实施的实验结果表明,SPM和片外存储器之间的数据传输活动显着减少。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号