Sciweavers

LCTRTS
2010
Springer

Analysis and approximation for bank selection instruction minimization on partitioned memory architecture

13 years 11 months ago
Analysis and approximation for bank selection instruction minimization on partitioned memory architecture
A large number of embedded systems include 8-bit microcontrollers for their energy efficiency and low cost. Multi-bank memory architecture is commonly applied in 8-bit microcontrollers to increase the size of memory without extending address buses. To switch among different memory banks, a special instruction, Bank Selection, is used. How to minimize the number of bank selection instructions inserted is important to reduce code size for embedded systems. In this paper, we consider how to insert the minimum number of bank selection instructions in a program to achieve feasibility. A program can be represented by a control flow graph (CFG). We prove that it is NP-Hard to insert the minimum number of bank selection instructions if all the variables are pre-assigned to memory banks. Therefore, we introduce a 2-approximation algorithm using a rounding method. When the CFG is a tree or the out-degree of each node in the CFG is at most two, we show that we can insert the bank selection ins...
Minming Li, Chun Jason Xue, Tiantian Liu, Yingchao
Added 18 May 2010
Updated 18 May 2010
Type Conference
Year 2010
Where LCTRTS
Authors Minming Li, Chun Jason Xue, Tiantian Liu, Yingchao Zhao
Comments (0)