Mostly hacks for multiplying Frequency-type proxies by constants
authorSteve Reinhardt <stever@eecs.umich.edu>
Sun, 17 Apr 2005 04:41:50 +0000 (00:41 -0400)
committerSteve Reinhardt <stever@eecs.umich.edu>
Sun, 17 Apr 2005 04:41:50 +0000 (00:41 -0400)
commit535cfaa01e0234e224e588e753419d8777e22d0b
treef065aaf5c08aa2db78ace7dda7ad83e3d48e5f8f
parent26df1a96c966d00cdcfbbcae239b0c77c24473e2
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
python/m5/config.py
test/genini.py