sim: Add a SimObject python field which overrides the default c++ base.
authorGabe Black <gabeblack@google.com>
Tue, 1 May 2018 23:35:54 +0000 (16:35 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 15 Jun 2018 00:03:09 +0000 (00:03 +0000)
commit3bb22b7fc3e642533f8bb170e8de1de5e62d976c
treed68a8fe752ce7edcab0dd6f4f6571502e917b901
parent642a563cf08171f1a89ae67229e93187cae28bd8
sim: Add a SimObject python field which overrides the default c++ base.

The base for the c++ version of python SimObject classes is normally
inferred from the c++ version of the python base. There are some
specific cases where that isn't desired. This change makes it possible
to override the default behavior.

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