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 | List of all members
sc_core::sc_in< sc_dt::sc_logic > Class Template Reference

Specialization of sc_in<T> for type sc_dt::sc_logic. More...

#include <sysc/communication/sc_signal_ports.h>

Inheritance diagram for sc_core::sc_in< sc_dt::sc_logic >:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_in< sc_dt::sc_logic >:
Collaboration graph
[legend]

Public Types

typedef sc_dt::sc_logic data_type
 
typedef sc_signal_in_if
< data_type
if_type
 
typedef sc_port< if_type,
1, SC_ONE_OR_MORE_BOUND
base_type
 
typedef sc_in< data_typethis_type
 
typedef base_type::port_type base_port_type
 
typedef if_type in_if_type
 
typedef base_type in_port_type
 
typedef sc_signal_inout_if
< data_type
inout_if_type
 
typedef sc_port< inout_if_type,
1, SC_ONE_OR_MORE_BOUND
inout_port_type
 
- Public Types inherited from sc_core::sc_port_b< sc_signal_in_if< sc_dt::sc_logic > >
typedef sc_port_base base_type
 
typedef sc_port_b
< sc_signal_in_if
< sc_dt::sc_logic > > 
this_type
 
typedef this_type port_type
 
- Public Types inherited from sc_core::sc_port_base
typedef sc_port_base this_type
 
- Public Types inherited from sc_core::sc_object
typedef unsigned phase_cb_mask
 

Public Member Functions

 sc_in ()
 
 sc_in (const char *name_)
 
 sc_in (const in_if_type &interface_)
 
 sc_in (const char *name_, const in_if_type &interface_)
 
 sc_in (in_port_type &parent_)
 
 sc_in (const char *name_, in_port_type &parent_)
 
 sc_in (inout_port_type &parent_)
 
 sc_in (const char *name_, inout_port_type &parent_)
 
 sc_in (this_type &parent_)
 
 sc_in (const char *name_, this_type &parent_)
 
virtual ~sc_in ()
 
SC_VIRTUAL_ void bind (const in_if_type &interface_)
 
SC_VIRTUAL_ void bind (in_if_type &interface_)
 
void operator() (const in_if_type &interface_)
 
SC_VIRTUAL_ void bind (in_port_type &parent_)
 
void operator() (in_port_type &parent_)
 
SC_VIRTUAL_ void bind (inout_port_type &parent_)
 
void operator() (inout_port_type &parent_)
 
const sc_eventdefault_event () const
 
const sc_eventvalue_changed_event () const
 
const sc_eventposedge_event () const
 
const sc_eventnegedge_event () const
 
const data_typeread () const
 
 operator const data_type & () const
 
sc_event_finderpos () const
 
sc_event_finderneg () const
 
bool event () const
 
bool posedge () const
 
bool negedge () const
 
sc_event_findervalue_changed () const
 
virtual void end_of_elaboration ()
 
virtual const char * kind () const
 
void add_trace (sc_trace_file *, const std::string &) const
 
void add_trace_internal (sc_trace_file *, const std::string &) const
 
- Public Member Functions inherited from sc_core::sc_port< sc_signal_in_if< sc_dt::sc_logic >, 1, SC_ONE_OR_MORE_BOUND >
 sc_port ()
 
 sc_port (const char *name_)
 
 sc_port (sc_signal_in_if< sc_dt::sc_logic > &interface_)
 
 sc_port (const char *name_, sc_signal_in_if< sc_dt::sc_logic > &interface_)
 
 sc_port (base_type &parent_)
 
 sc_port (const char *name_, base_type &parent_)
 
 sc_port (this_type &parent_)
 
 sc_port (const char *name_, this_type &parent_)
 
virtual ~sc_port ()
 
- Public Member Functions inherited from sc_core::sc_port_b< sc_signal_in_if< sc_dt::sc_logic > >
SC_VIRTUAL_ void bind (sc_signal_in_if< sc_dt::sc_logic > &interface_)
 
SC_VIRTUAL_ void bind (port_type &parent_)
 
void operator() (sc_signal_in_if< sc_dt::sc_logic > &interface_)
 
void operator() (port_type &parent_)
 
int size () const
 
sc_signal_in_if
< sc_dt::sc_logic > * 
operator-> ()
 
const sc_signal_in_if
< sc_dt::sc_logic > * 
operator-> () const
 
const sc_signal_in_if
< sc_dt::sc_logic > * 
get_interface (int iface_i) const
 
sc_signal_in_if
< sc_dt::sc_logic > * 
get_interface (int iface_i)
 
virtual sc_interfaceget_interface ()
 
virtual const sc_interfaceget_interface () const
 
sc_signal_in_if
< sc_dt::sc_logic > * 
operator[] (int index_)
 
const sc_signal_in_if
< sc_dt::sc_logic > * 
operator[] (int index_) const
 
- Public Member Functions inherited from sc_core::sc_port_base
int bind_count ()
 
- 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

void remove_traces () const
 
virtual int vbind (sc_interface &)
 
virtual int vbind (sc_port_base &)
 
SC_VIRTUAL_ void bind (base_port_type &parent_)
 
- Protected Member Functions inherited from sc_core::sc_port_b< sc_signal_in_if< sc_dt::sc_logic > >
 sc_port_b (int max_size_, sc_port_policy policy=SC_ONE_OR_MORE_BOUND)
 
 sc_port_b (const char *name_, int max_size_, sc_port_policy policy=SC_ONE_OR_MORE_BOUND)
 
virtual ~sc_port_b ()
 
virtual void make_sensitive (sc_thread_handle, sc_event_finder *=0) const
 
virtual void make_sensitive (sc_method_handle, sc_event_finder *=0) const
 
- Protected Member Functions inherited from sc_core::sc_port_base
 sc_port_base (int max_size_, sc_port_policy policy=SC_ONE_OR_MORE_BOUND)
 
 sc_port_base (const char *name_, int max_size_, sc_port_policy policy=SC_ONE_OR_MORE_BOUND)
 
virtual ~sc_port_base ()
 
void bind (sc_interface &interface_)
 
void bind (this_type &parent_)
 
virtual void before_end_of_elaboration ()
 
virtual void start_of_simulation ()
 
virtual void end_of_simulation ()
 
void report_error (const char *id, const char *add_msg=0) const
 
void add_static_event (sc_method_handle process_p, const sc_event &event) const
 
void add_static_event (sc_thread_handle process_p, const sc_event &event) const
 
- 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

sc_trace_params_vecm_traces
 
- Protected Attributes inherited from sc_core::sc_port_base
sc_bind_info * m_bind_info
 

Detailed Description

template<>
class sc_core::sc_in< sc_dt::sc_logic >

Specialization of sc_in<T> for type sc_dt::sc_logic.

Definition at line 702 of file sc_signal_ports.h.

Member Typedef Documentation

Definition at line 714 of file sc_signal_ports.h.

Definition at line 712 of file sc_signal_ports.h.

Definition at line 709 of file sc_signal_ports.h.

Definition at line 711 of file sc_signal_ports.h.

Definition at line 716 of file sc_signal_ports.h.

Definition at line 717 of file sc_signal_ports.h.

Definition at line 718 of file sc_signal_ports.h.

Definition at line 719 of file sc_signal_ports.h.

Definition at line 713 of file sc_signal_ports.h.

Constructor & Destructor Documentation

Definition at line 725 of file sc_signal_ports.h.

sc_core::sc_in< sc_dt::sc_logic >::sc_in ( const char *  name_)
inlineexplicit

Definition at line 730 of file sc_signal_ports.h.

sc_core::sc_in< sc_dt::sc_logic >::sc_in ( const in_if_type interface_)
inlineexplicit

Definition at line 735 of file sc_signal_ports.h.

sc_core::sc_in< sc_dt::sc_logic >::sc_in ( const char *  name_,
const in_if_type interface_ 
)
inline

Definition at line 740 of file sc_signal_ports.h.

sc_core::sc_in< sc_dt::sc_logic >::sc_in ( in_port_type parent_)
inlineexplicit

Definition at line 745 of file sc_signal_ports.h.

sc_core::sc_in< sc_dt::sc_logic >::sc_in ( const char *  name_,
in_port_type parent_ 
)
inline

Definition at line 750 of file sc_signal_ports.h.

sc_core::sc_in< sc_dt::sc_logic >::sc_in ( inout_port_type parent_)
inlineexplicit

Definition at line 755 of file sc_signal_ports.h.

sc_core::sc_in< sc_dt::sc_logic >::sc_in ( const char *  name_,
inout_port_type parent_ 
)
inline

Definition at line 761 of file sc_signal_ports.h.

sc_core::sc_in< sc_dt::sc_logic >::sc_in ( this_type parent_)
inline

Definition at line 767 of file sc_signal_ports.h.

sc_core::sc_in< sc_dt::sc_logic >::sc_in ( const char *  name_,
this_type parent_ 
)
inline

Definition at line 772 of file sc_signal_ports.h.

virtual sc_core::sc_in< sc_dt::sc_logic >::~sc_in ( )
inlinevirtual

Definition at line 780 of file sc_signal_ports.h.

Member Function Documentation

void sc_core::sc_in< sc_dt::sc_logic >::add_trace ( sc_trace_file ,
const std::string &   
) const
void sc_core::sc_in< sc_dt::sc_logic >::add_trace_internal ( sc_trace_file ,
const std::string &   
) const
SC_VIRTUAL_ void sc_core::sc_in< sc_dt::sc_logic >::bind ( const in_if_type interface_)
inline

Definition at line 792 of file sc_signal_ports.h.

SC_VIRTUAL_ void sc_core::sc_in< sc_dt::sc_logic >::bind ( in_if_type interface_)
inline

Definition at line 795 of file sc_signal_ports.h.

SC_VIRTUAL_ void sc_core::sc_in< sc_dt::sc_logic >::bind ( in_port_type parent_)
inline

Definition at line 804 of file sc_signal_ports.h.

SC_VIRTUAL_ void sc_core::sc_in< sc_dt::sc_logic >::bind ( inout_port_type parent_)
inline

Definition at line 813 of file sc_signal_ports.h.

SC_VIRTUAL_ void sc_core::sc_in< sc_dt::sc_logic >::bind ( base_port_type parent_)
inlineprotected

Definition at line 950 of file sc_signal_ports.h.

const sc_event& sc_core::sc_in< sc_dt::sc_logic >::default_event ( ) const
inline

Definition at line 824 of file sc_signal_ports.h.

virtual void sc_core::sc_in< sc_dt::sc_logic >::end_of_elaboration ( )
virtual

Reimplemented from sc_core::sc_port_base.

Reimplemented in sc_core::sc_in_resolved.

bool sc_core::sc_in< sc_dt::sc_logic >::event ( ) const
inline

Definition at line 888 of file sc_signal_ports.h.

virtual const char* sc_core::sc_in< sc_dt::sc_logic >::kind ( ) const
inlinevirtual
sc_event_finder& sc_core::sc_in< sc_dt::sc_logic >::neg ( ) const
inline

Definition at line 871 of file sc_signal_ports.h.

bool sc_core::sc_in< sc_dt::sc_logic >::negedge ( ) const
inline

Definition at line 898 of file sc_signal_ports.h.

const sc_event& sc_core::sc_in< sc_dt::sc_logic >::negedge_event ( ) const
inline

Definition at line 840 of file sc_signal_ports.h.

sc_core::sc_in< sc_dt::sc_logic >::operator const data_type & ( ) const
inline

Definition at line 849 of file sc_signal_ports.h.

void sc_core::sc_in< sc_dt::sc_logic >::operator() ( const in_if_type interface_)
inline

Definition at line 798 of file sc_signal_ports.h.

void sc_core::sc_in< sc_dt::sc_logic >::operator() ( in_port_type parent_)
inline

Definition at line 807 of file sc_signal_ports.h.

void sc_core::sc_in< sc_dt::sc_logic >::operator() ( inout_port_type parent_)
inline

Definition at line 816 of file sc_signal_ports.h.

sc_event_finder& sc_core::sc_in< sc_dt::sc_logic >::pos ( ) const
inline

Definition at line 855 of file sc_signal_ports.h.

bool sc_core::sc_in< sc_dt::sc_logic >::posedge ( ) const
inline

Definition at line 893 of file sc_signal_ports.h.

const sc_event& sc_core::sc_in< sc_dt::sc_logic >::posedge_event ( ) const
inline

Definition at line 835 of file sc_signal_ports.h.

const data_type& sc_core::sc_in< sc_dt::sc_logic >::read ( ) const
inline

Definition at line 846 of file sc_signal_ports.h.

void sc_core::sc_in< sc_dt::sc_logic >::remove_traces ( ) const
protected
sc_event_finder& sc_core::sc_in< sc_dt::sc_logic >::value_changed ( ) const
inline

Definition at line 903 of file sc_signal_ports.h.

const sc_event& sc_core::sc_in< sc_dt::sc_logic >::value_changed_event ( ) const
inline

Definition at line 830 of file sc_signal_ports.h.

virtual int sc_core::sc_in< sc_dt::sc_logic >::vbind ( sc_interface )
protectedvirtual
virtual int sc_core::sc_in< sc_dt::sc_logic >::vbind ( sc_port_base )
protectedvirtual

Member Data Documentation

sc_trace_params_vec* sc_core::sc_in< sc_dt::sc_logic >::m_traces
mutableprotected

Definition at line 937 of file sc_signal_ports.h.


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