SystemC  Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
sc_core::sc_prim_channel Class Reference

Abstract base class of all primitive channel classes. More...

#include <sysc/communication/sc_prim_channel.h>

Inheritance diagram for sc_core::sc_prim_channel:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_prim_channel:
Collaboration graph
[legend]

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_simcontextsimcontext () const
 
bool add_attribute (sc_attr_base &)
 
sc_attr_baseget_attribute (const std::string &name_)
 
const sc_attr_baseget_attribute (const std::string &name_) const
 
sc_attr_baseremove_attribute (const std::string &name_)
 
void remove_all_attributes ()
 
int num_attributes () const
 
sc_attr_cltnattr_cltn ()
 
const sc_attr_cltnattr_cltn () const
 
virtual const std::vector
< sc_event * > & 
get_child_events () const
 
virtual const std::vector
< sc_object * > & 
get_child_objects () const
 
sc_objectget_parent () const
 
sc_objectget_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_objectoperator= (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
 

Detailed Description

Abstract base class of all primitive channel classes.

Definition at line 81 of file sc_prim_channel.h.

Member Enumeration Documentation

anonymous enum
Enumerator
list_end 

Definition at line 87 of file sc_prim_channel.h.

Constructor & Destructor Documentation

sc_core::sc_prim_channel::sc_prim_channel ( )
protected
sc_core::sc_prim_channel::sc_prim_channel ( const char *  )
explicitprotected
virtual sc_core::sc_prim_channel::~sc_prim_channel ( )
protectedvirtual

Member Function Documentation

void sc_core::sc_prim_channel::async_request_update ( )
inline

Definition at line 539 of file sc_prim_channel.h.

virtual void sc_core::sc_prim_channel::before_end_of_elaboration ( )
protectedvirtual

Reimplemented in sc_core::sc_clock.

virtual void sc_core::sc_prim_channel::end_of_elaboration ( )
protectedvirtual
virtual void sc_core::sc_prim_channel::end_of_simulation ( )
protectedvirtual
virtual const char* sc_core::sc_prim_channel::kind ( ) const
inlinevirtual
void sc_core::sc_prim_channel::next_trigger ( )
inlineprotected

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::next_trigger ( const sc_event e)
inlineprotected

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 ( const sc_event_or_list el)
inlineprotected

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_and_list el)
inlineprotected

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_time t)
inlineprotected

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 ( double  v,
sc_time_unit  tu 
)
inlineprotected

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,
const sc_event e 
)
inlineprotected

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,
const sc_event e 
)
inlineprotected

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_or_list el 
)
inlineprotected

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 334 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 
)
inlineprotected

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 342 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( const sc_time t,
const sc_event_and_list el 
)
inlineprotected

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 351 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 
)
inlineprotected

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 359 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::request_update ( )
inline

Definition at line 521 of file sc_prim_channel.h.

virtual void sc_core::sc_prim_channel::start_of_simulation ( )
protectedvirtual
bool sc_core::sc_prim_channel::timed_out ( )
inlineprotected

Definition at line 366 of file sc_prim_channel.h.

virtual void sc_core::sc_prim_channel::update ( )
protectedvirtual
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  seg_id = -1)
inlineprotected

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 149 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( const sc_event e,
int  seg_id = -1 
)
inlineprotected

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 ( const sc_event_or_list el,
int  seg_id = -1 
)
inlineprotected

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_and_list el,
int  seg_id = -1 
)
inlineprotected

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_time t,
int  seg_id = -1 
)
inlineprotected

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 ( double  v,
sc_time_unit  tu,
int  seg_id = -1 
)
inlineprotected

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,
const sc_event e,
int  seg_id = -1 
)
inlineprotected

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,
const sc_event e,
int  seg_id = -1 
)
inlineprotected

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_or_list el,
int  seg_id = -1 
)
inlineprotected

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_or_list el,
int  seg_id = -1 
)
inlineprotected

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_and_list el,
int  seg_id = -1 
)
inlineprotected

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_and_list el,
int  seg_id = -1 
)
inlineprotected

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 ( int  n,
int  seg_id = -1 
)
inlineprotected

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 254 of file sc_prim_channel.h.

Friends And Related Function Documentation

friend class sc_prim_channel_registry
friend

Definition at line 84 of file sc_prim_channel.h.

Member Data Documentation

CHNL_MTX_TYPE_ sc_core::sc_prim_channel::m_mutex
mutableprotected

A mutex to protect concurrent communication.

Definition at line 408 of file sc_prim_channel.h.


The documentation for this class was generated from the following file: