TY - JOUR
T1 - Reducing memory requirements of nested loops for embedded systems
AU - Ramanujam, J.
AU - Hong, Jinpyo
AU - Kandemir, Mahmut
AU - Narayan, A.
PY - 2001
Y1 - 2001
N2 - Most embedded systems have limited amount of memory. In contrast, the memory requirements of code (in particular loops) running on embedded systems is significant. This paper addresses the problem of estimating the amount of memory needed for transfers of data in embedded systems. The problem of estimating the region associated with a statement or the set of elements referenced by a statement during the execution of the entire set of nested loops is analyzed. A quantitative analysis of the number of elements referenced is presented; exact expressions for uniformly generated references and a close upper and lower bound for non-uniformly generated references are derived. In addition to presenting an algorithm that computes the total memory required, we discuss the effect of transformations on the lifetimes of array variables, i.e., the time between the first and last accesses to a given array location. A detailed analysis on the effect of unimodular transformations on data locality including the calculatio n of the maximum window size is discussed. The term maximum window size is introduced and quantitative expressions are derived to compute the window size. The smaller the value of the maximum window size, the higher the amount of data locality in the loop.
AB - Most embedded systems have limited amount of memory. In contrast, the memory requirements of code (in particular loops) running on embedded systems is significant. This paper addresses the problem of estimating the amount of memory needed for transfers of data in embedded systems. The problem of estimating the region associated with a statement or the set of elements referenced by a statement during the execution of the entire set of nested loops is analyzed. A quantitative analysis of the number of elements referenced is presented; exact expressions for uniformly generated references and a close upper and lower bound for non-uniformly generated references are derived. In addition to presenting an algorithm that computes the total memory required, we discuss the effect of transformations on the lifetimes of array variables, i.e., the time between the first and last accesses to a given array location. A detailed analysis on the effect of unimodular transformations on data locality including the calculatio n of the maximum window size is discussed. The term maximum window size is introduced and quantitative expressions are derived to compute the window size. The smaller the value of the maximum window size, the higher the amount of data locality in the loop.
UR - http://www.scopus.com/inward/record.url?scp=0034857668&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=0034857668&partnerID=8YFLogxK
U2 - 10.1109/DAC.2001.156166
DO - 10.1109/DAC.2001.156166
M3 - Article
AN - SCOPUS:0034857668
SN - 0738-100X
SP - 359
EP - 364
JO - Proceedings - Design Automation Conference
JF - Proceedings - Design Automation Conference
ER -