gem5  v22.0.0.1
Classes | Namespaces | Typedefs | Functions
gem5_to_tlm.hh File Reference
#include <functional>
#include <string>
#include "mem/port.hh"
#include "params/Gem5ToTlmBridgeBase.hh"
#include "sim/system.hh"
#include "systemc/ext/core/sc_module.hh"
#include "systemc/ext/core/sc_module_name.hh"
#include "systemc/ext/tlm_core/2/generic_payload/gp.hh"
#include "systemc/ext/tlm_utils/simple_initiator_socket.h"
#include "systemc/tlm_port_wrapper.hh"

Go to the source code of this file.


class  sc_gem5::Gem5ToTlmBridgeBase
class  sc_gem5::Gem5ToTlmBridge< BITWIDTH >
class  sc_gem5::Gem5ToTlmBridge< BITWIDTH >::BridgeResponsePort




using sc_gem5::PacketToPayloadConversionStep = std::function< void(gem5::PacketPtr pkt, tlm::tlm_generic_payload &trans)>


void sc_gem5::addPacketToPayloadConversionStep (PacketToPayloadConversionStep step)
 Notify the Gem5ToTlm bridge that we need an extra step to properly convert a gem5 packet to tlm payload. More...
tlm::tlm_generic_payloadsc_gem5::packet2payload (PacketPtr packet)
 Convert a gem5 packet to a TLM payload by copying all the relevant information to new tlm payload. More...

Generated on Sat Jun 18 2022 08:12:59 for gem5 by doxygen 1.8.17