SConscript revision 10695
12155SN/A# -*- mode:python -*- 22155SN/A 32155SN/A# Copyright (c) 2006 The Regents of The University of Michigan 42155SN/A# All rights reserved. 52155SN/A# 62155SN/A# Redistribution and use in source and binary forms, with or without 72155SN/A# modification, are permitted provided that the following conditions are 82155SN/A# met: redistributions of source code must retain the above copyright 92155SN/A# notice, this list of conditions and the following disclaimer; 102155SN/A# redistributions in binary form must reproduce the above copyright 112155SN/A# notice, this list of conditions and the following disclaimer in the 122155SN/A# documentation and/or other materials provided with the distribution; 132155SN/A# neither the name of the copyright holders nor the names of its 142155SN/A# contributors may be used to endorse or promote products derived from 152155SN/A# this software without specific prior written permission. 162155SN/A# 172155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192155SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202155SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222155SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242155SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252155SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262155SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272155SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert 302155SN/A 314202Sbinkertn@umich.eduImport('*') 322155SN/A 337768SAli.Saidi@ARM.comSimObject('ClockedObject.py') 347768SAli.Saidi@ARM.comSimObject('TickedObject.py') 357768SAli.Saidi@ARM.comSimObject('Root.py') 362178SN/ASimObject('ClockDomain.py') 372178SN/ASimObject('VoltageDomain.py') 382178SN/ASimObject('System.py') 392178SN/ASimObject('DVFSHandler.py') 402178SN/ASimObject('SubSystem.py') 412178SN/A 422178SN/ASource('arguments.cc') 432178SN/ASource('async.cc') 442178SN/ASource('core.cc') 452178SN/ASource('cxx_config.cc') 462178SN/ASource('cxx_manager.cc') 472155SN/ASource('cxx_config_ini.cc') 485865Sksewell@umich.eduSource('debug.cc') 496181Sksewell@umich.eduSource('py_interact.cc', skip_no_python=True) 506181Sksewell@umich.eduSource('eventq.cc') 515865Sksewell@umich.eduSource('global_event.cc') 523918Ssaidi@eecs.umich.eduSource('init.cc', skip_no_python=True) 535865Sksewell@umich.eduSource('init_signals.cc') 542623SN/ASource('main.cc', main=True, skip_lib=True) 553918Ssaidi@eecs.umich.eduSource('root.cc') 562155SN/ASource('serialize.cc') 572155SN/ASource('drain.cc') 582292SN/ASource('sim_events.cc') 596181Sksewell@umich.eduSource('sim_object.cc') 606181Sksewell@umich.eduSource('sub_system.cc') 613918Ssaidi@eecs.umich.eduSource('ticked_object.cc') 622292SN/ASource('simulate.cc') 632292SN/ASource('stat_control.cc') 642292SN/ASource('stat_register.cc', skip_no_python=True) 653918Ssaidi@eecs.umich.eduSource('clock_domain.cc') 662292SN/ASource('voltage_domain.cc') 672292SN/ASource('system.cc') 682766Sktlim@umich.eduSource('dvfs_handler.cc') 692766Sktlim@umich.edu 702766Sktlim@umich.eduif env['TARGET_ISA'] != 'null': 712921Sktlim@umich.edu SimObject('InstTracer.py') 722921Sktlim@umich.edu SimObject('Process.py') 732766Sktlim@umich.edu Source('faults.cc') 742766Sktlim@umich.edu Source('process.cc') 755529Snate@binkert.org Source('pseudo_inst.cc') 762766Sktlim@umich.edu Source('syscall_emul.cc') 774762Snate@binkert.org 782155SN/ADebugFlag('Checkpoint') 792155SN/ADebugFlag('Config') 802155SN/ADebugFlag('CxxConfig') 812155SN/ADebugFlag('Drain') 822155SN/ADebugFlag('Event') 832155SN/ADebugFlag('Fault') 842766Sktlim@umich.eduDebugFlag('Flow') 852155SN/ADebugFlag('IPI') 865865Sksewell@umich.eduDebugFlag('IPR') 872155SN/ADebugFlag('Interrupt') 882155SN/ADebugFlag('Loader') 892155SN/ADebugFlag('PseudoInst') 902155SN/ADebugFlag('Stack') 912178SN/ADebugFlag('SyscallVerbose') 922178SN/ADebugFlag('TimeSync') 937756SAli.Saidi@ARM.comDebugFlag('Thread') 942766Sktlim@umich.eduDebugFlag('Timer') 952178SN/ADebugFlag('VtoPhys') 962178SN/ADebugFlag('WorkItems') 976994Snate@binkert.orgDebugFlag('ClockDomain') 982178SN/ADebugFlag('VoltageDomain') 992766Sktlim@umich.eduDebugFlag('DVFS') 1002766Sktlim@umich.edu