DocumentCode :
1126520
Title :
Hybrid Simulation for Energy Estimation of Embedded Software
Author :
Muttreja, Anish ; Raghunathan, Anand ; Ravi, Srivaths ; Jha, Niraj K.
Author_Institution :
Princeton Univ., Princeton
Volume :
26
Issue :
10
fYear :
2007
Firstpage :
1843
Lastpage :
1854
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 ldquodrop-inrdquo modules that are linked into the instruction set simulator (ISS) and simulation ldquostubsrdquo 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.2x (maximum of 124) and estimation error of only 3% (maximum of 6%), as compared to one of the fastest publicly available ISSs.
Keywords :
embedded systems; hybrid simulation; software metrics; automatic tool flow; embedded software; energy-efficient embedded systems; hybrid simulation; instruction set simulation; instruction set simulator; instruction-level simulation; memory synchronization; native execution domains; selective native execution; software complexity; software energy estimation; software energy macromodeling; system-level exploration; Automatic control; Computational modeling; Computer aided instruction; Computer simulation; Embedded software; Embedded system; Energy efficiency; Estimation error; Software performance; Software systems; Energy estimation; hybrid simulation; native execution; processor simulation;
fLanguage :
English
Journal_Title :
Computer-Aided Design of Integrated Circuits and Systems, IEEE Transactions on
Publisher :
ieee
ISSN :
0278-0070
Type :
jour
DOI :
10.1109/TCAD.2007.895760
Filename :
4305254
Link To Document :
بازگشت