gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5_to_tlm.cc File Reference
#include "systemc/tlm_bridge/gem5_to_tlm.hh"
#include <utility>
#include "params/Gem5ToTlmBridge32.hh"
#include "params/Gem5ToTlmBridge64.hh"
#include "params/Gem5ToTlmBridge128.hh"
#include "params/Gem5ToTlmBridge256.hh"
#include "params/Gem5ToTlmBridge512.hh"
#include "sim/eventq.hh"
#include "sim/system.hh"
#include "systemc/tlm_bridge/sc_ext.hh"
#include "systemc/tlm_bridge/sc_mm.hh"

Go to the source code of this file.

Namespaces

namespace  sc_gem5

Functions

static EventBase::Priority sc_gem5::getPriorityOfTlmPhase (const tlm::tlm_phase &phase)
 Helper function to help set priority of phase change events of tlm transactions.
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.
void sc_gem5::setPacketResponse (PacketPtr pkt, tlm::tlm_generic_payload &trans)

Variables

Gem5SystemC::MemoryManager sc_gem5::mm
 Instantiate a tlm memory manager that takes care about all the tlm transactions in the system.

Generated on Sat Oct 18 2025 08:06:48 for gem5 by doxygen 1.14.0