Context-Sensitive Timing Simulation of Binary Embedded Software

被引:3
|
作者
Ottlik, Sebastian [1 ]
Stattelmann, Stefan [2 ]
Viehl, Alexander [1 ]
Rosenstiel, Wolfgang [1 ,3 ]
Bringmann, Oliver [1 ,3 ]
机构
[1] FZI Res Ctr Informat Technol, D-76131 Karlsruhe, Germany
[2] ABB Corp Res, Res Area Software, D-68526 Ladenburg, Germany
[3] Univ Tubingen, D-72076 Tubingen, Germany
关键词
Software Timing Simulation; Binary Level Simulation; Instruction Set Simulation; System Level Design; Virtual Prototyping;
D O I
10.1145/2656106.2656117
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present an approach to accurately simulate the temporal behavior of binary embedded software based on timing data generated using static analysis. As the timing of an instruction sequence is significantly influenced by the microarchitecture state prior to its execution, which highly depends on the preceding control flow, a sequence must be separately considered for different control flow paths instead of estimating the influence of basic blocks or single instructions in isolation. We handle the thereby arising issue of an excessive or even infinite number of different paths by considering different execution contexts instead of control flow paths. Related approaches using context-sensitive cycle counts during simulation are limited to simulating the control flow that could be considered during analysis. We eliminate this limitation by selecting contexts dynamically, picking a suitable one when no predetermined choice is available, thereby enabling a context-sensitive simulation of unmodified binary code of concurrent programs, including asynchronous events such as interrupts. In contrast to other approximate binary simulation techniques, estimates are conservative, yet tight, making our approach reliable when evaluating performance goals. For a multi-threaded application the simulation deviates only by 0.24% from hardware measurements while the average overhead is only 50% compared to a purely functional simulation.
引用
收藏
页数:10
相关论文
共 50 条
  • [1] Context-Sensitive Timing Automata for Fast Source Level Simulation
    Ottlik, Sebastian
    Gerum, Christoph
    Viehl, Alexander
    Rosenstiel, Wolfgang
    Bringmann, Oliver
    [J]. PROCEEDINGS OF THE 2017 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2017, : 512 - 517
  • [2] Context-Sensitive Timing Analysis of Esterel Programs
    Ju, Lei
    Huynh, Bach Khoa
    Chakraborty, Samarjit
    Roychoudhury, Abhik
    [J]. DAC: 2009 46TH ACM/IEEE DESIGN AUTOMATION CONFERENCE, VOLS 1 AND 2, 2009, : 870 - +
  • [3] JIT-Based Context-Sensitive Timing Simulation for Efficient Platform Exploration
    Cornaglia, Alessandro
    Hasan, Md. Shakib
    Viehl, Alexander
    Bringmann, Oliver
    Rosenstiel, Wolfgang
    [J]. 2020 25TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE, ASP-DAC 2020, 2020, : 369 - 374
  • [4] Trace-Based Context-Sensitive Timing Simulation Considering Execution Path Variations
    Ottlik, Sebastian
    Viehl, Alexander
    Borrmann, Jan Micha
    Rosenstiel, Wolfgang
    Asbach, Sadik
    Bringmann, Oliver
    [J]. 2016 21ST ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2016, : 159 - 165
  • [5] SIMULTime: Context-Sensitive Timing Simulation on Intermediate Code Representation for Rapid Platform Explorations
    Cornaglia, Alessandro
    Viehl, Alexander
    Bringmann, Oliver
    Rosenstiel, Wolfgang
    [J]. 24TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC 2019), 2019, : 526 - 531
  • [6] Achieving accurate and context-sensitive timing for code optimization
    Whaley, R. Clint
    Castaldo, Anthony M.
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2008, 38 (15): : 1621 - 1642
  • [7] A context-sensitive middleware for managing embedded pervasive environments
    Khedr, M
    Karmouch, A
    [J]. EMBEDDED AND UBIQUITOUS COMPUTING, PROCEEDINGS, 2004, 3207 : 1085 - 1095
  • [8] The growing context-sensitive languages are the acyclic context-sensitive languages
    Niemann, G
    Woinowski, JR
    [J]. DEVELOPMENTS IN LANGUAGE THEORY, 2002, 2295 : 197 - 205
  • [9] Context-sensitive distributed software development for ubiquitous computing environments
    Yau, SS
    Karim, F
    [J]. 25TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE & APPLICATIONS CONFERENCE, 2001, : 263 - 268
  • [10] CONTEXT-SENSITIVE PARSING
    WOODS, WA
    [J]. COMMUNICATIONS OF THE ACM, 1970, 13 (07) : 437 - &