#include <sysc/communication/sc_signal.h>


Public Types | |
| enum | { list_end = 0xdb } |
Public Member Functions | |
| sc_signal () | |
| sc_signal (const char *name_) | |
| virtual | ~sc_signal () |
| 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 const sc_event & | default_event () const |
| get the default event (default: return event that is never notified) | |
| virtual const sc_event & | value_changed_event () const |
| virtual const T & | read () const |
| virtual const T & | get_data_ref () const |
| virtual bool | event () const |
| virtual void | write (const T &) |
| operator const T & () const | |
| sc_signal< T > & | operator= (const T &a) |
| sc_signal< T > & | operator= (const sc_signal< T > &a) |
| const T & | 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() | |
| virtual const char * | kind () const |
| 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_simcontext * | simcontext () const |
| bool | add_attribute (sc_attr_base &) |
| add attribute | |
| sc_attr_base * | get_attribute (const std::string &name_) |
| get attribute by name | |
| const sc_attr_base * | get_attribute (const std::string &name_) const |
| get attribute by name | |
| sc_attr_base * | remove_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_cltn & | attr_cltn () |
| get the attribute collection | |
| const sc_attr_cltn & | attr_cltn () const |
| get the attribute collection | |
| virtual const std::vector < sc_object * > & | get_child_objects () const |
| return child objects | |
| sc_object * | get_parent () const |
| return parent object | |
| sc_object * | get_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 | |
| sc_event * | m_change_event_p |
| T | m_cur_val |
| sc_dt::uint64 | m_delta |
| T | m_new_val |
| sc_port_base * | m_output |
| sc_object * | m_writer |
Definition at line 65 of file sc_signal.h.
anonymous enum [inherited] |
| sc_core::sc_signal< T >::sc_signal | ( | ) | [inline] |
Definition at line 71 of file sc_signal.h.
| sc_core::sc_signal< T >::sc_signal | ( | const char * | name_ | ) | [inline, explicit] |
Definition at line 78 of file sc_signal.h.
| virtual sc_core::sc_signal< T >::~sc_signal | ( | ) | [inline, virtual] |
Definition at line 86 of file sc_signal.h.
| void sc_core::sc_signal< T >::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_interface.
Reimplemented in sc_core::sc_signal_rv< W >.
Definition at line 190 of file sc_signal.h.
| virtual const sc_event& sc_core::sc_signal< T >::default_event | ( | ) | const [inline, virtual] |
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< T >::value_changed_event | ( | ) | const [inline, virtual] |
| virtual const T& sc_core::sc_signal< T >::read | ( | ) | const [inline, virtual] |
| virtual const T& sc_core::sc_signal< T >::get_data_ref | ( | ) | const [inline, virtual] |
| virtual bool sc_core::sc_signal< T >::event | ( | ) | const [inline, virtual] |
| void sc_core::sc_signal< T >::write | ( | const T & | value_ | ) | [inline, virtual] |
Implements sc_core::sc_signal_write_if< T >.
Reimplemented in sc_core::sc_buffer< T >.
Definition at line 211 of file sc_signal.h.
| sc_core::sc_signal< T >::operator const T & | ( | ) | const [inline] |
Definition at line 132 of file sc_signal.h.
| sc_signal<T>& sc_core::sc_signal< T >::operator= | ( | const T & | a | ) | [inline] |
| sc_signal<T>& sc_core::sc_signal< T >::operator= | ( | const sc_signal< T > & | a | ) | [inline] |
Definition at line 139 of file sc_signal.h.
| const T& sc_core::sc_signal< T >::get_new_value | ( | ) | const [inline] |
Definition at line 143 of file sc_signal.h.
| void sc_core::sc_signal< T >::trace | ( | sc_trace_file * | tf | ) | const [inline, virtual] |
| void sc_core::sc_signal< T >::print | ( | ::std::ostream & | os = ::std::cout |
) | const [inline, virtual] |
| void sc_core::sc_signal< T >::dump | ( | ::std::ostream & | os = ::std::cout |
) | const [inline, virtual] |
dump() is more detailed than print()
Reimplemented from sc_core::sc_object.
Definition at line 238 of file sc_signal.h.
| virtual const char* sc_core::sc_signal< T >::kind | ( | ) | const [inline, virtual] |
Reimplemented from sc_core::sc_prim_channel.
Reimplemented in sc_core::sc_buffer< T >, and sc_core::sc_signal_rv< W >.
Definition at line 159 of file sc_signal.h.
| void sc_core::sc_signal< T >::update | ( | ) | [inline, protected, virtual] |
Reimplemented from sc_core::sc_prim_channel.
Reimplemented in sc_core::sc_buffer< T >, and sc_core::sc_signal_rv< W >.
Definition at line 249 of file sc_signal.h.
| 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] |
| 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] |
| 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] |
| const char * sc_core::sc_object::basename | ( | ) | const [inherited] |
| 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] |
| sc_attr_base * sc_core::sc_object::get_attribute | ( | const std::string & | name_ | ) | [inherited] |
| const sc_attr_base * sc_core::sc_object::get_attribute | ( | const std::string & | name_ | ) | const [inherited] |
| sc_attr_base * sc_core::sc_object::remove_attribute | ( | const std::string & | name_ | ) | [inherited] |
| void sc_core::sc_object::remove_all_attributes | ( | ) | [inherited] |
| int sc_core::sc_object::num_attributes | ( | ) | const [inherited] |
| sc_attr_cltn & sc_core::sc_object::attr_cltn | ( | ) | [inherited] |
| const sc_attr_cltn & sc_core::sc_object::attr_cltn | ( | ) | const [inherited] |
| 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] |
| sc_object* sc_core::sc_object::get_parent_object | ( | ) | const [inline, inherited] |
sc_event* sc_core::sc_signal< T >::m_change_event_p [mutable, protected] |
Definition at line 168 of file sc_signal.h.
T sc_core::sc_signal< T >::m_cur_val [protected] |
Definition at line 169 of file sc_signal.h.
sc_dt::uint64 sc_core::sc_signal< T >::m_delta [protected] |
Definition at line 170 of file sc_signal.h.
T sc_core::sc_signal< T >::m_new_val [protected] |
Definition at line 171 of file sc_signal.h.
sc_port_base* sc_core::sc_signal< T >::m_output [protected] |
Definition at line 172 of file sc_signal.h.
sc_object* sc_core::sc_signal< T >::m_writer [protected] |
Definition at line 173 of file sc_signal.h.
1.5.5