gem5  v20.1.0.0
Public Types | Public Member Functions | Private Member Functions | Friends | List of all members
sc_dt::sc_bitref< X > Class Template Reference

#include <sc_bit_proxies.hh>

Public Types

typedef sc_bitref_r< X >::value_type value_type
 

Public Member Functions

 sc_bitref (X &obj_, int index_)
 
 sc_bitref (const sc_bitref< X > &a)
 
sc_bitref< X > * clone () const
 
sc_bitref< X > & operator= (const sc_bitref_r< X > &a)
 
sc_bitref< X > & operator= (const sc_bitref< X > &a)
 
sc_bitref< X > & operator= (const sc_logic &a)
 
sc_bitref< X > & operator= (sc_logic_value_t v)
 
sc_bitref< X > & operator= (bool a)
 
sc_bitref< X > & operator= (char a)
 
sc_bitref< X > & operator= (int a)
 
sc_bitref< X > & operator= (const sc_bit &a)
 
sc_bitref< X > & operator&= (const sc_bitref_r< X > &a)
 
sc_bitref< X > & operator&= (const sc_logic &a)
 
sc_bitref< X > & operator&= (sc_logic_value_t v)
 
sc_bitref< X > & operator&= (bool a)
 
sc_bitref< X > & operator&= (char a)
 
sc_bitref< X > & operator&= (int a)
 
sc_bitref< X > & operator|= (const sc_bitref_r< X > &a)
 
sc_bitref< X > & operator|= (const sc_logic &a)
 
sc_bitref< X > & operator|= (sc_logic_value_t v)
 
sc_bitref< X > & operator|= (bool a)
 
sc_bitref< X > & operator|= (char a)
 
sc_bitref< X > & operator|= (int a)
 
sc_bitref< X > & operator^= (const sc_bitref_r< X > &a)
 
sc_bitref< X > & operator^= (const sc_logic &a)
 
sc_bitref< X > & operator^= (sc_logic_value_t v)
 
sc_bitref< X > & operator^= (bool a)
 
sc_bitref< X > & operator^= (char a)
 
sc_bitref< X > & operator^= (int a)
 
sc_bitref< X > & b_not ()
 
void set_bit (int n, value_type value)
 
void set_word (int i, sc_digit w)
 
void set_cword (int i, sc_digit w)
 
void clean_tail ()
 
void scan (::std::istream &is=::std::cin)
 

Private Member Functions

 sc_bitref ()
 

Friends

class sc_bv_base
 
class sc_lv_base
 

Detailed Description

template<class X>
class sc_dt::sc_bitref< X >

Definition at line 70 of file sc_bit_proxies.hh.

Member Typedef Documentation

◆ value_type

template<class X >
typedef sc_bitref_r<X>::value_type sc_dt::sc_bitref< X >::value_type

Definition at line 412 of file sc_bit_proxies.hh.

Constructor & Destructor Documentation

◆ sc_bitref() [1/3]

template<class X >
sc_dt::sc_bitref< X >::sc_bitref ( X &  obj_,
int  index_ 
)
inline

Definition at line 415 of file sc_bit_proxies.hh.

◆ sc_bitref() [2/3]

template<class X >
sc_dt::sc_bitref< X >::sc_bitref ( const sc_bitref< X > &  a)
inline

Definition at line 418 of file sc_bit_proxies.hh.

References ArmISA::a.

◆ sc_bitref() [3/3]

template<class X >
sc_dt::sc_bitref< X >::sc_bitref ( )
private

Member Function Documentation

◆ b_not()

template<class X >
sc_bitref< X > & sc_dt::sc_bitref< X >::b_not
inline

Definition at line 2082 of file sc_bit_proxies.hh.

References PowerISA::bi, and MipsISA::w.

◆ clean_tail()

template<class X >
void sc_dt::sc_bitref< X >::clean_tail ( )
inline

Definition at line 574 of file sc_bit_proxies.hh.

◆ clone()

template<class X >
sc_bitref<X>* sc_dt::sc_bitref< X >::clone ( ) const
inline

Definition at line 421 of file sc_bit_proxies.hh.

◆ operator&=() [1/6]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator&= ( bool  a)
inline

Definition at line 481 of file sc_bit_proxies.hh.

References ArmISA::v.

◆ operator&=() [2/6]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator&= ( char  a)
inline

Definition at line 488 of file sc_bit_proxies.hh.

References ArmISA::a.

◆ operator&=() [3/6]

template<class X >
sc_bitref< X > & sc_dt::sc_bitref< X >::operator&= ( const sc_bitref_r< X > &  a)
inline

Definition at line 2017 of file sc_bit_proxies.hh.

◆ operator&=() [4/6]

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

Definition at line 2028 of file sc_bit_proxies.hh.

◆ operator&=() [5/6]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator&= ( int  a)
inline

Definition at line 495 of file sc_bit_proxies.hh.

References ArmISA::a.

◆ operator&=() [6/6]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator&= ( sc_logic_value_t  v)
inline

Definition at line 474 of file sc_bit_proxies.hh.

◆ operator=() [1/8]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator= ( bool  a)
inline

Definition at line 442 of file sc_bit_proxies.hh.

◆ operator=() [2/8]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator= ( char  a)
inline

Definition at line 449 of file sc_bit_proxies.hh.

References ArmISA::v.

◆ operator=() [3/8]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator= ( const sc_bit a)
inline

Definition at line 463 of file sc_bit_proxies.hh.

References ArmISA::a.

◆ operator=() [4/8]

template<class X >
sc_bitref< X > & sc_dt::sc_bitref< X >::operator= ( const sc_bitref< X > &  a)
inline

Definition at line 2005 of file sc_bit_proxies.hh.

References ArmISA::a, and sc_dt::sc_logic::and_table.

◆ operator=() [5/8]

template<class X >
sc_bitref< X > & sc_dt::sc_bitref< X >::operator= ( const sc_bitref_r< X > &  a)
inline

Definition at line 1997 of file sc_bit_proxies.hh.

◆ operator=() [6/8]

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

Definition at line 428 of file sc_bit_proxies.hh.

◆ operator=() [7/8]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator= ( int  a)
inline

Definition at line 456 of file sc_bit_proxies.hh.

References ArmISA::a.

◆ operator=() [8/8]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator= ( sc_logic_value_t  v)
inline

Definition at line 435 of file sc_bit_proxies.hh.

◆ operator^=() [1/6]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator^= ( bool  a)
inline

Definition at line 543 of file sc_bit_proxies.hh.

◆ operator^=() [2/6]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator^= ( char  a)
inline

Definition at line 550 of file sc_bit_proxies.hh.

◆ operator^=() [3/6]

template<class X >
sc_bitref< X > & sc_dt::sc_bitref< X >::operator^= ( const sc_bitref_r< X > &  a)
inline

Definition at line 2059 of file sc_bit_proxies.hh.

References sc_dt::sc_logic::not_table.

◆ operator^=() [4/6]

template<class X >
sc_bitref< X > & sc_dt::sc_bitref< X >::operator^= ( const sc_logic a)
inline

Definition at line 2070 of file sc_bit_proxies.hh.

◆ operator^=() [5/6]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator^= ( int  a)
inline

Definition at line 557 of file sc_bit_proxies.hh.

◆ operator^=() [6/6]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator^= ( sc_logic_value_t  v)
inline

Definition at line 536 of file sc_bit_proxies.hh.

◆ operator|=() [1/6]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator|= ( bool  a)
inline

Definition at line 512 of file sc_bit_proxies.hh.

References ArmISA::v.

◆ operator|=() [2/6]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator|= ( char  a)
inline

Definition at line 519 of file sc_bit_proxies.hh.

References ArmISA::a.

◆ operator|=() [3/6]

template<class X >
sc_bitref< X > & sc_dt::sc_bitref< X >::operator|= ( const sc_bitref_r< X > &  a)
inline

Definition at line 2038 of file sc_bit_proxies.hh.

◆ operator|=() [4/6]

template<class X >
sc_bitref< X > & sc_dt::sc_bitref< X >::operator|= ( const sc_logic a)
inline

Definition at line 2049 of file sc_bit_proxies.hh.

◆ operator|=() [5/6]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator|= ( int  a)
inline

Definition at line 526 of file sc_bit_proxies.hh.

References ArmISA::a.

◆ operator|=() [6/6]

template<class X >
sc_bitref<X>& sc_dt::sc_bitref< X >::operator|= ( sc_logic_value_t  v)
inline

Definition at line 505 of file sc_bit_proxies.hh.

◆ scan()

template<class X >
void sc_dt::sc_bitref< X >::scan ( ::std::istream &  is = ::std::cin)
inline

Definition at line 2135 of file sc_bit_proxies.hh.

References ArmISA::a, and ArmISA::b.

◆ set_bit()

template<class X >
void sc_dt::sc_bitref< X >::set_bit ( int  n,
value_type  value 
)
inline

Definition at line 2091 of file sc_bit_proxies.hh.

References PowerISA::bi, ArmISA::n, and MipsISA::w.

◆ set_cword()

template<class X >
void sc_dt::sc_bitref< X >::set_cword ( int  i,
sc_digit  w 
)
inline

Definition at line 2118 of file sc_bit_proxies.hh.

References ArmISA::a, and ArmISA::b.

◆ set_word()

template<class X >
void sc_dt::sc_bitref< X >::set_word ( int  i,
sc_digit  w 
)
inline

Definition at line 2102 of file sc_bit_proxies.hh.

Friends And Related Function Documentation

◆ sc_bv_base

template<class X >
friend class sc_bv_base
friend

Definition at line 408 of file sc_bit_proxies.hh.

◆ sc_lv_base

template<class X >
friend class sc_lv_base
friend

Definition at line 409 of file sc_bit_proxies.hh.


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

Generated on Wed Sep 30 2020 14:03:09 for gem5 by doxygen 1.8.17