首页> 外文会议>Languages, compilers, amp; tools for embedded systems >Analysis and Approximation for Bank Selection Instruction Minimization on Partitioned Memory Architecture
【24h】

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.rnIn 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 instructions optimally in polynomial time. We then consider the case when there are some nodes that do not access any memory bank and design a dynamic programming method to compute the optimal insertion strategy when the CFG is a tree. Experimental result shows the proposed techniques can reduce bank selection instructions significantly on partitioned memory architecture.
机译:大量嵌入式系统都包括8位微控制器,以提高其能效并降低成本。多存储体存储器体系结构通常用于8位微控制器中,以在不扩展地址总线的情况下增加存储器的大小。要在不同的存储体之间切换,使用了一条特殊的指令“存储体选择”。如何减少插入的存储体选择指令的数量对于减小嵌入式系统的代码大小很重要。rn本文考虑了如何在程序中插入最小存储体选择指令的数量,以实现可行性。程序可以由控制流程图(CFG)表示。我们证明,如果所有变量都已预先分配给存储体,则插入最小数量的存储体选择指令是NP-Hard的方法。因此,我们介绍一种使用舍入方法的2近似算法。当CFG是一棵树或CFG中每个节点的出节点最大为2时,我们表明可以在多项式时间内最优地插入存储体选择指令。然后,我们考虑当某些节点不访问任何存储体的情况,并设计一种动态编程方法来计算CFG为树时的最佳插入策略。实验结果表明,所提出的技术可以在分区存储架构上显着减少存储体选择指令。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号