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,
69 fatal_if(!target,
"Attempt to bind TLM initiator socket %s to "
70 "incompatible port %s.",
name(), peer.
name());
81 panic(
"TLM sockets can't be unbound.");
88 template <
unsigned int BUSWIDTH,
typename FW_IF,
typename BW_IF,
int N,
114 using namespace gem5;
116 panic(
"TLM sockets can't be unbound.");
123 template <
unsigned int BUSWIDTH=32,
130 template <
unsigned int BUSWIDTH=32,
139 #endif //__SYSTEMC_TLM_PORT_WRAPPER_HH__
TlmInitiatorBaseWrapper(InitiatorSocket &i, const std::string &_name, gem5::PortID _id)
InitiatorSocket & initiator()
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
const std::string name() const
Return port name (for DPRINTF).
tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL > InitiatorSocket
virtual void bind(Port &peer)
Attach to a peer port.
tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL > TargetSocket
TlmTargetBaseWrapper(TargetSocket &t, const std::string &_name, gem5::PortID _id)
void bind(gem5::Port &peer) override
const std::string & name()
InitiatorSocket::base_target_socket_type TargetSocket
void bind(gem5::Port &peer) override
virtual void bind(base_target_socket_type &s)
TlmTargetBaseWrapper< BUSWIDTH, FW_IF, BW_IF, N, POL > TargetWrapper
Ports are used to interface objects to each other.
#define fatal_if(cond,...)
Conditional fatal macro that checks the supplied condition and only causes a fatal error if the condi...
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
InitiatorSocket & _initiator
#define panic(...)
This implements a cprintf based panic() function.
Generated on Wed May 4 2022 12:14:12 for gem5 by doxygen 1.8.17