arch-arm: Add support for Tarmac trace-based simulation
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 14 Mar 2018 17:25:12 +0000 (17:25 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 6 Apr 2018 10:10:10 +0000 (10:10 +0000)
commit2d1add2d5d6b49a0eac1ef9180786fe28d207098
treea866c99a3f0b512d57966cec239c1faa3cad29fc
parentd251fab8514f7a209044b69688aa3615f112e57d
arch-arm: Add support for Tarmac trace-based simulation

A new InstTracer (TarmacParser) has been implemented. This tracer is
parsing a pre-existing Tarmac trace file [1] while gem5 is running; it
is comparing execution data together with trace data and it is dumping
differences.
This allows to use Tarmac format as a glue between heterogeneous
simuators speaking the same Tarmac language.

Kudos to Giacomo Gabrielli for writing the original tracer.

[1]: https://developer.arm.com/docs/dui0845/f/tarmac-trace-file-format

Change-Id: I9b92204a149813166166adba4a7c61a248bdcac3
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/9381
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/tracers/SConscript [new file with mode: 0644]
src/arch/arm/tracers/TarmacTrace.py [new file with mode: 0644]
src/arch/arm/tracers/tarmac_base.cc [new file with mode: 0644]
src/arch/arm/tracers/tarmac_base.hh [new file with mode: 0644]
src/arch/arm/tracers/tarmac_parser.cc [new file with mode: 0644]
src/arch/arm/tracers/tarmac_parser.hh [new file with mode: 0644]