SystemC 3.0.0
Accellera SystemC proof-of-concept library
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sc_core::sc_inout< sc_dt::sc_logic > Class Reference

#include <sysc/communication/sc_signal_ports.h>

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

Public Types

typedef sc_dt::sc_logic data_type
 
typedef sc_signal_inout_if< data_typeif_type
 
typedef sc_port< if_type, 1, SC_ONE_OR_MORE_BOUNDbase_type
 
typedef sc_inout< data_typethis_type
 
typedef sc_signal_in_if< data_typein_if_type
 
typedef sc_port< in_if_type, 1, SC_ONE_OR_MORE_BOUNDin_port_type
 
typedef if_type inout_if_type
 
typedef base_type inout_port_type
 
- Public Types inherited from sc_core::sc_port_b< sc_signal_inout_if< sc_dt::sc_logic > >
typedef sc_port_base base_type
 
typedef sc_port_b< sc_signal_inout_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 Member Functions

 sc_inout ()
 
 sc_inout (const char *name_)
 
 sc_inout (inout_if_type &interface_)
 
 sc_inout (const char *name_, inout_if_type &interface_)
 
 sc_inout (inout_port_type &parent_)
 
 sc_inout (const char *name_, inout_port_type &parent_)
 
 sc_inout (this_type &parent_)
 
 sc_inout (const char *name_, this_type &parent_)
 
virtual ~sc_inout ()
 
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
 
void write (const data_type &value_)
 
this_typeoperator= (const data_type &value_)
 
this_typeoperator= (const in_if_type &interface_)
 
this_typeoperator= (const in_port_type &port_)
 
this_typeoperator= (const inout_port_type &port_)
 
this_typeoperator= (const this_type &port_)
 
void initialize (const data_type &value_)
 
void initialize (const in_if_type &interface_)
 
virtual void end_of_elaboration ()
 
sc_event_findervalue_changed () const
 
virtual const char * kind () const
 
void add_trace_internal (sc_trace_file *, const std::string &) const
 
void add_trace (sc_trace_file *, const std::string &) const
 
- Public Member Functions inherited from sc_core::sc_port< sc_signal_inout_if< sc_dt::sc_logic >, 1, SC_ONE_OR_MORE_BOUND >
 sc_port ()
 
 sc_port (const char *name_)
 
 sc_port (sc_signal_inout_if< sc_dt::sc_logic > &interface_)
 
 sc_port (const char *name_, sc_signal_inout_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 ()
 
virtual const char * kind () const
 
- Public Member Functions inherited from sc_core::sc_port_b< sc_signal_inout_if< sc_dt::sc_logic > >
virtual void bind (sc_signal_inout_if< sc_dt::sc_logic > &interface_)
 
virtual void bind (port_type &parent_)
 
void operator() (sc_signal_inout_if< sc_dt::sc_logic > &interface_)
 
void operator() (port_type &parent_)
 
int size () const
 
sc_signal_inout_if< sc_dt::sc_logic > * operator-> ()
 
const sc_signal_inout_if< sc_dt::sc_logic > * operator-> () const
 
const sc_signal_inout_if< sc_dt::sc_logic > * get_interface (int iface_i) const
 
sc_signal_inout_if< sc_dt::sc_logic > * get_interface (int iface_i)
 
virtual sc_interfaceget_interface ()
 
virtual const sc_interfaceget_interface () const
 
sc_signal_inout_if< sc_dt::sc_logic > * operator[] (int index_)
 
const sc_signal_inout_if< sc_dt::sc_logic > * operator[] (int index_) const
 
virtual std::type_index get_interface_type () const
 
- Public Member Functions inherited from sc_core::sc_port_base
int bind_count ()
 
virtual sc_interfaceget_interface ()=0
 
virtual const sc_interfaceget_interface () const =0
 
virtual const char * kind () const
 
virtual std::type_index get_interface_type () const =0
 
- 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
 
virtual const char * kind () 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
 
virtual ~sc_object ()
 

Protected Member Functions

void remove_traces () const
 
- Protected Member Functions inherited from sc_core::sc_port_b< sc_signal_inout_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 int vbind (sc_interface &)
 
virtual int vbind (sc_port_base &)
 
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 int vbind (sc_interface &)=0
 
virtual int vbind (sc_port_base &)=0
 
virtual void before_end_of_elaboration ()
 
virtual void 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
 
virtual void make_sensitive (sc_thread_handle, sc_event_finder *=0) const
 
virtual void make_sensitive (sc_method_handle, sc_event_finder *=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 hierarchy_scope get_hierarchy_scope ()
 

Protected Attributes

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

Detailed Description

Definition at line 1420 of file sc_signal_ports.h.

Member Typedef Documentation

◆ base_type

Definition at line 1430 of file sc_signal_ports.h.

◆ data_type

Definition at line 1427 of file sc_signal_ports.h.

◆ if_type

Definition at line 1429 of file sc_signal_ports.h.

◆ in_if_type

Definition at line 1433 of file sc_signal_ports.h.

◆ in_port_type

Definition at line 1434 of file sc_signal_ports.h.

◆ inout_if_type

typedef if_type sc_core::sc_inout< sc_dt::sc_logic >::inout_if_type

Definition at line 1435 of file sc_signal_ports.h.

◆ inout_port_type

typedef base_type sc_core::sc_inout< sc_dt::sc_logic >::inout_port_type

Definition at line 1436 of file sc_signal_ports.h.

◆ this_type

Definition at line 1431 of file sc_signal_ports.h.

Constructor & Destructor Documentation

◆ sc_inout() [1/8]

sc_core::sc_inout< sc_dt::sc_logic >::sc_inout ( )
inline

Definition at line 1442 of file sc_signal_ports.h.

◆ sc_inout() [2/8]

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

Definition at line 1447 of file sc_signal_ports.h.

◆ sc_inout() [3/8]

sc_core::sc_inout< sc_dt::sc_logic >::sc_inout ( inout_if_type interface_)
inlineexplicit

Definition at line 1452 of file sc_signal_ports.h.

◆ sc_inout() [4/8]

sc_core::sc_inout< sc_dt::sc_logic >::sc_inout ( const char *  name_,
inout_if_type interface_ 
)
inline

Definition at line 1457 of file sc_signal_ports.h.

◆ sc_inout() [5/8]

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

Definition at line 1462 of file sc_signal_ports.h.

◆ sc_inout() [6/8]

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

Definition at line 1467 of file sc_signal_ports.h.

◆ sc_inout() [7/8]

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

Definition at line 1472 of file sc_signal_ports.h.

◆ sc_inout() [8/8]

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

Definition at line 1477 of file sc_signal_ports.h.

◆ ~sc_inout()

virtual sc_core::sc_inout< sc_dt::sc_logic >::~sc_inout ( )
virtual

Member Function Documentation

◆ add_trace()

void sc_core::sc_inout< sc_dt::sc_logic >::add_trace ( sc_trace_file ,
const std::string &   
) const

◆ add_trace_internal()

void sc_core::sc_inout< sc_dt::sc_logic >::add_trace_internal ( sc_trace_file ,
const std::string &   
) const

◆ default_event()

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

Definition at line 1492 of file sc_signal_ports.h.

◆ end_of_elaboration()

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

Reimplemented from sc_core::sc_port_base.

Reimplemented in sc_core::sc_inout_resolved.

◆ event()

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

Definition at line 1540 of file sc_signal_ports.h.

◆ initialize() [1/2]

void sc_core::sc_inout< sc_dt::sc_logic >::initialize ( const data_type value_)

◆ initialize() [2/2]

void sc_core::sc_inout< sc_dt::sc_logic >::initialize ( const in_if_type interface_)
inline

Definition at line 1578 of file sc_signal_ports.h.

◆ kind()

virtual const char * sc_core::sc_inout< sc_dt::sc_logic >::kind ( ) const
inlinevirtual

◆ neg()

Definition at line 1531 of file sc_signal_ports.h.

◆ negedge()

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

Definition at line 1550 of file sc_signal_ports.h.

◆ negedge_event()

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

Definition at line 1508 of file sc_signal_ports.h.

◆ operator const data_type &()

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

Definition at line 1517 of file sc_signal_ports.h.

◆ operator=() [1/5]

this_type & sc_core::sc_inout< sc_dt::sc_logic >::operator= ( const data_type value_)
inline

Definition at line 1558 of file sc_signal_ports.h.

◆ operator=() [2/5]

this_type & sc_core::sc_inout< sc_dt::sc_logic >::operator= ( const in_if_type interface_)
inline

Definition at line 1561 of file sc_signal_ports.h.

◆ operator=() [3/5]

this_type & sc_core::sc_inout< sc_dt::sc_logic >::operator= ( const in_port_type port_)
inline

Definition at line 1564 of file sc_signal_ports.h.

◆ operator=() [4/5]

this_type & sc_core::sc_inout< sc_dt::sc_logic >::operator= ( const inout_port_type port_)
inline

Definition at line 1567 of file sc_signal_ports.h.

◆ operator=() [5/5]

this_type & sc_core::sc_inout< sc_dt::sc_logic >::operator= ( const this_type port_)
inline

Definition at line 1570 of file sc_signal_ports.h.

◆ pos()

Definition at line 1523 of file sc_signal_ports.h.

◆ posedge()

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

Definition at line 1545 of file sc_signal_ports.h.

◆ posedge_event()

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

Definition at line 1503 of file sc_signal_ports.h.

◆ read()

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

Definition at line 1514 of file sc_signal_ports.h.

◆ remove_traces()

void sc_core::sc_inout< sc_dt::sc_logic >::remove_traces ( ) const
protected

◆ value_changed()

sc_event_finder & sc_core::sc_inout< sc_dt::sc_logic >::value_changed ( ) const
inline

Definition at line 1591 of file sc_signal_ports.h.

◆ value_changed_event()

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

Definition at line 1498 of file sc_signal_ports.h.

◆ write()

void sc_core::sc_inout< sc_dt::sc_logic >::write ( const data_type value_)
inline

Definition at line 1555 of file sc_signal_ports.h.

Member Data Documentation

◆ m_init_val

data_type* sc_core::sc_inout< sc_dt::sc_logic >::m_init_val
protected

Definition at line 1602 of file sc_signal_ports.h.

◆ m_traces

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

Definition at line 1615 of file sc_signal_ports.h.


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