gem5 v24.0.0.0
|
#include <initiator_socket.hh>
Public Types | |
typedef FW_IF | fw_interface_type |
typedef BW_IF | bw_interface_type |
typedef sc_core::sc_port< fw_interface_type, N, POL > | port_type |
typedef sc_core::sc_export< bw_interface_type > | export_type |
typedef tlm_base_target_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type > | base_target_socket_type |
typedef tlm_base_initiator_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type > | base_type |
Public Member Functions | |
tlm_base_initiator_socket () | |
tlm_base_initiator_socket (const char *name) | |
virtual const char * | kind () const |
virtual void | bind (base_target_socket_type &s) |
void | operator() (base_target_socket_type &s) |
virtual void | bind (base_type &s) |
void | operator() (base_type &s) |
virtual void | bind (bw_interface_type &ifs) |
void | operator() (bw_interface_type &s) |
virtual sc_core::sc_port_base & | get_port_base () |
virtual sc_core::sc_port_base const & | get_port_base () const |
virtual sc_core::sc_export_base & | get_export_base () |
virtual sc_core::sc_export_base const & | get_export_base () const |
virtual unsigned int | get_bus_width () const |
virtual tlm_socket_category | get_socket_category () const |
virtual sc_core::sc_port_b< FW_IF > & | get_base_port () |
virtual sc_core::sc_port_b< FW_IF > const & | get_base_port () const |
virtual BW_IF & | get_base_interface () |
virtual BW_IF const & | get_base_interface () const |
virtual sc_core::sc_export< BW_IF > & | get_base_export () |
virtual sc_core::sc_export< BW_IF > const & | get_base_export () const |
Public Member Functions inherited from tlm::tlm_base_socket_if | |
virtual std::type_index | get_protocol_types () const =0 |
Public Member Functions inherited from tlm::tlm_base_initiator_socket_b< BUSWIDTH, FW_IF, BW_IF > | |
virtual | ~tlm_base_initiator_socket_b () |
Public Member Functions inherited from sc_core::sc_port< FW_IF, N, POL > | |
sc_port () | |
sc_port (const char *name) | |
sc_port (const FW_IF &interface) | |
sc_port (const char *name, const FW_IF &interface) | |
sc_port (sc_port_b< FW_IF > &parent) | |
sc_port (const char *name, sc_port_b< FW_IF > &parent) | |
sc_port (sc_port< FW_IF, N, P > &parent) | |
sc_port (const char *name, sc_port< FW_IF, N, P > &parent) | |
virtual | ~sc_port () |
Public Member Functions inherited from sc_core::sc_port_b< FW_IF > | |
void | operator() (FW_IF &i) |
void | operator() (sc_port_b< FW_IF > &p) |
virtual void | bind (FW_IF &i) |
virtual void | bind (sc_port_b< FW_IF > &p) |
FW_IF * | operator-> () |
const FW_IF * | operator-> () const |
FW_IF * | operator[] (int n) |
const FW_IF * | operator[] (int n) const |
sc_interface * | get_interface () |
const sc_interface * | get_interface () const |
Public Member Functions inherited from sc_core::sc_port_base | |
sc_port_base (const char *name, int n, sc_port_policy p) | |
virtual | ~sc_port_base () |
void | warn_port_constructor () const |
int | maxSize () const |
int | size () const |
Public Member Functions inherited from sc_core::sc_object | |
const char * | name () const |
const char * | basename () const |
virtual void | print (std::ostream &=std::cout) const |
virtual void | dump (std::ostream &=std::cout) const |
virtual const std::vector< sc_object * > & | get_child_objects () const |
virtual const std::vector< sc_event * > & | get_child_events () const |
sc_object * | get_parent_object () const |
bool | add_attribute (sc_attr_base &) |
sc_attr_base * | get_attribute (const std::string &) |
sc_attr_base * | remove_attribute (const std::string &) |
void | remove_all_attributes () |
int | num_attributes () const |
sc_attr_cltn & | attr_cltn () |
const sc_attr_cltn & | attr_cltn () const |
sc_simcontext * | simcontext () const |
Protected Attributes | |
export_type | m_export |
Friends | |
template<unsigned int , typename , typename , int , sc_core::sc_port_policy > | |
class | tlm_base_target_socket |
Additional Inherited Members | |
Protected Member Functions inherited from tlm::tlm_base_socket_if | |
virtual | ~tlm_base_socket_if () |
Protected Member Functions inherited from sc_core::sc_port_b< FW_IF > | |
void | before_end_of_elaboration () override |
void | end_of_elaboration () override |
void | start_of_simulation () override |
void | end_of_simulation () override |
sc_port_b (int n, sc_port_policy p) | |
sc_port_b (const char *name, int n, sc_port_policy p) | |
virtual | ~sc_port_b () |
int | vbind (sc_interface &i) override |
int | vbind (sc_port_base &pb) override |
Protected Member Functions inherited from sc_core::sc_port_base | |
void | bind (sc_interface &) |
void | bind (sc_port_base &) |
void | report_error (const char *id, const char *add_msg) const |
Protected Member Functions inherited from sc_core::sc_object | |
sc_object () | |
sc_object (const char *) | |
sc_object (const sc_object &) | |
sc_object & | operator= (const sc_object &) |
virtual | ~sc_object () |
Definition at line 48 of file target_socket.hh.
typedef tlm_base_target_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type> tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::base_target_socket_type |
Definition at line 75 of file initiator_socket.hh.
typedef tlm_base_initiator_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type> tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::base_type |
Definition at line 77 of file initiator_socket.hh.
typedef BW_IF tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bw_interface_type |
Definition at line 68 of file initiator_socket.hh.
typedef sc_core::sc_export<bw_interface_type> tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::export_type |
Definition at line 71 of file initiator_socket.hh.
typedef FW_IF tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::fw_interface_type |
Definition at line 67 of file initiator_socket.hh.
typedef sc_core::sc_port<fw_interface_type, N, POL> tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::port_type |
Definition at line 69 of file initiator_socket.hh.
|
inline |
Definition at line 83 of file initiator_socket.hh.
|
inlineexplicit |
Definition at line 89 of file initiator_socket.hh.
|
inlinevirtual |
Reimplemented in tlm_utils::multi_passthrough_initiator_socket< MODULE, BUSWIDTH, TYPES, N, POL >, tlm_utils::multi_passthrough_initiator_socket< MODULE, 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ZERO_OR_MORE_BOUND >, and tlm_utils::multi_passthrough_initiator_socket< MultiSocketSimpleSwitchAT >.
Definition at line 104 of file initiator_socket.hh.
References tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_interface(), and tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_port().
Referenced by sc_gem5::TlmInitiatorBaseWrapper< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind(), gem5::ClockRateControlInitiatorSocket::ClockRateControlInitiatorSocket(), gem5::ClockRateControlInitiatorSocket::ClockRateControlInitiatorSocket(), tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator()(), tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator()(), tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator()(), gem5::fastmodel::PL330::PL330(), gem5::fastmodel::SCGIC::SCGIC(), gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76(), gem5::fastmodel::ScxEvsCortexR52< Types >::ScxEvsCortexR52(), gem5::SignalInterruptInitiatorSocket::SignalInterruptInitiatorSocket(), and gem5::SignalInterruptInitiatorSocket::SignalInterruptInitiatorSocket().
|
inlinevirtual |
Definition at line 119 of file initiator_socket.hh.
References tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_export(), and tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_port().
|
inlinevirtual |
Definition at line 133 of file initiator_socket.hh.
References tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_export().
|
inlinevirtual |
Implements tlm::tlm_base_initiator_socket_b< BUSWIDTH, FW_IF, BW_IF >.
Reimplemented in tlm_utils::multi_passthrough_initiator_socket< MODULE, BUSWIDTH, TYPES, N, POL >, tlm_utils::multi_passthrough_initiator_socket< MODULE, 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ZERO_OR_MORE_BOUND >, and tlm_utils::multi_passthrough_initiator_socket< MultiSocketSimpleSwitchAT >.
Definition at line 167 of file initiator_socket.hh.
References tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_export.
Referenced by tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind(), and tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind().
|
inlinevirtual |
Implements tlm::tlm_base_initiator_socket_b< BUSWIDTH, FW_IF, BW_IF >.
Reimplemented in tlm_utils::multi_passthrough_initiator_socket< MODULE, BUSWIDTH, TYPES, N, POL >, tlm_utils::multi_passthrough_initiator_socket< MODULE, 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ZERO_OR_MORE_BOUND >, and tlm_utils::multi_passthrough_initiator_socket< MultiSocketSimpleSwitchAT >.
Definition at line 169 of file initiator_socket.hh.
References tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_export.
|
inlinevirtual |
Implements tlm::tlm_base_initiator_socket_b< BUSWIDTH, FW_IF, BW_IF >.
Reimplemented in tlm_utils::multi_passthrough_initiator_socket< MODULE, BUSWIDTH, TYPES, N, POL >, tlm_utils::multi_passthrough_initiator_socket< MODULE, 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ZERO_OR_MORE_BOUND >, and tlm_utils::multi_passthrough_initiator_socket< MultiSocketSimpleSwitchAT >.
Definition at line 164 of file initiator_socket.hh.
References tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_export.
Referenced by tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind().
|
inlinevirtual |
Implements tlm::tlm_base_initiator_socket_b< BUSWIDTH, FW_IF, BW_IF >.
Reimplemented in tlm_utils::multi_passthrough_initiator_socket< MODULE, BUSWIDTH, TYPES, N, POL >, tlm_utils::multi_passthrough_initiator_socket< MODULE, 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ZERO_OR_MORE_BOUND >, and tlm_utils::multi_passthrough_initiator_socket< MultiSocketSimpleSwitchAT >.
Definition at line 165 of file initiator_socket.hh.
References tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_export.
|
inlinevirtual |
Implements tlm::tlm_base_initiator_socket_b< BUSWIDTH, FW_IF, BW_IF >.
Definition at line 157 of file initiator_socket.hh.
Referenced by tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind(), and tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind().
|
inlinevirtual |
Implements tlm::tlm_base_initiator_socket_b< BUSWIDTH, FW_IF, BW_IF >.
Definition at line 159 of file initiator_socket.hh.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 149 of file initiator_socket.hh.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 143 of file initiator_socket.hh.
References tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_export.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 145 of file initiator_socket.hh.
References tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_export.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 137 of file initiator_socket.hh.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 139 of file initiator_socket.hh.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Reimplemented in tlm_utils::multi_init_base< BUSWIDTH, TYPES, N, POL >, tlm_utils::multi_init_base< 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ONE_OR_MORE_BOUND >, and tlm_utils::multi_init_base< BUSWIDTH, tlm::tlm_base_protocol_types, N, POL >.
Definition at line 151 of file initiator_socket.hh.
References tlm::TLM_INITIATOR_SOCKET.
|
inlinevirtual |
Reimplemented from sc_core::sc_port< FW_IF, N, POL >.
Reimplemented in gem5::ClockRateControlInitiatorSocket, gem5::SignalInterruptInitiatorSocket, tlm::tlm_initiator_socket< BUSWIDTH, TYPES, N, POL >, tlm::tlm_initiator_socket< 32 >, tlm::tlm_initiator_socket< 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ONE_OR_MORE_BOUND >, tlm::tlm_initiator_socket< BUSWIDTH, my_extended_payload_types, 1, sc_core::SC_ONE_OR_MORE_BOUND >, tlm::tlm_initiator_socket< BUSWIDTH, tlm::tlm_base_protocol_types, 1, POL >, tlm::tlm_initiator_socket< BUSWIDTH, tlm::tlm_base_protocol_types, 1, sc_core::SC_ONE_OR_MORE_BOUND >, tlm::tlm_initiator_socket< BUSWIDTH, tlm::tlm_base_protocol_types, N, POL >, and tlm::tlm_initiator_socket< BUSWIDTH, TYPES, 1, sc_core::SC_ONE_OR_MORE_BOUND >.
Definition at line 94 of file initiator_socket.hh.
|
inline |
Definition at line 112 of file initiator_socket.hh.
References tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind().
|
inline |
Definition at line 127 of file initiator_socket.hh.
References tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind().
|
inline |
Definition at line 134 of file initiator_socket.hh.
References tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind().
|
friend |
Definition at line 80 of file initiator_socket.hh.
|
protected |
Definition at line 175 of file initiator_socket.hh.
Referenced by tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_export(), tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_export(), tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_interface(), tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_interface(), tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_export_base(), and tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_export_base().