Instruction level power estimation for a Digital Signal Processor
No Thumbnail Available
URL
Journal Title
Journal ISSN
Volume Title
Helsinki University of Technology |
Diplomityö
Checking the digitized thesis and permission for publishing
Instructions for the author
Instructions for the author
Authors
Date
2009
Department
Major/Subject
Ohjelmistotekniikka
Mcode
T-106
Degree programme
Language
en
Pages
(8) + 95
Series
Abstract
The ongoing convergence of functionality in portable devices such as mobile phones is leading to the development of a universal mobile terminal. Such a device must have well enough performance and high flexibility while having low enough power consumption. A key to attaining maximum flexibility both in the wireless access and application engine of the device is the use of software, some of which runs on digital signal processors (DSPs). Development tools need to have the capability to estimate device power consumption, including power consumption resulting from software execution. An instruction level energy estimator tool has been implemented. The target architecture is the midrange low power Texas Instruments C55x DSP. The estimation is based on results found in literature: the Tiwari Instruction Level Power Analysis and an energy model we have made based on measurements performed by third parties. The implementation is built on top of an existing static program analysis framework. The front end of the tool parses C55x disassembly code. The tool then finds the control flow of the input program and its basic blocks. Finally, the tool estimates the energy consumption of the DSP software. The implementation estimates energy usage of the basic blocks of the DSP software based on the base costs, the inter-instruction energy costs. Using a C55x simulator, the whole program energy usage can be estimated.Kannettaviin laitteisiin, erityisesti matkapuhelimiin, on yhdistetty paljon eri toiminnallisuutta ja on syntymässä yleiskäyttöinen kommunikointilaite. Tällaisella laitteella on korkea suorituskyky ja soveltuvuus eri käyttötarkoituksiin ja sillä on tarpeeksi pieni virrankulutus. Joustavuus saavutetaan sekä langattomassa tiedonsiirrossa että sovelluksissa ohjelmistojen avulla, joista osa suoritetaan digitaalisissa signaaliprosessoreissa (DSP). Kehitystyökaluissa tulee olla valmius energiakulutuksen estimoimiseksi, mukaan lukien energiankulutuksen joka riippuu ohjelmistojen suorituksesta. Tässä diplomityössä on toteutettu työkalu joka estimoi DSP-ohjelman energiankulutuksen konekäskytasolla. Kohteena on keskinopea, alhaisella energiankulutuksella toimiva C55x-luokan DSP. Estimointi perustuu Tiwarin julkaisemaan konekäskytason energiamalliin ja virrankulutusmittauksiin, jotka ovat kolmannen osapuolen suorittamat. Työkalun toteutuksen perustana on toisessa diplomityössä tehty staattisen ohjelma- analyysin työkalurunko. Työkalun etuosa jäsentää C55x disassemblykieltä. Tämän jälkeen muodostetaan kohdeohjelman kontrollivuo ja peruslohkot. Lopulta työkalu estimoi DSP-kohdeohjelman energiakulutuksen. Toteutettu työkalu estimoi DSP-ohjelman peruslohkojen energiankulutuksen käskyjen peruskulutuksen ja käskyjen välisen energiakulutuksen perusteella. C55x-simulaattorin avulla voidaan estimoida koko ohjelman energiankulutus.Description
Supervisor
Saikkonen, HeikkiThesis advisor
Hirvisalo, VesaKeywords
energy model, energiamalli, energy estimation, energia-estimointi, energy consumption, energiankulutus, embedded software, sulautetut järjestelmät, digital signal processor, digitaalinen signaaliprosessori, DSP, TMS320C55x