cpu: Stream/SubstreamID support in TrafficGen
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 20 Jul 2018 10:23:49 +0000 (11:23 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 24 Aug 2018 13:47:35 +0000 (13:47 +0000)
commitf741bb7cdbdd6c2526be40fe1e03a705364ddf8d
tree601725878dea62a50c2769f27d6cd5eb46b1b829
parent2b3168021cb0ceed8e90045435181bb82eed0c12
cpu: Stream/SubstreamID support in TrafficGen

This patch is adding support for generating memory requests which set
the StreamID/SubstreamID field, so that is possible to emulate devices
attached to an external IOMMU/SMMU with a Traffic generator.

Change-Id: Iea068de581ae7125a9d49314124a08c045c75b49
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/12188
src/cpu/testers/traffic_gen/BaseTrafficGen.py
src/cpu/testers/traffic_gen/SConscript
src/cpu/testers/traffic_gen/base.cc
src/cpu/testers/traffic_gen/base.hh
src/cpu/testers/traffic_gen/stream_gen.cc [new file with mode: 0644]
src/cpu/testers/traffic_gen/stream_gen.hh [new file with mode: 0644]