gem5  v20.1.0.0
Protected Member Functions | Protected Attributes | List of all members
sc_gem5::ScSignalBaseBinary Class Reference

#include <sc_signal.hh>

Inheritance diagram for sc_gem5::ScSignalBaseBinary:
sc_gem5::ScSignalBase sc_core::sc_prim_channel sc_core::sc_object sc_gem5::ScSignalBasePicker< bool > sc_gem5::ScSignalBasePicker< sc_dt::sc_logic > sc_gem5::ScSignalBaseT< bool, SC_ONE_WRITER > sc_gem5::ScSignalBaseT< bool, WRITER_POLICY > sc_gem5::ScSignalBaseT< sc_dt::sc_logic, WRITER_POLICY > 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_clock sc_core::sc_signal< bool, WRITER_POLICY > sc_core::sc_signal_resolved sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY >

Protected Member Functions

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

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
 

Additional Inherited Members

- 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 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
 

Detailed Description

Definition at line 77 of file sc_signal.hh.

Constructor & Destructor Documentation

◆ ScSignalBaseBinary()

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

Definition at line 159 of file sc_signal.cc.

Member Function Documentation

◆ _signalNegedge()

void sc_gem5::ScSignalBaseBinary::_signalNegedge ( )
protected

◆ _signalPosedge()

void sc_gem5::ScSignalBaseBinary::_signalPosedge ( )
protected

◆ _signalReset() [1/2]

void sc_gem5::ScSignalBaseBinary::_signalReset ( )
protected

Definition at line 194 of file sc_signal.cc.

References _resets, and MipsISA::r.

◆ _signalReset() [2/2]

void sc_gem5::ScSignalBaseBinary::_signalReset ( sc_gem5::Reset reset)
protected

Definition at line 188 of file sc_signal.cc.

References MipsISA::r.

◆ negedge()

bool sc_gem5::ScSignalBaseBinary::negedge ( ) const
protected

◆ negedgeEvent()

const sc_core::sc_event & sc_gem5::ScSignalBaseBinary::negedgeEvent ( ) const
protected

◆ posedge()

bool sc_gem5::ScSignalBaseBinary::posedge ( ) const
protected

◆ posedgeEvent()

const sc_core::sc_event & sc_gem5::ScSignalBaseBinary::posedgeEvent ( ) const
protected

Member Data Documentation

◆ _negedgeEvent

InternalScEvent sc_gem5::ScSignalBaseBinary::_negedgeEvent
protected

Definition at line 93 of file sc_signal.hh.

Referenced by _signalNegedge(), and negedgeEvent().

◆ _negStamp

uint64_t sc_gem5::ScSignalBaseBinary::_negStamp
protected

Definition at line 96 of file sc_signal.hh.

Referenced by _signalNegedge(), and negedge().

◆ _posedgeEvent

InternalScEvent sc_gem5::ScSignalBaseBinary::_posedgeEvent
protected

Definition at line 92 of file sc_signal.hh.

Referenced by _signalPosedge(), and posedgeEvent().

◆ _posStamp

uint64_t sc_gem5::ScSignalBaseBinary::_posStamp
protected

Definition at line 95 of file sc_signal.hh.

Referenced by _signalPosedge(), and posedge().

◆ _resets

std::vector<sc_gem5::Reset *> sc_gem5::ScSignalBaseBinary::_resets
mutableprotected

Definition at line 82 of file sc_signal.hh.

Referenced by _signalReset().


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