gem5  v21.2.1.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sc_core::sc_inout< sc_dt::sc_logic > Class Reference

#include <sc_inout.hh>

Inheritance diagram for sc_core::sc_inout< sc_dt::sc_logic >:
sc_core::sc_port< sc_signal_inout_if< sc_dt::sc_logic >, 1 > sc_core::sc_port_b< sc_signal_inout_if< sc_dt::sc_logic > > sc_core::sc_port_base sc_core::sc_object sc_core::sc_inout_resolved sc_core::sc_out_resolved

Public Member Functions

 sc_inout ()
 
 sc_inout (const char *name)
 
virtual ~sc_inout ()
 
 sc_inout (const sc_signal_inout_if< sc_dt::sc_logic > &interface)
 
 sc_inout (const char *name, const sc_signal_inout_if< sc_dt::sc_logic > &interface)
 
 sc_inout (sc_port_b< sc_signal_inout_if< sc_dt::sc_logic > > &parent)
 
 sc_inout (const char *name, sc_port_b< sc_signal_inout_if< sc_dt::sc_logic > > &parent)
 
 sc_inout (sc_port< sc_signal_inout_if< sc_dt::sc_logic >, 1 > &parent)
 
 sc_inout (const char *name, sc_port< sc_signal_inout_if< sc_dt::sc_logic >, 1 > &parent)
 
void initialize (const sc_dt::sc_logic &l)
 
void initialize (const sc_signal_in_if< sc_dt::sc_logic > &i)
 
virtual void end_of_elaboration ()
 
const sc_dt::sc_logicread () const
 
 operator const sc_dt::sc_logic & () const
 
void write (const sc_dt::sc_logic &l)
 
sc_inout< sc_dt::sc_logic > & operator= (const sc_dt::sc_logic &l)
 
sc_inout< sc_dt::sc_logic > & operator= (const sc_signal_in_if< sc_dt::sc_logic > &i)
 
sc_inout< sc_dt::sc_logic > & operator= (const sc_port< sc_signal_in_if< sc_dt::sc_logic >, 1 > &p)
 
sc_inout< sc_dt::sc_logic > & operator= (const sc_port< sc_signal_inout_if< sc_dt::sc_logic >, 1 > &p)
 
sc_inout< sc_dt::sc_logic > & operator= (const sc_inout< sc_dt::sc_logic > &p)
 
const sc_eventdefault_event () const
 
const sc_eventvalue_changed_event () const
 
const sc_eventposedge_event () const
 
const sc_eventnegedge_event () const
 
bool event () const
 
bool posedge () const
 
bool negedge () const
 
sc_event_findervalue_changed () const
 
sc_event_finderpos () const
 
sc_event_finderneg () const
 
virtual const char * kind () const
 
void add_trace (sc_trace_file *tf, const std::string &name) const
 
- Public Member Functions inherited from sc_core::sc_port< sc_signal_inout_if< sc_dt::sc_logic >, 1 >
 sc_port ()
 
 sc_port (const char *name)
 
 sc_port (const sc_signal_inout_if< sc_dt::sc_logic > &interface)
 
 sc_port (const char *name, const sc_signal_inout_if< sc_dt::sc_logic > &interface)
 
 sc_port (sc_port_b< sc_signal_inout_if< sc_dt::sc_logic > > &parent)
 
 sc_port (const char *name, sc_port_b< sc_signal_inout_if< sc_dt::sc_logic > > &parent)
 
 sc_port (sc_port< sc_signal_inout_if< sc_dt::sc_logic >, N, SC_ONE_OR_MORE_BOUND > &parent)
 
 sc_port (const char *name, sc_port< sc_signal_inout_if< sc_dt::sc_logic >, N, SC_ONE_OR_MORE_BOUND > &parent)
 
virtual ~sc_port ()
 
virtual const char * kind () const override
 
- Public Member Functions inherited from sc_core::sc_port_b< sc_signal_inout_if< sc_dt::sc_logic > >
void operator() (sc_signal_inout_if< sc_dt::sc_logic > &i)
 
void operator() (sc_port_b< sc_signal_inout_if< sc_dt::sc_logic > > &p)
 
virtual void bind (sc_signal_inout_if< sc_dt::sc_logic > &i)
 
virtual void bind (sc_port_b< sc_signal_inout_if< sc_dt::sc_logic > > &p)
 
sc_signal_inout_if< sc_dt::sc_logic > * operator-> ()
 
const sc_signal_inout_if< sc_dt::sc_logic > * operator-> () const
 
sc_signal_inout_if< sc_dt::sc_logic > * operator[] (int n)
 
const sc_signal_inout_if< sc_dt::sc_logic > * operator[] (int n) const
 
sc_interfaceget_interface ()
 
const sc_interfaceget_interface () const
 
- Public Member Functions inherited from sc_core::sc_port_base
 sc_port_base (const char *name, int n, sc_port_policy p)
 
virtual ~sc_port_base ()
 
void warn_port_constructor () const
 
int maxSize () const
 
int size () const
 
const char * kind () const
 
- Public Member Functions inherited from sc_core::sc_object
const char * name () const
 
const char * basename () const
 
virtual void print (std::ostream &=std::cout) const
 
virtual void dump (std::ostream &=std::cout) const
 
virtual const std::vector< sc_object * > & get_child_objects () const
 
virtual const std::vector< sc_event * > & get_child_events () const
 
sc_objectget_parent_object () const
 
bool add_attribute (sc_attr_base &)
 
sc_attr_baseget_attribute (const std::string &)
 
sc_attr_baseremove_attribute (const std::string &)
 
void remove_all_attributes ()
 
int num_attributes () const
 
sc_attr_cltnattr_cltn ()
 
const sc_attr_cltnattr_cltn () const
 
sc_simcontextsimcontext () const
 

Private Member Functions

 sc_inout (const sc_inout< sc_dt::sc_logic > &)
 

Private Attributes

sc_dt::sc_logicinitValue
 
sc_event_finder_t< sc_signal_inout_if< sc_dt::sc_logic > > _valueChangedFinder
 
sc_event_finder_t< sc_signal_inout_if< sc_dt::sc_logic > > _posFinder
 
sc_event_finder_t< sc_signal_inout_if< sc_dt::sc_logic > > _negFinder
 
sc_trace_params_vec traceParamsVec
 

Additional Inherited Members

- Protected Member Functions inherited from sc_core::sc_port_b< sc_signal_inout_if< sc_dt::sc_logic > >
void before_end_of_elaboration () override
 
void end_of_elaboration () override
 
void start_of_simulation () override
 
void end_of_simulation () override
 
 sc_port_b (int n, sc_port_policy p)
 
 sc_port_b (const char *name, int n, sc_port_policy p)
 
virtual ~sc_port_b ()
 
int vbind (sc_interface &i) override
 
int vbind (sc_port_base &pb) override
 
- Protected Member Functions inherited from sc_core::sc_port_base
void bind (sc_interface &)
 
void bind (sc_port_base &)
 
void report_error (const char *id, const char *add_msg) const
 
- Protected Member Functions inherited from sc_core::sc_object
 sc_object ()
 
 sc_object (const char *)
 
 sc_object (const sc_object &)
 
sc_objectoperator= (const sc_object &)
 
virtual ~sc_object ()
 

Detailed Description

Definition at line 366 of file sc_inout.hh.

Constructor & Destructor Documentation

◆ sc_inout() [1/9]

Definition at line 370 of file sc_inout.hh.

◆ sc_inout() [2/9]

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

Definition at line 377 of file sc_inout.hh.

◆ ~sc_inout()

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

Definition at line 385 of file sc_inout.hh.

References sc_core::sc_inout< T >::initValue.

◆ sc_inout() [3/9]

sc_core::sc_inout< sc_dt::sc_logic >::sc_inout ( const sc_signal_inout_if< sc_dt::sc_logic > &  interface)
inlineexplicit

Definition at line 388 of file sc_inout.hh.

◆ sc_inout() [4/9]

sc_core::sc_inout< sc_dt::sc_logic >::sc_inout ( const char *  name,
const sc_signal_inout_if< sc_dt::sc_logic > &  interface 
)
inline

Definition at line 396 of file sc_inout.hh.

◆ sc_inout() [5/9]

Definition at line 405 of file sc_inout.hh.

◆ sc_inout() [6/9]

sc_core::sc_inout< sc_dt::sc_logic >::sc_inout ( const char *  name,
sc_port_b< sc_signal_inout_if< sc_dt::sc_logic > > &  parent 
)
inline

Definition at line 414 of file sc_inout.hh.

◆ sc_inout() [7/9]

Definition at line 423 of file sc_inout.hh.

◆ sc_inout() [8/9]

sc_core::sc_inout< sc_dt::sc_logic >::sc_inout ( const char *  name,
sc_port< sc_signal_inout_if< sc_dt::sc_logic >, 1 > &  parent 
)
inline

Definition at line 432 of file sc_inout.hh.

◆ sc_inout() [9/9]

Member Function Documentation

◆ add_trace()

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

◆ default_event()

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

Definition at line 509 of file sc_inout.hh.

◆ end_of_elaboration()

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

◆ event()

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

Definition at line 517 of file sc_inout.hh.

◆ initialize() [1/2]

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

◆ initialize() [2/2]

void sc_core::sc_inout< sc_dt::sc_logic >::initialize ( const sc_signal_in_if< sc_dt::sc_logic > &  i)
inline

Definition at line 454 of file sc_inout.hh.

References gem5::ArmISA::i, and sc_core::sc_inout< T >::initialize().

◆ kind()

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

Reimplemented from sc_core::sc_object.

Reimplemented in sc_core::sc_inout_resolved, and sc_core::sc_out_resolved.

Definition at line 525 of file sc_inout.hh.

◆ neg()

Definition at line 523 of file sc_inout.hh.

◆ negedge()

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

Definition at line 519 of file sc_inout.hh.

◆ negedge_event()

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

Definition at line 516 of file sc_inout.hh.

◆ operator const sc_dt::sc_logic &()

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

Definition at line 475 of file sc_inout.hh.

◆ operator=() [1/5]

Definition at line 479 of file sc_inout.hh.

References gem5::MipsISA::l.

◆ operator=() [2/5]

Definition at line 503 of file sc_inout.hh.

References gem5::MipsISA::p.

◆ operator=() [3/5]

Definition at line 491 of file sc_inout.hh.

References gem5::MipsISA::p.

◆ operator=() [4/5]

Definition at line 497 of file sc_inout.hh.

References gem5::MipsISA::p.

◆ operator=() [5/5]

Definition at line 485 of file sc_inout.hh.

References gem5::ArmISA::i.

◆ pos()

Definition at line 522 of file sc_inout.hh.

Referenced by sc_core::sc_sensitive::operator()().

◆ posedge()

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

Definition at line 518 of file sc_inout.hh.

◆ posedge_event()

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

Definition at line 515 of file sc_inout.hh.

◆ read()

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

Definition at line 474 of file sc_inout.hh.

◆ value_changed()

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

Definition at line 521 of file sc_inout.hh.

References sc_core::sc_inout< T >::_valueChangedFinder.

◆ value_changed_event()

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

Definition at line 511 of file sc_inout.hh.

◆ write()

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

Member Data Documentation

◆ _negFinder

Definition at line 538 of file sc_inout.hh.

◆ _posFinder

Definition at line 537 of file sc_inout.hh.

◆ _valueChangedFinder

Definition at line 536 of file sc_inout.hh.

◆ initValue

Definition at line 534 of file sc_inout.hh.

◆ traceParamsVec

sc_trace_params_vec sc_core::sc_inout< sc_dt::sc_logic >::traceParamsVec
mutableprivate

Definition at line 540 of file sc_inout.hh.


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

Generated on Wed May 4 2022 12:16:38 for gem5 by doxygen 1.8.17