Hybrid simulation for energy estimation of embedded software

Anish Muttreja, Anand Raghunathan, Srivaths Ravi, Niraj K. Jha

Research output: Contribution to journalArticle

10 Scopus citations

Abstract

Software energy estimation is a critical step in the design of energy-efficient embedded systems. Instruction-level simulation techniques, despite several advances, remain too slow for iterative use in system-level exploration and for embedded systems with high software complexity. In this paper, we propose a methodology called hybrid simulation, which combines instruction set simulation with selective native execution (execution of some parts of the program directly on the simulation host computer). Hybrid simulation attempts to overcome the disadvantages of instruction-level simulation (low speed) and pure native execution (estimation accuracy and inapplicability to target-dependent code) while exploiting their advantages. In order to perform the energy estimation for natively executed subprograms, hybrid simulation leverages previously developed techniques for software energy macromodeling. This paper identifies and addresses the main challenges involved in hybrid simulation, including control/data transfer and memory synchronization between instruction set simulation and native execution domains, estimation errors due to macromodeling, and simulation overheads for switching between domains. We present an automatic tool flow for hybrid simulation, which analyzes a given program and selects functions for native execution in order to achieve maximum estimation efficiency while limiting estimation error. Our tool generates native "drop-in" modules that are linked into the instruction set simulator (ISS) and simulation "stubs" that are linked with the application to facilitate hybrid simulation. We have applied the proposed hybrid simulation methodology to a variety of embedded software programs, resulting in average speedups of 25.2× (maximum of 124×) and estimation error of only 3% (maximum of 6%), as compared to one of the fastest publicly available ISSs.

Original languageEnglish (US)
Pages (from-to)1843-1854
Number of pages12
JournalIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
Volume26
Issue number10
DOIs
StatePublished - Oct 1 2007

All Science Journal Classification (ASJC) codes

  • Software
  • Computer Graphics and Computer-Aided Design
  • Electrical and Electronic Engineering

Keywords

  • Energy estimation
  • Hybrid simulation
  • Native execution
  • Processor simulation

Fingerprint Dive into the research topics of 'Hybrid simulation for energy estimation of embedded software'. Together they form a unique fingerprint.

  • Cite this