gem5  v21.2.1.1
Public Member Functions | Protected Attributes | List of all members
sc_gem5::ScSignalBaseT< T, WRITER_POLICY > Class Template Reference

#include <sc_signal.hh>

Inheritance diagram for sc_gem5::ScSignalBaseT< T, WRITER_POLICY >:
sc_gem5::ScSignalBasePicker< T > sc_core::sc_signal_inout_if< T > sc_gem5::ScSignalBase sc_core::sc_signal_in_if< T > sc_core::sc_signal_write_if< T > sc_core::sc_prim_channel sc_core::sc_interface sc_core::sc_interface sc_core::sc_object sc_gem5::ScSignalBinary< T, WRITER_POLICY > sc_core::sc_signal< T, SC_ONE_WRITER > sc_core::sc_buffer< T, WRITER_POLICY >

Public Member Functions

 ScSignalBaseT (const char *_name)
 
 ScSignalBaseT (const char *_name, const T &initial_value)
 
virtual ~ScSignalBaseT ()
 
virtual void register_port (sc_core::sc_port_base &port, const char *iface_type_name)
 
virtual const T & read () const
 
 operator const T & () const
 
virtual void write (const T &t)
 
virtual const sc_core::sc_eventdefault_event () const
 
virtual const sc_core::sc_eventvalue_changed_event () const
 
virtual void print (std::ostream &os=std::cout) const
 
virtual void dump (std::ostream &os=std::cout) const
 
virtual bool event () const
 
virtual sc_core::sc_writer_policy get_writer_policy () const
 
- Public Member Functions inherited from sc_gem5::ScSignalBase
virtual const char * kind () const
 
- Public Member Functions inherited from sc_core::sc_object
const char * name () const
 
const char * basename () const
 
virtual const std::vector< sc_object * > & get_child_objects () const
 
virtual const std::vector< sc_event * > & get_child_events () const
 
sc_objectget_parent_object () const
 
bool add_attribute (sc_attr_base &)
 
sc_attr_baseget_attribute (const std::string &)
 
sc_attr_baseremove_attribute (const std::string &)
 
void remove_all_attributes ()
 
int num_attributes () const
 
sc_attr_cltnattr_cltn ()
 
const sc_attr_cltnattr_cltn () const
 
sc_simcontextsimcontext () const
 
- Public Member Functions inherited from sc_core::sc_interface
virtual ~sc_interface ()
 

Protected Attributes

m_cur_val
 
m_new_val
 
WriteChecker< WRITER_POLICY > _checker
 
- Protected Attributes inherited from sc_gem5::ScSignalBase
InternalScEvent _valueChangedEvent
 
uint64_t _changeStamp
 
sc_core::sc_port_base_gem5WriterPort
 

Additional Inherited Members

- Protected Member Functions inherited from sc_gem5::ScSignalBasePicker< T >
 ScSignalBasePicker (const char *_name)
 
- Protected Member Functions inherited from sc_gem5::ScSignalBase
 ScSignalBase (const char *_name)
 
virtual ~ScSignalBase ()
 
const sc_core::sc_eventdefaultEvent () const
 
const sc_core::sc_eventvalueChangedEvent () const
 
bool event () const
 
void _signalChange ()
 
- Protected Member Functions inherited from sc_core::sc_prim_channel
 sc_prim_channel ()
 
 sc_prim_channel (const char *)
 
virtual ~sc_prim_channel ()
 
void request_update ()
 
void async_request_update ()
 
virtual void update ()
 
void next_trigger ()
 
void next_trigger (const sc_event &)
 
void next_trigger (const sc_event_or_list &)
 
void next_trigger (const sc_event_and_list &)
 
void next_trigger (const sc_time &)
 
void next_trigger (double, sc_time_unit)
 
void next_trigger (const sc_time &, const sc_event &)
 
void next_trigger (double, sc_time_unit, const sc_event &)
 
void next_trigger (const sc_time &, const sc_event_or_list &)
 
void next_trigger (double, sc_time_unit, const sc_event_or_list &)
 
void next_trigger (const sc_time &, const sc_event_and_list &)
 
void next_trigger (double, sc_time_unit, const sc_event_and_list &)
 
bool timed_out ()
 
void wait ()
 
void wait (int)
 
void wait (const sc_event &)
 
void wait (const sc_event_or_list &)
 
void wait (const sc_event_and_list &)
 
void wait (const sc_time &)
 
void wait (double, sc_time_unit)
 
void wait (const sc_time &, const sc_event &)
 
void wait (double, sc_time_unit, const sc_event &)
 
void wait (const sc_time &, const sc_event_or_list &)
 
void wait (double, sc_time_unit, const sc_event_or_list &)
 
void wait (const sc_time &, const sc_event_and_list &)
 
void wait (double, sc_time_unit, const sc_event_and_list &)
 
virtual void before_end_of_elaboration ()
 
virtual void end_of_elaboration ()
 
virtual void start_of_simulation ()
 
virtual void end_of_simulation ()
 
- Protected Member Functions inherited from sc_core::sc_object
 sc_object ()
 
 sc_object (const char *)
 
 sc_object (const sc_object &)
 
sc_objectoperator= (const sc_object &)
 
virtual ~sc_object ()
 
- Protected Member Functions inherited from sc_core::sc_signal_inout_if< T >
 sc_signal_inout_if ()
 
- Protected Member Functions inherited from sc_core::sc_signal_in_if< T >
 sc_signal_in_if ()
 
- Protected Member Functions inherited from sc_core::sc_interface
 sc_interface ()
 
- Protected Member Functions inherited from sc_core::sc_signal_write_if< T >
 sc_signal_write_if ()
 

Detailed Description

template<class T, sc_core::sc_writer_policy WRITER_POLICY>
class sc_gem5::ScSignalBaseT< T, WRITER_POLICY >

Definition at line 160 of file sc_signal.hh.

Constructor & Destructor Documentation

◆ ScSignalBaseT() [1/2]

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::ScSignalBaseT ( const char *  _name)
inline

Definition at line 164 of file sc_signal.hh.

◆ ScSignalBaseT() [2/2]

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::ScSignalBaseT ( const char *  _name,
const T &  initial_value 
)
inline

Definition at line 168 of file sc_signal.hh.

◆ ~ScSignalBaseT()

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
virtual sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::~ScSignalBaseT ( )
inlinevirtual

Definition at line 172 of file sc_signal.hh.

Member Function Documentation

◆ default_event()

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
virtual const sc_core::sc_event& sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::default_event ( ) const
inlinevirtual

Reimplemented from sc_core::sc_interface.

Definition at line 203 of file sc_signal.hh.

◆ dump()

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
virtual void sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::dump ( std::ostream &  os = std::cout) const
inlinevirtual

Reimplemented from sc_core::sc_object.

Definition at line 216 of file sc_signal.hh.

◆ event()

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
virtual bool sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::event ( ) const
inlinevirtual

Implements sc_core::sc_signal_in_if< T >.

Definition at line 223 of file sc_signal.hh.

◆ get_writer_policy()

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
virtual sc_core::sc_writer_policy sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::get_writer_policy ( ) const
inlinevirtual

Implements sc_gem5::ScSignalBase.

Definition at line 226 of file sc_signal.hh.

◆ operator const T &()

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::operator const T & ( ) const
inline

Definition at line 186 of file sc_signal.hh.

◆ print()

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
virtual void sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::print ( std::ostream &  os = std::cout) const
inlinevirtual

Reimplemented from sc_core::sc_object.

Definition at line 214 of file sc_signal.hh.

◆ read()

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
virtual const T& sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::read ( ) const
inlinevirtual

◆ register_port()

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
virtual void sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::register_port ( sc_core::sc_port_base port,
const char *  iface_type_name 
)
inlinevirtual

Reimplemented from sc_core::sc_interface.

Reimplemented in sc_core::sc_signal_rv< W >, and sc_core::sc_signal_resolved.

Definition at line 175 of file sc_signal.hh.

◆ value_changed_event()

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
virtual const sc_core::sc_event& sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::value_changed_event ( ) const
inlinevirtual

Implements sc_core::sc_signal_in_if< T >.

Definition at line 209 of file sc_signal.hh.

◆ write()

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
virtual void sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::write ( const T &  t)
inlinevirtual

Member Data Documentation

◆ _checker

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
WriteChecker<WRITER_POLICY> sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::_checker
protected

◆ m_cur_val

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
T sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::m_cur_val
protected

◆ m_new_val

template<class T , sc_core::sc_writer_policy WRITER_POLICY>
T sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::m_new_val
protected

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

Generated on Wed May 4 2022 12:16:41 for gem5 by doxygen 1.8.17