#include <sysc/communication/sc_signal.h>
Public Member Functions | |
sc_signal () | |
sc_signal (const char *name_) | |
sc_signal (const char *name_, bool initial_value_) | |
virtual | ~sc_signal () |
virtual void | register_port (sc_port_base &, const char *) |
virtual sc_writer_policy | get_writer_policy () const |
virtual const sc_event & | default_event () const |
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 void | write (const bool &) |
operator const bool & () const | |
this_type & | operator= (const bool &a) |
this_type & | operator= (const sc_signal_in_if< bool > &a) |
this_type & | operator= (const this_type &a) |
const bool & | get_new_value () const |
void | trace (sc_trace_file *tf) const |
virtual void | print (::std::ostream &=::std::cout) const |
virtual void | dump (::std::ostream &=::std::cout) const |
virtual const char * | kind () const |
Protected Types | |
typedef sc_signal_inout_if< bool > | if_type |
typedef sc_signal< bool, POL > | this_type |
typedef sc_writer_policy_check < POL > | policy_type |
Protected Member Functions | |
virtual void | update () |
The update method (does nothing by default). | |
void | do_update () |
virtual bool | is_clock () const |
Protected Attributes | |
sc_event * | m_change_event_p |
bool | m_cur_val |
sc_dt::uint64 | m_change_stamp |
sc_event * | m_negedge_event_p |
bool | m_new_val |
sc_event * | m_posedge_event_p |
sc_reset * | m_reset_p |
Definition at line 310 of file sc_signal.h.
typedef sc_signal_inout_if<bool> sc_core::sc_signal< bool, POL >::if_type [protected] |
Definition at line 316 of file sc_signal.h.
typedef sc_writer_policy_check<POL> sc_core::sc_signal< bool, POL >::policy_type [protected] |
Definition at line 318 of file sc_signal.h.
typedef sc_signal<bool,POL> sc_core::sc_signal< bool, POL >::this_type [protected] |
Definition at line 317 of file sc_signal.h.
sc_core::sc_signal< bool, POL >::sc_signal | ( | ) | [inline] |
Definition at line 322 of file sc_signal.h.
sc_core::sc_signal< bool, POL >::sc_signal | ( | const char * | name_ | ) | [inline, explicit] |
Definition at line 333 of file sc_signal.h.
sc_core::sc_signal< bool, POL >::sc_signal | ( | const char * | name_, | |
bool | initial_value_ | |||
) | [inline] |
Definition at line 344 of file sc_signal.h.
virtual sc_core::sc_signal< bool, POL >::~sc_signal | ( | ) | [virtual] |
virtual const sc_event& sc_core::sc_signal< bool, POL >::default_event | ( | ) | const [inline, virtual] |
Reimplemented from sc_core::sc_interface.
Definition at line 366 of file sc_signal.h.
void sc_core::sc_signal< bool, POL >::do_update | ( | ) | [protected] |
virtual void sc_core::sc_signal< bool, POL >::dump | ( | ::std::ostream & | = ::std::cout |
) | const [virtual] |
Reimplemented from sc_core::sc_object.
virtual bool sc_core::sc_signal< bool, POL >::event | ( | ) | const [inline, virtual] |
Implements sc_core::sc_signal_in_if< bool >.
Definition at line 396 of file sc_signal.h.
virtual const bool& sc_core::sc_signal< bool, POL >::get_data_ref | ( | ) | const [inline, virtual] |
Implements sc_core::sc_signal_in_if< bool >.
Definition at line 384 of file sc_signal.h.
const bool& sc_core::sc_signal< bool, POL >::get_new_value | ( | ) | const [inline] |
Definition at line 426 of file sc_signal.h.
virtual sc_writer_policy sc_core::sc_signal< bool, POL >::get_writer_policy | ( | ) | const [inline, virtual] |
Reimplemented from sc_core::sc_signal_write_if< bool >.
Definition at line 362 of file sc_signal.h.
virtual bool sc_core::sc_signal< bool, POL >::is_clock | ( | ) | const [inline, protected, virtual] |
Definition at line 461 of file sc_signal.h.
virtual const char* sc_core::sc_signal< bool, POL >::kind | ( | ) | const [inline, virtual] |
Reimplemented from sc_core::sc_prim_channel.
Definition at line 453 of file sc_signal.h.
virtual bool sc_core::sc_signal< bool, POL >::negedge | ( | ) | const [inline, virtual] |
Implements sc_core::sc_signal_in_if< bool >.
Definition at line 404 of file sc_signal.h.
virtual const sc_event& sc_core::sc_signal< bool, POL >::negedge_event | ( | ) | const [virtual] |
Implements sc_core::sc_signal_in_if< bool >.
sc_core::sc_signal< bool, POL >::operator const bool & | ( | ) | const [inline] |
Definition at line 412 of file sc_signal.h.
this_type& sc_core::sc_signal< bool, POL >::operator= | ( | const this_type & | a | ) | [inline] |
Reimplemented from sc_core::sc_prim_channel.
Definition at line 422 of file sc_signal.h.
this_type& sc_core::sc_signal< bool, POL >::operator= | ( | const sc_signal_in_if< bool > & | a | ) | [inline] |
Definition at line 419 of file sc_signal.h.
this_type& sc_core::sc_signal< bool, POL >::operator= | ( | const bool & | a | ) | [inline] |
Definition at line 416 of file sc_signal.h.
virtual bool sc_core::sc_signal< bool, POL >::posedge | ( | ) | const [inline, virtual] |
Implements sc_core::sc_signal_in_if< bool >.
Definition at line 400 of file sc_signal.h.
virtual const sc_event& sc_core::sc_signal< bool, POL >::posedge_event | ( | ) | const [virtual] |
Implements sc_core::sc_signal_in_if< bool >.
virtual void sc_core::sc_signal< bool, POL >::print | ( | ::std::ostream & | = ::std::cout |
) | const [virtual] |
Reimplemented from sc_core::sc_object.
virtual const bool& sc_core::sc_signal< bool, POL >::read | ( | ) | const [inline, virtual] |
Implements sc_core::sc_signal_in_if< bool >.
Definition at line 380 of file sc_signal.h.
virtual void sc_core::sc_signal< bool, POL >::register_port | ( | sc_port_base & | , | |
const char * | ||||
) | [virtual] |
Reimplemented from sc_core::sc_interface.
void sc_core::sc_signal< bool, POL >::trace | ( | sc_trace_file * | tf | ) | const [inline, virtual] |
Reimplemented from sc_core::sc_object.
Definition at line 439 of file sc_signal.h.
virtual void sc_core::sc_signal< bool, POL >::update | ( | ) | [protected, virtual] |
The update method (does nothing by default).
This function is not supported by the out-of-order simulation in the current release.
Reimplemented from sc_core::sc_prim_channel.
virtual const sc_event& sc_core::sc_signal< bool, POL >::value_changed_event | ( | ) | const [virtual] |
Implements sc_core::sc_signal_in_if< bool >.
virtual void sc_core::sc_signal< bool, POL >::write | ( | const bool & | ) | [virtual] |
Implements sc_core::sc_signal_write_if< bool >.
sc_event* sc_core::sc_signal< bool, POL >::m_change_event_p [mutable, protected] |
Definition at line 464 of file sc_signal.h.
sc_dt::uint64 sc_core::sc_signal< bool, POL >::m_change_stamp [protected] |
Definition at line 466 of file sc_signal.h.
bool sc_core::sc_signal< bool, POL >::m_cur_val [protected] |
Definition at line 465 of file sc_signal.h.
sc_event* sc_core::sc_signal< bool, POL >::m_negedge_event_p [mutable, protected] |
Definition at line 467 of file sc_signal.h.
bool sc_core::sc_signal< bool, POL >::m_new_val [protected] |
Definition at line 468 of file sc_signal.h.
sc_event* sc_core::sc_signal< bool, POL >::m_posedge_event_p [mutable, protected] |
Definition at line 469 of file sc_signal.h.
sc_reset* sc_core::sc_signal< bool, POL >::m_reset_p [mutable, protected] |
Definition at line 470 of file sc_signal.h.