gem5  v20.1.0.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sc_gem5::ScSignalBase Class Referenceabstract

#include <sc_signal.hh>

Inheritance diagram for sc_gem5::ScSignalBase:
sc_core::sc_prim_channel sc_core::sc_object sc_gem5::ScSignalBaseBinary sc_gem5::ScSignalBasePicker< T > sc_gem5::ScSignalBasePicker< sc_dt::sc_lv< W > > sc_gem5::ScSignalBasePicker< bool > sc_gem5::ScSignalBasePicker< sc_dt::sc_logic > sc_gem5::ScSignalBaseT< T, WRITER_POLICY > sc_gem5::ScSignalBaseT< T, SC_ONE_WRITER > sc_gem5::ScSignalBaseT< sc_dt::sc_lv< W >, WRITER_POLICY > sc_gem5::ScSignalBaseT< bool, SC_ONE_WRITER > sc_gem5::ScSignalBaseT< bool, WRITER_POLICY > sc_gem5::ScSignalBaseT< sc_dt::sc_logic, WRITER_POLICY > sc_gem5::ScSignalBinary< T, WRITER_POLICY > sc_core::sc_signal< T, SC_ONE_WRITER > sc_core::sc_signal< T, WRITER_POLICY > sc_core::sc_signal< sc_dt::sc_lv< W >, SC_MANY_WRITERS > sc_core::sc_signal< bool > sc_gem5::ScSignalBinary< bool, WRITER_POLICY > sc_core::sc_signal< sc_dt::sc_logic, SC_MANY_WRITERS > sc_gem5::ScSignalBinary< sc_dt::sc_logic, WRITER_POLICY > sc_core::sc_buffer< T, WRITER_POLICY > sc_core::sc_signal_rv< W > sc_core::sc_clock sc_core::sc_signal< bool, WRITER_POLICY > sc_core::sc_signal_resolved sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY >

Public Member Functions

virtual const char * kind () const
 
- Public Member Functions inherited from sc_core::sc_object
const char * name () const
 
const char * basename () const
 
virtual void print (std::ostream &=std::cout) const
 
virtual void dump (std::ostream &=std::cout) 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
 

Protected Member Functions

 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 ()
 
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 Attributes

InternalScEvent _valueChangedEvent
 
uint64_t _changeStamp
 
sc_core::sc_port_base_gem5WriterPort
 

Detailed Description

Definition at line 54 of file sc_signal.hh.

Constructor & Destructor Documentation

◆ ScSignalBase()

sc_gem5::ScSignalBase::ScSignalBase ( const char *  _name)
protected

Definition at line 38 of file sc_signal.cc.

◆ ~ScSignalBase()

sc_gem5::ScSignalBase::~ScSignalBase ( )
protectedvirtual

Definition at line 43 of file sc_signal.cc.

Member Function Documentation

◆ _signalChange()

void sc_gem5::ScSignalBase::_signalChange ( )
protected

◆ defaultEvent()

const sc_core::sc_event & sc_gem5::ScSignalBase::defaultEvent ( ) const
protected

◆ event()

bool sc_gem5::ScSignalBase::event ( ) const
protected

◆ get_writer_policy()

virtual sc_core::sc_writer_policy sc_gem5::ScSignalBase::get_writer_policy ( ) const
protectedpure virtual

◆ kind()

virtual const char* sc_gem5::ScSignalBase::kind ( ) const
inlinevirtual

◆ valueChangedEvent()

const sc_core::sc_event & sc_gem5::ScSignalBase::valueChangedEvent ( ) const
protected

Member Data Documentation

◆ _changeStamp

uint64_t sc_gem5::ScSignalBase::_changeStamp
protected

Definition at line 73 of file sc_signal.hh.

Referenced by _signalChange(), and event().

◆ _gem5WriterPort

sc_core::sc_port_base* sc_gem5::ScSignalBase::_gem5WriterPort
protected

Definition at line 74 of file sc_signal.hh.

◆ _valueChangedEvent

InternalScEvent sc_gem5::ScSignalBase::_valueChangedEvent
protected

Definition at line 72 of file sc_signal.hh.

Referenced by _signalChange(), and valueChangedEvent().


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

Generated on Wed Sep 30 2020 14:03:10 for gem5 by doxygen 1.8.17