cpu: Unify error handling for address generators
authorAndreas Sandberg <andreas.sandberg@arm.com>
Fri, 27 Apr 2018 11:07:53 +0000 (12:07 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Fri, 13 Jul 2018 09:26:23 +0000 (09:26 +0000)
commit102027ee2ed50dcadf93b31ef2e7e485b61cc504
treea729fc29c3e642df1cc0849b24ecf5dc2d5bd4b3
parent0793a1bbdc190a7bd41b7ed81ef8291ceaeb722e
cpu: Unify error handling for address generators

Unify error handling and create factory methods for address
generators.

Change-Id: Ic3ab705e1bb58affd498a7db176536ebc721b904
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/11516
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
13 files changed:
src/cpu/testers/traffic_gen/base.cc
src/cpu/testers/traffic_gen/base.hh
src/cpu/testers/traffic_gen/base_gen.cc
src/cpu/testers/traffic_gen/base_gen.hh
src/cpu/testers/traffic_gen/dram_gen.cc
src/cpu/testers/traffic_gen/dram_gen.hh
src/cpu/testers/traffic_gen/dram_rot_gen.hh
src/cpu/testers/traffic_gen/exit_gen.hh
src/cpu/testers/traffic_gen/idle_gen.hh
src/cpu/testers/traffic_gen/linear_gen.hh
src/cpu/testers/traffic_gen/random_gen.hh
src/cpu/testers/traffic_gen/trace_gen.hh
src/cpu/testers/traffic_gen/traffic_gen.cc