SConscript revision 10623
17584SAli.Saidi@arm.com# -*- mode:python -*-
27584SAli.Saidi@arm.com
37584SAli.Saidi@arm.com# Copyright (c) 2006 The Regents of The University of Michigan
47584SAli.Saidi@arm.com# All rights reserved.
57584SAli.Saidi@arm.com#
67584SAli.Saidi@arm.com# Redistribution and use in source and binary forms, with or without
77584SAli.Saidi@arm.com# modification, are permitted provided that the following conditions are
87584SAli.Saidi@arm.com# met: redistributions of source code must retain the above copyright
97584SAli.Saidi@arm.com# notice, this list of conditions and the following disclaimer;
107584SAli.Saidi@arm.com# redistributions in binary form must reproduce the above copyright
117584SAli.Saidi@arm.com# notice, this list of conditions and the following disclaimer in the
127584SAli.Saidi@arm.com# documentation and/or other materials provided with the distribution;
137584SAli.Saidi@arm.com# neither the name of the copyright holders nor the names of its
147584SAli.Saidi@arm.com# contributors may be used to endorse or promote products derived from
157584SAli.Saidi@arm.com# this software without specific prior written permission.
167584SAli.Saidi@arm.com#
177584SAli.Saidi@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
187584SAli.Saidi@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
197584SAli.Saidi@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
207584SAli.Saidi@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
217584SAli.Saidi@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
227584SAli.Saidi@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
237584SAli.Saidi@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
247584SAli.Saidi@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
257584SAli.Saidi@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
267584SAli.Saidi@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
277584SAli.Saidi@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
287584SAli.Saidi@arm.com#
297584SAli.Saidi@arm.com# Authors: Nathan Binkert
307584SAli.Saidi@arm.com
317584SAli.Saidi@arm.comImport('*')
327584SAli.Saidi@arm.com
337584SAli.Saidi@arm.comSimObject('BaseTLB.py')
347584SAli.Saidi@arm.comSimObject('ClockedObject.py')
357584SAli.Saidi@arm.comSimObject('TickedObject.py')
367584SAli.Saidi@arm.comSimObject('Root.py')
377584SAli.Saidi@arm.comSimObject('ClockDomain.py')
387584SAli.Saidi@arm.comSimObject('VoltageDomain.py')
397584SAli.Saidi@arm.comSimObject('System.py')
407584SAli.Saidi@arm.comSimObject('DVFSHandler.py')
417584SAli.Saidi@arm.comSimObject('SubSystem.py')
428245Snate@binkert.org
438245Snate@binkert.orgSource('arguments.cc')
447584SAli.Saidi@arm.comSource('async.cc')
457584SAli.Saidi@arm.comSource('core.cc')
467584SAli.Saidi@arm.comSource('cxx_config.cc')
477584SAli.Saidi@arm.comSource('cxx_manager.cc')
487584SAli.Saidi@arm.comSource('cxx_config_ini.cc')
497587SAli.Saidi@arm.comSource('debug.cc')
507587SAli.Saidi@arm.comSource('py_interact.cc', skip_no_python=True)
517584SAli.Saidi@arm.comSource('eventq.cc')
527584SAli.Saidi@arm.comSource('global_event.cc')
537584SAli.Saidi@arm.comSource('init.cc', skip_no_python=True)
547584SAli.Saidi@arm.comSource('init_signals.cc')
557584SAli.Saidi@arm.comSource('main.cc', main=True, skip_lib=True)
567584SAli.Saidi@arm.comSource('root.cc')
577584SAli.Saidi@arm.comSource('serialize.cc')
587584SAli.Saidi@arm.comSource('drain.cc')
597584SAli.Saidi@arm.comSource('sim_events.cc')
607584SAli.Saidi@arm.comSource('sim_object.cc')
617584SAli.Saidi@arm.comSource('sub_system.cc')
627584SAli.Saidi@arm.comSource('ticked_object.cc')
637584SAli.Saidi@arm.comSource('simulate.cc')
647584SAli.Saidi@arm.comSource('stat_control.cc')
657584SAli.Saidi@arm.comSource('stat_register.cc', skip_no_python=True)
667584SAli.Saidi@arm.comSource('clock_domain.cc')
677584SAli.Saidi@arm.comSource('voltage_domain.cc')
687584SAli.Saidi@arm.comSource('system.cc')
697584SAli.Saidi@arm.comSource('dvfs_handler.cc')
707584SAli.Saidi@arm.com
717584SAli.Saidi@arm.comif env['TARGET_ISA'] != 'null':
727584SAli.Saidi@arm.com    SimObject('InstTracer.py')
737584SAli.Saidi@arm.com    SimObject('Process.py')
747584SAli.Saidi@arm.com    Source('faults.cc')
757584SAli.Saidi@arm.com    Source('process.cc')
767584SAli.Saidi@arm.com    Source('pseudo_inst.cc')
777584SAli.Saidi@arm.com    Source('syscall_emul.cc')
787587SAli.Saidi@arm.com    Source('tlb.cc')
797584SAli.Saidi@arm.com
807584SAli.Saidi@arm.comDebugFlag('Checkpoint')
817584SAli.Saidi@arm.comDebugFlag('Config')
827584SAli.Saidi@arm.comDebugFlag('CxxConfig')
837584SAli.Saidi@arm.comDebugFlag('Drain')
847584SAli.Saidi@arm.comDebugFlag('Event')
857584SAli.Saidi@arm.comDebugFlag('Fault')
867584SAli.Saidi@arm.comDebugFlag('Flow')
877584SAli.Saidi@arm.comDebugFlag('IPI')
887584SAli.Saidi@arm.comDebugFlag('IPR')
897584SAli.Saidi@arm.comDebugFlag('Interrupt')
907584SAli.Saidi@arm.comDebugFlag('Loader')
917584SAli.Saidi@arm.comDebugFlag('PseudoInst')
927584SAli.Saidi@arm.comDebugFlag('Stack')
937584SAli.Saidi@arm.comDebugFlag('SyscallVerbose')
947584SAli.Saidi@arm.comDebugFlag('TimeSync')
957584SAli.Saidi@arm.comDebugFlag('TLB')
967584SAli.Saidi@arm.comDebugFlag('Thread')
977584SAli.Saidi@arm.comDebugFlag('Timer')
987823Ssteve.reinhardt@amd.comDebugFlag('VtoPhys')
997584SAli.Saidi@arm.comDebugFlag('WorkItems')
1007584SAli.Saidi@arm.comDebugFlag('ClockDomain')
1017584SAli.Saidi@arm.comDebugFlag('VoltageDomain')
1027584SAli.Saidi@arm.comDebugFlag('DVFS')
1037584SAli.Saidi@arm.com