From 535cfaa01e0234e224e588e753419d8777e22d0b Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Sun, 17 Apr 2005 00:41:50 -0400 Subject: 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 --- test/genini.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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:] -- cgit v1.2.3