power: Allow voltage to be configured via cmd line
authorAkash Bagdia <akash.bagdia@ARM.com>
Fri, 27 May 2016 15:54:59 +0000 (16:54 +0100)
committerAkash Bagdia <akash.bagdia@ARM.com>
Fri, 27 May 2016 15:54:59 +0000 (16:54 +0100)
---
 src/python/m5/params.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

src/python/m5/params.py

index f1eead80d1cdbb3c5d74bc186089e67714babbfd..56465e067ec593b44e0b102f44c99d875b33e47b 100644 (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