diff options
author | Nathan Binkert <nate@binkert.org> | 2008-06-14 20:42:45 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2008-06-14 20:42:45 -0700 |
commit | 4afdc40d70db76d895cc9bfe6bf3786d379589b7 (patch) | |
tree | 1ba162bd288baa05992a902591404a6d9253e6a4 /src/python | |
parent | 3d2e7797ccb554092a4140fc8e11407edd7eedc4 (diff) | |
download | gem5-4afdc40d70db76d895cc9bfe6bf3786d379589b7.tar.xz |
params: Fix the memory bandwidth parameter
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/m5/params.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/params.py b/src/python/m5/params.py index c8d0d8f46..938278541 100644 --- a/src/python/m5/params.py +++ b/src/python/m5/params.py @@ -892,7 +892,7 @@ class NetworkBandwidth(float,ParamValue): class MemoryBandwidth(float,ParamValue): cxx_type = 'float' - def __new__(self, value): + def __new__(cls, value): # we want the number of ticks per byte of data val = convert.toMemoryBandwidth(value) return super(cls, MemoryBandwidth).__new__(cls, val) |