gem5  v22.0.0.1
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY > Class Template Reference

#include <sc_signal.hh>

Inheritance diagram for sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY >:
sc_gem5::ScSignalBinary< sc_dt::sc_logic, WRITER_POLICY > sc_gem5::ScSignalBaseT< sc_dt::sc_logic, WRITER_POLICY > sc_gem5::ScSignalBasePicker< sc_dt::sc_logic > sc_core::sc_signal_inout_if< sc_dt::sc_logic > sc_gem5::ScSignalBaseBinary sc_core::sc_signal_in_if< sc_dt::sc_logic > sc_core::sc_signal_write_if< sc_dt::sc_logic > sc_gem5::ScSignalBase sc_core::sc_interface sc_core::sc_interface sc_core::sc_prim_channel sc_core::sc_object

Public Member Functions

 sc_signal ()
 
 sc_signal (const char *name)
 
 sc_signal (const char *name, const sc_dt::sc_logic &initial_value)
 
virtual ~sc_signal ()
 
sc_signal< sc_dt::sc_logic, WRITER_POLICY > & operator= (const sc_dt::sc_logic &l)
 
sc_signal< sc_dt::sc_logic, WRITER_POLICY > & operator= (const sc_signal< sc_dt::sc_logic, WRITER_POLICY > &s)
 
- Public Member Functions inherited from sc_gem5::ScSignalBinary< sc_dt::sc_logic, WRITER_POLICY >
 ScSignalBinary (const char *_name)
 
 ScSignalBinary (const char *_name, const sc_dt::sc_logic &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< sc_dt::sc_logic, WRITER_POLICY >
 ScSignalBaseT (const char *_name)
 
 ScSignalBaseT (const char *_name, const sc_dt::sc_logic &initial_value)
 
virtual ~ScSignalBaseT ()
 
virtual void register_port (sc_core::sc_port_base &port, const char *iface_type_name)
 
virtual const sc_dt::sc_logicread () const
 
 operator const sc_dt::sc_logic & () const
 
virtual void write (const sc_dt::sc_logic &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_signal_in_if< sc_dt::sc_logic >
virtual const sc_dt::sc_logicread () const =0
 
virtual const sc_eventvalue_changed_event () const =0
 
virtual const sc_eventposedge_event () const =0
 
virtual const sc_eventnegedge_event () const =0
 
virtual bool event () const =0
 
virtual bool posedge () const =0
 
virtual bool negedge () const =0
 
- Public Member Functions inherited from sc_core::sc_interface
virtual const sc_eventdefault_event () const
 
virtual ~sc_interface ()
 

Protected Member Functions

virtual void update ()
 
void _signalChange ()
 
- Protected Member Functions inherited from sc_gem5::ScSignalBasePicker< sc_dt::sc_logic >
 ScSignalBasePicker (const char *_name)
 
- Protected Member Functions inherited from sc_gem5::ScSignalBaseBinary
 ScSignalBaseBinary (const char *_name)
 
void _signalReset (sc_gem5::Reset *reset)
 
void _signalReset ()
 
const sc_core::sc_eventposedgeEvent () const
 
const sc_core::sc_eventnegedgeEvent () const
 
bool posedge () const
 
bool negedge () const
 
void _signalPosedge ()
 
void _signalNegedge ()
 
- 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 ()
 
virtual sc_core::sc_writer_policy get_writer_policy () const =0
 
- 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 ()
 
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< sc_dt::sc_logic >
 sc_signal_inout_if ()
 
- Protected Member Functions inherited from sc_core::sc_signal_in_if< sc_dt::sc_logic >
 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< sc_dt::sc_logic >
 sc_signal_write_if ()
 

Private Member Functions

 sc_signal (const sc_signal< sc_dt::sc_logic, WRITER_POLICY > &)
 

Additional Inherited Members

- Protected Attributes inherited from sc_gem5::ScSignalBaseT< sc_dt::sc_logic, WRITER_POLICY >
sc_dt::sc_logic m_cur_val
 
sc_dt::sc_logic m_new_val
 
WriteChecker< WRITER_POLICY > _checker
 
- Protected Attributes inherited from sc_gem5::ScSignalBaseBinary
std::vector< sc_gem5::Reset * > _resets
 
InternalScEvent _posedgeEvent
 
InternalScEvent _negedgeEvent
 
uint64_t _posStamp
 
uint64_t _negStamp
 
- Protected Attributes inherited from sc_gem5::ScSignalBase
InternalScEvent _valueChangedEvent
 
uint64_t _changeStamp
 
sc_core::sc_port_base_gem5WriterPort
 

Detailed Description

template<sc_writer_policy WRITER_POLICY>
class sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY >

Definition at line 388 of file sc_signal.hh.

Constructor & Destructor Documentation

◆ sc_signal() [1/4]

template<sc_writer_policy WRITER_POLICY>
sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY >::sc_signal ( )
inline

Definition at line 392 of file sc_signal.hh.

◆ sc_signal() [2/4]

template<sc_writer_policy WRITER_POLICY>
sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY >::sc_signal ( const char *  name)
inlineexplicit

Definition at line 396 of file sc_signal.hh.

◆ sc_signal() [3/4]

template<sc_writer_policy WRITER_POLICY>
sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY >::sc_signal ( const char *  name,
const sc_dt::sc_logic initial_value 
)
inlineexplicit

Definition at line 399 of file sc_signal.hh.

◆ ~sc_signal()

template<sc_writer_policy WRITER_POLICY>
virtual sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY >::~sc_signal ( )
inlinevirtual

Definition at line 404 of file sc_signal.hh.

◆ sc_signal() [4/4]

template<sc_writer_policy WRITER_POLICY>
sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY >::sc_signal ( const sc_signal< sc_dt::sc_logic, WRITER_POLICY > &  )
private

Member Function Documentation

◆ _signalChange()

template<sc_writer_policy WRITER_POLICY>
void sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY >::_signalChange ( )
inlineprotected

◆ operator=() [1/2]

template<sc_writer_policy WRITER_POLICY>
sc_signal<sc_dt::sc_logic, WRITER_POLICY>& sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY >::operator= ( const sc_dt::sc_logic l)
inline

Definition at line 407 of file sc_signal.hh.

References sc_gem5::ScSignalBaseT< T, SC_ONE_WRITER >::write().

◆ operator=() [2/2]

template<sc_writer_policy WRITER_POLICY>
sc_signal<sc_dt::sc_logic, WRITER_POLICY>& sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY >::operator= ( const sc_signal< sc_dt::sc_logic, WRITER_POLICY > &  s)
inline

◆ update()

template<sc_writer_policy WRITER_POLICY>
virtual void sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY >::update ( )
inlineprotectedvirtual

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

Generated on Sat Jun 18 2022 08:15:24 for gem5 by doxygen 1.8.17