gem5  v22.1.0.0
Classes | Namespaces | Typedefs | Functions
tlm_to_gem5.hh File Reference
#include <functional>
#include <unordered_set>
#include <utility>
#include "mem/port.hh"
#include "params/TlmToGem5BridgeBase.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/peq_with_cb_and_phase.h"
#include "systemc/ext/tlm_utils/simple_target_socket.h"
#include "systemc/tlm_bridge/sc_ext.hh"
#include "systemc/tlm_port_wrapper.hh"

Go to the source code of this file.

Classes

class  sc_gem5::TlmToGem5BridgeBase
 
class  sc_gem5::TlmToGem5Bridge< BITWIDTH >
 
class  sc_gem5::TlmToGem5Bridge< BITWIDTH >::BridgeRequestPort
 

Namespaces

 sc_gem5
 

Typedefs

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

Functions

void sc_gem5::addPayloadToPacketConversionStep (PayloadToPacketConversionStep step)
 Notify the Tlm2Gem5 bridge that we need an extra step to properly convert a tlm payload to gem5 packet. More...
 
std::pair< PacketPtr, bool > sc_gem5::payload2packet (RequestorID _id, tlm::tlm_generic_payload &trans)
 Convert a TLM payload to gem5 packet by copying all the relevant information to new packet. More...
 

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