Run-time Memory Optimization Algorithm for the DDMB Architecture


The KIPS Transactions:PartA, Vol. 13, No. 5, pp. 413-420, Oct. 2006
10.3745/KIPSTA.2006.13.5.413,   PDF Download:

Abstract

Most vendors of digital signal processors (DSPs) support a Harvard architecture, which has two or more memory buses, one for program and one or more for data and allow the processor to access multiple words of data from memory in a single instruction cycle. We already addressed how to efficiently assign data to multi-memory banks in our previous work. This paper reports on our recent attempt to optimize run-time memory. The run-time environment for dual data memory banks (DDMBs) requires two run-time stacks to control activation records located in two memory banks corresponding to calling procedures. However, activation records of two memory banks for a procedure are able to have different size. As a consequence, dual run-time stacks can be unbalanced whenever a procedure is called. This unbalance between two memory banks causes that usage of one memory bank can exceed the extent of on-chip memory area although there is free area in the other memory bank. We attempt balancing dual run-time stacks to enhance efficiently utilization of on-chip memory in this paper. The experimental results have revealed that although our algorithm is relatively quite simple, it still can utilize run-time memories efficiently; thus enabling our compiler to run extremely fast, yet minimizing the usage of run-time memory in the target code.


Statistics
Show / Hide Statistics

Statistics (Cumulative Counts from September 1st, 2017)
Multiple requests among the same browser session are counted as one view.
If you mouse over a chart, the values of data points will be shown.


Cite this article
[IEEE Style]
J. H. Cho, Y. H. Paek, S. H. Kwon, "Run-time Memory Optimization Algorithm for the DDMB Architecture," The KIPS Transactions:PartA, vol. 13, no. 5, pp. 413-420, 2006. DOI: 10.3745/KIPSTA.2006.13.5.413.

[ACM Style]
Jeong Hun Cho, Yun Heung Paek, and Soo Hyun Kwon. 2006. Run-time Memory Optimization Algorithm for the DDMB Architecture. The KIPS Transactions:PartA, 13, 5, (2006), 413-420. DOI: 10.3745/KIPSTA.2006.13.5.413.