Abstract base class of all primitive channel classes. More...
#include <sysc/communication/sc_prim_channel.h>
Public Types | |
enum | { list_end = 0xdb } |
Public Member Functions | |
virtual const char * | kind () const |
bool | update_requested () |
void | request_update () |
void | async_request_update () |
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). | |
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) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (const sc_event &e, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (const sc_event_or_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (const sc_event_and_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (const sc_time &t, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (double v, sc_time_unit tu, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (const sc_time &t, const sc_event &e, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (double v, sc_time_unit tu, const sc_event &e, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (const sc_time &t, const sc_event_or_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (double v, sc_time_unit tu, const sc_event_or_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (const sc_time &t, const sc_event_and_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (double v, sc_time_unit tu, const sc_event_and_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (int n, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (const sc_event &e, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (const sc_event_or_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (const sc_event_and_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (const sc_time &t, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (double v, sc_time_unit tu, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (const sc_time &t, const sc_event &e, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (double v, sc_time_unit tu, const sc_event &e, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (const sc_time &t, const sc_event_or_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (double v, sc_time_unit tu, const sc_event_or_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (const sc_time &t, const sc_event_and_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (double v, sc_time_unit tu, const sc_event_and_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
bool | timed_out () |
Protected Attributes | |
CHNL_MTX_TYPE_ | m_mutex |
A mutex to protect concurrent communication. | |
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 |
Definition at line 87 of file sc_prim_channel.h.
sc_core::sc_prim_channel::sc_prim_channel | ( | ) | [protected] |
sc_core::sc_prim_channel::sc_prim_channel | ( | const char * | ) | [explicit, protected] |
virtual sc_core::sc_prim_channel::~sc_prim_channel | ( | ) | [protected, virtual] |
void sc_core::sc_prim_channel::async_request_update | ( | ) | [inline] |
Definition at line 544 of file sc_prim_channel.h.
virtual void sc_core::sc_prim_channel::before_end_of_elaboration | ( | ) | [protected, virtual] |
Reimplemented in sc_core::sc_clock.
virtual void sc_core::sc_prim_channel::end_of_elaboration | ( | ) | [protected, virtual] |
virtual void sc_core::sc_prim_channel::end_of_simulation | ( | ) | [protected, virtual] |
virtual const char* sc_core::sc_prim_channel::kind | ( | ) | const [inline, virtual] |
Reimplemented from sc_core::sc_object.
Reimplemented in sc_core::sc_buffer< T, POL >, sc_core::sc_clock, sc_core::sc_fifo< T >, sc_core::sc_signal< T, POL >, sc_core::sc_signal< bool, POL >, sc_core::sc_signal< sc_dt::sc_logic, POL >, sc_core::sc_signal_resolved, sc_core::sc_signal_rv< W >, sc_core::sc_signal< sc_dt::sc_lv< W >, SC_MANY_WRITERS >, sc_core::sc_signal< bool, SC_ONE_WRITER >, and sc_core::sc_signal< sc_dt::sc_logic, SC_MANY_WRITERS >.
Definition at line 89 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::next_trigger | ( | double | v, | |
sc_time_unit | tu, | |||
const sc_event_and_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 363 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::next_trigger | ( | const sc_time & | t, | |
const sc_event_and_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 354 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::next_trigger | ( | double | v, | |
sc_time_unit | tu, | |||
const sc_event_or_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 344 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::next_trigger | ( | const sc_time & | t, | |
const sc_event_or_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 335 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::next_trigger | ( | double | v, | |
sc_time_unit | tu, | |||
const sc_event & | e, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 325 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::next_trigger | ( | const sc_time & | t, | |
const sc_event & | e, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 317 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::next_trigger | ( | double | v, | |
sc_time_unit | tu, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 308 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::next_trigger | ( | const sc_time & | t, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 300 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::next_trigger | ( | const sc_event_and_list & | el, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 292 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::next_trigger | ( | const sc_event_or_list & | el, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 284 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::next_trigger | ( | const sc_event & | e, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 276 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::next_trigger | ( | int | seg_id | ) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 265 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::request_update | ( | ) | [inline] |
Definition at line 526 of file sc_prim_channel.h.
virtual void sc_core::sc_prim_channel::start_of_simulation | ( | ) | [protected, virtual] |
bool sc_core::sc_prim_channel::timed_out | ( | ) | [inline, protected] |
Definition at line 371 of file sc_prim_channel.h.
virtual void sc_core::sc_prim_channel::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 in sc_core::sc_buffer< T, POL >, sc_core::sc_fifo< T >, sc_core::sc_signal< T, POL >, sc_core::sc_signal< bool, POL >, sc_core::sc_signal< sc_dt::sc_logic, POL >, sc_core::sc_signal_resolved, sc_core::sc_signal_rv< W >, sc_core::sc_signal< sc_dt::sc_lv< W >, SC_MANY_WRITERS >, sc_core::sc_signal< bool, SC_ONE_WRITER >, and sc_core::sc_signal< sc_dt::sc_logic, SC_MANY_WRITERS >.
bool sc_core::sc_prim_channel::update_requested | ( | ) | [inline] |
Definition at line 92 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::wait | ( | int | n, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 254 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::wait | ( | double | v, | |
sc_time_unit | tu, | |||
const sc_event_and_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 244 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::wait | ( | const sc_time & | t, | |
const sc_event_and_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 236 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::wait | ( | double | v, | |
sc_time_unit | tu, | |||
const sc_event_or_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 226 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::wait | ( | const sc_time & | t, | |
const sc_event_or_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 218 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::wait | ( | double | v, | |
sc_time_unit | tu, | |||
const sc_event & | e, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 209 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::wait | ( | const sc_time & | t, | |
const sc_event & | e, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 201 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::wait | ( | double | v, | |
sc_time_unit | tu, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 192 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::wait | ( | const sc_time & | t, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 184 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::wait | ( | const sc_event_and_list & | el, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 176 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::wait | ( | const sc_event_or_list & | el, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 168 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::wait | ( | const sc_event & | e, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 160 of file sc_prim_channel.h.
void sc_core::sc_prim_channel::wait | ( | int | seg_id | ) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 149 of file sc_prim_channel.h.
friend class sc_prim_channel_registry [friend] |
Definition at line 84 of file sc_prim_channel.h.
CHNL_MTX_TYPE_ sc_core::sc_prim_channel::m_mutex [mutable, protected] |
A mutex to protect concurrent communication.
Definition at line 413 of file sc_prim_channel.h.