diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2005-04-17 00:41:50 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2005-04-17 00:41:50 -0400 |
commit | 535cfaa01e0234e224e588e753419d8777e22d0b (patch) | |
tree | f065aaf5c08aa2db78ace7dda7ad83e3d48e5f8f /test/genini.py | |
parent | 26df1a96c966d00cdcfbbcae239b0c77c24473e2 (diff) | |
download | gem5-535cfaa01e0234e224e588e753419d8777e22d0b.tar.xz |
Mostly hacks for multiplying Frequency-type proxies by constants
(plus some small fixes).
python/m5/config.py:
Hacks to allow multiplication on Frequency/Latency-valued proxies.
Provide __rmul__ as well as __mul__ on Proxy objects.
test/genini.py:
Default value for -EFOO should be True not 1 (since 1 is no longer
convertable to Bool).
--HG--
extra : convert_revision : f8a221fcd9e095fdd7b7db4be0ed0cdcd20074be
Diffstat (limited to 'test/genini.py')
-rwxr-xr-x | test/genini.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/genini.py b/test/genini.py index b8eda5d46..d04f049ea 100755 --- a/test/genini.py +++ b/test/genini.py @@ -44,7 +44,7 @@ try: offset = arg.find('=') if offset == -1: name = arg - value = '1' + value = 'True' else: name = arg[:offset] value = arg[offset+1:] |