systemc: Expose the utility functions for payload->packet conversion.
authorGabe Black <gabeblack@google.com>
Thu, 29 Aug 2019 00:03:42 +0000 (17:03 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 17 Sep 2019 01:02:55 +0000 (01:02 +0000)
commitfe15312aae8007967812350f8cdac9ad766dcff7
tree1b0c0f803879d1e896d38ed9ac170ead353cd93f
parent59aed6f3bd400b0182cfcb3dc6cc820dfc49e2df
systemc: Expose the utility functions for payload->packet conversion.

These can be used anywhere someone needs to turn a packet into a
payload or vice-versa.

Change-Id: I26a1f134e6fbec81b230a2853cf79264e80bf2dc
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20859
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/systemc/tlm_bridge/gem5_to_tlm.hh
src/systemc/tlm_bridge/tlm_to_gem5.cc
src/systemc/tlm_bridge/tlm_to_gem5.hh