BaseCPU.py (9157:e0bad9d7bbd6) BaseCPU.py (9161:e353c178fb36)
1# Copyright (c) 2012 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

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

77 type = 'BaseCPU'
78 abstract = True
79
80 system = Param.System(Parent.any, "system object")
81 cpu_id = Param.Int(-1, "CPU identifier")
82 numThreads = Param.Unsigned(1, "number of HW thread contexts")
83
84 function_trace = Param.Bool(False, "Enable function trace")
1# Copyright (c) 2012 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

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

77 type = 'BaseCPU'
78 abstract = True
79
80 system = Param.System(Parent.any, "system object")
81 cpu_id = Param.Int(-1, "CPU identifier")
82 numThreads = Param.Unsigned(1, "number of HW thread contexts")
83
84 function_trace = Param.Bool(False, "Enable function trace")
85 function_trace_start = Param.Tick(0, "Cycle to start function trace")
85 function_trace_start = Param.Tick(0, "Tick to start function trace")
86
87 checker = Param.BaseCPU(NULL, "checker CPU")
88
89 do_checkpoint_insts = Param.Bool(True,
90 "enable checkpoint pseudo instructions")
91 do_statistics_insts = Param.Bool(True,
92 "enable statistics pseudo instructions")
93

--- 137 unchanged lines hidden ---
86
87 checker = Param.BaseCPU(NULL, "checker CPU")
88
89 do_checkpoint_insts = Param.Bool(True,
90 "enable checkpoint pseudo instructions")
91 do_statistics_insts = Param.Bool(True,
92 "enable statistics pseudo instructions")
93

--- 137 unchanged lines hidden ---