scc 2025.09
SystemC components library
scc::sc_inout_opt< bool > Class Reference
Inheritance diagram for scc::sc_inout_opt< bool >:
Collaboration diagram for scc::sc_inout_opt< bool >:

Public Types

typedef bool data_type
typedef sc_core::sc_signal_inout_if< data_type > if_type
typedef sc_core::sc_port< if_type, 1, sc_core::SC_ZERO_OR_MORE_BOUND > base_type
typedef sc_inout_opt< data_type > this_type
typedef sc_core::sc_signal_in_if< data_type > in_if_type
typedef sc_core::sc_port< in_if_type, 1, sc_core::SC_ZERO_OR_MORE_BOUND > in_port_type
typedef if_type inout_if_type
typedef base_type inout_port_type

Public Member Functions

 sc_inout_opt (const char *name_)
 sc_inout_opt (inout_if_type &interface_)
 sc_inout_opt (const char *name_, inout_if_type &interface_)
 sc_inout_opt (inout_port_type &parent_)
 sc_inout_opt (const char *name_, inout_port_type &parent_)
 sc_inout_opt (this_type &parent_)
 sc_inout_opt (const char *name_, this_type &parent_)
 sc_inout_opt (const this_type &)=delete
const sc_core::sc_event & default_event () const
const sc_core::sc_event & value_changed_event () const
const sc_core::sc_event & posedge_event () const
const sc_core::sc_event & negedge_event () const
const data_type & read () const
 operator const data_type & () const
bool event () const
bool posedge () const
bool negedge () const
void write (const data_type &value_)
this_type & operator= (const data_type &value_)
this_type & operator= (const in_if_type &interface_)
this_type & operator= (const in_port_type &port_)
this_type & operator= (const inout_port_type &port_)
this_type & operator= (const this_type &port_)
void initialize (const data_type &value_)
void initialize (const in_if_type &interface_)
void end_of_elaboration () override
virtual const char * kind () const override

Protected Attributes

data_type * m_init_val

Detailed Description

Definition at line 463 of file signal_opt_ports.h.

Member Typedef Documentation

◆ base_type

typedef sc_core::sc_port<if_type, 1, sc_core::SC_ZERO_OR_MORE_BOUND> scc::sc_inout_opt< bool >::base_type

Definition at line 468 of file signal_opt_ports.h.

◆ data_type

typedef bool scc::sc_inout_opt< bool >::data_type

Definition at line 465 of file signal_opt_ports.h.

◆ if_type

typedef sc_core::sc_signal_inout_if<data_type> scc::sc_inout_opt< bool >::if_type

Definition at line 467 of file signal_opt_ports.h.

◆ in_if_type

typedef sc_core::sc_signal_in_if<data_type> scc::sc_inout_opt< bool >::in_if_type

Definition at line 471 of file signal_opt_ports.h.

◆ in_port_type

typedef sc_core::sc_port<in_if_type, 1, sc_core::SC_ZERO_OR_MORE_BOUND> scc::sc_inout_opt< bool >::in_port_type

Definition at line 472 of file signal_opt_ports.h.

◆ inout_if_type

typedef if_type scc::sc_inout_opt< bool >::inout_if_type

Definition at line 473 of file signal_opt_ports.h.

◆ inout_port_type

typedef base_type scc::sc_inout_opt< bool >::inout_port_type

Definition at line 474 of file signal_opt_ports.h.

◆ this_type

typedef sc_inout_opt<data_type> scc::sc_inout_opt< bool >::this_type

Definition at line 469 of file signal_opt_ports.h.

Constructor & Destructor Documentation

◆ sc_inout_opt() [1/8]

scc::sc_inout_opt< bool >::sc_inout_opt ( )
inline

Definition at line 477 of file signal_opt_ports.h.

◆ sc_inout_opt() [2/8]

scc::sc_inout_opt< bool >::sc_inout_opt ( const char * name_)
inlineexplicit

Definition at line 481 of file signal_opt_ports.h.

◆ sc_inout_opt() [3/8]

scc::sc_inout_opt< bool >::sc_inout_opt ( inout_if_type & interface_)
inlineexplicit

Definition at line 485 of file signal_opt_ports.h.

◆ sc_inout_opt() [4/8]

scc::sc_inout_opt< bool >::sc_inout_opt ( const char * name_,
inout_if_type & interface_ )
inline

Definition at line 489 of file signal_opt_ports.h.

◆ sc_inout_opt() [5/8]

scc::sc_inout_opt< bool >::sc_inout_opt ( inout_port_type & parent_)
inlineexplicit

Definition at line 493 of file signal_opt_ports.h.

◆ sc_inout_opt() [6/8]

scc::sc_inout_opt< bool >::sc_inout_opt ( const char * name_,
inout_port_type & parent_ )
inline

Definition at line 497 of file signal_opt_ports.h.

◆ sc_inout_opt() [7/8]

scc::sc_inout_opt< bool >::sc_inout_opt ( this_type & parent_)
inline

Definition at line 501 of file signal_opt_ports.h.

◆ sc_inout_opt() [8/8]

scc::sc_inout_opt< bool >::sc_inout_opt ( const char * name_,
this_type & parent_ )
inline

Definition at line 505 of file signal_opt_ports.h.

Member Function Documentation

◆ default_event()

const sc_core::sc_event & scc::sc_inout_opt< bool >::default_event ( ) const
inline

Definition at line 513 of file signal_opt_ports.h.

◆ end_of_elaboration()

void scc::sc_inout_opt< bool >::end_of_elaboration ( )
inlineoverride

Definition at line 562 of file signal_opt_ports.h.

◆ event()

bool scc::sc_inout_opt< bool >::event ( ) const
inline

Definition at line 525 of file signal_opt_ports.h.

◆ initialize()

void scc::sc_inout_opt< bool >::initialize ( const in_if_type & interface_)
inline

Definition at line 560 of file signal_opt_ports.h.

◆ kind()

virtual const char * scc::sc_inout_opt< bool >::kind ( ) const
inlineoverridevirtual

Definition at line 570 of file signal_opt_ports.h.

◆ negedge()

bool scc::sc_inout_opt< bool >::negedge ( ) const
inline

Definition at line 529 of file signal_opt_ports.h.

◆ negedge_event()

const sc_core::sc_event & scc::sc_inout_opt< bool >::negedge_event ( ) const
inline

Definition at line 519 of file signal_opt_ports.h.

◆ operator const data_type &()

scc::sc_inout_opt< bool >::operator const data_type & ( ) const
inline

Definition at line 523 of file signal_opt_ports.h.

◆ operator=() [1/5]

this_type & scc::sc_inout_opt< bool >::operator= ( const data_type & value_)
inline

Definition at line 533 of file signal_opt_ports.h.

◆ operator=() [2/5]

this_type & scc::sc_inout_opt< bool >::operator= ( const in_if_type & interface_)
inline

Definition at line 538 of file signal_opt_ports.h.

◆ operator=() [3/5]

this_type & scc::sc_inout_opt< bool >::operator= ( const in_port_type & port_)
inline

Definition at line 543 of file signal_opt_ports.h.

◆ operator=() [4/5]

this_type & scc::sc_inout_opt< bool >::operator= ( const inout_port_type & port_)
inline

Definition at line 548 of file signal_opt_ports.h.

◆ operator=() [5/5]

this_type & scc::sc_inout_opt< bool >::operator= ( const this_type & port_)
inline

Definition at line 553 of file signal_opt_ports.h.

◆ posedge()

bool scc::sc_inout_opt< bool >::posedge ( ) const
inline

Definition at line 527 of file signal_opt_ports.h.

◆ posedge_event()

const sc_core::sc_event & scc::sc_inout_opt< bool >::posedge_event ( ) const
inline

Definition at line 517 of file signal_opt_ports.h.

◆ read()

const data_type & scc::sc_inout_opt< bool >::read ( ) const
inline

Definition at line 521 of file signal_opt_ports.h.

◆ value_changed_event()

const sc_core::sc_event & scc::sc_inout_opt< bool >::value_changed_event ( ) const
inline

Definition at line 515 of file signal_opt_ports.h.

◆ write()

void scc::sc_inout_opt< bool >::write ( const data_type & value_)
inline

Definition at line 531 of file signal_opt_ports.h.

Member Data Documentation

◆ m_init_val

data_type* scc::sc_inout_opt< bool >::m_init_val
protected

Definition at line 573 of file signal_opt_ports.h.


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