gem5  v22.1.0.0
Public Types | Public Member Functions | Private Member Functions | List of all members
sc_dt::sc_concref< X, Y > Class Template Reference

#include <sc_bit_proxies.hh>

Inheritance diagram for sc_dt::sc_concref< X, Y >:
sc_dt::sc_concref_r< X, Y > sc_dt::sc_proxy< sc_concref_r< X, Y > >

Public Types

typedef sc_concref_r< X, Y > base_type
 
- Public Types inherited from sc_dt::sc_concref_r< X, Y >
typedef sc_proxy< sc_concref_r< X, Y > >::value_type value_type
 
- Public Types inherited from sc_dt::sc_proxy< sc_concref_r< X, Y > >
typedef sc_proxy_traits< sc_concref_r< X, Y > >::traits_type traits_type
 
typedef traits_type::bit_type bit_type
 
typedef traits_type::value_type value_type
 

Public Member Functions

 sc_concref (X &left_, Y &right_, int delete_=0)
 
 sc_concref (const sc_concref< X, Y > &a)
 
sc_concref< X, Y > * clone () const
 
template<class Z >
sc_concref< X, Y > & operator= (const sc_proxy< Z > &a)
 
sc_concref< X, Y > & operator= (const sc_concref< X, Y > &a)
 
sc_concref< X, Y > & operator= (const char *a)
 
sc_concref< X, Y > & operator= (const bool *a)
 
sc_concref< X, Y > & operator= (const sc_logic *a)
 
sc_concref< X, Y > & operator= (const sc_unsigned &a)
 
sc_concref< X, Y > & operator= (const sc_signed &a)
 
sc_concref< X, Y > & operator= (const sc_uint_base &a)
 
sc_concref< X, Y > & operator= (const sc_int_base &a)
 
sc_concref< X, Y > & operator= (unsigned long a)
 
sc_concref< X, Y > & operator= (long a)
 
sc_concref< X, Y > & operator= (unsigned int a)
 
sc_concref< X, Y > & operator= (int a)
 
sc_concref< X, Y > & operator= (uint64 a)
 
sc_concref< X, Y > & operator= (int64 a)
 
void scan (::std::istream &=::std::cin)
 
- Public Member Functions inherited from sc_dt::sc_concref_r< X, Y >
 sc_concref_r (const X &left_, const Y &right_, int delete_=0)
 
 sc_concref_r (const sc_concref_r< X, Y > &a)
 
virtual ~sc_concref_r ()
 
sc_concref_r< X, Y > * clone () const
 
int length () const
 
int size () const
 
value_type get_bit (int n) const
 
void set_bit (int n, value_type value)
 
sc_digit get_word (int i) const
 
void set_word (int i, sc_digit w)
 
sc_digit get_cword (int i) const
 
void set_cword (int i, sc_digit w)
 
void clean_tail ()
 
bool is_01 () const
 
- Public Member Functions inherited from sc_dt::sc_proxy< sc_concref_r< X, Y > >
virtual ~sc_proxy ()
 
sc_concref_r< X, Y > & back_cast ()
 
const sc_concref_r< X, Y > & back_cast () const
 
sc_concref_r< X, Y > & assign_ (const sc_proxy< Y > &a)
 
sc_concref_r< X, Y > & assign_ (const char *a)
 
sc_concref_r< X, Y > & assign_ (const bool *a)
 
sc_concref_r< X, Y > & assign_ (const sc_logic *a)
 
sc_concref_r< X, Y > & assign_ (const sc_unsigned &a)
 
sc_concref_r< X, Y > & assign_ (const sc_signed &a)
 
sc_concref_r< X, Y > & assign_ (const sc_uint_base &a)
 
sc_concref_r< X, Y > & assign_ (const sc_int_base &a)
 
sc_concref_r< X, Y > & assign_ (unsigned int a)
 
sc_concref_r< X, Y > & assign_ (int a)
 
sc_concref_r< X, Y > & assign_ (unsigned long a)
 
sc_concref_r< X, Y > & assign_ (long a)
 
sc_concref_r< X, Y > & assign_ (uint64 a)
 
sc_concref_r< X, Y > & assign_ (int64 a)
 
sc_concref_r< X, Y > & b_not ()
 
const sc_lv_base operator~ () const
 
sc_concref_r< X, Y > & operator&= (const char *b)
 
sc_concref_r< X, Y > & operator&= (const bool *b)
 
sc_concref_r< X, Y > & operator&= (const sc_logic *b)
 
sc_concref_r< X, Y > & operator&= (const sc_unsigned &b)
 
sc_concref_r< X, Y > & operator&= (const sc_signed &b)
 
sc_concref_r< X, Y > & operator&= (const sc_uint_base &b)
 
sc_concref_r< X, Y > & operator&= (const sc_int_base &b)
 
sc_concref_r< X, Y > & operator&= (unsigned long b)
 
sc_concref_r< X, Y > & operator&= (long b)
 
sc_concref_r< X, Y > & operator&= (unsigned int b)
 
sc_concref_r< X, Y > & operator&= (int b)
 
sc_concref_r< X, Y > & operator&= (uint64 b)
 
sc_concref_r< X, Y > & operator&= (int64 b)
 
const sc_lv_base operator& (const char *b) const
 
const sc_lv_base operator& (const bool *b) const
 
const sc_lv_base operator& (const sc_logic *b) const
 
const sc_lv_base operator& (const sc_unsigned &b) const
 
const sc_lv_base operator& (const sc_signed &b) const
 
const sc_lv_base operator& (const sc_uint_base &b) const
 
const sc_lv_base operator& (const sc_int_base &b) const
 
const sc_lv_base operator& (unsigned long b) const
 
const sc_lv_base operator& (long b) const
 
const sc_lv_base operator& (unsigned int b) const
 
const sc_lv_base operator& (int b) const
 
const sc_lv_base operator& (uint64 b) const
 
const sc_lv_base operator& (int64 b) const
 
sc_concref_r< X, Y > & operator|= (const char *b)
 
sc_concref_r< X, Y > & operator|= (const bool *b)
 
sc_concref_r< X, Y > & operator|= (const sc_logic *b)
 
sc_concref_r< X, Y > & operator|= (const sc_unsigned &b)
 
sc_concref_r< X, Y > & operator|= (const sc_signed &b)
 
sc_concref_r< X, Y > & operator|= (const sc_uint_base &b)
 
sc_concref_r< X, Y > & operator|= (const sc_int_base &b)
 
sc_concref_r< X, Y > & operator|= (unsigned long b)
 
sc_concref_r< X, Y > & operator|= (long b)
 
sc_concref_r< X, Y > & operator|= (unsigned int b)
 
sc_concref_r< X, Y > & operator|= (int b)
 
sc_concref_r< X, Y > & operator|= (uint64 b)
 
sc_concref_r< X, Y > & operator|= (int64 b)
 
const sc_lv_base operator| (const char *b) const
 
const sc_lv_base operator| (const bool *b) const
 
const sc_lv_base operator| (const sc_logic *b) const
 
const sc_lv_base operator| (const sc_unsigned &b) const
 
const sc_lv_base operator| (const sc_signed &b) const
 
const sc_lv_base operator| (const sc_uint_base &b) const
 
const sc_lv_base operator| (const sc_int_base &b) const
 
const sc_lv_base operator| (unsigned long b) const
 
const sc_lv_base operator| (long b) const
 
const sc_lv_base operator| (unsigned int b) const
 
const sc_lv_base operator| (int b) const
 
const sc_lv_base operator| (uint64 b) const
 
const sc_lv_base operator| (int64 b) const
 
sc_concref_r< X, Y > & operator^= (const char *b)
 
sc_concref_r< X, Y > & operator^= (const bool *b)
 
sc_concref_r< X, Y > & operator^= (const sc_logic *b)
 
sc_concref_r< X, Y > & operator^= (const sc_unsigned &b)
 
sc_concref_r< X, Y > & operator^= (const sc_signed &b)
 
sc_concref_r< X, Y > & operator^= (const sc_uint_base &b)
 
sc_concref_r< X, Y > & operator^= (const sc_int_base &b)
 
sc_concref_r< X, Y > & operator^= (unsigned long b)
 
sc_concref_r< X, Y > & operator^= (long b)
 
sc_concref_r< X, Y > & operator^= (unsigned int b)
 
sc_concref_r< X, Y > & operator^= (int b)
 
sc_concref_r< X, Y > & operator^= (uint64 b)
 
sc_concref_r< X, Y > & operator^= (int64 b)
 
const sc_lv_base operator^ (const char *b) const
 
const sc_lv_base operator^ (const bool *b) const
 
const sc_lv_base operator^ (const sc_logic *b) const
 
const sc_lv_base operator^ (const sc_unsigned &b) const
 
const sc_lv_base operator^ (const sc_signed &b) const
 
const sc_lv_base operator^ (const sc_uint_base &b) const
 
const sc_lv_base operator^ (const sc_int_base &b) const
 
const sc_lv_base operator^ (unsigned long b) const
 
const sc_lv_base operator^ (long b) const
 
const sc_lv_base operator^ (unsigned int b) const
 
const sc_lv_base operator^ (int b) const
 
const sc_lv_base operator^ (uint64 b) const
 
const sc_lv_base operator^ (int64 b) const
 
sc_concref_r< X, Y > & operator<<= (int n)
 
const sc_lv_base operator<< (int n) const
 
sc_concref_r< X, Y > & operator>>= (int n)
 
const sc_lv_base operator>> (int n) const
 
sc_concref_r< X, Y > & lrotate (int n)
 
sc_concref_r< X, Y > & rrotate (int n)
 
sc_concref_r< X, Y > & reverse ()
 
sc_bitref< sc_concref_r< X, Y > > operator[] (int i)
 
sc_bitref_r< sc_concref_r< X, Y > > operator[] (int i) const
 
sc_bitref< sc_concref_r< X, Y > > bit (int i)
 
sc_bitref_r< sc_concref_r< X, Y > > bit (int i) const
 
sc_subref< sc_concref_r< X, Y > > operator() (int hi, int lo)
 
sc_subref_r< sc_concref_r< X, Y > > operator() (int hi, int lo) const
 
sc_subref< sc_concref_r< X, Y > > range (int hi, int lo)
 
sc_subref_r< sc_concref_r< X, Y > > range (int hi, int lo) const
 
value_type and_reduce () const
 
value_type nand_reduce () const
 
value_type or_reduce () const
 
value_type nor_reduce () const
 
value_type xor_reduce () const
 
value_type xnor_reduce () const
 
bool operator== (const char *b) const
 
bool operator== (const bool *b) const
 
bool operator== (const sc_logic *b) const
 
bool operator== (const sc_unsigned &b) const
 
bool operator== (const sc_signed &b) const
 
bool operator== (const sc_uint_base &b) const
 
bool operator== (const sc_int_base &b) const
 
bool operator== (unsigned long b) const
 
bool operator== (long b) const
 
bool operator== (unsigned int b) const
 
bool operator== (int b) const
 
bool operator== (uint64 b) const
 
bool operator== (int64 b) const
 
const std::string to_string () const
 
const std::string to_string (sc_numrep) const
 
const std::string to_string (sc_numrep, bool) const
 
int64 to_int64 () const
 
uint64 to_uint64 () const
 
int to_int () const
 
unsigned int to_uint () const
 
long to_long () const
 
unsigned long to_ulong () const
 
void print (::std::ostream &os=::std::cout) const
 
void scan (::std::istream &is=::std::cin)
 

Private Member Functions

 sc_concref ()
 

Additional Inherited Members

- Protected Member Functions inherited from sc_dt::sc_proxy< sc_concref_r< X, Y > >
void check_bounds (int n) const
 
void check_wbounds (int n) const
 
sc_digit to_anything_unsigned () const
 
int64 to_anything_signed () const
 
- Protected Attributes inherited from sc_dt::sc_concref_r< X, Y >
X & m_left
 
Y & m_right
 
int m_delete
 
int & m_refs
 

Detailed Description

template<class X, class Y>
class sc_dt::sc_concref< X, Y >

Definition at line 1294 of file sc_bit_proxies.hh.

Member Typedef Documentation

◆ base_type

template<class X , class Y >
typedef sc_concref_r<X, Y> sc_dt::sc_concref< X, Y >::base_type

Definition at line 1298 of file sc_bit_proxies.hh.

Constructor & Destructor Documentation

◆ sc_concref() [1/3]

template<class X , class Y >
sc_dt::sc_concref< X, Y >::sc_concref ( X &  left_,
Y &  right_,
int  delete_ = 0 
)
inline

Definition at line 1301 of file sc_bit_proxies.hh.

◆ sc_concref() [2/3]

template<class X , class Y >
sc_dt::sc_concref< X, Y >::sc_concref ( const sc_concref< X, Y > &  a)
inline

Definition at line 1306 of file sc_bit_proxies.hh.

◆ sc_concref() [3/3]

template<class X , class Y >
sc_dt::sc_concref< X, Y >::sc_concref ( )
private

Member Function Documentation

◆ clone()

template<class X , class Y >
sc_concref<X, Y>* sc_dt::sc_concref< X, Y >::clone ( ) const
inline

Definition at line 1309 of file sc_bit_proxies.hh.

◆ operator=() [1/15]

template<class X , class Y >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( const bool *  a)
inline

◆ operator=() [2/15]

template<class X , class Y >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( const char *  a)
inline

◆ operator=() [3/15]

template<class X , class Y >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( const sc_concref< X, Y > &  a)
inline

◆ operator=() [4/15]

template<class X , class Y >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( const sc_int_base a)
inline

◆ operator=() [5/15]

template<class X , class Y >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( const sc_logic a)
inline

◆ operator=() [6/15]

template<class X , class Y >
template<class Z >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( const sc_proxy< Z > &  a)
inline

◆ operator=() [7/15]

template<class X , class Y >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( const sc_signed a)
inline

◆ operator=() [8/15]

template<class X , class Y >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( const sc_uint_base a)
inline

◆ operator=() [9/15]

template<class X , class Y >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( const sc_unsigned a)
inline

◆ operator=() [10/15]

template<class X , class Y >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( int  a)
inline

◆ operator=() [11/15]

template<class X , class Y >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( int64  a)
inline

◆ operator=() [12/15]

template<class X , class Y >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( long  a)
inline

◆ operator=() [13/15]

template<class X , class Y >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( uint64  a)
inline

◆ operator=() [14/15]

template<class X , class Y >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( unsigned int  a)
inline

◆ operator=() [15/15]

template<class X , class Y >
sc_concref<X, Y>& sc_dt::sc_concref< X, Y >::operator= ( unsigned long  a)
inline

◆ scan()

template<class T1 , class T2 >
void sc_dt::sc_concref< T1, T2 >::scan ( ::std::istream &  is = ::std::cin)
inline

Definition at line 3044 of file sc_bit_proxies.hh.

References gem5::MipsISA::is, and gem5::VegaISA::s.


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

Generated on Wed Dec 21 2022 10:25:08 for gem5 by doxygen 1.9.1