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" |
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") |