cpu: TrafficGen as BaseCPU
authorTiago Muck <tiago.muck@arm.com>
Mon, 28 Jan 2019 20:57:17 +0000 (14:57 -0600)
committerTiago Mück <tiago.muck@arm.com>
Tue, 11 Jun 2019 18:43:23 +0000 (18:43 +0000)
commit5247008379639f2a44aee919371100b6cf86db35
tree188a77ae49ecc306cff06d49a9764aa8e372f43c
parenta45037a4a384f96679ed9eb81c955a5edbcc1189
cpu: TrafficGen as BaseCPU

TrafficGen has additional attributes to behave like a BaseCPU. Python
scripts that expect sim. objects derived from BaseCPU can now be used with
TrafficGen without additional modifications.

Change-Id: Iee848b2ba0ac1851c487b1003da9bd96253d291a
Signed-off-by: Tiago Muck <tiago.muck@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18416
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/testers/traffic_gen/BaseTrafficGen.py