High-performance timing simulation of embedded software

  • Authors:
  • Jürgen Schnerr;Oliver Bringmann;Alexander Viehl;Wolfgang Rosenstiel

  • Affiliations:
  • Universität Tübingen, Tübingen, Germany;FZI Forschungszentrum Informatik, Karlsruhe, Germany;FZI Forschungszentrum Informatik, Karlsruhe, Germany;FZI Forschungszentrum Informatik, Karlsruhe, Germany and Universität Tübingen, Tübingen, Germany

  • Venue:
  • Proceedings of the 45th annual Design Automation Conference
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents an approach for cycle-accurate simulation of embedded software by integration in an abstract SystemC model. Compared to existing simulation-based approaches, we present a hybrid method that resolves performance issues by combining the advantages of simulation-based and analytical approaches. In a first step, cycle-accurate static execution time analysis is applied at each basic block of a cross-compiled binary program using static processor models. After that, the determined timing information is back-annotated into SystemC for fast simulation of all effects that can not be resolved statically. This allows the consideration of data dependencies during run-time and the incorporation of branch prediction and cache models by efficient source code instrumentation. The major benefit of our approach is that the generated code can be executed very efficiently on the simulation host with approximately 90% of the speed of the untimed software without any code instrumentation.