|
gem5 v23.0.0.1
|
#include <target_socket.hh>
Public Types | |
| typedef FW_IF | fw_interface_type |
| typedef BW_IF | bw_interface_type |
| typedef sc_core::sc_port< bw_interface_type, N, POL > | port_type |
| typedef sc_core::sc_export< fw_interface_type > | export_type |
| typedef tlm_base_initiator_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type > | base_initiator_socket_type |
| typedef tlm_base_target_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type > | base_type |
Public Member Functions | |
| tlm_base_target_socket () | |
| tlm_base_target_socket (const char *name) | |
| virtual const char * | kind () const |
| virtual void | bind (base_initiator_socket_type &s) |
| void | operator() (base_initiator_socket_type &s) |
| virtual void | bind (base_type &s) |
| void | operator() (base_type &s) |
| virtual void | bind (fw_interface_type &ifs) |
| void | operator() (fw_interface_type &s) |
| int | size () const |
| bw_interface_type * | operator-> () |
| bw_interface_type * | operator[] (int i) |
| 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< BW_IF > & | get_base_port () |
| virtual sc_core::sc_port_b< BW_IF > const & | get_base_port () const |
| virtual FW_IF & | get_base_interface () |
| virtual FW_IF const & | get_base_interface () const |
| virtual sc_core::sc_export< FW_IF > & | get_base_export () |
| virtual sc_core::sc_export< FW_IF > const & | get_base_export () const |
Public Member Functions inherited from tlm::tlm_base_socket_if | |
| virtual sc_core::sc_port_base & | get_port_base ()=0 |
| virtual sc_core::sc_port_base const & | get_port_base () const =0 |
| virtual sc_core::sc_export_base & | get_export_base ()=0 |
| virtual sc_core::sc_export_base const & | get_export_base () const =0 |
| virtual unsigned int | get_bus_width () const =0 |
| virtual std::type_index | get_protocol_types () const =0 |
| virtual tlm_socket_category | get_socket_category () const =0 |
Public Member Functions inherited from tlm::tlm_base_target_socket_b< BUSWIDTH, FW_IF, BW_IF > | |
| virtual | ~tlm_base_target_socket_b () |
| virtual sc_core::sc_port_b< BW_IF > & | get_base_port ()=0 |
| virtual sc_core::sc_export< FW_IF > & | get_base_export ()=0 |
| virtual FW_IF & | get_base_interface ()=0 |
Public Member Functions inherited from sc_core::sc_export< IF > | |
| sc_export () | |
| sc_export (const char *n) | |
| virtual | ~sc_export () |
| virtual const char * | kind () const override |
| void | operator() (IF &i) |
| virtual void | bind (IF &i) |
| operator IF & () | |
| operator const IF & () const | |
| IF * | operator-> () |
| const IF * | operator-> () const |
| sc_interface * | get_iterface () override |
| const sc_interface * | get_interface () const override |
Public Member Functions inherited from sc_core::sc_export_base | |
| sc_export_base (const char *n) | |
| ~sc_export_base () | |
| virtual sc_interface * | get_iterface ()=0 |
| virtual const sc_interface * | get_interface () const =0 |
Public Member Functions inherited from sc_core::sc_object | |
| const char * | name () const |
| const char * | basename () const |
| virtual const char * | kind () 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 | |
| port_type | m_port |
Friends | |
| template<unsigned int , typename , typename , int , sc_core::sc_port_policy > | |
| class | tlm_base_initiator_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_export< IF > | |
| void | before_end_of_elaboration () override |
| void | end_of_elaboration () override |
| void | start_of_simulation () override |
| void | end_of_simulation () override |
| virtual void | before_end_of_elaboration ()=0 |
| virtual void | end_of_elaboration ()=0 |
| virtual void | start_of_simulation ()=0 |
| virtual void | end_of_simulation ()=0 |
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 53 of file target_socket.hh.
| typedef tlm_base_initiator_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type> tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::base_initiator_socket_type |
Definition at line 66 of file target_socket.hh.
| typedef tlm_base_target_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type> tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::base_type |
Definition at line 69 of file target_socket.hh.
| typedef BW_IF tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bw_interface_type |
Definition at line 60 of file target_socket.hh.
| typedef sc_core::sc_export<fw_interface_type> tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::export_type |
Definition at line 63 of file target_socket.hh.
| typedef FW_IF tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::fw_interface_type |
Definition at line 59 of file target_socket.hh.
| typedef sc_core::sc_port<bw_interface_type, N, POL> tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::port_type |
Definition at line 61 of file target_socket.hh.
|
inline |
Definition at line 75 of file target_socket.hh.
|
inlineexplicit |
Definition at line 80 of file target_socket.hh.
|
inlinevirtual |
Definition at line 95 of file target_socket.hh.
References tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_interface(), and tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_port().
Referenced by tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator()(), tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator()(), tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator()(), tlm_utils::passthrough_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::passthrough_target_socket_b(), tlm_utils::passthrough_target_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL >::passthrough_target_socket_tagged_b(), tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::simple_target_socket_b(), and tlm_utils::simple_target_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL >::simple_target_socket_tagged_b().
|
inlinevirtual |
Definition at line 110 of file target_socket.hh.
References tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_export(), and tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_port().
|
inlinevirtual |
Definition at line 125 of file target_socket.hh.
References sc_core::sc_export< IF >::bind(), and tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_export().
|
inlinevirtual |
Implements tlm::tlm_base_target_socket_b< BUSWIDTH, FW_IF, BW_IF >.
Reimplemented in tlm_utils::multi_passthrough_target_socket< MODULE, BUSWIDTH, TYPES, N, POL >, tlm_utils::multi_passthrough_target_socket< MODULE, 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ZERO_OR_MORE_BOUND >, and tlm_utils::multi_passthrough_target_socket< MultiSocketSimpleSwitchAT >.
Definition at line 183 of file target_socket.hh.
Referenced by tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind(), and tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind().
|
inlinevirtual |
Reimplemented in tlm_utils::multi_passthrough_target_socket< MODULE, BUSWIDTH, TYPES, N, POL >, tlm_utils::multi_passthrough_target_socket< MODULE, 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ZERO_OR_MORE_BOUND >, and tlm_utils::multi_passthrough_target_socket< MultiSocketSimpleSwitchAT >.
Definition at line 185 of file target_socket.hh.
|
inlinevirtual |
Implements tlm::tlm_base_target_socket_b< BUSWIDTH, FW_IF, BW_IF >.
Reimplemented in tlm_utils::multi_passthrough_target_socket< MODULE, BUSWIDTH, TYPES, N, POL >, tlm_utils::multi_passthrough_target_socket< MODULE, 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ZERO_OR_MORE_BOUND >, and tlm_utils::multi_passthrough_target_socket< MultiSocketSimpleSwitchAT >.
Definition at line 180 of file target_socket.hh.
Referenced by tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind().
|
inlinevirtual |
Reimplemented in tlm_utils::multi_passthrough_target_socket< MODULE, BUSWIDTH, TYPES, N, POL >, tlm_utils::multi_passthrough_target_socket< MODULE, 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ZERO_OR_MORE_BOUND >, and tlm_utils::multi_passthrough_target_socket< MultiSocketSimpleSwitchAT >.
Definition at line 181 of file target_socket.hh.
|
inlinevirtual |
Implements tlm::tlm_base_target_socket_b< BUSWIDTH, FW_IF, BW_IF >.
Definition at line 173 of file target_socket.hh.
References tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_port.
Referenced by tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind(), and tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind().
|
inlinevirtual |
Definition at line 175 of file target_socket.hh.
References tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_port.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 165 of file target_socket.hh.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 159 of file target_socket.hh.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 161 of file target_socket.hh.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 153 of file target_socket.hh.
References tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_port.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 155 of file target_socket.hh.
References tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_port.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Reimplemented in tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >, tlm_utils::multi_target_base< 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ONE_OR_MORE_BOUND >, and tlm_utils::multi_target_base< BUSWIDTH, tlm::tlm_base_protocol_types, N, POL >.
Definition at line 167 of file target_socket.hh.
References tlm::TLM_TARGET_SOCKET.
|
inlinevirtual |
Reimplemented from sc_core::sc_export< IF >.
Reimplemented in tlm::tlm_target_socket< BUSWIDTH, TYPES, N, POL >, tlm::tlm_target_socket< 32 >, tlm::tlm_target_socket< 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ONE_OR_MORE_BOUND >, tlm::tlm_target_socket< BUSWIDTH, my_extended_payload_types, 1, sc_core::SC_ONE_OR_MORE_BOUND >, tlm::tlm_target_socket< BUSWIDTH, tlm::tlm_base_protocol_types, 1, POL >, tlm::tlm_target_socket< BUSWIDTH, tlm::tlm_base_protocol_types, 1, sc_core::SC_ONE_OR_MORE_BOUND >, tlm::tlm_target_socket< BUSWIDTH, tlm::tlm_base_protocol_types, N, POL >, tlm::tlm_target_socket< BUSWIDTH, TYPES, 1, sc_core::SC_ONE_OR_MORE_BOUND >, gem5::ClockRateControlTargetSocket, and gem5::SignalInterruptTargetSocket.
Definition at line 85 of file target_socket.hh.
|
inline |
Definition at line 103 of file target_socket.hh.
References tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind().
|
inline |
Definition at line 118 of file target_socket.hh.
References tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind().
|
inline |
Definition at line 135 of file target_socket.hh.
References tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind().
|
inline |
Definition at line 145 of file target_socket.hh.
References tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_port.
|
inline |
Definition at line 150 of file target_socket.hh.
References tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_port.
|
inline |
Definition at line 140 of file target_socket.hh.
References tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_port, and sc_core::sc_port_base::size().
|
friend |
Definition at line 72 of file target_socket.hh.
|
protected |
Definition at line 191 of file target_socket.hh.
Referenced by tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_port(), tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_port(), tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_port_base(), tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_port_base(), tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator->(), tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator[](), and tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::size().