gem5  v20.1.0.0
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
sc_core::sc_signal_rv< W > Class Template Reference

#include <sc_signal_rv.hh>

Inheritance diagram for sc_core::sc_signal_rv< W >:
sc_core::sc_signal< sc_dt::sc_lv< W >, SC_MANY_WRITERS > sc_gem5::ScSignalBaseT< sc_dt::sc_lv< W >, WRITER_POLICY > sc_gem5::ScSignalBasePicker< sc_dt::sc_lv< W > > sc_core::sc_signal_inout_if< sc_dt::sc_lv< W > > sc_gem5::ScSignalBase sc_core::sc_signal_in_if< sc_dt::sc_lv< W > > sc_core::sc_signal_write_if< sc_dt::sc_lv< W > > sc_core::sc_prim_channel sc_core::sc_interface sc_core::sc_interface sc_core::sc_object

Public Member Functions

 sc_signal_rv ()
 
 sc_signal_rv (const char *name)
 
virtual ~sc_signal_rv ()
 
virtual void register_port (sc_port_base &, const char *)
 
virtual void write (const sc_dt::sc_lv< W > &l)
 
sc_signal_rv< W > & operator= (const sc_dt::sc_lv< W > &l)
 
sc_signal_rv< W > & operator= (const sc_signal_rv< W > &r)
 
virtual const char * kind () const
 
- Public Member Functions inherited from sc_core::sc_signal< sc_dt::sc_lv< W >, SC_MANY_WRITERS >
 sc_signal ()
 
 sc_signal (const char *name)
 
 sc_signal (const char *name, const sc_dt::sc_lv< W > &initial_value)
 
virtual ~sc_signal ()
 
sc_signal< sc_dt::sc_lv< W >, WRITER_POLICY > & operator= (const sc_dt::sc_lv< W > &t)
 
sc_signal< sc_dt::sc_lv< W >, WRITER_POLICY > & operator= (const sc_signal< sc_dt::sc_lv< W >, WRITER_POLICY > &s)
 
- Public Member Functions inherited from sc_gem5::ScSignalBaseT< sc_dt::sc_lv< W >, WRITER_POLICY >
 ScSignalBaseT (const char *_name)
 
 ScSignalBaseT (const char *_name, const sc_dt::sc_lv< W > &initial_value)
 
virtual ~ScSignalBaseT ()
 
virtual const sc_dt::sc_lv< W > & read () const
 
 operator const sc_dt::sc_lv< W > & () const
 
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_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 const sc_eventdefault_event () const
 
virtual ~sc_interface ()
 

Protected Member Functions

virtual void update ()
 
- Protected Member Functions inherited from sc_gem5::ScSignalBasePicker< sc_dt::sc_lv< W > >
 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 ()
 
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_lv< W > >
 sc_signal_inout_if ()
 
- Protected Member Functions inherited from sc_core::sc_signal_in_if< sc_dt::sc_lv< W > >
 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_lv< W > >
 sc_signal_write_if ()
 

Private Member Functions

 sc_signal_rv (const sc_signal_rv< W > &)
 

Private Attributes

std::map<::sc_gem5::Process *, sc_dt::sc_lv< W > > inputs
 

Additional Inherited Members

- Protected Attributes inherited from sc_gem5::ScSignalBaseT< sc_dt::sc_lv< W >, WRITER_POLICY >
sc_dt::sc_lv< W > m_cur_val
 
sc_dt::sc_lv< W > 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<int W>
class sc_core::sc_signal_rv< W >

Definition at line 58 of file sc_signal_rv.hh.

Constructor & Destructor Documentation

◆ sc_signal_rv() [1/3]

template<int W>
sc_core::sc_signal_rv< W >::sc_signal_rv ( )
inline

Definition at line 61 of file sc_signal_rv.hh.

◆ sc_signal_rv() [2/3]

template<int W>
sc_core::sc_signal_rv< W >::sc_signal_rv ( const char *  name)
inline

Definition at line 64 of file sc_signal_rv.hh.

◆ ~sc_signal_rv()

template<int W>
virtual sc_core::sc_signal_rv< W >::~sc_signal_rv ( )
inlinevirtual

Definition at line 67 of file sc_signal_rv.hh.

◆ sc_signal_rv() [3/3]

template<int W>
sc_core::sc_signal_rv< W >::sc_signal_rv ( const sc_signal_rv< W > &  )
inlineprivate

Definition at line 130 of file sc_signal_rv.hh.

Member Function Documentation

◆ kind()

template<int W>
virtual const char* sc_core::sc_signal_rv< W >::kind ( ) const
inlinevirtual

Reimplemented from sc_gem5::ScSignalBase.

Definition at line 98 of file sc_signal_rv.hh.

◆ operator=() [1/2]

template<int W>
sc_signal_rv<W>& sc_core::sc_signal_rv< W >::operator= ( const sc_dt::sc_lv< W > &  l)
inline

Definition at line 86 of file sc_signal_rv.hh.

References MipsISA::l, and sc_core::sc_signal_rv< W >::write().

◆ operator=() [2/2]

template<int W>
sc_signal_rv<W>& sc_core::sc_signal_rv< W >::operator= ( const sc_signal_rv< W > &  r)
inline

Definition at line 92 of file sc_signal_rv.hh.

References MipsISA::r, and sc_core::sc_signal_rv< W >::write().

◆ register_port()

template<int W>
virtual void sc_core::sc_signal_rv< W >::register_port ( sc_port_base ,
const char *   
)
inlinevirtual

Reimplemented from sc_gem5::ScSignalBaseT< sc_dt::sc_lv< W >, WRITER_POLICY >.

Definition at line 69 of file sc_signal_rv.hh.

◆ update()

template<int W>
virtual void sc_core::sc_signal_rv< W >::update ( )
inlineprotectedvirtual

◆ write()

template<int W>
virtual void sc_core::sc_signal_rv< W >::write ( const sc_dt::sc_lv< W > &  l)
inlinevirtual

Member Data Documentation

◆ inputs

template<int W>
std::map<::sc_gem5::Process *, sc_dt::sc_lv<W> > sc_core::sc_signal_rv< W >::inputs
private

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

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