scc  2022.4.0
SystemC components library
tlm::scc::signal_target_mixin< BASE_TYPE > Class Template Reference
Inheritance diagram for tlm::scc::signal_target_mixin< BASE_TYPE >:
Collaboration diagram for tlm::scc::signal_target_mixin< BASE_TYPE >:

Public Types

using tlm_signal_type = typename BASE_TYPE::tlm_signal_type
 
using transaction_type = typename BASE_TYPE::transaction_type
 
using phase_type = typename BASE_TYPE::phase_type
 
using sync_enum_type = tlm::tlm_sync_enum
 
using fw_interface_type = tlm_signal_fw_transport_if< tlm_signal_type, typename BASE_TYPE::protocol_types >
 
using bw_interface_type = tlm_signal_bw_transport_if< tlm_signal_type, typename BASE_TYPE::protocol_types >
 

Public Member Functions

 signal_target_mixin (const char *n)
 
void register_nb_transport (std::function< sync_enum_type(transaction_type &, phase_type &, sc_core::sc_time &)> cb)
 
void register_nb_transport (std::function< sync_enum_type(unsigned int, transaction_type &, phase_type &, sc_core::sc_time &)> cb, unsigned int tag)
 register a functor for nb_transport_fw call More...
 

Public Attributes

bool error_if_no_callback
 

Detailed Description

template<typename BASE_TYPE>
class tlm::scc::signal_target_mixin< BASE_TYPE >

Definition at line 29 of file signal_target_mixin.h.

Constructor & Destructor Documentation

◆ signal_target_mixin()

template<typename BASE_TYPE >
tlm::scc::signal_target_mixin< BASE_TYPE >::signal_target_mixin ( const char *  n)
inlineexplicit
Parameters
n

Definition at line 48 of file signal_target_mixin.h.

Member Function Documentation

◆ register_nb_transport() [1/2]

template<typename BASE_TYPE >
void tlm::scc::signal_target_mixin< BASE_TYPE >::register_nb_transport ( std::function< sync_enum_type(transaction_type &, phase_type &, sc_core::sc_time &)>  cb)
inline
Parameters
cb

Definition at line 61 of file signal_target_mixin.h.

◆ register_nb_transport() [2/2]

template<typename BASE_TYPE >
void tlm::scc::signal_target_mixin< BASE_TYPE >::register_nb_transport ( std::function< sync_enum_type(unsigned int, transaction_type &, phase_type &, sc_core::sc_time &)>  cb,
unsigned int  tag 
)
inline

register a functor for nb_transport_fw call

Parameters
cbthe callback functor
tagthe tag to be used with the functor

Definition at line 72 of file signal_target_mixin.h.


The documentation for this class was generated from the following file: