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

#include <scx_signal_uint.h>

Inheritance diagram for sc_core::sc_in< sc_dt::sc_uint< W > >:
sc_core::sc_port< sc_signal_in_if< sc_dt::sc_uint< W > >, 1, SC_ONE_OR_MORE_BOUND > sc_dt::sc_value_base sc_core::sc_port_b< sc_signal_in_if< sc_dt::sc_uint< W > > > sc_core::sc_port_base sc_core::sc_object

Public Types

typedef sc_dt::sc_uint< W > data_type
 
typedef sc_signal_in_if< sc_dt::sc_uint< W > > if_type
 
typedef sc_port< if_type, 1, SC_ONE_OR_MORE_BOUNDbase_type
 
typedef sc_in< sc_dt::sc_uint< W > > this_type
 
typedef if_type in_if_type
 
typedef base_type in_port_type
 
typedef sc_signal_inout_if< sc_dt::sc_uint< W > > inout_if_type
 
typedef sc_inout< sc_dt::sc_uint< W > > inout_port_type
 

Public Member Functions

void bind (const in_if_type &interface_)
 
void operator() (const in_if_type &interface_)
 
void bind (in_port_type &parent_)
 
void operator() (in_port_type &parent_)
 
void bind (inout_port_type &parent_)
 
void operator() (inout_port_type &parent_)
 
 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_dt::sc_uint_bitref_r operator[] (int i) const
 
sc_dt::sc_uint_bitref_r bit (int i) const
 
sc_dt::sc_uint_subref_r operator() (int left, int right) const
 
sc_dt::sc_uint_subref_r range (int left, int right) const
 
const sc_eventdefault_event () const
 
const sc_eventvalue_changed_event () const
 
const sc_dt::sc_uint< W > & read () const
 
 operator sc_dt::uint64 () const
 
bool event () const
 
sc_event_findervalue_changed () const
 
bool and_reduce () const
 
bool nand_reduce () const
 
bool nor_reduce () const
 
bool or_reduce () const
 
bool xnor_reduce () const
 
bool xor_reduce () const
 
virtual void end_of_elaboration ()
 
virtual const char * kind () const
 
void add_trace (sc_trace_file *tf_, const std::string &name_) const
 
virtual int concat_length (bool *xz_present_p) const
 
virtual sc_dt::uint64 concat_get_uint64 () const
 
virtual bool concat_get_ctrl (sc_dt::sc_digit *dst_p, int low_i) const
 
virtual bool concat_get_data (sc_dt::sc_digit *dst_p, int low_i) const
 
- Public Member Functions inherited from sc_core::sc_port< sc_signal_in_if< sc_dt::sc_uint< W > >, 1, SC_ONE_OR_MORE_BOUND >
 sc_port ()
 
 sc_port (const char *name)
 
 sc_port (const sc_signal_in_if< sc_dt::sc_uint< W > > &interface)
 
 sc_port (const char *name, const sc_signal_in_if< sc_dt::sc_uint< W > > &interface)
 
 sc_port (sc_port_b< sc_signal_in_if< sc_dt::sc_uint< W > > > &parent)
 
 sc_port (const char *name, sc_port_b< sc_signal_in_if< sc_dt::sc_uint< W > > > &parent)
 
 sc_port (sc_port< sc_signal_in_if< sc_dt::sc_uint< W > >, N, P > &parent)
 
 sc_port (const char *name, sc_port< sc_signal_in_if< sc_dt::sc_uint< W > >, N, P > &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_uint< W > > >
void operator() (sc_signal_in_if< sc_dt::sc_uint< W > > &i)
 
void operator() (sc_port_b< sc_signal_in_if< sc_dt::sc_uint< W > > > &p)
 
virtual void bind (sc_signal_in_if< sc_dt::sc_uint< W > > &i)
 
virtual void bind (sc_port_b< sc_signal_in_if< sc_dt::sc_uint< W > > > &p)
 
sc_signal_in_if< sc_dt::sc_uint< W > > * operator-> ()
 
const sc_signal_in_if< sc_dt::sc_uint< W > > * operator-> () const
 
sc_signal_in_if< sc_dt::sc_uint< W > > * operator[] (int n)
 
const sc_signal_in_if< sc_dt::sc_uint< W > > * 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
 
- 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
 
- Public Member Functions inherited from sc_dt::sc_value_base
virtual ~sc_value_base ()
 

Protected Member Functions

virtual int vbind (sc_interface &interface_)
 
virtual int vbind (sc_port_base &parent_)
 
void remove_traces () const
 
- Protected Member Functions inherited from sc_core::sc_port_b< sc_signal_in_if< sc_dt::sc_uint< W > > >
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 ()
 

Protected Attributes

sc_trace_params_vecm_traces
 

Private Member Functions

 sc_in (const sc_in< sc_dt::sc_uint< W > > &)
 
sc_in< sc_dt::sc_uint< W > > & operator= (const sc_in< sc_dt::sc_uint< W > > &)
 

Detailed Description

Definition at line 803 of file scx_signal_uint.h.

Member Typedef Documentation

◆ base_type

Definition at line 814 of file scx_signal_uint.h.

◆ data_type

Definition at line 812 of file scx_signal_uint.h.

◆ if_type

Definition at line 813 of file scx_signal_uint.h.

◆ in_if_type

Definition at line 817 of file scx_signal_uint.h.

◆ in_port_type

Definition at line 818 of file scx_signal_uint.h.

◆ inout_if_type

Definition at line 819 of file scx_signal_uint.h.

◆ inout_port_type

Definition at line 820 of file scx_signal_uint.h.

◆ this_type

Definition at line 815 of file scx_signal_uint.h.

Constructor & Destructor Documentation

◆ sc_in() [1/11]

sc_core::sc_in< sc_dt::sc_uint< W > >::sc_in ( )
inline

Definition at line 865 of file scx_signal_uint.h.

◆ sc_in() [2/11]

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

Definition at line 869 of file scx_signal_uint.h.

◆ sc_in() [3/11]

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

Definition at line 873 of file scx_signal_uint.h.

◆ sc_in() [4/11]

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

Definition at line 877 of file scx_signal_uint.h.

◆ sc_in() [5/11]

sc_core::sc_in< sc_dt::sc_uint< W > >::sc_in ( in_port_type parent_)
inlineexplicit

Definition at line 881 of file scx_signal_uint.h.

◆ sc_in() [6/11]

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

Definition at line 885 of file scx_signal_uint.h.

◆ sc_in() [7/11]

sc_core::sc_in< sc_dt::sc_uint< W > >::sc_in ( inout_port_type parent_)
inlineexplicit

Definition at line 889 of file scx_signal_uint.h.

References sc_core::sc_port_base::bind().

◆ sc_in() [8/11]

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

Definition at line 893 of file scx_signal_uint.h.

References sc_core::sc_port_base::bind().

◆ sc_in() [9/11]

sc_core::sc_in< sc_dt::sc_uint< W > >::sc_in ( this_type parent_)
inline

Definition at line 897 of file scx_signal_uint.h.

◆ sc_in() [10/11]

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

Definition at line 901 of file scx_signal_uint.h.

◆ ~sc_in()

virtual sc_core::sc_in< sc_dt::sc_uint< W > >::~sc_in ( )
inlinevirtual

Definition at line 908 of file scx_signal_uint.h.

◆ sc_in() [11/11]

sc_core::sc_in< sc_dt::sc_uint< W > >::sc_in ( const sc_in< sc_dt::sc_uint< W > > &  )
private

Member Function Documentation

◆ add_trace()

void sc_core::sc_in< sc_dt::sc_uint< W > >::add_trace ( sc_trace_file tf_,
const std::string &  name_ 
) const
inline

Definition at line 999 of file scx_signal_uint.h.

◆ and_reduce()

bool sc_core::sc_in< sc_dt::sc_uint< W > >::and_reduce ( ) const
inline

Definition at line 965 of file scx_signal_uint.h.

◆ bind() [1/3]

void sc_core::sc_in< sc_dt::sc_uint< W > >::bind ( const in_if_type interface_)
inline

Definition at line 826 of file scx_signal_uint.h.

References sc_core::sc_port_base::bind().

◆ bind() [2/3]

void sc_core::sc_in< sc_dt::sc_uint< W > >::bind ( in_port_type parent_)
inline

Definition at line 830 of file scx_signal_uint.h.

References sc_core::sc_port_base::bind().

◆ bind() [3/3]

void sc_core::sc_in< sc_dt::sc_uint< W > >::bind ( inout_port_type parent_)
inline

Definition at line 834 of file scx_signal_uint.h.

References sc_core::sc_port_base::bind().

◆ bit()

sc_dt::sc_uint_bitref_r sc_core::sc_in< sc_dt::sc_uint< W > >::bit ( int  i) const
inline

Definition at line 917 of file scx_signal_uint.h.

References gem5::ArmISA::i.

◆ concat_get_ctrl()

virtual bool sc_core::sc_in< sc_dt::sc_uint< W > >::concat_get_ctrl ( sc_dt::sc_digit dst_p,
int  low_i 
) const
inlinevirtual

Reimplemented from sc_dt::sc_value_base.

Definition at line 1016 of file scx_signal_uint.h.

◆ concat_get_data()

virtual bool sc_core::sc_in< sc_dt::sc_uint< W > >::concat_get_data ( sc_dt::sc_digit dst_p,
int  low_i 
) const
inlinevirtual

Reimplemented from sc_dt::sc_value_base.

Definition at line 1019 of file scx_signal_uint.h.

◆ concat_get_uint64()

virtual sc_dt::uint64 sc_core::sc_in< sc_dt::sc_uint< W > >::concat_get_uint64 ( ) const
inlinevirtual

Reimplemented from sc_dt::sc_value_base.

Definition at line 1014 of file scx_signal_uint.h.

◆ concat_length()

virtual int sc_core::sc_in< sc_dt::sc_uint< W > >::concat_length ( bool *  xz_present_p) const
inlinevirtual

Reimplemented from sc_dt::sc_value_base.

Definition at line 1012 of file scx_signal_uint.h.

◆ default_event()

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

Definition at line 929 of file scx_signal_uint.h.

◆ end_of_elaboration()

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

◆ event()

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

Definition at line 949 of file scx_signal_uint.h.

◆ kind()

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

Reimplemented from sc_core::sc_port_base.

Definition at line 994 of file scx_signal_uint.h.

◆ nand_reduce()

bool sc_core::sc_in< sc_dt::sc_uint< W > >::nand_reduce ( ) const
inline

Definition at line 967 of file scx_signal_uint.h.

◆ nor_reduce()

bool sc_core::sc_in< sc_dt::sc_uint< W > >::nor_reduce ( ) const
inline

Definition at line 969 of file scx_signal_uint.h.

◆ operator sc_dt::uint64()

sc_core::sc_in< sc_dt::sc_uint< W > >::operator sc_dt::uint64 ( ) const
inline

Definition at line 944 of file scx_signal_uint.h.

◆ operator()() [1/4]

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

Definition at line 828 of file scx_signal_uint.h.

References sc_core::sc_port_base::bind().

◆ operator()() [2/4]

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

Definition at line 832 of file scx_signal_uint.h.

References sc_core::sc_port_base::bind().

◆ operator()() [3/4]

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

Definition at line 836 of file scx_signal_uint.h.

References sc_core::sc_port_base::bind().

◆ operator()() [4/4]

sc_dt::sc_uint_subref_r sc_core::sc_in< sc_dt::sc_uint< W > >::operator() ( int  left,
int  right 
) const
inline

Definition at line 919 of file scx_signal_uint.h.

◆ operator=()

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

◆ operator[]()

sc_dt::sc_uint_bitref_r sc_core::sc_in< sc_dt::sc_uint< W > >::operator[] ( int  i) const
inline

Definition at line 915 of file scx_signal_uint.h.

References gem5::ArmISA::i.

◆ or_reduce()

bool sc_core::sc_in< sc_dt::sc_uint< W > >::or_reduce ( ) const
inline

Definition at line 971 of file scx_signal_uint.h.

◆ range()

sc_dt::sc_uint_subref_r sc_core::sc_in< sc_dt::sc_uint< W > >::range ( int  left,
int  right 
) const
inline

Definition at line 921 of file scx_signal_uint.h.

◆ read()

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

Definition at line 941 of file scx_signal_uint.h.

◆ remove_traces()

void sc_core::sc_in< sc_dt::sc_uint< W > >::remove_traces ( ) const
inlineprotected

Definition at line 1024 of file scx_signal_uint.h.

References gem5::ArmISA::i.

◆ value_changed()

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

Definition at line 955 of file scx_signal_uint.h.

◆ value_changed_event()

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

Definition at line 935 of file scx_signal_uint.h.

◆ vbind() [1/2]

virtual int sc_core::sc_in< sc_dt::sc_uint< W > >::vbind ( sc_interface interface_)
inlineprotectedvirtual

Implements sc_core::sc_port_base.

Definition at line 841 of file scx_signal_uint.h.

References sc_core::sc_port_b< IF >::vbind().

◆ vbind() [2/2]

virtual int sc_core::sc_in< sc_dt::sc_uint< W > >::vbind ( sc_port_base parent_)
inlineprotectedvirtual

Implements sc_core::sc_port_base.

Definition at line 845 of file scx_signal_uint.h.

References sc_core::sc_port_base::bind().

◆ xnor_reduce()

bool sc_core::sc_in< sc_dt::sc_uint< W > >::xnor_reduce ( ) const
inline

Definition at line 973 of file scx_signal_uint.h.

◆ xor_reduce()

bool sc_core::sc_in< sc_dt::sc_uint< W > >::xor_reduce ( ) const
inline

Definition at line 975 of file scx_signal_uint.h.

Member Data Documentation

◆ m_traces

sc_trace_params_vec* sc_core::sc_in< sc_dt::sc_uint< W > >::m_traces
mutableprotected

Definition at line 1035 of file scx_signal_uint.h.


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