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:
parent
c2ca4779f9
commit
07452aebf5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue