SystemC
Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
|
#include <sysc/communication/sc_signal.h>
Public Member Functions | |
sc_signal () | |
sc_signal (const char *name_) | |
sc_signal (const char *name_, const T &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 T & | read () const |
virtual const T & | get_data_ref () const |
virtual bool | event () const |
virtual void | write (const T &) |
operator const T & () const | |
this_type & | operator= (const T &a) |
this_type & | operator= (const sc_signal_in_if< T > &a) |
this_type & | operator= (const this_type &a) |
const T & | 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 |
Public Member Functions inherited from sc_core::sc_interface | |
virtual | ~sc_interface () |
Public Member Functions inherited from sc_core::sc_signal_write_if< T > | |
sc_signal_write_if () | |
Public Member Functions inherited from sc_core::sc_prim_channel | |
bool | update_requested () |
void | request_update () |
void | async_request_update () |
Public Member Functions inherited from sc_core::sc_object | |
const char * | name () const |
const char * | basename () const |
sc_simcontext * | simcontext () const |
bool | add_attribute (sc_attr_base &) |
sc_attr_base * | get_attribute (const std::string &name_) |
const sc_attr_base * | get_attribute (const std::string &name_) const |
sc_attr_base * | remove_attribute (const std::string &name_) |
void | remove_all_attributes () |
int | num_attributes () const |
sc_attr_cltn & | attr_cltn () |
const sc_attr_cltn & | attr_cltn () const |
virtual const std::vector < sc_event * > & | get_child_events () const |
virtual const std::vector < sc_object * > & | get_child_objects () const |
sc_object * | get_parent () const |
sc_object * | get_parent_object () const |
Protected Types | |
typedef sc_signal_inout_if< T > | if_type |
typedef sc_signal< T, POL > | this_type |
typedef sc_writer_policy_check < POL > | policy_type |
Protected Member Functions | |
virtual void | update () |
The update method (does nothing by default). More... | |
void | do_update () |
Protected Member Functions inherited from sc_core::sc_signal_inout_if< T > | |
sc_signal_inout_if () | |
Protected Member Functions inherited from sc_core::sc_signal_in_if< T > | |
sc_signal_in_if () | |
Protected Member Functions inherited from sc_core::sc_interface | |
sc_interface () | |
Protected Member Functions inherited from sc_core::sc_prim_channel | |
sc_prim_channel () | |
sc_prim_channel (const char *) | |
virtual | ~sc_prim_channel () |
virtual void | before_end_of_elaboration () |
virtual void | end_of_elaboration () |
virtual void | start_of_simulation () |
virtual void | end_of_simulation () |
void | wait (int seg_id=-1) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | wait (const sc_event &e, int seg_id=-1) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | wait (const sc_event_or_list &el, int seg_id=-1) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | wait (const sc_event_and_list &el, int seg_id=-1) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | wait (const sc_time &t, int seg_id=-1) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | wait (double v, sc_time_unit tu, int seg_id=-1) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | wait (const sc_time &t, const sc_event &e, int seg_id=-1) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | wait (double v, sc_time_unit tu, const sc_event &e, int seg_id=-1) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | wait (const sc_time &t, const sc_event_or_list &el, int seg_id=-1) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | wait (double v, sc_time_unit tu, const sc_event_or_list &el, int seg_id=-1) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | wait (const sc_time &t, const sc_event_and_list &el, int seg_id=-1) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | wait (double v, sc_time_unit tu, const sc_event_and_list &el, int seg_id=-1) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | wait (int n, int seg_id=-1) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | next_trigger () |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | next_trigger (const sc_event &e) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | next_trigger (const sc_event_or_list &el) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | next_trigger (const sc_event_and_list &el) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | next_trigger (const sc_time &t) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | next_trigger (double v, sc_time_unit tu) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | next_trigger (const sc_time &t, const sc_event &e) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | next_trigger (double v, sc_time_unit tu, const sc_event &e) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | next_trigger (const sc_time &t, const sc_event_or_list &el) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | next_trigger (double v, sc_time_unit tu, const sc_event_or_list &el) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | next_trigger (const sc_time &t, const sc_event_and_list &el) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
void | next_trigger (double v, sc_time_unit tu, const sc_event_and_list &el) |
A new parameter segment ID is added for the out-of-order simulation. More... | |
bool | timed_out () |
Protected Member Functions inherited from sc_core::sc_object | |
sc_object () | |
sc_object (const char *nm) | |
sc_object (const sc_object &) | |
sc_object & | operator= (const sc_object &) |
virtual | ~sc_object () |
virtual void | add_child_event (sc_event *event_p) |
virtual void | add_child_object (sc_object *object_p) |
virtual bool | remove_child_event (sc_event *event_p) |
virtual bool | remove_child_object (sc_object *object_p) |
phase_cb_mask | register_simulation_phase_callback (phase_cb_mask) |
phase_cb_mask | unregister_simulation_phase_callback (phase_cb_mask) |
Protected Attributes | |
sc_event * | m_change_event_p |
T | m_cur_val |
sc_dt::uint64 | m_change_stamp |
T | m_new_val |
Protected Attributes inherited from sc_core::sc_prim_channel | |
CHNL_MTX_TYPE_ | m_mutex |
A mutex to protect concurrent communication. More... | |
Additional Inherited Members | |
Public Types inherited from sc_core::sc_prim_channel | |
enum | { list_end = 0xdb } |
Public Types inherited from sc_core::sc_object | |
typedef unsigned | phase_cb_mask |
Definition at line 72 of file sc_signal.h.
|
protected |
Definition at line 78 of file sc_signal.h.
|
protected |
Definition at line 80 of file sc_signal.h.
|
protected |
Definition at line 79 of file sc_signal.h.
|
inline |
Definition at line 84 of file sc_signal.h.
|
inlineexplicit |
Definition at line 90 of file sc_signal.h.
|
inline |
Definition at line 96 of file sc_signal.h.
|
inlinevirtual |
Definition at line 104 of file sc_signal.h.
|
inlinevirtual |
Reimplemented from sc_core::sc_interface.
Definition at line 118 of file sc_signal.h.
|
protected |
Definition at line 294 of file sc_signal.h.
|
virtual |
Reimplemented from sc_core::sc_object.
Definition at line 269 of file sc_signal.h.
|
inlinevirtual |
Implements sc_core::sc_signal_in_if< T >.
Definition at line 150 of file sc_signal.h.
|
inlinevirtual |
Implements sc_core::sc_signal_in_if< T >.
Definition at line 138 of file sc_signal.h.
|
inline |
Definition at line 173 of file sc_signal.h.
|
inlinevirtual |
Reimplemented from sc_core::sc_signal_write_if< T >.
Definition at line 114 of file sc_signal.h.
|
inlinevirtual |
Reimplemented from sc_core::sc_prim_channel.
Reimplemented in sc_core::sc_signal_rv< W >, sc_core::sc_clock, sc_core::sc_signal_resolved, and sc_core::sc_buffer< T, POL >.
Definition at line 199 of file sc_signal.h.
|
inline |
Definition at line 159 of file sc_signal.h.
|
inline |
Definition at line 163 of file sc_signal.h.
|
inline |
Definition at line 166 of file sc_signal.h.
|
inline |
Definition at line 169 of file sc_signal.h.
|
inlinevirtual |
Reimplemented from sc_core::sc_object.
Definition at line 262 of file sc_signal.h.
|
inlinevirtual |
Implements sc_core::sc_signal_in_if< T >.
Definition at line 134 of file sc_signal.h.
|
inlinevirtual |
Reimplemented from sc_core::sc_interface.
Reimplemented in sc_core::sc_signal_rv< W >, sc_core::sc_clock, and sc_core::sc_signal_resolved.
Definition at line 227 of file sc_signal.h.
|
inlinevirtual |
Reimplemented from sc_core::sc_object.
Definition at line 185 of file sc_signal.h.
|
protectedvirtual |
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.
Reimplemented in sc_core::sc_signal_rv< W >, sc_core::sc_signal_resolved, and sc_core::sc_buffer< T, POL >.
Definition at line 284 of file sc_signal.h.
|
inlinevirtual |
Implements sc_core::sc_signal_in_if< T >.
Definition at line 122 of file sc_signal.h.
|
inlinevirtual |
Implements sc_core::sc_signal_write_if< T >.
Reimplemented in sc_core::sc_signal_rv< W >, sc_core::sc_clock, sc_core::sc_signal_resolved, and sc_core::sc_buffer< T, POL >.
Definition at line 241 of file sc_signal.h.
|
mutableprotected |
Definition at line 209 of file sc_signal.h.
|
protected |
Definition at line 211 of file sc_signal.h.
|
protected |
Definition at line 210 of file sc_signal.h.
|
protected |
Definition at line 212 of file sc_signal.h.