src/systemc/tlm_bridge/gem5_to_tlm.cc
/**
 * Notify the Gem5ToTlm bridge that we need an extra step to properly convert a
 * gem5 packet to tlm payload. This can be useful when there exists a SystemC
 * extension that requires information in gem5 packet. For example, if a user
 * defined a SystemC extension the carries stream_id, the user may add a step
 * here to read stream_id out and set the extension properly.
 */
Notify the Gem5ToTlm bridge that we need an extra step to properly convert a
gem5 packet to tlm payload. This can be useful when there exists a SystemC
extension that requires information in gem5 packet. For example, if a user
defined a SystemC extension the carries stream_id, the user may add a step
here to read stream_id out and set the extension properly.
Notify the Gem5ToTlm bridge that we need an extra step to properly convert a gem5 packet to tlm payload . This can be useful when there exists a SystemC extension that requires information in gem5 packet . For example if a user defined a SystemC extension the carries stream_id the user may add a step here to read stream_id out and set the extension properly .
void
addPacketToPayloadConversionStep(PacketToPayloadConversionStep step)
{
    extraPacketToPayloadSteps.push_back(std::move(step));
}
void addPacketToPayloadConversionStep ( PacketToPayloadConversionStep step ) { extraPacketToPayloadSteps . push_back ( std :: move ( step ) ) ; }
Notify the Gem5ToTlm bridge that we need an extra step to properly convert a
 gem5 packet to tlm payload.
Notify the Gem5ToTlm bridge that we need an extra step to properly convert a gem5 packet to tlm payload .