SConscript revision 9363
16019Shines@cs.fsu.edu# -*- mode:python -*-
26019Shines@cs.fsu.edu
37100Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan
47100Sgblack@eecs.umich.edu# All rights reserved.
57100Sgblack@eecs.umich.edu#
67100Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
77100Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
87100Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
97100Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
107100Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
117100Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
127100Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
137100Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
147100Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
156019Shines@cs.fsu.edu# this software without specific prior written permission.
166019Shines@cs.fsu.edu#
176019Shines@cs.fsu.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
186019Shines@cs.fsu.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
196019Shines@cs.fsu.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
206019Shines@cs.fsu.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
216019Shines@cs.fsu.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
226019Shines@cs.fsu.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
236019Shines@cs.fsu.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
246019Shines@cs.fsu.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
256019Shines@cs.fsu.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
266019Shines@cs.fsu.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
276019Shines@cs.fsu.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
286019Shines@cs.fsu.edu#
296019Shines@cs.fsu.edu# Authors: Nathan Binkert
306019Shines@cs.fsu.edu
316019Shines@cs.fsu.eduImport('*')
326019Shines@cs.fsu.edu
336019Shines@cs.fsu.eduSimObject('AddrMapper.py')
346019Shines@cs.fsu.eduSimObject('Bridge.py')
356019Shines@cs.fsu.eduSimObject('Bus.py')
366019Shines@cs.fsu.eduSimObject('CommMonitor.py')
376019Shines@cs.fsu.eduSimObject('MemObject.py')
386019Shines@cs.fsu.edu
396019Shines@cs.fsu.eduSource('addr_mapper.cc')
406019Shines@cs.fsu.eduSource('bridge.cc')
416019Shines@cs.fsu.eduSource('bus.cc')
426757SAli.Saidi@ARM.comSource('coherent_bus.cc')
436019Shines@cs.fsu.eduSource('comm_monitor.cc')
446019Shines@cs.fsu.eduSource('mem_object.cc')
456019Shines@cs.fsu.eduSource('mport.cc')
466019Shines@cs.fsu.eduSource('noncoherent_bus.cc')
476019Shines@cs.fsu.eduSource('packet.cc')
486019Shines@cs.fsu.eduSource('port.cc')
496019Shines@cs.fsu.eduSource('packet_queue.cc')
509022Sgblack@eecs.umich.eduSource('tport.cc')
516019Shines@cs.fsu.eduSource('port_proxy.cc')
527170Sgblack@eecs.umich.eduSource('fs_translating_port_proxy.cc')
536253Sgblack@eecs.umich.eduSource('se_translating_port_proxy.cc')
547202Sgblack@eecs.umich.edu
556253Sgblack@eecs.umich.eduif env['TARGET_ISA'] != 'no':
566253Sgblack@eecs.umich.edu    SimObject('AbstractMemory.py')
577396Sgblack@eecs.umich.edu    SimObject('SimpleMemory.py')
588745Sgblack@eecs.umich.edu    SimObject('SimpleDRAM.py')
597405SAli.Saidi@ARM.com    Source('abstract_mem.cc')
608782Sgblack@eecs.umich.edu    Source('simple_mem.cc')
618782Sgblack@eecs.umich.edu    Source('page_table.cc')
628782Sgblack@eecs.umich.edu    Source('physical.cc')
637259Sgblack@eecs.umich.edu    Source('simple_dram.cc')
648757Sgblack@eecs.umich.edu
658782Sgblack@eecs.umich.eduDebugFlag('BaseBus')
668757Sgblack@eecs.umich.eduDebugFlag('BusAddrRanges')
678777Sgblack@eecs.umich.eduDebugFlag('CoherentBus')
688782Sgblack@eecs.umich.eduDebugFlag('NoncoherentBus')
698756Sgblack@eecs.umich.eduCompoundFlag('Bus', ['BaseBus', 'BusAddrRanges', 'CoherentBus',
706019Shines@cs.fsu.edu                     'NoncoherentBus'])
716757SAli.Saidi@ARM.com
728757Sgblack@eecs.umich.eduDebugFlag('Bridge')
736019Shines@cs.fsu.eduDebugFlag('CommMonitor')
748745Sgblack@eecs.umich.eduDebugFlag('DRAM')
759384SAndreas.Sandberg@arm.comDebugFlag('DRAMWR')
766397Sgblack@eecs.umich.eduDebugFlag('LLSC')
778782Sgblack@eecs.umich.eduDebugFlag('MMU')
786019Shines@cs.fsu.eduDebugFlag('MemoryAccess')
796397Sgblack@eecs.umich.eduDebugFlag('PacketQueue')
808335Snate@binkert.org
819023Sgblack@eecs.umich.eduDebugFlag('ProtocolTrace')
829023Sgblack@eecs.umich.eduDebugFlag('RubyCache')
838335Snate@binkert.orgDebugFlag('RubyCacheTrace')
846019Shines@cs.fsu.eduDebugFlag('RubyDma')
856019Shines@cs.fsu.eduDebugFlag('RubyGenerated')
866019Shines@cs.fsu.eduDebugFlag('RubyMemory')
876019Shines@cs.fsu.eduDebugFlag('RubyNetwork')
886019Shines@cs.fsu.eduDebugFlag('RubyPort')
896019Shines@cs.fsu.eduDebugFlag('RubyPrefetcher')
906019Shines@cs.fsu.eduDebugFlag('RubyQueue')
916019Shines@cs.fsu.eduDebugFlag('RubySequencer')
92DebugFlag('RubySlicc')
93DebugFlag('RubySystem')
94DebugFlag('RubyTester')
95DebugFlag('RubyStats')
96DebugFlag('RubyResourceStalls')
97
98CompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
99    'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache',
100    'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace',
101    'RubyPrefetcher'])
102