SConscript revision 11899
111420Sdavid.guillen@arm.com# -*- mode:python -*- 211420Sdavid.guillen@arm.com 311420Sdavid.guillen@arm.com# Copyright (c) 2015 ARM Limited 411420Sdavid.guillen@arm.com# All rights reserved 511420Sdavid.guillen@arm.com# 611420Sdavid.guillen@arm.com# Redistribution and use in source and binary forms, with or without 711420Sdavid.guillen@arm.com# modification, are permitted provided that the following conditions are 811420Sdavid.guillen@arm.com# met: redistributions of source code must retain the above copyright 911420Sdavid.guillen@arm.com# notice, this list of conditions and the following disclaimer; 1011420Sdavid.guillen@arm.com# redistributions in binary form must reproduce the above copyright 1111420Sdavid.guillen@arm.com# notice, this list of conditions and the following disclaimer in the 1211420Sdavid.guillen@arm.com# documentation and/or other materials provided with the distribution; 1311420Sdavid.guillen@arm.com# neither the name of the copyright holders nor the names of its 1411420Sdavid.guillen@arm.com# contributors may be used to endorse or promote products derived from 1511420Sdavid.guillen@arm.com# this software without specific prior written permission. 1611420Sdavid.guillen@arm.com# 1711420Sdavid.guillen@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1811420Sdavid.guillen@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1911420Sdavid.guillen@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2011420Sdavid.guillen@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2111420Sdavid.guillen@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2211420Sdavid.guillen@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2311420Sdavid.guillen@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2411420Sdavid.guillen@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2511420Sdavid.guillen@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2611420Sdavid.guillen@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2711420Sdavid.guillen@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2811420Sdavid.guillen@arm.com# 2911420Sdavid.guillen@arm.com# Authors: David Guillen Fandos 3011420Sdavid.guillen@arm.com 3111420Sdavid.guillen@arm.comImport('*') 3211420Sdavid.guillen@arm.com 3311527Sdavid.guillen@arm.comSimObject('MathExprPowerModel.py') 3411527Sdavid.guillen@arm.comSimObject('PowerModel.py') 3511527Sdavid.guillen@arm.comSimObject('PowerModelState.py') 3611420Sdavid.guillen@arm.comSimObject('ThermalDomain.py') 3711420Sdavid.guillen@arm.comSimObject('ThermalModel.py') 3811420Sdavid.guillen@arm.com 3911527Sdavid.guillen@arm.comSource('power_model.cc') 4011527Sdavid.guillen@arm.comSource('mathexpr_powermodel.cc') 4111420Sdavid.guillen@arm.comSource('thermal_domain.cc') 4211420Sdavid.guillen@arm.comSource('thermal_model.cc') 4311899Sandreas.sandberg@arm.comSource('thermal_node.cc') 4411420Sdavid.guillen@arm.com 4511420Sdavid.guillen@arm.comDebugFlag('ThermalDomain') 46