Deleted Added
sdiff udiff text old ( 4762:c94e103c83ad ) new ( 4776:8c8407243a2c )
full compact
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

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

100env.Depends('static_inst_exec_sigs.hh', Value(env['CPU_MODELS']))
101
102# List of suppported CPUs by the Checker. Errors out if USE_CHECKER=True
103# and one of these are not being used.
104CheckerSupportedCPUList = ['O3CPU', 'OzoneCPU']
105
106SimObject('BaseCPU.py')
107SimObject('FuncUnit.py')
108
109Source('activity.cc')
110Source('base.cc')
111Source('cpuevent.cc')
112Source('exetrace.cc')
113Source('func_unit.cc')
114Source('pc_event.cc')
115Source('quiesce_event.cc')
116Source('static_inst.cc')
117Source('simple_thread.cc')
118Source('thread_state.cc')
119
120if env['FULL_SYSTEM']:
121 SimObject('IntrControl.py')
122
123 Source('intr_control.cc')
124 Source('profile.cc')
125
126if env['USE_CHECKER']:
127 Source('checker/cpu.cc')
128 checker_supports = False
129 for i in CheckerSupportedCPUList:
130 if i in env['CPU_MODELS']:
131 checker_supports = True
132 if not checker_supports:
133 print "Checker only supports CPU models",
134 for i in CheckerSupportedCPUList:
135 print i,
136 print ", please set USE_CHECKER=False or use one of those CPU models"
137 Exit(1)