ClockedObject.py (11527:9007a9729815) | ClockedObject.py (12265:7db0f21ff605) |
---|---|
1# Copyright (c) 2012, 2015-2016 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 --- 53 unchanged lines hidden (view full) --- 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 | 1# Copyright (c) 2012, 2015-2016 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 --- 53 unchanged lines hidden (view full) --- 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") | 70 power_model = VectorParam.PowerModel([], "Power models") |
71 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") | 71 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") |