gem5 v24.1.0.1
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
gem5_to_tlm.hh File Reference
#include <functional>
#include <string>
#include <unordered_map>
#include "mem/backdoor.hh"
#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

namespace  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.
 
tlm::tlm_generic_payloadsc_gem5::packet2payload (PacketPtr packet)
 Convert a gem5 packet to TLM payload by copying all the relevant information to new payload.
 

Generated on Mon Jan 13 2025 04:28:47 for gem5 by doxygen 1.9.8