power: Allow voltage to be configured via cmd line

---
 src/python/m5/params.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
Akash Bagdia 2016-05-27 16:54:59 +01:00
parent c2ca4779f9
commit 07452aebf5

View file

@ -1587,7 +1587,7 @@ class Clock(TickParamValue):
class Voltage(float,ParamValue):
cxx_type = 'double'
ex_str = "1V"
cmd_line_settable = False
cmd_line_settable = True
def __new__(cls, value):
# convert to voltage