ClockedObject.py (9338:97b4a2be1e5b) | ClockedObject.py (9793:6e6cefc1db1f) |
---|---|
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 --- 30 unchanged lines hidden (view full) --- 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 | 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 --- 30 unchanged lines hidden (view full) --- 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") | 47 # The clock domain this clocked object belongs to, inheriting the 48 # parent's clock domain by default 49 clk_domain = Param.ClockDomain(Parent.clk_domain, "Clock domain") |