summaryrefslogtreecommitdiff
path: root/src/python/m5/params.py
diff options
context:
space:
mode:
authorAkash Bagdia <akash.bagdia@ARM.com>2016-05-27 16:54:59 +0100
committerAkash Bagdia <akash.bagdia@ARM.com>2016-05-27 16:54:59 +0100
commit07452aebf53cce698202b99075c1f895e580ba72 (patch)
tree7c936b42e0a5608b4de5bb7f2aa106b632c8e74b /src/python/m5/params.py
parentc2ca4779f9c4fb7b8e21ee3dcfadbc1001e03ad2 (diff)
downloadgem5-07452aebf53cce698202b99075c1f895e580ba72.tar.xz
power: Allow voltage to be configured via cmd line
--- src/python/m5/params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Diffstat (limited to 'src/python/m5/params.py')
-rw-r--r--src/python/m5/params.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/params.py b/src/python/m5/params.py
index f1eead80d..56465e067 100644
--- a/src/python/m5/params.py
+++ b/src/python/m5/params.py
@@ -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