SConscript revision 12323
13534Sgblack@eecs.umich.edu# -*- mode:python -*-
23534Sgblack@eecs.umich.edu
33534Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan
43534Sgblack@eecs.umich.edu# All rights reserved.
53534Sgblack@eecs.umich.edu#
63534Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
73534Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
83534Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
93534Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
103534Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
113534Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
123534Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
133534Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
143534Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
153534Sgblack@eecs.umich.edu# this software without specific prior written permission.
163534Sgblack@eecs.umich.edu#
173534Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
183534Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
193534Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
203534Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
213534Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
223534Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
233534Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
243534Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
253534Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
263534Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
273534Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
283534Sgblack@eecs.umich.edu#
293534Sgblack@eecs.umich.edu# Authors: Nathan Binkert
303534Sgblack@eecs.umich.edu
313534Sgblack@eecs.umich.eduimport sys
324202Sbinkertn@umich.edu
333534Sgblack@eecs.umich.eduImport('*')
344202Sbinkertn@umich.edu
354486Sbinkertn@umich.eduif 'O3CPU' in env['CPU_MODELS']:
364486Sbinkertn@umich.edu    SimObject('FUPool.py')
374486Sbinkertn@umich.edu    SimObject('FuncUnitConfig.py')
384486Sbinkertn@umich.edu    SimObject('O3CPU.py')
394486Sbinkertn@umich.edu
404486Sbinkertn@umich.edu    Source('base_dyn_inst.cc')
414486Sbinkertn@umich.edu    Source('commit.cc')
424486Sbinkertn@umich.edu    Source('cpu.cc')
434486Sbinkertn@umich.edu    Source('deriv.cc')
444486Sbinkertn@umich.edu    Source('decode.cc')
454486Sbinkertn@umich.edu    Source('dyn_inst.cc')
464202Sbinkertn@umich.edu    Source('fetch.cc')
474202Sbinkertn@umich.edu    Source('free_list.cc')
484202Sbinkertn@umich.edu    Source('fu_pool.cc')
494202Sbinkertn@umich.edu    Source('iew.cc')
504202Sbinkertn@umich.edu    Source('inst_queue.cc')
514202Sbinkertn@umich.edu    Source('lsq.cc')
524202Sbinkertn@umich.edu    Source('lsq_unit.cc')
534762Snate@binkert.org    Source('mem_dep_unit.cc')
544218Ssaidi@eecs.umich.edu    Source('regfile.cc')
554202Sbinkertn@umich.edu    Source('rename.cc')
564202Sbinkertn@umich.edu    Source('rename_map.cc')
574202Sbinkertn@umich.edu    Source('rob.cc')
584202Sbinkertn@umich.edu    Source('scoreboard.cc')
594202Sbinkertn@umich.edu    Source('store_set.cc')
604202Sbinkertn@umich.edu    Source('thread_context.cc')
614202Sbinkertn@umich.edu
624202Sbinkertn@umich.edu    DebugFlag('CommitRate')
634202Sbinkertn@umich.edu    DebugFlag('IEW')
644202Sbinkertn@umich.edu    DebugFlag('IQ')
654202Sbinkertn@umich.edu    DebugFlag('LSQ')
664762Snate@binkert.org    DebugFlag('LSQUnit')
674202Sbinkertn@umich.edu    DebugFlag('MemDepUnit')
684202Sbinkertn@umich.edu    DebugFlag('O3CPU')
69    DebugFlag('ROB')
70    DebugFlag('Rename')
71    DebugFlag('Scoreboard')
72    DebugFlag('StoreSet')
73    DebugFlag('Writeback')
74
75    CompoundFlag('O3CPUAll', [ 'Fetch', 'Decode', 'Rename', 'IEW', 'Commit',
76        'IQ', 'ROB', 'FreeList', 'LSQ', 'LSQUnit', 'StoreSet', 'MemDepUnit',
77        'DynInst', 'O3CPU', 'Activity', 'Scoreboard', 'Writeback' ])
78
79    SimObject('O3Checker.py')
80    Source('checker.cc')
81