[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/2966986.2967063guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
research-article

Parallel code-specific CPU simulation with dynamic phase convergence modeling for HW/SW co-design

Published: 07 November 2016 Publication History

Abstract

While SystemC models provide a promising solution to the complex problem of HW/SW co-design within the system-on-chip paradigm, such requires a detailed annotation of transaction level energy and performance data within the model. While this data can be obtained through source code profiling of an application running on the target processor, accomplishing such when the target CPU hardware is not actively available typically requires time-consuming CPU simulation, which is often too slow to practically consider for large programs. Additionally, while the use of SystemC modeling with TLM 2.0 standard is widely adopted for the SoC modeling, the process of transforming C/C++ code to SystemC code with TLM 2.0 functionality remains non-trivial. Herein we propose an automated framework that: 1. Enables high speed code-specific CPU profiling support for both Sniper and gem5 using parallelized dynamic steady state phase convergence modeling, providing automatic annotation of energy and latency within source code. 2. Provides an automated C to SystemC TLM 2.0 code generation flow that utilizes the back-annotated source code to produce a SystemC module for seamless incorporation into the virtual prototype. Maximum speedups obtained using Sniper and gem5 are 105.78× and 562× respectively, while average results obtained speedups of 42.7× and 323.1×. Sniper results maintain an average accuracy of 0.64% for latency and 0.10% for energy, while gem5 achieves average accuracies of 4.16% and 2.87% for latency and energy respectively.

References

[1]
N. Binkert, B. Beckmann, G. Black, S. K. Reinhardt, A. Saidi, A. Basu, J. Hestness, D. R. Hower, T. Krishna, S. Sardashti et al., The gem5 simulator. ACM SIGARCH Computer Architecture News, 39 (2):1–7, 2011.
[2]
T. E. Carlson, W. Heirman, and L. Eeckhout. Sampled simulation of multi-threaded applications. In ISPASS'13.
[3]
T. E. Carlson, W. Heirman, and L. Eeckhout. Sniper: exploring the level of abstraction for scalable and accurate parallel multi-core simulation. In SC' 11.
[4]
F. Ghenassia et al. Transaction-level Modeling with SystemC. Springer 2005.
[5]
G. Hamerly, E. Perelman, J. Lau, and B. Calder. Simpoint 3.0: Faster and more flexible program phase analysis. Journal of Instruction Level Parallelism, 7 (4):1–28, 2005.
[6]
W. Heirman, T. Carlson, and L. Eeckhout. Sniper: Scalable and accurate parallel multi-core simulation. In SC' 11.
[7]
S. Li, J. H. Ahn, R. D. Strong, J. B. Brockman, D. M. Tullsen, and N. P. Jouppi. Mcpat: An integrated power, area, and timing modeling framework for multicore and manycore architectures. In MICRO'09.
[8]
C.-K. Luk, R. Cohn, R. Muth, H. Patil, A. Klauser, G. Lowney, S. Wallace, V. J. Reddi, and K. Hazelwood. Pin: Building customized program analysis tools with dynamic instrumentation. In PLDI'05.
[9]
L.-N. Pouchet. Polybench/c the polyhedral benchmark suite, 2015.
[10]
A. Sandberg, N. Nikoleris, T. E. Carlson, E. Hagersten, S. Kaxiras, and D. Black-Schaffer. Full speed ahead: Detailed architectural simulation at near-native speed. In IISWC'15.
[11]
R. Strong. m5-mcpat-parse.py, 2009.
[12]
W. Wolf. A decade of hardware/software codesign. Computer, 36 (4):38–43, 2003.
[13]
R. E. Wunderlich, T. F. Wenisch, B. Falsafi, and J. C. Hoe. Smarts: Accelerating microarchitecture simulation via rigorous statistical sampling. In ISCA'03.

Cited By

View all
  • (2019)Automated Communication and Floorplan-Aware Hardware/Software Co-Design for SoC2019 IEEE Computer Society Annual Symposium on VLSI (ISVLSI)10.1109/ISVLSI.2019.00032(128-133)Online publication date: Jul-2019
  • (2017)Accurate High-level Modeling and Automated Hardware/Software Co-design for Effective SoC Design Space ExplorationProceedings of the 54th Annual Design Automation Conference 201710.1145/3061639.3062195(1-6)Online publication date: 18-Jun-2017

Index Terms

  1. Parallel code-specific CPU simulation with dynamic phase convergence modeling for HW/SW co-design
          Index terms have been assigned to the content through auto-classification.

          Recommendations

          Comments

          Please enable JavaScript to view thecomments powered by Disqus.

          Information & Contributors

          Information

          Published In

          cover image Guide Proceedings
          2016 IEEE/ACM International Conference on Computer-Aided Design (ICCAD)
          Nov 2016
          946 pages

          Publisher

          IEEE Press

          Publication History

          Published: 07 November 2016

          Permissions

          Request permissions for this article.

          Qualifiers

          • Research-article

          Contributors

          Other Metrics

          Bibliometrics & Citations

          Bibliometrics

          Article Metrics

          • Downloads (Last 12 months)0
          • Downloads (Last 6 weeks)0
          Reflects downloads up to 01 Jan 2025

          Other Metrics

          Citations

          Cited By

          View all
          • (2019)Automated Communication and Floorplan-Aware Hardware/Software Co-Design for SoC2019 IEEE Computer Society Annual Symposium on VLSI (ISVLSI)10.1109/ISVLSI.2019.00032(128-133)Online publication date: Jul-2019
          • (2017)Accurate High-level Modeling and Automated Hardware/Software Co-design for Effective SoC Design Space ExplorationProceedings of the 54th Annual Design Automation Conference 201710.1145/3061639.3062195(1-6)Online publication date: 18-Jun-2017

          View Options

          View options

          Media

          Figures

          Other

          Tables

          Share

          Share

          Share this Publication link

          Share on social media