skip to main content
10.1145/2024724.2024838acmconferencesArticle/Chapter ViewAbstractPublication PagesdacConference Proceedingsconference-collections
research-article

Fast and accurate source-level simulation of software timing considering complex code optimizations

Authors Info & Claims
Published:05 June 2011Publication History

ABSTRACT

This paper presents an approach for accurately estimating the execution time of parallel software components in complex embedded systems. Timing annotations obtained from highly optimized binary code are added to the source code of software components which is then integrated into a SystemC transaction-level simulation. This approach allows a fast evaluation of software execution times while being as accurate as conventional instruction set simulators. By simulating binary-level control flow in parallel to the original functionality of the software, even compiler optimizations heavily modifying the structure of the generated code can be modeled accurately. Experimental results show that the presented method produces timing estimates within the same level of accuracy as an established commercial tool for cycle-accurate instruction set simulation while being at least 20 times faster.

References

  1. AbsInt Angewandte Informatik GmbH. aiT Worst-Case Execution Time Analyzer. http://www.absint.com/ait.Google ScholarGoogle Scholar
  2. AbsInt Angewandte Informatik GmbH. Program Analyzer Generator (PAG). http://www.absint.com/pag.Google ScholarGoogle Scholar
  3. ACE Associated Compiler Experts bv. CoSy compiler development system. http://www.ace.nl/compiler.Google ScholarGoogle Scholar
  4. CodeSourcery Sourcery G++ Lite Edition for ARM. http://www.codesourcery.com/sgpp/lite/arm.Google ScholarGoogle Scholar
  5. Mälardalen WCET research group WCET Benchmark Suite. http://www.mrtc.mdh.se/projects/wcet.Google ScholarGoogle Scholar
  6. Open SystemC Initiative (OSCI). http://www.systemc.org.Google ScholarGoogle Scholar
  7. Open Virtual Platforms (OVP). http://www.ovpworld.org.Google ScholarGoogle Scholar
  8. Synopsys CoMET. http://www.synopsys.com/.Google ScholarGoogle Scholar
  9. A. Bouchhima, P. Gerin, and F. Petrot. Automatic Instrumentation of Embedded Software for High Level Hardware/Software Co-Simulation. 14th Asia and South Pacific Design Automation Conference (ASP-DAC 2009). Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. J. Castillo, H. Posadas, E. Villar, and M. Martinez. Fast Instruction Cache Modeling for Approximate Timed HW/SW Co-Simulation. In GLSVLSI '10: Proceedings of the 20th Great lakes symposium on VLSI. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. E. Cheung, H. Hsieh, and F. Balarin. Fast and Accurate Performance Simulation of Embedded Software for MPSoC. 14th Asia and South Pacific Design Automation Conference (ASP-DAC 2009). Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. C. Cullmann and F. Martin. Data-Flow Based Detection of Loop Bounds. In Proceedings of the 7th Intl. Workshop on Worst-Case Execution Time (WCET) Analysis, 2007.Google ScholarGoogle Scholar
  13. A. Donlin. Transaction Level Modeling: Flows and Use Models. In Proceedings of the Intl. Conference on Hardware/Software Codesign and System Synthesis, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. J. Gustafsson. WCET Challenge 2006. Technical Report, Mälardalen University, 2007.Google ScholarGoogle Scholar
  15. O. Honcharova, C. Cullmann, and F. Martin. Static Detection of Parametric Loop Bounds on C Code. In WRTP/RTS'09-30th IFAC Workshop on Real-Time Programming and 4th International Workshop on Real-Time Software.Google ScholarGoogle Scholar
  16. K.-L. Lin, C.-K. Lo, and R.-S. Tsay. Source-Level Timing Annotation for Fast and Accurate TLM Computation Model Generation. 15th Asia and South Pacific Design Automation Conference (ASP-DAC 2010). Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. T. Meyerowitz, A. Sangiovanni-Vincentelli, M. Sauermann, and D. Langen. Source-Level Timing Annotation and Simulation for a Heterogeneous Multiprocessor. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE 2008). Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. J. Schnerr, O. Bringmann, A. Viehl, and W. Rosenstiel. High-Performance Timing Simulation of Embedded Software. 45th Design Automation Conference (DAC 2008). Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. S. Stattelmann, O. Bringmann, and W. Rosenstiel. Fast and Accurate Resource Conflict Simulation for Performance Analysis of Multi-Core Systems. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE 2011).Google ScholarGoogle ScholarCross RefCross Ref
  20. S. Stattelmann, A. Viehl, O. Bringmann, and W. Rosenstiel. Reconstructing Line References from Optimized Binary Code for Source-Level Annotation. In Proceedings of the Forum on specification & Design Languages (FDL 2010).Google ScholarGoogle ScholarCross RefCross Ref
  21. Z. Wang and A. Herkersdorf. An Efficient Approach for System-Level Timing Simulation of Compiler-Optimized Embedded Software. 46th Design Automation Conference (DAC 2009). Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Z. Wang, K. Lu, and A. Herkersdorf. An Approach to Improve Accuracy of Source-Level TLMs of Embedded Software. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE 2011).Google ScholarGoogle Scholar

Index Terms

  1. Fast and accurate source-level simulation of software timing considering complex code optimizations

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          DAC '11: Proceedings of the 48th Design Automation Conference
          June 2011
          1055 pages
          ISBN:9781450306362
          DOI:10.1145/2024724

          Copyright © 2011 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 5 June 2011

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate1,770of5,499submissions,32%

          Upcoming Conference

          DAC '24
          61st ACM/IEEE Design Automation Conference
          June 23 - 27, 2024
          San Francisco , CA , USA

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader