SystemC
Recoding Infrastructure for SystemC v0.6.3 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
|
Abstract base class of all primitive channel classes. More...
#include <sysc/communication/sc_prim_channel.h>
Public Types | |
enum | { list_end = 0xdb } |
Public Types inherited from sc_core::sc_object | |
typedef unsigned | phase_cb_mask |
Public Member Functions | |
virtual const char * | kind () const |
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 |
virtual void | print (::std::ostream &os=::std::cout) const |
virtual void | dump (::std::ostream &os=::std::cout) const |
virtual void | trace (sc_trace_file *tf) 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 Member Functions | |
sc_prim_channel () | |
sc_prim_channel (const char *) | |
virtual | ~sc_prim_channel () |
virtual void | update () |
The update method (does nothing by default). More... | |
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 | |
CHNL_MTX_TYPE_ | m_mutex |
A mutex to protect concurrent communication. More... | |
Friends | |
class | sc_prim_channel_registry |
Abstract base class of all primitive channel classes.
Definition at line 81 of file sc_prim_channel.h.
anonymous enum |
Enumerator | |
---|---|
list_end |
Definition at line 87 of file sc_prim_channel.h.
|
protected |
|
explicitprotected |
|
protectedvirtual |
|
inline |
Definition at line 539 of file sc_prim_channel.h.
|
protectedvirtual |
Reimplemented in sc_core::sc_clock.
|
protectedvirtual |
|
protectedvirtual |
|
inlinevirtual |
Reimplemented from sc_core::sc_object.
Reimplemented in sc_core::sc_signal< sc_dt::sc_logic, POL >, sc_core::sc_signal< bool, POL >, sc_core::sc_signal< T, POL >, sc_core::sc_signal< sc_dt::sc_lv< W >, SC_MANY_WRITERS >, sc_core::sc_signal< bool, SC_ONE_WRITER >, sc_core::sc_signal< sc_dt::sc_logic, SC_MANY_WRITERS >, sc_core::sc_fifo< T >, 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 89 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 265 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 276 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 284 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 292 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 300 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 308 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 317 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 325 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 334 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 342 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 351 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 359 of file sc_prim_channel.h.
|
inline |
Definition at line 521 of file sc_prim_channel.h.
|
protectedvirtual |
|
inlineprotected |
Definition at line 366 of file sc_prim_channel.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 in sc_core::sc_signal< sc_dt::sc_logic, POL >, sc_core::sc_signal< bool, POL >, sc_core::sc_signal< T, POL >, sc_core::sc_signal< sc_dt::sc_lv< W >, SC_MANY_WRITERS >, sc_core::sc_signal< bool, SC_ONE_WRITER >, sc_core::sc_signal< sc_dt::sc_logic, SC_MANY_WRITERS >, sc_core::sc_fifo< T >, sc_core::sc_signal_rv< W >, sc_core::sc_signal_resolved, and sc_core::sc_buffer< T, POL >.
|
inline |
Definition at line 92 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 149 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 160 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 168 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 176 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 184 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 192 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 201 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 209 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 218 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 226 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 236 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 244 of file sc_prim_channel.h.
|
inlineprotected |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 254 of file sc_prim_channel.h.
|
friend |
Definition at line 84 of file sc_prim_channel.h.
|
mutableprotected |
A mutex to protect concurrent communication.
Definition at line 408 of file sc_prim_channel.h.