scc  2022.4.0
SystemC components library
tlm::scc::signal_initiator_mixin< BASE_TYPE > Class Template Reference
Inheritance diagram for tlm::scc::signal_initiator_mixin< BASE_TYPE >:
Collaboration diagram for tlm::scc::signal_initiator_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_initiator_mixin (const char *n)
 
void write_now (tlm_signal_type value)
 
template<typename EXT_TYPE >
void write_now (tlm_signal_type value, EXT_TYPE *ext)
 
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_bw call More...
 

Public Attributes

bool error_if_no_callback
 

Detailed Description

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

Definition at line 30 of file signal_initiator_mixin.h.

Member Function Documentation

◆ register_nb_transport() [1/2]

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

Definition at line 80 of file signal_initiator_mixin.h.

◆ register_nb_transport() [2/2]

template<typename BASE_TYPE >
void tlm::scc::signal_initiator_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_bw call

Parameters
cbthe callback function
tagthe tag to be used in the callback

Definition at line 91 of file signal_initiator_mixin.h.


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