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

The resolved signal class. More...

#include <sysc/communication/sc_signal_resolved.h>

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

Public Types

typedef sc_signal_resolved this_type
 
typedef sc_signal
< sc_dt::sc_logic,
SC_MANY_WRITERS
base_type
 
typedef sc_dt::sc_logic data_type
 
- 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
 

Public Member Functions

 sc_signal_resolved ()
 
 sc_signal_resolved (const char *name_)
 
 sc_signal_resolved (const char *name_, const data_type &initial_value_)
 
virtual void register_port (sc_port_base &, const char *)
 
virtual void write (const data_type &)
 
this_typeoperator= (const data_type &a)
 
this_typeoperator= (const this_type &a)
 
virtual const char * kind () const
 
- Public Member Functions inherited from sc_core::sc_signal< sc_dt::sc_logic, SC_MANY_WRITERS >
 sc_signal ()
 
 sc_signal (const char *name_)
 
 sc_signal (const char *name_, const sc_dt::sc_logic &initial_value_)
 
virtual ~sc_signal ()
 
virtual sc_writer_policy get_writer_policy () const
 
virtual const sc_eventdefault_event () const
 
virtual const sc_eventvalue_changed_event () const
 
virtual const sc_dt::sc_logicread () const
 
virtual const sc_dt::sc_logicget_data_ref () const
 
virtual bool event () const
 
 operator const sc_dt::sc_logic & () const
 
this_typeoperator= (const sc_dt::sc_logic &a)
 
this_typeoperator= (const sc_signal_in_if< sc_dt::sc_logic > &a)
 
this_typeoperator= (const this_type &a)
 
const sc_dt::sc_logicget_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
 
- Public Member Functions inherited from sc_core::sc_signal_in_if< sc_dt::sc_logic >
virtual const sc_eventposedge_event () const =0
 
virtual const sc_eventnegedge_event () const =0
 
virtual bool posedge () const =0
 
virtual bool negedge () const =0
 
- Public Member Functions inherited from sc_core::sc_interface
virtual ~sc_interface ()
 
- Public Member Functions inherited from sc_core::sc_signal_write_if< sc_dt::sc_logic >
 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_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

virtual void update ()
 The update method (does nothing by default). More...
 
- Protected Member Functions inherited from sc_core::sc_signal< sc_dt::sc_logic, SC_MANY_WRITERS >
void do_update ()
 
- Protected Member Functions inherited from sc_core::sc_signal_inout_if< sc_dt::sc_logic >
 sc_signal_inout_if ()
 
- Protected Member Functions inherited from sc_core::sc_signal_in_if< sc_dt::sc_logic >
 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_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

std::vector< sc_process_b * > m_proc_vec
 
std::vector< data_typem_val_vec
 
- Protected Attributes inherited from sc_core::sc_signal< sc_dt::sc_logic, SC_MANY_WRITERS >
sc_eventm_change_event_p
 
sc_dt::sc_logic m_cur_val
 
sc_dt::uint64 m_change_stamp
 
sc_dt::sc_logic 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

- Protected Types inherited from sc_core::sc_signal< sc_dt::sc_logic, SC_MANY_WRITERS >
typedef sc_signal_inout_if
< sc_dt::sc_logic
if_type
 
typedef sc_signal
< sc_dt::sc_logic, POL > 
this_type
 
typedef sc_writer_policy_check
< POL > 
policy_type
 

Detailed Description

The resolved signal class.

Definition at line 47 of file sc_signal_resolved.h.

Member Typedef Documentation

Definition at line 55 of file sc_signal_resolved.h.

Definition at line 56 of file sc_signal_resolved.h.

Definition at line 54 of file sc_signal_resolved.h.

Constructor & Destructor Documentation

sc_core::sc_signal_resolved::sc_signal_resolved ( )
inline

Definition at line 62 of file sc_signal_resolved.h.

sc_core::sc_signal_resolved::sc_signal_resolved ( const char *  name_)
inlineexplicit

Definition at line 67 of file sc_signal_resolved.h.

sc_core::sc_signal_resolved::sc_signal_resolved ( const char *  name_,
const data_type initial_value_ 
)
inline

Definition at line 71 of file sc_signal_resolved.h.

Member Function Documentation

virtual const char* sc_core::sc_signal_resolved::kind ( ) const
inlinevirtual

Reimplemented from sc_core::sc_signal< sc_dt::sc_logic, SC_MANY_WRITERS >.

Definition at line 95 of file sc_signal_resolved.h.

this_type& sc_core::sc_signal_resolved::operator= ( const data_type a)
inline

Definition at line 89 of file sc_signal_resolved.h.

this_type& sc_core::sc_signal_resolved::operator= ( const this_type a)
inline

Definition at line 92 of file sc_signal_resolved.h.

virtual void sc_core::sc_signal_resolved::register_port ( sc_port_base ,
const char *   
)
inlinevirtual

Reimplemented from sc_core::sc_signal< sc_dt::sc_logic, SC_MANY_WRITERS >.

Definition at line 79 of file sc_signal_resolved.h.

virtual void sc_core::sc_signal_resolved::update ( )
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_signal< sc_dt::sc_logic, SC_MANY_WRITERS >.

virtual void sc_core::sc_signal_resolved::write ( const data_type )
virtual

Member Data Documentation

std::vector<sc_process_b*> sc_core::sc_signal_resolved::m_proc_vec
protected

Definition at line 104 of file sc_signal_resolved.h.

std::vector<data_type> sc_core::sc_signal_resolved::m_val_vec
protected

Definition at line 105 of file sc_signal_resolved.h.


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