gem5 v24.0.0.0
|
#include <simple_target_socket.h>
Classes | |
class | bw_process |
class | fw_process |
Public Types | |
typedef TYPES::tlm_payload_type | transaction_type |
typedef TYPES::tlm_phase_type | phase_type |
typedef tlm::tlm_sync_enum | sync_enum_type |
typedef tlm::tlm_fw_transport_if< TYPES > | fw_interface_type |
typedef tlm::tlm_bw_transport_if< TYPES > | bw_interface_type |
typedef tlm::tlm_target_socket< BUSWIDTH, TYPES, 1, POL > | base_type |
Public Types inherited from tlm::tlm_base_target_socket< BUSWIDTH, tlm_fw_transport_if< TYPES >, tlm_bw_transport_if< TYPES >, N, POL > | |
typedef tlm_fw_transport_if< TYPES > | fw_interface_type |
typedef tlm_bw_transport_if< TYPES > | 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 |
Static Public Member Functions | |
static const char * | default_name () |
Protected Member Functions | |
void | start_of_simulation () |
Protected Member Functions inherited from tlm::tlm_base_socket_if | |
virtual | ~tlm_base_socket_if () |
Protected Member Functions inherited from sc_core::sc_export< tlm_fw_transport_if< TYPES > > | |
void | before_end_of_elaboration () override |
void | end_of_elaboration () override |
void | end_of_simulation () override |
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 () |
Protected Member Functions inherited from tlm_utils::simple_socket_base | |
void | elaboration_check (const char *action) const |
Protected Member Functions inherited from tlm_utils::convenience_socket_base | |
virtual | ~convenience_socket_base () |
void | display_warning (const char *msg) const |
void | display_error (const char *msg) const |
Private Member Functions | |
sync_enum_type | bw_nb_transport (transaction_type &trans, phase_type &phase, sc_core::sc_time &t) |
void | bw_invalidate_direct_mem_ptr (sc_dt::uint64 s, sc_dt::uint64 e) |
const sc_core::sc_object * | get_socket () const |
Private Attributes | |
fw_process | m_fw_process |
bw_process | m_bw_process |
std::map< transaction_type *, sc_core::sc_event * > | m_pending_trans |
sc_core::sc_event | m_end_request |
transaction_type * | m_current_transaction |
Friends | |
class | fw_process |
class | bw_process |
Additional Inherited Members | |
Protected Attributes inherited from tlm::tlm_base_target_socket< BUSWIDTH, tlm_fw_transport_if< TYPES >, tlm_bw_transport_if< TYPES >, N, POL > | |
port_type | m_port |
Definition at line 40 of file simple_target_socket.h.
typedef tlm::tlm_target_socket<BUSWIDTH, TYPES, 1, POL> tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::base_type |
Definition at line 52 of file simple_target_socket.h.
typedef tlm::tlm_bw_transport_if<TYPES> tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::bw_interface_type |
Definition at line 51 of file simple_target_socket.h.
typedef tlm::tlm_fw_transport_if<TYPES> tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::fw_interface_type |
Definition at line 50 of file simple_target_socket.h.
typedef TYPES::tlm_phase_type tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::phase_type |
Definition at line 48 of file simple_target_socket.h.
typedef tlm::tlm_sync_enum tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::sync_enum_type |
Definition at line 49 of file simple_target_socket.h.
typedef TYPES::tlm_payload_type tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::transaction_type |
Definition at line 47 of file simple_target_socket.h.
|
inlineexplicit |
|
inlineprivate |
Definition at line 124 of file simple_target_socket.h.
References sc_core::sc_export< tlm_fw_transport_if< tlm_base_protocol_types > >::operator->().
|
inlineprivate |
Definition at line 117 of file simple_target_socket.h.
References sc_core::sc_export< tlm_fw_transport_if< tlm_base_protocol_types > >::operator->().
|
inlinestatic |
Definition at line 56 of file simple_target_socket.h.
References sc_core::sc_gen_unique_name().
|
inlineprivatevirtual |
Implements tlm_utils::convenience_socket_base.
Definition at line 576 of file simple_target_socket.h.
|
inline |
Definition at line 70 of file simple_target_socket.h.
References tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::m_bw_process.
|
inline |
Definition at line 83 of file simple_target_socket.h.
References tlm_utils::simple_socket_base::elaboration_check(), tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::m_fw_process, and tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::set_b_transport_ptr().
Referenced by ExplicitLTTarget::ExplicitLTTarget().
|
inline |
Definition at line 99 of file simple_target_socket.h.
References tlm_utils::simple_socket_base::elaboration_check(), tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::m_fw_process, and tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::set_get_direct_mem_ptr().
Referenced by adapt_ext2gp< BUSWIDTH >::adapt_ext2gp(), adapt_gp2ext< BUSWIDTH >::adapt_gp2ext(), and SimpleLTTarget_ext::SimpleLTTarget_ext().
|
inline |
Definition at line 74 of file simple_target_socket.h.
References tlm_utils::simple_socket_base::elaboration_check(), tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::m_fw_process, and tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::set_nb_transport_ptr().
Referenced by adapt_ext2gp< BUSWIDTH >::adapt_ext2gp(), adapt_gp2ext< BUSWIDTH >::adapt_gp2ext(), ExplicitATTarget::ExplicitATTarget(), SimpleATTarget1::SimpleATTarget1(), SimpleATTarget2::SimpleATTarget2(), and SimpleLTTarget_ext::SimpleLTTarget_ext().
|
inline |
Definition at line 91 of file simple_target_socket.h.
References tlm_utils::simple_socket_base::elaboration_check(), tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::m_fw_process, and tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::set_transport_dbg_ptr().
Referenced by adapt_ext2gp< BUSWIDTH >::adapt_ext2gp(), adapt_gp2ext< BUSWIDTH >::adapt_gp2ext(), ExplicitATTarget::ExplicitATTarget(), ExplicitLTTarget::ExplicitLTTarget(), and SimpleLTTarget_ext::SimpleLTTarget_ext().
|
inlineprotectedvirtual |
Reimplemented from sc_core::sc_export< tlm_fw_transport_if< TYPES > >.
Definition at line 108 of file simple_target_socket.h.
References tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::m_fw_process, sc_core::sc_export_base::start_of_simulation(), and tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::start_of_simulation().
|
friend |
Definition at line 45 of file simple_target_socket.h.
|
friend |
Definition at line 44 of file simple_target_socket.h.
|
private |
Definition at line 580 of file simple_target_socket.h.
Referenced by tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::operator->().
|
private |
Definition at line 583 of file simple_target_socket.h.
|
private |
Definition at line 582 of file simple_target_socket.h.
|
private |
Definition at line 579 of file simple_target_socket.h.
Referenced by tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::register_b_transport(), tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::register_get_direct_mem_ptr(), tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::register_nb_transport_fw(), tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::register_transport_dbg(), tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::simple_target_socket_b(), and tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::start_of_simulation().
|
private |
Definition at line 581 of file simple_target_socket.h.