SConscript (2821:2e4ca11d96bd) SConscript (2836:c8f549058964)
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

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

99 Action(gen_cpu_exec_signatures, gen_sigs_string,
100 varlist = temp_cpu_list))
101
102env.Depends('static_inst_exec_sigs.hh', Value(env['USE_CHECKER']))
103env.Depends('static_inst_exec_sigs.hh', Value(env['CPU_MODELS']))
104
105# List of suppported CPUs by the Checker. Errors out if USE_CHECKER=True
106# and one of these are not being used.
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

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

99 Action(gen_cpu_exec_signatures, gen_sigs_string,
100 varlist = temp_cpu_list))
101
102env.Depends('static_inst_exec_sigs.hh', Value(env['USE_CHECKER']))
103env.Depends('static_inst_exec_sigs.hh', Value(env['CPU_MODELS']))
104
105# List of suppported CPUs by the Checker. Errors out if USE_CHECKER=True
106# and one of these are not being used.
107CheckerSupportedCPUList = ['AlphaO3CPU', 'OzoneCPU']
107CheckerSupportedCPUList = ['O3CPU', 'OzoneCPU']
108
109#################################################################
110#
111# Include CPU-model-specific files based on set of models
112# specified in CPU_MODELS build option.
113#
114#################################################################
115

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

126
127if need_simple_base:
128 sources += Split('simple/base.cc')
129
130if 'FastCPU' in env['CPU_MODELS']:
131 sources += Split('fast/cpu.cc')
132
133need_bp_unit = False
108
109#################################################################
110#
111# Include CPU-model-specific files based on set of models
112# specified in CPU_MODELS build option.
113#
114#################################################################
115

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

126
127if need_simple_base:
128 sources += Split('simple/base.cc')
129
130if 'FastCPU' in env['CPU_MODELS']:
131 sources += Split('fast/cpu.cc')
132
133need_bp_unit = False
134if 'AlphaO3CPU' in env['CPU_MODELS']:
134if 'O3CPU' in env['CPU_MODELS']:
135 need_bp_unit = True
135 need_bp_unit = True
136 sources += SConscript('o3/SConscript', exports = 'env')
136 sources += Split('''
137 sources += Split('''
137 o3/alpha_dyn_inst.cc
138 o3/alpha_cpu.cc
139 o3/alpha_cpu_builder.cc
140 o3/base_dyn_inst.cc
141 o3/bpred_unit.cc
142 o3/commit.cc
143 o3/decode.cc
144 o3/fetch.cc
145 o3/free_list.cc
146 o3/fu_pool.cc
147 o3/cpu.cc

--- 60 unchanged lines hidden ---
138 o3/base_dyn_inst.cc
139 o3/bpred_unit.cc
140 o3/commit.cc
141 o3/decode.cc
142 o3/fetch.cc
143 o3/free_list.cc
144 o3/fu_pool.cc
145 o3/cpu.cc

--- 60 unchanged lines hidden ---