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

#include <sc_in.hh>

Inheritance diagram for sc_core::sc_in< sc_dt::sc_logic >:
sc_core::sc_port< sc_signal_in_if< sc_dt::sc_logic >, 1 > sc_core::sc_port_b< sc_signal_in_if< sc_dt::sc_logic > > sc_core::sc_port_base sc_core::sc_object sc_core::sc_in_resolved

Public Member Functions

 sc_in ()
 
 sc_in (const char *name)
 
virtual ~sc_in ()
 
 sc_in (const sc_signal_in_if< sc_dt::sc_logic > &interface)
 
 sc_in (const char *name, const sc_signal_in_if< sc_dt::sc_logic > &interface)
 
 sc_in (sc_port_b< sc_signal_in_if< sc_dt::sc_logic > > &parent)
 
 sc_in (const char *name, sc_port_b< sc_signal_in_if< sc_dt::sc_logic > > &parent)
 
 sc_in (sc_port< sc_signal_in_if< sc_dt::sc_logic >, 1 > &parent)
 
 sc_in (const char *name, sc_port< sc_signal_in_if< sc_dt::sc_logic >, 1 > &parent)
 
virtual void bind (const sc_signal_in_if< sc_dt::sc_logic > &i)
 
void operator() (const sc_signal_in_if< sc_dt::sc_logic > &i)
 
virtual void bind (sc_port< sc_signal_in_if< sc_dt::sc_logic >, 1 > &i)
 
void operator() (sc_port< sc_signal_in_if< sc_dt::sc_logic >, 1 > &p)
 
virtual void bind (sc_port< sc_signal_inout_if< sc_dt::sc_logic >, 1 > &p)
 
void operator() (sc_port< sc_signal_inout_if< sc_dt::sc_logic >, 1 > &p)
 
virtual void end_of_elaboration ()
 
const sc_dt::sc_logicread () const
 
 operator const sc_dt::sc_logic & () const
 
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_in_if< sc_dt::sc_logic >, 1 >
 sc_port ()
 
 sc_port (const char *name)
 
 sc_port (const sc_signal_in_if< sc_dt::sc_logic > &interface)
 
 sc_port (const char *name, const sc_signal_in_if< sc_dt::sc_logic > &interface)
 
 sc_port (sc_port_b< sc_signal_in_if< sc_dt::sc_logic > > &parent)
 
 sc_port (const char *name, sc_port_b< sc_signal_in_if< sc_dt::sc_logic > > &parent)
 
 sc_port (sc_port< sc_signal_in_if< sc_dt::sc_logic >, N, SC_ONE_OR_MORE_BOUND > &parent)
 
 sc_port (const char *name, sc_port< sc_signal_in_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_in_if< sc_dt::sc_logic > >
void operator() (sc_signal_in_if< sc_dt::sc_logic > &i)
 
void operator() (sc_port_b< sc_signal_in_if< sc_dt::sc_logic > > &p)
 
virtual void bind (sc_signal_in_if< sc_dt::sc_logic > &i)
 
virtual void bind (sc_port_b< sc_signal_in_if< sc_dt::sc_logic > > &p)
 
sc_signal_in_if< sc_dt::sc_logic > * operator-> ()
 
const sc_signal_in_if< sc_dt::sc_logic > * operator-> () const
 
sc_signal_in_if< sc_dt::sc_logic > * operator[] (int n)
 
const sc_signal_in_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_in (const sc_in< sc_dt::sc_logic > &)
 
sc_in< sc_dt::sc_logic > & operator= (const sc_in< sc_dt::sc_logic > &)
 

Private Attributes

sc_event_finder_t< sc_signal_in_if< sc_dt::sc_logic > > _valueChangedFinder
 
sc_event_finder_t< sc_signal_in_if< sc_dt::sc_logic > > _posFinder
 
sc_event_finder_t< sc_signal_in_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_in_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 328 of file sc_in.hh.

Constructor & Destructor Documentation

◆ sc_in() [1/9]

Definition at line 332 of file sc_in.hh.

◆ sc_in() [2/9]

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

Definition at line 338 of file sc_in.hh.

◆ ~sc_in()

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

Definition at line 345 of file sc_in.hh.

◆ sc_in() [3/9]

sc_core::sc_in< sc_dt::sc_logic >::sc_in ( const sc_signal_in_if< sc_dt::sc_logic > &  interface)
inlineexplicit

Definition at line 348 of file sc_in.hh.

◆ sc_in() [4/9]

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

Definition at line 355 of file sc_in.hh.

◆ sc_in() [5/9]

Definition at line 363 of file sc_in.hh.

◆ sc_in() [6/9]

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

Definition at line 370 of file sc_in.hh.

◆ sc_in() [7/9]

sc_core::sc_in< sc_dt::sc_logic >::sc_in ( sc_port< sc_signal_in_if< sc_dt::sc_logic >, 1 > &  parent)
inlineexplicit

Definition at line 378 of file sc_in.hh.

◆ sc_in() [8/9]

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

Definition at line 385 of file sc_in.hh.

◆ sc_in() [9/9]

Member Function Documentation

◆ add_trace()

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

Definition at line 459 of file sc_in.hh.

References name(), gem5::X86ISA::tf, and sc_core::sc_in< T >::traceParamsVec.

◆ bind() [1/3]

virtual void sc_core::sc_in< sc_dt::sc_logic >::bind ( const sc_signal_in_if< sc_dt::sc_logic > &  i)
inlinevirtual

Definition at line 397 of file sc_in.hh.

References sc_core::sc_in< T >::bind(), and gem5::ArmISA::i.

◆ bind() [2/3]

virtual void sc_core::sc_in< sc_dt::sc_logic >::bind ( sc_port< sc_signal_in_if< sc_dt::sc_logic >, 1 > &  i)
inlinevirtual

Definition at line 406 of file sc_in.hh.

References sc_core::sc_in< T >::bind(), and gem5::ArmISA::i.

◆ bind() [3/3]

virtual void sc_core::sc_in< sc_dt::sc_logic >::bind ( sc_port< sc_signal_inout_if< sc_dt::sc_logic >, 1 > &  p)
inlinevirtual

Definition at line 417 of file sc_in.hh.

References sc_core::sc_port_base::bind(), and gem5::MipsISA::p.

◆ default_event()

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

Definition at line 439 of file sc_in.hh.

◆ end_of_elaboration()

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

Implements sc_core::sc_port_base.

Reimplemented in sc_core::sc_in_resolved.

Definition at line 428 of file sc_in.hh.

References sc_core::sc_trace(), and sc_core::sc_in< T >::traceParamsVec.

◆ event()

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

Definition at line 448 of file sc_in.hh.

◆ kind()

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

Reimplemented from sc_core::sc_object.

Reimplemented in sc_core::sc_in_resolved.

Definition at line 456 of file sc_in.hh.

◆ neg()

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

Definition at line 454 of file sc_in.hh.

◆ negedge()

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

Definition at line 450 of file sc_in.hh.

◆ negedge_event()

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

Definition at line 446 of file sc_in.hh.

◆ operator const sc_dt::sc_logic &()

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

Definition at line 437 of file sc_in.hh.

◆ operator()() [1/3]

void sc_core::sc_in< sc_dt::sc_logic >::operator() ( const sc_signal_in_if< sc_dt::sc_logic > &  i)
inline

Definition at line 403 of file sc_in.hh.

References sc_core::sc_in< T >::bind(), and gem5::ArmISA::i.

◆ operator()() [2/3]

void sc_core::sc_in< sc_dt::sc_logic >::operator() ( sc_port< sc_signal_in_if< sc_dt::sc_logic >, 1 > &  p)
inline

Definition at line 411 of file sc_in.hh.

References sc_core::sc_in< T >::bind(), and gem5::MipsISA::p.

◆ operator()() [3/3]

void sc_core::sc_in< sc_dt::sc_logic >::operator() ( sc_port< sc_signal_inout_if< sc_dt::sc_logic >, 1 > &  p)
inline

Definition at line 422 of file sc_in.hh.

References sc_core::sc_in< T >::bind(), and gem5::MipsISA::p.

◆ operator=()

sc_in<sc_dt::sc_logic>& sc_core::sc_in< sc_dt::sc_logic >::operator= ( const sc_in< sc_dt::sc_logic > &  )
private

◆ pos()

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

Definition at line 453 of file sc_in.hh.

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

◆ posedge()

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

Definition at line 449 of file sc_in.hh.

◆ posedge_event()

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

Definition at line 445 of file sc_in.hh.

◆ read()

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

Definition at line 436 of file sc_in.hh.

◆ value_changed()

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

Definition at line 452 of file sc_in.hh.

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

◆ value_changed_event()

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

Definition at line 441 of file sc_in.hh.

Member Data Documentation

◆ _negFinder

Definition at line 468 of file sc_in.hh.

◆ _posFinder

Definition at line 467 of file sc_in.hh.

◆ _valueChangedFinder

Definition at line 466 of file sc_in.hh.

◆ traceParamsVec

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

Definition at line 470 of file sc_in.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