#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 sc_event & | posedge_event () const |
| virtual const sc_event & | negedge_event () const |
| virtual const bool & | read () const |
| virtual const bool & | get_data_ref () const |
| virtual bool | event () const |
| virtual bool | posedge () const |
| virtual bool | negedge () const |
| virtual sc_reset * | is_reset () const |
| virtual void | write (const bool &) |
| operator const bool & () const | |
| sc_signal< bool > & | operator= (const bool &a) |
| sc_signal< bool > & | operator= (const sc_signal< bool > &a) |
| const bool & | 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 bool | is_clock () const |
| sc_signal_in_if () | |
| 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 |
| bool | m_cur_val |
| sc_dt::uint64 | m_delta |
| sc_event * | m_negedge_event_p |
| bool | m_new_val |
| sc_port_base * | m_output |
| sc_event * | m_posedge_event_p |
| sc_reset * | m_reset_p |
| sc_object * | m_writer |
Definition at line 268 of file sc_signal.h.
anonymous enum [inherited] |
| sc_core::sc_core::sc_signal< bool >::~sc_signal | ( | ) | [virtual] |
Definition at line 161 of file sc_signal.cpp.
| sc_core::sc_core::sc_signal< bool >::sc_signal | ( | ) | [inline] |
Definition at line 274 of file sc_signal.h.
| sc_core::sc_core::sc_signal< bool >::sc_signal | ( | const char * | name_ | ) | [inline, explicit] |
Definition at line 287 of file sc_signal.h.
| void sc_core::sc_core::sc_signal< bool >::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_clock.
Definition at line 428 of file sc_signal.h.
| virtual const sc_event& sc_core::sc_core::sc_signal< bool >::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 309 of file sc_signal.h.
| virtual const sc_event& sc_core::sc_core::sc_signal< bool >::value_changed_event | ( | ) | const [inline, virtual] |
| virtual const sc_event& sc_core::sc_core::sc_signal< bool >::posedge_event | ( | ) | const [inline, virtual] |
| virtual const sc_event& sc_core::sc_core::sc_signal< bool >::negedge_event | ( | ) | const [inline, virtual] |
| virtual const bool& sc_core::sc_core::sc_signal< bool >::read | ( | ) | const [inline, virtual] |
| virtual const bool& sc_core::sc_core::sc_signal< bool >::get_data_ref | ( | ) | const [inline, virtual] |
| virtual bool sc_core::sc_core::sc_signal< bool >::event | ( | ) | const [inline, virtual] |
| virtual bool sc_core::sc_core::sc_signal< bool >::posedge | ( | ) | const [inline, virtual] |
| virtual bool sc_core::sc_core::sc_signal< bool >::negedge | ( | ) | const [inline, virtual] |
| sc_reset * sc_core::sc_core::sc_signal< bool >::is_reset | ( | ) | const [virtual] |
| void sc_core::sc_core::sc_signal< bool >::write | ( | const bool & | value_ | ) | [inline, virtual] |
Implements sc_core::sc_signal_write_if< bool >.
Reimplemented in sc_core::sc_clock.
Definition at line 448 of file sc_signal.h.
| sc_core::sc_core::sc_signal< bool >::operator const bool & | ( | ) | const [inline] |
Definition at line 370 of file sc_signal.h.
| sc_signal<bool>& sc_core::sc_core::sc_signal< bool >::operator= | ( | const bool & | a | ) | [inline] |
Definition at line 374 of file sc_signal.h.
| sc_signal<bool>& sc_core::sc_core::sc_signal< bool >::operator= | ( | const sc_signal< bool > & | a | ) | [inline] |
Definition at line 377 of file sc_signal.h.
| const bool& sc_core::sc_core::sc_signal< bool >::get_new_value | ( | ) | const [inline] |
Definition at line 381 of file sc_signal.h.
| void sc_core::sc_core::sc_signal< bool >::trace | ( | sc_trace_file * | tf | ) | const [inline, virtual] |
| void sc_core::sc_core::sc_signal< bool >::print | ( | ::std::ostream & | os = ::std::cout |
) | const [inline, virtual] |
| void sc_core::sc_core::sc_signal< bool >::dump | ( | ::std::ostream & | os = ::std::cout |
) | const [inline, virtual] |
dump() is more detailed than print()
Reimplemented from sc_core::sc_object.
Definition at line 473 of file sc_signal.h.
| virtual const char* sc_core::sc_core::sc_signal< bool >::kind | ( | ) | const [inline, virtual] |
Reimplemented from sc_core::sc_prim_channel.
Reimplemented in sc_core::sc_clock.
Definition at line 397 of file sc_signal.h.
| void sc_core::sc_core::sc_signal< bool >::update | ( | ) | [inline, protected, virtual] |
| virtual bool sc_core::sc_core::sc_signal< bool >::is_clock | ( | ) | const [inline, protected, virtual] |
| sc_core::sc_core::sc_signal_in_if< bool >::sc_signal_in_if | ( | ) | [inline, protected, inherited] |
Definition at line 166 of file sc_signal_ifs.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_core::sc_signal< bool >::m_change_event_p [mutable, protected] |
Definition at line 407 of file sc_signal.h.
bool sc_core::sc_core::sc_signal< bool >::m_cur_val [protected] |
Definition at line 408 of file sc_signal.h.
sc_dt::uint64 sc_core::sc_core::sc_signal< bool >::m_delta [protected] |
Definition at line 409 of file sc_signal.h.
sc_event* sc_core::sc_core::sc_signal< bool >::m_negedge_event_p [mutable, protected] |
Definition at line 410 of file sc_signal.h.
bool sc_core::sc_core::sc_signal< bool >::m_new_val [protected] |
Definition at line 411 of file sc_signal.h.
sc_port_base* sc_core::sc_core::sc_signal< bool >::m_output [protected] |
Definition at line 412 of file sc_signal.h.
sc_event* sc_core::sc_core::sc_signal< bool >::m_posedge_event_p [mutable, protected] |
Definition at line 413 of file sc_signal.h.
Definition at line 414 of file sc_signal.h.
Definition at line 415 of file sc_signal.h.
1.5.5