ClockedObject.py (11422:4f749e00b667) ClockedObject.py (11424:e07fd01651f3)
1# Copyright (c) 2012, 2015 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

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

61 type = 'ClockedObject'
62 abstract = True
63 cxx_header = "sim/clocked_object.hh"
64
65 # The clock domain this clocked object belongs to, inheriting the
66 # parent's clock domain by default
67 clk_domain = Param.ClockDomain(Parent.clk_domain, "Clock domain")
68
1# Copyright (c) 2012, 2015 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

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

61 type = 'ClockedObject'
62 abstract = True
63 cxx_header = "sim/clocked_object.hh"
64
65 # The clock domain this clocked object belongs to, inheriting the
66 # parent's clock domain by default
67 clk_domain = Param.ClockDomain(Parent.clk_domain, "Clock domain")
68
69 # Power model for this ClockedObject
70 power_model = Param.PowerModel(NULL, "Power model")
71
69 # Provide initial power state, should ideally get redefined in startup
70 # routine
71 default_p_state = Param.PwrState("UNDEFINED", "Default Power State")
72
73 p_state_clk_gate_min = Param.Latency('1ns', "Min value of the distribution")
74 p_state_clk_gate_max = Param.Latency('1s', "Max value of the distribution")
75 p_state_clk_gate_bins = Param.Unsigned('20',
76 "# bins in clk gated distribution")
72 # Provide initial power state, should ideally get redefined in startup
73 # routine
74 default_p_state = Param.PwrState("UNDEFINED", "Default Power State")
75
76 p_state_clk_gate_min = Param.Latency('1ns', "Min value of the distribution")
77 p_state_clk_gate_max = Param.Latency('1s', "Max value of the distribution")
78 p_state_clk_gate_bins = Param.Unsigned('20',
79 "# bins in clk gated distribution")