BaseCPU.py (5658:55f9947891fb) BaseCPU.py (5712:199d31b47f7b)
1# Copyright (c) 2005-2008 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

58 if build_env['FULL_SYSTEM']:
59 from ArmInterrupts import ArmInterrupts
60
61class BaseCPU(MemObject):
62 type = 'BaseCPU'
63 abstract = True
64
65 system = Param.System(Parent.any, "system object")
1# Copyright (c) 2005-2008 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

58 if build_env['FULL_SYSTEM']:
59 from ArmInterrupts import ArmInterrupts
60
61class BaseCPU(MemObject):
62 type = 'BaseCPU'
63 abstract = True
64
65 system = Param.System(Parent.any, "system object")
66 cpu_id = Param.Int("CPU identifier")
66 cpu_id = Param.Int(-1, "CPU identifier")
67 numThreads = Param.Unsigned(1, "number of HW thread contexts")
68
69 function_trace = Param.Bool(False, "Enable function trace")
70 function_trace_start = Param.Tick(0, "Cycle to start function trace")
71
72 checker = Param.BaseCPU("checker CPU")
73
74 if build_env['FULL_SYSTEM']:

--- 153 unchanged lines hidden ---
67 numThreads = Param.Unsigned(1, "number of HW thread contexts")
68
69 function_trace = Param.Bool(False, "Enable function trace")
70 function_trace_start = Param.Tick(0, "Cycle to start function trace")
71
72 checker = Param.BaseCPU("checker CPU")
73
74 if build_env['FULL_SYSTEM']:

--- 153 unchanged lines hidden ---