scc 2025.09
SystemC components library
tlm::scc::tlm_signal< SIG, TYPES, N > Struct Template Reference
Inheritance diagram for tlm::scc::tlm_signal< SIG, TYPES, N >:
Collaboration diagram for tlm::scc::tlm_signal< SIG, TYPES, N >:

Public Types

using tlm_signal_type = SIG
using protocol_types = TYPES
using payload_type = typename TYPES::tlm_payload_type
using phase_type = typename TYPES::tlm_phase_type
Public Types inherited from tlm::scc::tlm_signal_fw_transport_if< SIG, TYPES >
typedef TYPES protocol_types
Public Types inherited from tlm::scc::tlm_signal_bw_transport_if< SIG, TYPES >
typedef TYPES protocol_types

Public Member Functions

 SC_HAS_PROCESS (tlm_signal)
 tlm_signal (sc_core::sc_module_name nm)
void trace (sc_core::sc_trace_file *tf) const override
const char * kind () const override
tlm_sync_enum nb_transport_fw (payload_type &, phase_type &, sc_core::sc_time &) override
tlm_sync_enum nb_transport_bw (payload_type &, phase_type &, sc_core::sc_time &) override
const sc_core::sc_event & value_changed_event () const override
const SIG & read () const override
const SIG & get_data_ref () const override
bool event () const override
const sc_core::sc_event & default_event () const override
const sc_core::sc_event & posedge_event () const override
const sc_core::sc_event & negedge_event () const override
bool posedge () const override
bool negedge () const override
Public Member Functions inherited from tlm::scc::tlm_signal_fw_transport_if< SIG, TYPES >
virtual::tlm::tlm_sync_enum nb_transport_fw (typename TYPES::tlm_payload_type &, ::tlm::tlm_phase &, sc_core::sc_time &)=0
Public Member Functions inherited from tlm::scc::tlm_signal_bw_transport_if< SIG, TYPES >
virtual::tlm::tlm_sync_enum nb_transport_bw (typename TYPES::tlm_payload_type &, ::tlm::tlm_phase &, sc_core::sc_time &)=0

Public Attributes

tlm_signal_opt_target_socket< tlm_signal_type, protocol_types, N > in
tlm_signal_opt_initiator_socket< tlm_signal_type, protocol_types, N > out

Detailed Description

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
struct tlm::scc::tlm_signal< SIG, TYPES, N >

Definition at line 30 of file tlm_signal.h.

Member Typedef Documentation

◆ payload_type

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
using tlm::scc::tlm_signal< SIG, TYPES, N >::payload_type = typename TYPES::tlm_payload_type

Definition at line 36 of file tlm_signal.h.

◆ phase_type

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
using tlm::scc::tlm_signal< SIG, TYPES, N >::phase_type = typename TYPES::tlm_phase_type

Definition at line 37 of file tlm_signal.h.

◆ protocol_types

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
using tlm::scc::tlm_signal< SIG, TYPES, N >::protocol_types = TYPES

Definition at line 35 of file tlm_signal.h.

◆ tlm_signal_type

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
using tlm::scc::tlm_signal< SIG, TYPES, N >::tlm_signal_type = SIG

Definition at line 34 of file tlm_signal.h.

Constructor & Destructor Documentation

◆ tlm_signal()

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
tlm::scc::tlm_signal< SIG, TYPES, N >::tlm_signal ( sc_core::sc_module_name nm)
inline

Definition at line 45 of file tlm_signal.h.

Member Function Documentation

◆ default_event()

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
const sc_core::sc_event & tlm::scc::tlm_signal< SIG, TYPES, N >::default_event ( ) const
inlineoverride

Definition at line 72 of file tlm_signal.h.

◆ event()

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
bool tlm::scc::tlm_signal< SIG, TYPES, N >::event ( ) const
inlineoverride

Definition at line 70 of file tlm_signal.h.

◆ get_data_ref()

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
const SIG & tlm::scc::tlm_signal< SIG, TYPES, N >::get_data_ref ( ) const
inlineoverride

Definition at line 68 of file tlm_signal.h.

◆ kind()

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
const char * tlm::scc::tlm_signal< SIG, TYPES, N >::kind ( ) const
inlineoverride

Definition at line 57 of file tlm_signal.h.

◆ nb_transport_bw()

template<typename SIG, typename TYPES, int N>
tlm_sync_enum tlm::scc::tlm_signal< SIG, TYPES, N >::nb_transport_bw ( payload_type & gp,
phase_type & phase,
sc_core::sc_time & delay )
override

Definition at line 103 of file tlm_signal.h.

◆ nb_transport_fw()

template<typename SIG, typename TYPES, int N>
tlm_sync_enum tlm::scc::tlm_signal< SIG, TYPES, N >::nb_transport_fw ( payload_type & gp,
phase_type & phase,
sc_core::sc_time & delay )
override

Definition at line 93 of file tlm_signal.h.

◆ negedge()

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
bool tlm::scc::tlm_signal< SIG, TYPES, N >::negedge ( ) const
inlineoverride

Definition at line 80 of file tlm_signal.h.

◆ negedge_event()

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
const sc_core::sc_event & tlm::scc::tlm_signal< SIG, TYPES, N >::negedge_event ( ) const
inlineoverride

Definition at line 76 of file tlm_signal.h.

◆ posedge()

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
bool tlm::scc::tlm_signal< SIG, TYPES, N >::posedge ( ) const
inlineoverride

Definition at line 78 of file tlm_signal.h.

◆ posedge_event()

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
const sc_core::sc_event & tlm::scc::tlm_signal< SIG, TYPES, N >::posedge_event ( ) const
inlineoverride

Definition at line 74 of file tlm_signal.h.

◆ read()

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
const SIG & tlm::scc::tlm_signal< SIG, TYPES, N >::read ( ) const
inlineoverride

Definition at line 66 of file tlm_signal.h.

◆ trace()

template<typename SIG, typename TYPES, int N>
void tlm::scc::tlm_signal< SIG, TYPES, N >::trace ( sc_core::sc_trace_file * tf) const
override

Definition at line 88 of file tlm_signal.h.

◆ value_changed_event()

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
const sc_core::sc_event & tlm::scc::tlm_signal< SIG, TYPES, N >::value_changed_event ( ) const
inlineoverride

Definition at line 64 of file tlm_signal.h.

Member Data Documentation

◆ in

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
tlm_signal_opt_target_socket<tlm_signal_type, protocol_types, N> tlm::scc::tlm_signal< SIG, TYPES, N >::in

Definition at line 41 of file tlm_signal.h.

◆ out

template<typename SIG = bool, typename TYPES = tlm_signal_baseprotocol_types<SIG>, int N = 32>
tlm_signal_opt_initiator_socket<tlm_signal_type, protocol_types, N> tlm::scc::tlm_signal< SIG, TYPES, N >::out

Definition at line 43 of file tlm_signal.h.


The documentation for this struct was generated from the following file:
  • /home/eyck/Projects/MINRES/SystemC-Components/src/sysc/tlm/scc/tlm_signal.h