python: Add support for multiplying proxies to compatible Param
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Fri, 22 Jun 2018 09:54:31 +0000 (10:54 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 26 Jun 2018 07:36:53 +0000 (07:36 +0000)
commiteab83998f76bb2ee26c03e280e9f6639b8a55ed8
tree2fc8096673bf41398a4cc63089f44914bfb60e69
parent6df90da9fb701eea8381a35423d0c9e7bc940850
python: Add support for multiplying proxies to compatible Param

Previously we allowed multiplications between proxy Param and
compatible constants (int, long, float). This change extends this
functionality and adds support for multiplying with between proxy
Param and compatible proxy Param.

Change-Id: I23a083881ae4d770e818895b893534767cd2472d
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/11510
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/python/m5/proxy.py