SConscript revision 11800
1955SN/A# -*- mode:python -*- 2955SN/A 31762SN/A# Copyright (c) 2006 The Regents of The University of Michigan 4955SN/A# All rights reserved. 5955SN/A# 6955SN/A# Redistribution and use in source and binary forms, with or without 7955SN/A# modification, are permitted provided that the following conditions are 8955SN/A# met: redistributions of source code must retain the above copyright 9955SN/A# notice, this list of conditions and the following disclaimer; 10955SN/A# redistributions in binary form must reproduce the above copyright 11955SN/A# notice, this list of conditions and the following disclaimer in the 12955SN/A# documentation and/or other materials provided with the distribution; 13955SN/A# neither the name of the copyright holders nor the names of its 14955SN/A# contributors may be used to endorse or promote products derived from 15955SN/A# this software without specific prior written permission. 16955SN/A# 17955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 294762Snate@binkert.org# Authors: Nathan Binkert 30955SN/A 315522Snate@binkert.orgImport('*') 326143Snate@binkert.org 334762Snate@binkert.orgSimObject('ClockedObject.py') 345522Snate@binkert.orgSimObject('TickedObject.py') 35955SN/ASimObject('Root.py') 365522Snate@binkert.orgSimObject('ClockDomain.py') 37955SN/ASimObject('VoltageDomain.py') 385522Snate@binkert.orgSimObject('System.py') 394202Sbinkertn@umich.eduSimObject('DVFSHandler.py') 405742Snate@binkert.orgSimObject('SubSystem.py') 41955SN/A 424381Sbinkertn@umich.eduSource('arguments.cc') 434381Sbinkertn@umich.eduSource('async.cc') 448334Snate@binkert.orgSource('backtrace_%s.cc' % env['BACKTRACE_IMPL']) 45955SN/ASource('core.cc') 46955SN/ASource('tags.cc') 474202Sbinkertn@umich.eduSource('cxx_config.cc') 48955SN/ASource('cxx_manager.cc') 494382Sbinkertn@umich.eduSource('cxx_config_ini.cc') 504382Sbinkertn@umich.eduSource('debug.cc') 514382Sbinkertn@umich.eduSource('py_interact.cc', skip_no_python=True) 526654Snate@binkert.orgSource('eventq.cc') 535517Snate@binkert.orgSource('global_event.cc') 548614Sgblack@eecs.umich.eduSource('init.cc', skip_no_python=True) 557674Snate@binkert.orgSource('init_signals.cc') 566143Snate@binkert.orgSource('main.cc', main=True, skip_lib=True) 576143Snate@binkert.orgSource('root.cc') 586143Snate@binkert.orgSource('serialize.cc') 598233Snate@binkert.orgSource('drain.cc') 608233Snate@binkert.orgSource('sim_events.cc') 618233Snate@binkert.orgSource('sim_object.cc') 628233Snate@binkert.orgSource('sub_system.cc') 638233Snate@binkert.orgSource('ticked_object.cc') 648334Snate@binkert.orgSource('simulate.cc') 658334Snate@binkert.orgSource('stat_control.cc') 6610453SAndrew.Bardsley@arm.comSource('stat_register.cc', skip_no_python=True) 6710453SAndrew.Bardsley@arm.comSource('clock_domain.cc') 688233Snate@binkert.orgSource('voltage_domain.cc') 698233Snate@binkert.orgSource('linear_solver.cc') 708233Snate@binkert.orgSource('system.cc') 718233Snate@binkert.orgSource('dvfs_handler.cc') 728233Snate@binkert.orgSource('clocked_object.cc') 738233Snate@binkert.orgSource('mathexpr.cc') 746143Snate@binkert.org 758233Snate@binkert.orgif env['TARGET_ISA'] != 'null': 768233Snate@binkert.org SimObject('InstTracer.py') 778233Snate@binkert.org SimObject('Process.py') 786143Snate@binkert.org Source('faults.cc') 796143Snate@binkert.org Source('process.cc') 806143Snate@binkert.org Source('fd_entry.cc') 816143Snate@binkert.org Source('pseudo_inst.cc') 828233Snate@binkert.org Source('syscall_emul.cc') 838233Snate@binkert.org Source('syscall_desc.cc') 848233Snate@binkert.org 856143Snate@binkert.orgif env['TARGET_ISA'] != 'x86': 868233Snate@binkert.org Source('microcode_rom.cc') 878233Snate@binkert.org 888233Snate@binkert.orgDebugFlag('Checkpoint') 898233Snate@binkert.orgDebugFlag('Config') 906143Snate@binkert.orgDebugFlag('CxxConfig') 916143Snate@binkert.orgDebugFlag('Drain') 926143Snate@binkert.orgDebugFlag('Event') 934762Snate@binkert.orgDebugFlag('Fault') 946143Snate@binkert.orgDebugFlag('Flow') 958233Snate@binkert.orgDebugFlag('IPI') 968233Snate@binkert.orgDebugFlag('IPR') 978233Snate@binkert.orgDebugFlag('Interrupt') 988233Snate@binkert.orgDebugFlag('Loader') 998233Snate@binkert.orgDebugFlag('PseudoInst') 1006143Snate@binkert.orgDebugFlag('Stack') 1018233Snate@binkert.orgDebugFlag('SyscallBase') 1028233Snate@binkert.orgDebugFlag('SyscallVerbose') 1038233Snate@binkert.orgDebugFlag('TimeSync') 1048233Snate@binkert.orgDebugFlag('Thread') 1056143Snate@binkert.orgDebugFlag('Timer') 1066143Snate@binkert.orgDebugFlag('VtoPhys') 1076143Snate@binkert.orgDebugFlag('WorkItems') 1086143Snate@binkert.orgDebugFlag('ClockDomain') 1096143Snate@binkert.orgDebugFlag('VoltageDomain') 1106143Snate@binkert.orgDebugFlag('DVFS') 1116143Snate@binkert.org 1126143Snate@binkert.orgCompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose']) 1136143Snate@binkert.org