通过分析应用程序的存储需求量,辅助片上系统(System-on-Chip,SoC)任务分配进行数据存储与传输优化,是改善SoC性能的途径之一.目前,存储需求量分析方法的分析粒度单一、速度缓慢,不利于进行多粒度任务分配空间的高效探索.本文面向SoC任务分配,提出一种多粒度、快速存储需求量分析方法.该方法可进行多粒度的存储需求量分析,并针对多媒体程序,引入数组数据域划分技巧,大幅度减少了存储需求量的分析时间.
System-on-Chip(SoC)task allocation with memory size information can improve the data storage and transfer efficiency.Nowadays,the methods of memory size estimation often adopt the single granularity and run at slow speed.Therefore,the space exploration of multi-granularity task allocation cannot be supported well.For SoC task allocation,this paper proposes a fast,multi-granularity approach of memory size estimation.The approach estimates the memory size at three granularities.The technique of data domain partition is introduced into the time-consuming process of memory size estimation at loop granularity,which greatly accelerates the analysis processing.