gem5  v22.1.0.0
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.

Classes

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

Namespaces

 sc_gem5
 

Typedefs

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

Functions

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 TLM payload by copying all the relevant information to new payload. More...
 

Generated on Wed Dec 21 2022 10:23:05 for gem5 by doxygen 1.9.1