gem5 v24.0.0.0
Loading...
Searching...
No Matches
sc_gem5::ScSignalBinary< T, WRITER_POLICY > Class Template Reference

#include <sc_signal.hh>

Inheritance diagram for sc_gem5::ScSignalBinary< T, WRITER_POLICY >:
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

Public Member Functions

 ScSignalBinary (const char *_name)
 
 ScSignalBinary (const char *_name, const T &initial_value)
 
const sc_core::sc_eventposedge_event () const
 
const sc_core::sc_eventnegedge_event () const
 
bool posedge () const
 
bool negedge () const
 
- Public Member Functions inherited from sc_gem5::ScSignalBaseT< T, WRITER_POLICY >
 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 ()
 

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 ()
 
- Protected Attributes inherited from sc_gem5::ScSignalBaseT< T, WRITER_POLICY >
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
 

Detailed Description

template<typename T, sc_core::sc_writer_policy WRITER_POLICY>
class sc_gem5::ScSignalBinary< T, WRITER_POLICY >

Definition at line 242 of file sc_signal.hh.

Constructor & Destructor Documentation

◆ ScSignalBinary() [1/2]

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

Definition at line 245 of file sc_signal.hh.

◆ ScSignalBinary() [2/2]

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

Definition at line 247 of file sc_signal.hh.

Member Function Documentation

◆ negedge()

template<typename T , sc_core::sc_writer_policy WRITER_POLICY>
bool sc_gem5::ScSignalBinary< T, WRITER_POLICY >::negedge ( ) const
inline

Definition at line 263 of file sc_signal.hh.

References sc_gem5::ScSignalBaseBinary::negedge().

◆ negedge_event()

template<typename T , sc_core::sc_writer_policy WRITER_POLICY>
const sc_core::sc_event & sc_gem5::ScSignalBinary< T, WRITER_POLICY >::negedge_event ( ) const
inline

Definition at line 257 of file sc_signal.hh.

References sc_gem5::ScSignalBaseBinary::negedgeEvent().

◆ posedge()

template<typename T , sc_core::sc_writer_policy WRITER_POLICY>
bool sc_gem5::ScSignalBinary< T, WRITER_POLICY >::posedge ( ) const
inline

Definition at line 262 of file sc_signal.hh.

References sc_gem5::ScSignalBaseBinary::posedge().

◆ posedge_event()

template<typename T , sc_core::sc_writer_policy WRITER_POLICY>
const sc_core::sc_event & sc_gem5::ScSignalBinary< T, WRITER_POLICY >::posedge_event ( ) const
inline

Definition at line 252 of file sc_signal.hh.

References sc_gem5::ScSignalBaseBinary::posedgeEvent().


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

Generated on Tue Jun 18 2024 16:24:56 for gem5 by doxygen 1.11.0