Skip to main navigation Skip to search Skip to main content

Minimizing code size via page selection optimization on partitioned memory architectures

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

Abstract

For 8-bit microcontrollers, bank-switching is commonly used to increase memory capacity. The disadvantage of this technique is that bank (page) selection instructions are introduced when switching active data (program) bank. The page selection problem is to minimize the number of page selection instructions inserted. While previous efforts work on optimizing bank selection instructions for the data segment, our work focuses on minimizing page selection instructions for the program segment. Minimizing page selection instructions is a more challenging problem as the size of each procedure being allocated is affected by the number of inserted page selection instructions. In this paper, we first give a formal definition of the page selection problem, and then we formulate the problem as an Integer Linear Programming (ILP) to find the optimal solution. We introduce a tabu search heuristic algorithm, TMSEARCH, to solve the problem efficiently. The experimental results show that ILP can find optimal solutions for small-scale problems, and TMSEARCH is able to find good solutions for all benchmarks within reasonable time. Com-pared to a commercial compiler, TMSEARCH reduces total code size between 0.04% and 19.3%, and reduces page selection instructions between 24.3% and 78.7%. © 2013 IEEE.
Original languageEnglish
Title of host publication2013 International Conference on Compilers, Architecture and Synthesis for Embedded Systems, CASES 2013
PublisherIEEE Computer Society
ISBN (Print)9781479914005
DOIs
Publication statusPublished - 2013
Event2013 International Conference on Compilers, Architecture and Synthesis for Embedded Systems, CASES 2013 - Montreal, QC, Canada
Duration: 29 Sept 20134 Oct 2013

Conference

Conference2013 International Conference on Compilers, Architecture and Synthesis for Embedded Systems, CASES 2013
PlaceCanada
CityMontreal, QC
Period29/09/134/10/13

Research Keywords

  • Bank
  • Microcontrollers
  • Page selection problem
  • Partitioned memory architecture
  • ROM allocation
  • Switching

Fingerprint

Dive into the research topics of 'Minimizing code size via page selection optimization on partitioned memory architectures'. Together they form a unique fingerprint.

Cite this