gem5/python/m5
Steve Reinhardt fb4f83809f Allow math on CheckedInt-derived ParamValue classes w/o
losing type information.

python/m5/config.py:
    Allow math on CheckedInt-derived ParamValue classes w/o
    losing type information.
    - Make CheckedInt derive from NumericParamValue, and *not*
    multiply inherit from long
    - Move CheckedInt bounds check to _check() hook so we can
    call it when value is updated (not just in constructor)
python/m5/convert.py:
    - make toInteger() return a long, making toLong() unnecessary
    - toMemorySize should return long rather than float

--HG--
extra : convert_revision : c1cf5e15b9ff35d9b573dd545e076fe68afef989
2005-11-01 14:11:54 -05:00
..
objects Major changes to sinic device model. Rearrage read/write, better 2005-10-21 20:28:21 -04:00
__init__.py Regression tests now run under scons! 2005-09-05 16:31:27 -04:00
config.py Allow math on CheckedInt-derived ParamValue classes w/o 2005-11-01 14:11:54 -05:00
convert.py Allow math on CheckedInt-derived ParamValue classes w/o 2005-11-01 14:11:54 -05:00
multidict.py Add licenses in python dir. 2005-06-05 01:57:57 -04:00
smartdict.py Add licenses in python dir. 2005-06-05 01:57:57 -04:00