SConscript revision 10399
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 sys 326143Snate@binkert.org 334762Snate@binkert.orgImport('*') 345522Snate@binkert.org 35955SN/Aif 'O3CPU' in env['CPU_MODELS'] or 'OzoneCPU' in env['CPU_MODELS']: 365522Snate@binkert.org DebugFlag('CommitRate') 37955SN/A DebugFlag('IEW') 385522Snate@binkert.org DebugFlag('IQ') 394202Sbinkertn@umich.edu 405742Snate@binkert.orgif 'O3CPU' in env['CPU_MODELS']: 41955SN/A SimObject('FUPool.py') 424381Sbinkertn@umich.edu SimObject('FuncUnitConfig.py') 434381Sbinkertn@umich.edu SimObject('O3CPU.py') 44955SN/A 45955SN/A Source('base_dyn_inst.cc') 46955SN/A Source('commit.cc') 474202Sbinkertn@umich.edu Source('cpu.cc') 48955SN/A Source('deriv.cc') 494382Sbinkertn@umich.edu Source('decode.cc') 504382Sbinkertn@umich.edu Source('dyn_inst.cc') 514382Sbinkertn@umich.edu Source('fetch.cc') 526654Snate@binkert.org Source('free_list.cc') 535517Snate@binkert.org Source('fu_pool.cc') 546143Snate@binkert.org Source('iew.cc') 556143Snate@binkert.org Source('inst_queue.cc') 566143Snate@binkert.org Source('lsq.cc') 576143Snate@binkert.org Source('lsq_unit.cc') 586143Snate@binkert.org Source('mem_dep_unit.cc') 596143Snate@binkert.org Source('regfile.cc') 606143Snate@binkert.org Source('rename.cc') 616143Snate@binkert.org Source('rename_map.cc') 626143Snate@binkert.org Source('rob.cc') 636143Snate@binkert.org Source('scoreboard.cc') 646143Snate@binkert.org Source('store_set.cc') 656143Snate@binkert.org Source('thread_context.cc') 666143Snate@binkert.org 676143Snate@binkert.org DebugFlag('LSQ') 686143Snate@binkert.org DebugFlag('LSQUnit') 694762Snate@binkert.org DebugFlag('MemDepUnit') 706143Snate@binkert.org DebugFlag('O3CPU') 716143Snate@binkert.org DebugFlag('ROB') 726143Snate@binkert.org DebugFlag('Rename') 736143Snate@binkert.org DebugFlag('Scoreboard') 746143Snate@binkert.org DebugFlag('StoreSet') 756143Snate@binkert.org DebugFlag('Writeback') 766143Snate@binkert.org 776143Snate@binkert.org CompoundFlag('O3CPUAll', [ 'Fetch', 'Decode', 'Rename', 'IEW', 'Commit', 786143Snate@binkert.org 'IQ', 'ROB', 'FreeList', 'LSQ', 'LSQUnit', 'StoreSet', 'MemDepUnit', 796143Snate@binkert.org 'DynInst', 'O3CPU', 'Activity', 'Scoreboard', 'Writeback' ]) 806143Snate@binkert.org 816143Snate@binkert.org SimObject('O3Checker.py') 826143Snate@binkert.org Source('checker.cc') 836143Snate@binkert.org