SConscript (2921:e6bb350c3fa5) SConscript (2929:f986dc04e25f)
1# -*- mode:python -*-
2
3# Copyright (c) 2006 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 100 unchanged lines hidden (view full) ---

109
110#################################################################
111#
112# Include CPU-model-specific files based on set of models
113# specified in CPU_MODELS build option.
114#
115#################################################################
116
1# -*- mode:python -*-
2
3# Copyright (c) 2006 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 100 unchanged lines hidden (view full) ---

109
110#################################################################
111#
112# Include CPU-model-specific files based on set of models
113# specified in CPU_MODELS build option.
114#
115#################################################################
116
117# Keep a list of CPU models that support SMT
118env['SMT_CPU_MODELS'] = []
119
117sources = []
118
119need_simple_base = False
120if 'AtomicSimpleCPU' in env['CPU_MODELS']:
121 need_simple_base = True
122 sources += Split('simple/atomic.cc')
123
124if 'TimingSimpleCPU' in env['CPU_MODELS']:

--- 27 unchanged lines hidden (view full) ---

152 o3/rename.cc
153 o3/rename_map.cc
154 o3/rob.cc
155 o3/scoreboard.cc
156 o3/store_set.cc
157 ''')
158 if env['USE_CHECKER']:
159 sources += Split('o3/checker_builder.cc')
120sources = []
121
122need_simple_base = False
123if 'AtomicSimpleCPU' in env['CPU_MODELS']:
124 need_simple_base = True
125 sources += Split('simple/atomic.cc')
126
127if 'TimingSimpleCPU' in env['CPU_MODELS']:

--- 27 unchanged lines hidden (view full) ---

155 o3/rename.cc
156 o3/rename_map.cc
157 o3/rob.cc
158 o3/scoreboard.cc
159 o3/store_set.cc
160 ''')
161 if env['USE_CHECKER']:
162 sources += Split('o3/checker_builder.cc')
163 env['SMT_CPU_MODELS'].append('O3CPU')
160
161if 'OzoneCPU' in env['CPU_MODELS']:
162 need_bp_unit = True
163 sources += Split('''
164 ozone/base_dyn_inst.cc
165 ozone/bpred_unit.cc
166 ozone/cpu.cc
167 ozone/cpu_builder.cc

--- 40 unchanged lines hidden ---
164
165if 'OzoneCPU' in env['CPU_MODELS']:
166 need_bp_unit = True
167 sources += Split('''
168 ozone/base_dyn_inst.cc
169 ozone/bpred_unit.cc
170 ozone/cpu.cc
171 ozone/cpu_builder.cc

--- 40 unchanged lines hidden ---