sc_core::sc_signal_rv< W > Class Template Reference

#include <sysc/communication/sc_signal_rv.h>

Inheritance diagram for sc_core::sc_signal_rv< W >:

Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_signal_rv< W >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef sc_signal_rv< W > this_type
typedef sc_signal
< sc_dt::sc_lv< W > > 
base_type
typedef sc_dt::sc_lv< W > data_type
enum  { list_end = 0xdb }

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 *)
 register a port with this interface (does nothing by default); define this for static design rule checking
virtual void write (const data_type &)
this_typeoperator= (const data_type &a)
this_typeoperator= (const this_type &a)
virtual const char * kind () const
virtual const sc_eventdefault_event () const
 get the default event (default: return event that is never notified)
virtual const sc_eventvalue_changed_event () const
virtual const sc_dt::sc_lv< W > & read () const
virtual const sc_dt::sc_lv< W > & get_data_ref () const
virtual bool event () const
virtual void write (const sc_dt::sc_lv< W > &)
 operator const sc_dt::sc_lv< W > & () const
const sc_dt::sc_lv< W > & get_new_value () const
void trace (sc_trace_file *tf) const
virtual void print (::std::ostream &=::std::cout) const
 print object
virtual void dump (::std::ostream &=::std::cout) const
 dump() is more detailed than print()
bool update_requested ()
void request_update ()
const char * name () const
 return full name of sc_object
const char * basename () const
 return base name of sc_object (last part)
sc_simcontextsimcontext () const
bool add_attribute (sc_attr_base &)
 add attribute
sc_attr_baseget_attribute (const std::string &name_)
 get attribute by name
const sc_attr_baseget_attribute (const std::string &name_) const
 get attribute by name
sc_attr_baseremove_attribute (const std::string &name_)
 remove attribute by name
void remove_all_attributes ()
 remove all attributes
int num_attributes () const
 get the number of attributes
sc_attr_cltnattr_cltn ()
 get the attribute collection
const sc_attr_cltnattr_cltn () const
 get the attribute collection
virtual const std::vector
< sc_object * > & 
get_child_objects () const
 return child objects
sc_objectget_parent () const
 return parent object
sc_objectget_parent_object () const
 return parent object

Protected Member Functions

virtual void update ()
virtual void before_end_of_elaboration ()
virtual void end_of_elaboration ()
virtual void start_of_simulation ()
virtual void end_of_simulation ()
void wait ()
void wait (const sc_event &e)
void wait (sc_event_or_list &el)
void wait (sc_event_and_list &el)
void wait (const sc_time &t)
void wait (double v, sc_time_unit tu)
void wait (const sc_time &t, const sc_event &e)
void wait (double v, sc_time_unit tu, const sc_event &e)
void wait (const sc_time &t, sc_event_or_list &el)
void wait (double v, sc_time_unit tu, sc_event_or_list &el)
void wait (const sc_time &t, sc_event_and_list &el)
void wait (double v, sc_time_unit tu, sc_event_and_list &el)
void wait (int n)
void next_trigger ()
void next_trigger (const sc_event &e)
void next_trigger (sc_event_or_list &el)
void next_trigger (sc_event_and_list &el)
void next_trigger (const sc_time &t)
void next_trigger (double v, sc_time_unit tu)
void next_trigger (const sc_time &t, const sc_event &e)
void next_trigger (double v, sc_time_unit tu, const sc_event &e)
void next_trigger (const sc_time &t, sc_event_or_list &el)
void next_trigger (double v, sc_time_unit tu, sc_event_or_list &el)
void next_trigger (const sc_time &t, sc_event_and_list &el)
void next_trigger (double v, sc_time_unit tu, sc_event_and_list &el)
bool timed_out ()
sc_dt::uint64 delta_count ()

Protected Attributes

std::vector< sc_process_b * > m_proc_vec
std::vector< data_type * > m_val_vec
sc_eventm_change_event_p
sc_dt::sc_lv< W > m_cur_val
sc_dt::uint64 m_delta
sc_dt::sc_lv< W > m_new_val
sc_port_basem_output
sc_objectm_writer


Detailed Description

template<int W>
class sc_core::sc_signal_rv< W >

Definition at line 123 of file sc_signal_rv.h.


Member Typedef Documentation

template<int W>
typedef sc_signal_rv<W> sc_core::sc_signal_rv< W >::this_type

Definition at line 130 of file sc_signal_rv.h.

template<int W>
typedef sc_signal<sc_dt::sc_lv<W> > sc_core::sc_signal_rv< W >::base_type

Definition at line 131 of file sc_signal_rv.h.

template<int W>
typedef sc_dt::sc_lv<W> sc_core::sc_signal_rv< W >::data_type

Definition at line 132 of file sc_signal_rv.h.


Member Enumeration Documentation

anonymous enum [inherited]

Enumerator:
list_end 

Definition at line 75 of file sc_prim_channel.h.


Constructor & Destructor Documentation

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

Definition at line 138 of file sc_signal_rv.h.

template<int W>
sc_core::sc_signal_rv< W >::sc_signal_rv ( const char *  name_  )  [inline, explicit]

Definition at line 142 of file sc_signal_rv.h.

template<int W>
sc_core::sc_signal_rv< W >::~sc_signal_rv (  )  [inline, virtual]

Definition at line 195 of file sc_signal_rv.h.


Member Function Documentation

template<int W>
virtual void sc_core::sc_signal_rv< W >::register_port ( sc_port_base port_,
const char *  if_typename_ 
) [inline, virtual]

register a port with this interface (does nothing by default); define this for static design rule checking

Reimplemented from sc_core::sc_signal< sc_dt::sc_lv< W > >.

Definition at line 153 of file sc_signal_rv.h.

template<int W>
void sc_core::sc_signal_rv< W >::write ( const data_type value_  )  [inline, virtual]

Definition at line 208 of file sc_signal_rv.h.

template<int W>
this_type& sc_core::sc_signal_rv< W >::operator= ( const data_type a  )  [inline]

Definition at line 163 of file sc_signal_rv.h.

template<int W>
this_type& sc_core::sc_signal_rv< W >::operator= ( const this_type a  )  [inline]

Definition at line 166 of file sc_signal_rv.h.

template<int W>
virtual const char* sc_core::sc_signal_rv< W >::kind (  )  const [inline, virtual]

Reimplemented from sc_core::sc_signal< sc_dt::sc_lv< W > >.

Definition at line 169 of file sc_signal_rv.h.

template<int W>
void sc_core::sc_signal_rv< W >::update (  )  [inline, protected, virtual]

Reimplemented from sc_core::sc_signal< sc_dt::sc_lv< W > >.

Definition at line 241 of file sc_signal_rv.h.

virtual const sc_event& sc_core::sc_signal< sc_dt::sc_lv< W > >::default_event (  )  const [inline, virtual, inherited]

get the default event (default: return event that is never notified)

Reimplemented from sc_core::sc_interface.

Definition at line 98 of file sc_signal.h.

virtual const sc_event& sc_core::sc_signal< sc_dt::sc_lv< W > >::value_changed_event (  )  const [inline, virtual, inherited]

Implements sc_core::sc_signal_in_if< sc_dt::sc_lv< W > >.

Definition at line 106 of file sc_signal.h.

virtual const sc_dt::sc_lv< W > & sc_core::sc_signal< sc_dt::sc_lv< W > >::read (  )  const [inline, virtual, inherited]

Implements sc_core::sc_signal_in_if< sc_dt::sc_lv< W > >.

Definition at line 114 of file sc_signal.h.

virtual const sc_dt::sc_lv< W > & sc_core::sc_signal< sc_dt::sc_lv< W > >::get_data_ref (  )  const [inline, virtual, inherited]

Implements sc_core::sc_signal_in_if< sc_dt::sc_lv< W > >.

Definition at line 118 of file sc_signal.h.

virtual bool sc_core::sc_signal< sc_dt::sc_lv< W > >::event (  )  const [inline, virtual, inherited]

Implements sc_core::sc_signal_in_if< sc_dt::sc_lv< W > >.

Definition at line 123 of file sc_signal.h.

virtual void sc_core::sc_signal< sc_dt::sc_lv< W > >::write ( const sc_dt::sc_lv< W > &   )  [virtual, inherited]

sc_core::sc_signal< sc_dt::sc_lv< W > >::operator const sc_dt::sc_lv< W > & (  )  const [inline, inherited]

Definition at line 132 of file sc_signal.h.

const sc_dt::sc_lv< W > & sc_core::sc_signal< sc_dt::sc_lv< W > >::get_new_value (  )  const [inline, inherited]

Definition at line 143 of file sc_signal.h.

void sc_core::sc_signal< sc_dt::sc_lv< W > >::trace ( sc_trace_file tf  )  const [inline, virtual, inherited]

Reimplemented from sc_core::sc_object.

Definition at line 147 of file sc_signal.h.

virtual void sc_core::sc_signal< sc_dt::sc_lv< W > >::print ( ::std::ostream &  os = ::std::cout  )  const [virtual, inherited]

print object

Reimplemented from sc_core::sc_object.

virtual void sc_core::sc_signal< sc_dt::sc_lv< W > >::dump ( ::std::ostream &  os = ::std::cout  )  const [virtual, inherited]

dump() is more detailed than print()

Reimplemented from sc_core::sc_object.

bool sc_core::sc_prim_channel::update_requested (  )  [inline, inherited]

Definition at line 80 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::request_update (  )  [inline, inherited]

Definition at line 355 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::before_end_of_elaboration (  )  [protected, virtual, inherited]

Reimplemented in sc_core::sc_clock.

Definition at line 101 of file sc_prim_channel.cpp.

void sc_core::sc_prim_channel::end_of_elaboration (  )  [protected, virtual, inherited]

Definition at line 115 of file sc_prim_channel.cpp.

void sc_core::sc_prim_channel::start_of_simulation (  )  [protected, virtual, inherited]

Definition at line 130 of file sc_prim_channel.cpp.

void sc_core::sc_prim_channel::end_of_simulation (  )  [protected, virtual, inherited]

Definition at line 144 of file sc_prim_channel.cpp.

void sc_core::sc_prim_channel::wait (  )  [inline, protected, inherited]

Reimplemented in sc_core::sc_semaphore.

Definition at line 117 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( const sc_event e  )  [inline, protected, inherited]

Definition at line 123 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( sc_event_or_list el  )  [inline, protected, inherited]

Definition at line 126 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( sc_event_and_list el  )  [inline, protected, inherited]

Definition at line 129 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( const sc_time t  )  [inline, protected, inherited]

Definition at line 132 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( double  v,
sc_time_unit  tu 
) [inline, protected, inherited]

Definition at line 135 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( const sc_time t,
const sc_event e 
) [inline, protected, inherited]

Definition at line 138 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( double  v,
sc_time_unit  tu,
const sc_event e 
) [inline, protected, inherited]

Definition at line 141 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( const sc_time t,
sc_event_or_list el 
) [inline, protected, inherited]

Definition at line 144 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( double  v,
sc_time_unit  tu,
sc_event_or_list el 
) [inline, protected, inherited]

Definition at line 147 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( const sc_time t,
sc_event_and_list el 
) [inline, protected, inherited]

Definition at line 150 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( double  v,
sc_time_unit  tu,
sc_event_and_list el 
) [inline, protected, inherited]

Definition at line 153 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( int  n  )  [inline, protected, inherited]

Definition at line 156 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger (  )  [inline, protected, inherited]

Definition at line 162 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( const sc_event e  )  [inline, protected, inherited]

Definition at line 168 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( sc_event_or_list el  )  [inline, protected, inherited]

Definition at line 171 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( sc_event_and_list el  )  [inline, protected, inherited]

Definition at line 174 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( const sc_time t  )  [inline, protected, inherited]

Definition at line 177 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( double  v,
sc_time_unit  tu 
) [inline, protected, inherited]

Definition at line 180 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( const sc_time t,
const sc_event e 
) [inline, protected, inherited]

Definition at line 183 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( double  v,
sc_time_unit  tu,
const sc_event e 
) [inline, protected, inherited]

Definition at line 186 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( const sc_time t,
sc_event_or_list el 
) [inline, protected, inherited]

Definition at line 190 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( double  v,
sc_time_unit  tu,
sc_event_or_list el 
) [inline, protected, inherited]

Definition at line 193 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( const sc_time t,
sc_event_and_list el 
) [inline, protected, inherited]

Definition at line 197 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( double  v,
sc_time_unit  tu,
sc_event_and_list el 
) [inline, protected, inherited]

Definition at line 200 of file sc_prim_channel.h.

bool sc_core::sc_prim_channel::timed_out (  )  [inline, protected, inherited]

Definition at line 207 of file sc_prim_channel.h.

sc_dt::uint64 sc_core::sc_prim_channel::delta_count (  )  [inline, protected, inherited]

Definition at line 213 of file sc_prim_channel.h.

const char* sc_core::sc_object::name (  )  const [inline, inherited]

return full name of sc_object

Definition at line 80 of file sc_object.h.

const char * sc_core::sc_object::basename (  )  const [inherited]

return base name of sc_object (last part)

Definition at line 95 of file sc_object.cpp.

sc_simcontext* sc_core::sc_object::simcontext (  )  const [inline, inherited]

Definition at line 95 of file sc_object.h.

bool sc_core::sc_object::add_attribute ( sc_attr_base attribute_  )  [inherited]

add attribute

Definition at line 311 of file sc_object.cpp.

sc_attr_base * sc_core::sc_object::get_attribute ( const std::string &  name_  )  [inherited]

get attribute by name

Definition at line 321 of file sc_object.cpp.

const sc_attr_base * sc_core::sc_object::get_attribute ( const std::string &  name_  )  const [inherited]

get attribute by name

Definition at line 328 of file sc_object.cpp.

sc_attr_base * sc_core::sc_object::remove_attribute ( const std::string &  name_  )  [inherited]

remove attribute by name

Definition at line 338 of file sc_object.cpp.

void sc_core::sc_object::remove_all_attributes (  )  [inherited]

remove all attributes

Definition at line 350 of file sc_object.cpp.

int sc_core::sc_object::num_attributes (  )  const [inherited]

get the number of attributes

Definition at line 360 of file sc_object.cpp.

sc_attr_cltn & sc_core::sc_object::attr_cltn (  )  [inherited]

get the attribute collection

Definition at line 372 of file sc_object.cpp.

const sc_attr_cltn & sc_core::sc_object::attr_cltn (  )  const [inherited]

get the attribute collection

Definition at line 379 of file sc_object.cpp.

virtual const std::vector<sc_object*>& sc_core::sc_object::get_child_objects (  )  const [inline, virtual, inherited]

return child objects

Reimplemented in sc_core::sc_module, and sc_core::sc_process_b.

Definition at line 121 of file sc_object.h.

sc_object* sc_core::sc_object::get_parent (  )  const [inline, inherited]

return parent object

Definition at line 125 of file sc_object.h.

sc_object* sc_core::sc_object::get_parent_object (  )  const [inline, inherited]

return parent object

Definition at line 127 of file sc_object.h.


Member Data Documentation

template<int W>
std::vector<sc_process_b*> sc_core::sc_signal_rv< W >::m_proc_vec [protected]

Definition at line 178 of file sc_signal_rv.h.

template<int W>
std::vector<data_type*> sc_core::sc_signal_rv< W >::m_val_vec [protected]

Definition at line 179 of file sc_signal_rv.h.

sc_event* sc_core::sc_signal< sc_dt::sc_lv< W > >::m_change_event_p [mutable, protected, inherited]

Definition at line 168 of file sc_signal.h.

sc_dt::sc_lv< W > sc_core::sc_signal< sc_dt::sc_lv< W > >::m_cur_val [protected, inherited]

Definition at line 169 of file sc_signal.h.

sc_dt::uint64 sc_core::sc_signal< sc_dt::sc_lv< W > >::m_delta [protected, inherited]

Definition at line 170 of file sc_signal.h.

sc_dt::sc_lv< W > sc_core::sc_signal< sc_dt::sc_lv< W > >::m_new_val [protected, inherited]

Definition at line 171 of file sc_signal.h.

sc_port_base* sc_core::sc_signal< sc_dt::sc_lv< W > >::m_output [protected, inherited]

Definition at line 172 of file sc_signal.h.

sc_object* sc_core::sc_signal< sc_dt::sc_lv< W > >::m_writer [protected, inherited]

Definition at line 173 of file sc_signal.h.


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

Generated on Wed Jan 21 15:32:14 2009 for SystemC by  doxygen 1.5.5