2 class BaseCPU(SimObject
):
6 if build_env
['FULL_SYSTEM']:
7 dtb
= Param
.AlphaDTB("Data TLB")
8 itb
= Param
.AlphaITB("Instruction TLB")
9 system
= Param
.System(Parent
.any
, "system object")
10 cpu_id
= Param
.Int(-1, "CPU identifier")
12 mem
= Param
.MemObject("memory")
13 workload
= VectorParam
.Process("processes to run")
15 max_insts_all_threads
= Param
.Counter(0,
16 "terminate when all threads have reached this inst count")
17 max_insts_any_thread
= Param
.Counter(0,
18 "terminate when any thread reaches this inst count")
19 max_loads_all_threads
= Param
.Counter(0,
20 "terminate when all threads have reached this load count")
21 max_loads_any_thread
= Param
.Counter(0,
22 "terminate when any thread reaches this load count")
24 defer_registration
= Param
.Bool(False,
25 "defer registration with system (for sampling)")
27 clock
= Param
.Clock(Parent
.clock
, "clock speed")