Go to the documentation of this file.
58 #ifndef __SYSTEMC_TLM_BRIDGE_TLM_TO_GEM5_HH__
59 #define __SYSTEMC_TLM_BRIDGE_TLM_TO_GEM5_HH__
62 #include "params/TlmToGem5BridgeBase.hh"
82 template <
unsigned int BITWIDTH>
100 return bridge.recvTimingResp(pkt);
163 typedef TlmToGem5BridgeBaseParams
Params;
179 #endif // __SYSTEMC_TLM_BRIDGE_TLM_TO_GEM5_HH__
PacketPtr payload2packet(RequestorID _id, tlm::tlm_generic_payload &trans)
tlm::tlm_generic_payload & trans
TlmToGem5Bridge< BITWIDTH > & bridge
tlm::tlm_generic_payload * pendingRequest
tlm_utils::peq_with_cb_and_phase< TlmToGem5Bridge< BITWIDTH > > peq
void invalidateDmi(const ::MemBackdoor &backdoor)
BridgeRequestPort(const std::string &name_, TlmToGem5Bridge< BITWIDTH > &bridge_)
TlmToGem5Bridge(Params *p, const sc_core::sc_module_name &mn)
TlmToGem5BridgeBaseParams Params
bool recvTimingResp(PacketPtr pkt) override
Receive a timing response from the peer.
tlm::tlm_sync_enum nb_transport_fw(tlm::tlm_generic_payload &trans, tlm::tlm_phase &phase, sc_core::sc_time &t)
void destroyPacket(PacketPtr pkt)
A virtual base opaque structure used to hold state associated with the packet (e.g....
void before_end_of_elaboration() override
sc_gem5::TlmTargetWrapper< BITWIDTH > wrapper
void sendEndReq(tlm::tlm_generic_payload &trans)
tlm_utils::simple_target_socket< TlmToGem5Bridge< BITWIDTH >, BITWIDTH > & getSocket()
void sendBeginResp(tlm::tlm_generic_payload &trans, sc_core::sc_time &delay)
A RequestPort is a specialisation of a Port, which implements the default protocol for the three diff...
void checkTransaction(tlm::tlm_generic_payload &trans)
::Port & gem5_getPort(const std::string &if_name, int idx=-1) override
An event queue that can contain any number of pending notifications.
bool recvTimingResp(PacketPtr pkt)
void handleBeginReq(tlm::tlm_generic_payload &trans)
void b_transport(tlm::tlm_generic_payload &trans, sc_core::sc_time &t)
TlmSenderState(tlm::tlm_generic_payload &trans)
void recvReqRetry() override
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
void handleEndResp(tlm::tlm_generic_payload &trans)
unsigned int transport_dbg(tlm::tlm_generic_payload &trans)
tlm_utils::simple_target_socket< TlmToGem5Bridge< BITWIDTH >, BITWIDTH > socket
void recvRangeChange() override
Called to receive an address range change from the peer response port.
bool get_direct_mem_ptr(tlm::tlm_generic_payload &trans, tlm::tlm_dmi &dmi_data)
void peq_cb(tlm::tlm_generic_payload &trans, const tlm::tlm_phase &phase)
Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17