rc_sc_signal_b Class Template Reference

#include <rc_sc_signal.h>

Inheritance diagram for rc_sc_signal_b:

sc_channel sc_signal_inout_if rc_resettable rc_sc_buffer< bool > rc_sc_signal< bool >

List of all members.


Detailed Description

template<class T, class SIGNAL = sc_signal<T>>
class ReChannel::rc_sc_signal_b< T, SIGNAL >

Base class of a resettable signal (wrapping a SystemC signal).

Definition at line 51 of file rc_sc_signal.h.


Public Member Functions

virtual void register_port (sc_port_base &port_, const char *if_name_)
virtual const T & read () const
virtual const T & get_data_ref () const
virtual void write (const T &value)
virtual const sc_event & default_event () const
virtual const sc_event & value_changed_event () const
virtual bool event () const
virtual void print (std::ostream &sout=std::cout) const
virtual void dump (std::ostream &sout=std::cout) const
virtual const char * kind () const

Protected Types

typedef
sc_signal_inout_if
< T > 
if_type
typedef SIGNAL signal_type

Protected Member Functions

 rc_sc_signal_b (const sc_module_name &name_)
virtual void end_of_elaboration ()
virtual void start_of_simulation ()
 RC_ON_RESET ()
 RC_ON_INIT_RESETTABLE ()
if_typeget_if ()
if_typeget_exportal_if () const
const if_typeget_if () const
void driver_write (const T &value, int index=0)
int get_driver_count () const

Protected Attributes

signal_type m_signal
m_reset_value

Private Attributes

rc_exportal< if_typep_exportal
rc_interface_wrapper
< if_type > * 
p_interface_wrapper
const rc_reconfigurablep_reconf
if_typep_if
bool p_constr_done

Member Typedef Documentation

typedef sc_signal_inout_if<T> if_type [protected]

Definition at line 57 of file rc_sc_signal.h.

typedef SIGNAL signal_type [protected]

Definition at line 58 of file rc_sc_signal.h.


Constructor & Destructor Documentation

rc_sc_signal_b ( const sc_module_name &  name_  )  [inline, explicit, protected]

Definition at line 324 of file rc_sc_signal.h.


Member Function Documentation

virtual void register_port ( sc_port_base &  port_,
const char *  if_name_ 
) [inline, virtual]

Definition at line 70 of file rc_sc_signal.h.

virtual const T& read (  )  const [inline, virtual]

Definition at line 73 of file rc_sc_signal.h.

virtual const T& get_data_ref (  )  const [inline, virtual]

Definition at line 76 of file rc_sc_signal.h.

virtual void write ( const T &  value  )  [inline, virtual]

Definition at line 79 of file rc_sc_signal.h.

virtual const sc_event& default_event (  )  const [inline, virtual]

Definition at line 85 of file rc_sc_signal.h.

virtual const sc_event& value_changed_event (  )  const [inline, virtual]

Definition at line 88 of file rc_sc_signal.h.

virtual bool event (  )  const [inline, virtual]

Definition at line 93 of file rc_sc_signal.h.

virtual void print ( std::ostream &  sout = std::cout  )  const [inline, virtual]

Definition at line 96 of file rc_sc_signal.h.

virtual void dump ( std::ostream &  sout = std::cout  )  const [inline, virtual]

Definition at line 99 of file rc_sc_signal.h.

virtual const char* kind (  )  const [inline, virtual]

Definition at line 102 of file rc_sc_signal.h.

virtual void end_of_elaboration (  )  [inline, protected, virtual]

Definition at line 107 of file rc_sc_signal.h.

virtual void start_of_simulation (  )  [inline, protected, virtual]

Definition at line 112 of file rc_sc_signal.h.

RC_ON_RESET (  )  [inline, protected]

Reimplemented in rc_sc_signal_resolved, and rc_sc_signal_rv.

Definition at line 117 of file rc_sc_signal.h.

RC_ON_INIT_RESETTABLE (  )  [inline, protected]

Definition at line 122 of file rc_sc_signal.h.

rc_sc_signal_b< T, SIGNAL >::if_type & get_if (  )  [inline, protected]

Definition at line 292 of file rc_sc_signal.h.

Referenced by rc_sc_signal_b< sc_logic >::get_data_ref(), rc_sc_signal_b< sc_logic >::read(), and rc_sc_signal_b< sc_logic >::write().

if_type& get_exportal_if (  )  const [inline, protected]

Definition at line 128 of file rc_sc_signal.h.

Referenced by rc_sc_signal_b< sc_logic >::default_event(), and rc_sc_signal_b< sc_logic >::value_changed_event().

const rc_sc_signal_b< T, SIGNAL >::if_type & get_if (  )  const [inline, protected]

Definition at line 304 of file rc_sc_signal.h.

void driver_write ( const T &  value,
int  index = 0 
) [inline, protected]

Definition at line 315 of file rc_sc_signal.h.

Referenced by rc_sc_signal_b< sc_logic >::RC_ON_RESET().

int get_driver_count (  )  const [inline, protected]

Definition at line 135 of file rc_sc_signal.h.


Member Data Documentation

signal_type m_signal [protected]

Definition at line 139 of file rc_sc_signal.h.

Referenced by rc_sc_signal_b< sc_logic >::dump(), rc_sc_signal_b< sc_logic >::event(), rc_sc_signal_b::get_if(), rc_sc_signal_b< sc_logic >::kind(), rc_sc_signal_b< sc_logic >::print(), rc_sc_signal_b::rc_sc_signal_b(), and rc_sc_signal_b< sc_logic >::register_port().

T m_reset_value [protected]

Definition at line 140 of file rc_sc_signal.h.

Referenced by rc_sc_signal_b< sc_logic >::RC_ON_RESET(), and rc_sc_signal_b< sc_logic >::write().

rc_exportal<if_type> p_exportal [private]

Definition at line 143 of file rc_sc_signal.h.

Referenced by rc_sc_signal_b::rc_sc_signal_b().

rc_interface_wrapper<if_type>* p_interface_wrapper [private]

Definition at line 144 of file rc_sc_signal.h.

Referenced by rc_sc_signal_b::driver_write(), rc_sc_signal_b< sc_logic >::get_driver_count(), and rc_sc_signal_b::rc_sc_signal_b().

const rc_reconfigurable* p_reconf [private]

Definition at line 145 of file rc_sc_signal.h.

Referenced by rc_sc_signal_b::get_if(), and rc_sc_signal_b::rc_sc_signal_b().

if_type* p_if [private]

Definition at line 146 of file rc_sc_signal.h.

Referenced by rc_sc_signal_b< sc_logic >::get_exportal_if(), rc_sc_signal_b::get_if(), and rc_sc_signal_b::rc_sc_signal_b().

bool p_constr_done [private]

Definition at line 147 of file rc_sc_signal.h.

Referenced by rc_sc_signal_b::get_if(), rc_sc_signal_b< sc_logic >::start_of_simulation(), and rc_sc_signal_b< sc_logic >::write().


The documentation for this class was generated from the following file:
Generated on Tue Jan 1 23:14:13 2008 for ReChannel by  doxygen 1.5.3