SConscript revision 9341
11689SN/A# -*- mode:python -*- 212143Sanouk.vanlaer@arm.com 39916Ssteve.reinhardt@amd.com# Copyright (c) 2006 The Regents of The University of Michigan 48707Sandreas.hansson@arm.com# All rights reserved. 58707Sandreas.hansson@arm.com# 68707Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without 78707Sandreas.hansson@arm.com# modification, are permitted provided that the following conditions are 88707Sandreas.hansson@arm.com# met: redistributions of source code must retain the above copyright 98707Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer; 108707Sandreas.hansson@arm.com# redistributions in binary form must reproduce the above copyright 118707Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer in the 128707Sandreas.hansson@arm.com# documentation and/or other materials provided with the distribution; 138707Sandreas.hansson@arm.com# neither the name of the copyright holders nor the names of its 148707Sandreas.hansson@arm.com# contributors may be used to endorse or promote products derived from 152325SN/A# this software without specific prior written permission. 167897Shestness@cs.utexas.edu# 171689SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 181689SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 191689SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 201689SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 211689SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 221689SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 231689SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 241689SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 251689SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 261689SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 271689SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 281689SN/A# 291689SN/A# Authors: Nathan Binkert 301689SN/A 311689SN/Aimport sys 321689SN/A 331689SN/AImport('*') 341689SN/A 351689SN/Aif 'O3CPU' in env['CPU_MODELS'] or 'OzoneCPU' in env['CPU_MODELS']: 361689SN/A DebugFlag('CommitRate') 371689SN/A DebugFlag('IEW') 381689SN/A DebugFlag('IQ') 391689SN/A 401689SN/Aif 'O3CPU' in env['CPU_MODELS']: 412665Ssaidi@eecs.umich.edu SimObject('FUPool.py') 422665Ssaidi@eecs.umich.edu SimObject('FuncUnitConfig.py') 432756Sksewell@umich.edu SimObject('O3CPU.py') 447897Shestness@cs.utexas.edu 451689SN/A Source('base_dyn_inst.cc') 461689SN/A Source('bpred_unit.cc') 4711793Sbrandon.potter@amd.com Source('commit.cc') 4811793Sbrandon.potter@amd.com Source('cpu.cc') 4912109SRekai.GonzalezAlberquilla@arm.com Source('deriv.cc') 508779Sgblack@eecs.umich.edu Source('decode.cc') 516658Snate@binkert.org Source('dyn_inst.cc') 5211793Sbrandon.potter@amd.com Source('fetch.cc') 538887Sgeoffrey.blake@arm.com Source('free_list.cc') 548887Sgeoffrey.blake@arm.com Source('fu_pool.cc') 558229Snate@binkert.org Source('iew.cc') 568229Snate@binkert.org Source('inst_queue.cc') 578779Sgblack@eecs.umich.edu Source('lsq.cc') 584762Snate@binkert.org Source('lsq_unit.cc') 594762Snate@binkert.org Source('mem_dep_unit.cc') 608232Snate@binkert.org Source('rename.cc') 619152Satgutier@umich.edu Source('rename_map.cc') 628232Snate@binkert.org Source('rob.cc') 638232Snate@binkert.org Source('scoreboard.cc') 644762Snate@binkert.org Source('store_set.cc') 654762Snate@binkert.org Source('thread_context.cc') 668793Sgblack@eecs.umich.edu 678779Sgblack@eecs.umich.edu DebugFlag('LSQ') 684762Snate@binkert.org DebugFlag('LSQUnit') 698460SAli.Saidi@ARM.com DebugFlag('MemDepUnit') 704762Snate@binkert.org DebugFlag('O3CPU') 715702Ssaidi@eecs.umich.edu DebugFlag('ROB') 725702Ssaidi@eecs.umich.edu DebugFlag('Rename') 738232Snate@binkert.org DebugFlag('Scoreboard') 7411793Sbrandon.potter@amd.com DebugFlag('StoreSet') 755702Ssaidi@eecs.umich.edu DebugFlag('Writeback') 765702Ssaidi@eecs.umich.edu 778737Skoansin.tan@gmail.com CompoundFlag('O3CPUAll', [ 'Fetch', 'Decode', 'Rename', 'IEW', 'Commit', 785529Snate@binkert.org 'IQ', 'ROB', 'FreeList', 'LSQ', 'LSQUnit', 'StoreSet', 'MemDepUnit', 792669Sktlim@umich.edu 'DynInst', 'O3CPU', 'Activity', 'Scoreboard', 'Writeback' ]) 806221Snate@binkert.org 811060SN/A SimObject('O3Checker.py') 825529Snate@binkert.org Source('checker.cc') 835712Shsul@eecs.umich.edu