计算机工程与应用 ›› 2010, Vol. 46 ›› Issue (2): 63-65.DOI: 10.3778/j.issn.1002-8331.2010.02.020

• 研发、设计、测试 • 上一篇    下一篇

一种SPM周期准确功耗模型分析与实现

胡志刚,赵庆福,蒋湘涛   

  1. 中南大学 信息科学与工程学院,长沙 410083
  • 收稿日期:2008-10-07 修回日期:2008-12-22 出版日期:2010-01-11 发布日期:2010-01-11
  • 通讯作者: 胡志刚

SPM cycle accurate power model analysis and implementation

HU Zhi-gang,ZHAO Qing-fu,JIANG Xiang-tao   

  1. School of Information Science and Engineering,Central South University,Changsha 410083,China
  • Received:2008-10-07 Revised:2008-12-22 Online:2010-01-11 Published:2010-01-11
  • Contact: HU Zhi-gang

摘要: 功耗问题是限制嵌入式设备发展的瓶颈之一。嵌入式系统中,为了降低嵌入式处理器的整体功耗,使用SPM(Scratch-Pad Memory)部件来替换cache部件。提出了一个SPM周期准确功耗模型。模型通过扩展SimpleScalar模拟器模拟程序执行时对SPM的访问,获得电路输入状态,并利用集成到模拟器中周期准确的SPM功耗模型计算SPM功耗,模型克服了电路级模型可扩展性较差的缺陷,通过在SimpleScalar中配置相关参数,模拟不同大小和结构SPM的功耗。实验表明模型能够准确模拟SPM功耗(误差不超过10%)。对SPM低功耗设计和优化具有一定的指导意义。

关键词: SimpleScalar模拟器, 片上存储器, 周期准确, 功耗模型

Abstract: Power dissipation has become one of the critical problems in the embedded equipment design.In order to reduce the power-consumption in embedded system,Scratch-Pad Memory(SPM) has been introduced to replace cache.A SPM cycle accurate power model is proposed.The model uses the extended SimpleScalar simulator to simulate SPM accesses when a code is executed,then exports the status of circuit input.The model calculates the power based on the model integrated in the simulator,also the model can be extended by configure the parameters in SimpleScalar to simulate the SPM power of different size and configuration.Experiment results show that the model can simulate SPM power accurately(the relative error within 10%).

Key words: SimpleScalar simulator, Scratch-Pad Memory(SPM), cycle accurate, power model

中图分类号: