Go to the documentation of this file.
28 #ifndef __SYSTEMC_TLM_PORT_WRAPPER_HH__
29 #define __SYSTEMC_TLM_PORT_WRAPPER_HH__
38 template <
unsigned int BUSWIDTH,
typename FW_IF,
typename BW_IF,
int N,
42 template <
unsigned int BUSWIDTH,
typename FW_IF,
typename BW_IF,
int N,
46 template <
unsigned int BUSWIDTH,
typename FW_IF,
typename BW_IF,
int N,
67 fatal_if(!target,
"Attempt to bind TLM initiator socket %s to "
68 "incompatible port %s.",
name(), peer.name());
77 panic(
"TLM sockets can't be unbound.");
84 template <
unsigned int BUSWIDTH,
typename FW_IF,
typename BW_IF,
int N,
110 panic(
"TLM sockets can't be unbound.");
117 template <
unsigned int BUSWIDTH=32,
124 template <
unsigned int BUSWIDTH=32,
133 #endif //__SYSTEMC_TLM_PORT_WRAPPER_HH__
InitiatorSocket & initiator()
void bind(::Port &peer) override
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL > InitiatorSocket
void bind(::sc_core::sc_interface *interface)
tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL > TargetSocket
TlmTargetBaseWrapper(TargetSocket &t, const std::string &_name, PortID _id)
void bind(::Port &peer) override
const std::string & name()
InitiatorSocket::base_target_socket_type TargetSocket
virtual void bind(base_target_socket_type &s)
TlmTargetBaseWrapper< BUSWIDTH, FW_IF, BW_IF, N, POL > TargetWrapper
#define fatal_if(cond,...)
Conditional fatal macro that checks the supplied condition and only causes a fatal error if the condi...
InitiatorSocket & _initiator
TlmInitiatorBaseWrapper(InitiatorSocket &i, const std::string &_name, PortID _id)
#define panic(...)
This implements a cprintf based panic() function.
Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17