• DocumentCode
    2075702
  • Title

    Memory access reconstruction based on memory allocation mechanism for source-level simulation of embedded software

  • Author

    Kun Lu ; Muller-Gritschneder, D. ; Schlichtmann, Ulf

  • Author_Institution
    Inst. for Electron. Design Autom., Tech. Univ. Munchen, Munich, Germany
  • fYear
    2013
  • fDate
    22-25 Jan. 2013
  • Firstpage
    729
  • Lastpage
    734
  • Abstract
    To date, there still lacks a way to accurately simulate data memory accesses in source-level simulation (SLS) of host-compiled embedded SW. The difficulty lies in that the accessed addresses for the load and store instructions can not be statically determined. Without knowing those addresses, the source code can not be annotated appropriately for data cache simulation. In this paper, we show an approach that is capable of resolving the accessed memory addresses based on the memory allocation mechanism. Applying this approach, the source code can be annotated to perform precise data cache simulation. The novelty of our methodology is that it is the first of its kind to take the memory allocation mechanism into account and thus can handle all the stack, data, heap and text sections. Moreover, a method is also proposed to handle pointer dereferences. In experiments, SLS with our approach yields almost identical cache miss rate and pattern when compared to the reference simulation.
  • Keywords
    cache storage; program compilers; program diagnostics; software prototyping; storage allocation; address access; cache miss rate; data cache simulation; data section; heap section; host-compiled embedded software; load instruction; memory access reconstruction; memory allocation mechanism; pointer dereference handling; source code annotation; source-level simulation; stack section; store instruction; text section; Accuracy; Arrays; Binary codes; Data mining; Data models; Registers; Resource management;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Design Automation Conference (ASP-DAC), 2013 18th Asia and South Pacific
  • Conference_Location
    Yokohama
  • ISSN
    2153-6961
  • Print_ISBN
    978-1-4673-3029-9
  • Type

    conf

  • DOI
    10.1109/ASPDAC.2013.6509687
  • Filename
    6509687