ClockedObject.py (9281:9b6882b58a3f) ClockedObject.py (9338:97b4a2be1e5b)
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

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

37
38from m5.SimObject import SimObject
39from m5.params import *
40from m5.proxy import *
41
42class ClockedObject(SimObject):
43 type = 'ClockedObject'
44 abstract = True
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

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

37
38from m5.SimObject import SimObject
39from m5.params import *
40from m5.proxy import *
41
42class ClockedObject(SimObject):
43 type = 'ClockedObject'
44 abstract = True
45 cxx_header = "sim/clocked_object.hh"
45
46 # Clock period of this object, with the default value being the
47 # clock period of the parent object, unproxied at instantiation
48 # time
49 clock = Param.Clock(Parent.clock, "Clock speed")
46
47 # Clock period of this object, with the default value being the
48 # clock period of the parent object, unproxied at instantiation
49 # time
50 clock = Param.Clock(Parent.clock, "Clock speed")