BaseCPU.py (12276:22c220be30c5) BaseCPU.py (12277:e6455b421c4b)
1# Copyright (c) 2012-2013, 2015-2017 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

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

133
134 system = Param.System(Parent.any, "system object")
135 cpu_id = Param.Int(-1, "CPU identifier")
136 socket_id = Param.Unsigned(0, "Physical Socket identifier")
137 numThreads = Param.Unsigned(1, "number of HW thread contexts")
138 pwr_gating_latency = Param.Cycles(300,
139 "Latency to enter power gating state when all contexts are suspended")
140
1# Copyright (c) 2012-2013, 2015-2017 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

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

133
134 system = Param.System(Parent.any, "system object")
135 cpu_id = Param.Int(-1, "CPU identifier")
136 socket_id = Param.Unsigned(0, "Physical Socket identifier")
137 numThreads = Param.Unsigned(1, "number of HW thread contexts")
138 pwr_gating_latency = Param.Cycles(300,
139 "Latency to enter power gating state when all contexts are suspended")
140
141 power_gating_on_idle = Param.Bool(False, "Control whether the core goes "\
142 "to the OFF power state after all thread are disabled for "\
143 "pwr_gating_latency cycles")
144
141 function_trace = Param.Bool(False, "Enable function trace")
142 function_trace_start = Param.Tick(0, "Tick to start function trace")
143
144 checker = Param.BaseCPU(NULL, "checker CPU")
145
146 syscallRetryLatency = Param.Cycles(10000, "Cycles to wait until retry")
147
148 do_checkpoint_insts = Param.Bool(True,

--- 175 unchanged lines hidden ---
145 function_trace = Param.Bool(False, "Enable function trace")
146 function_trace_start = Param.Tick(0, "Tick to start function trace")
147
148 checker = Param.BaseCPU(NULL, "checker CPU")
149
150 syscallRetryLatency = Param.Cycles(10000, "Cycles to wait until retry")
151
152 do_checkpoint_insts = Param.Bool(True,

--- 175 unchanged lines hidden ---