gem5  v20.1.0.0
Public Member Functions | Protected Member Functions | Static Protected Attributes | Friends | List of all members
sc_dt::sc_unsigned_bitref Class Reference

#include <sc_unsigned.hh>

Inheritance diagram for sc_dt::sc_unsigned_bitref:
sc_dt::sc_unsigned_bitref_r sc_dt::sc_value_base

Public Member Functions

 sc_unsigned_bitref (const sc_unsigned_bitref &a)
 
const sc_unsigned_bitrefoperator= (const sc_unsigned_bitref_r &)
 
const sc_unsigned_bitrefoperator= (const sc_unsigned_bitref &)
 
const sc_unsigned_bitrefoperator= (bool)
 
const sc_unsigned_bitrefoperator&= (bool)
 
const sc_unsigned_bitrefoperator|= (bool)
 
const sc_unsigned_bitrefoperator^= (bool)
 
virtual void concat_set (int64 src, int low_i)
 
virtual void concat_set (const sc_signed &src, int low_i)
 
virtual void concat_set (const sc_unsigned &src, int low_i)
 
virtual void concat_set (uint64 src, int low_i)
 
void scan (::std::istream &is=::std::cin)
 
- Public Member Functions inherited from sc_dt::sc_unsigned_bitref_r
virtual ~sc_unsigned_bitref_r ()
 
 sc_unsigned_bitref_r (const sc_unsigned_bitref_r &a)
 
int length () const
 
 operator uint64 () const
 
bool operator! () const
 
bool operator~ () const
 
uint64 value () const
 
bool to_bool () const
 
virtual int concat_length (bool *xz_present_p) const
 
virtual uint64 concat_get_uint64 () const
 
virtual bool concat_get_ctrl (sc_digit *dst_p, int low_i) const
 
virtual bool concat_get_data (sc_digit *dst_p, int low_i) const
 
void print (::std::ostream &os=::std::cout) const
 
- Public Member Functions inherited from sc_dt::sc_value_base
virtual ~sc_value_base ()
 

Protected Member Functions

 sc_unsigned_bitref ()
 
- Protected Member Functions inherited from sc_dt::sc_unsigned_bitref_r
 sc_unsigned_bitref_r ()
 
void initialize (const sc_unsigned *obj_p, int index_)
 

Static Protected Attributes

static sc_core::sc_vpool< sc_unsigned_bitrefm_pool
 

Friends

class sc_unsigned
 
class sc_core::sc_vpool< sc_unsigned_bitref >
 

Additional Inherited Members

- Protected Attributes inherited from sc_dt::sc_unsigned_bitref_r
int m_index
 
sc_unsignedm_obj_p
 

Detailed Description

Definition at line 677 of file sc_unsigned.hh.

Constructor & Destructor Documentation

◆ sc_unsigned_bitref() [1/2]

sc_dt::sc_unsigned_bitref::sc_unsigned_bitref ( )
inlineprotected

Definition at line 683 of file sc_unsigned.hh.

◆ sc_unsigned_bitref() [2/2]

sc_dt::sc_unsigned_bitref::sc_unsigned_bitref ( const sc_unsigned_bitref a)
inline

Definition at line 687 of file sc_unsigned.hh.

Member Function Documentation

◆ concat_set() [1/4]

virtual void sc_dt::sc_unsigned_bitref::concat_set ( const sc_signed src,
int  low_i 
)
virtual

Reimplemented from sc_dt::sc_value_base.

◆ concat_set() [2/4]

virtual void sc_dt::sc_unsigned_bitref::concat_set ( const sc_unsigned src,
int  low_i 
)
virtual

Reimplemented from sc_dt::sc_value_base.

◆ concat_set() [3/4]

virtual void sc_dt::sc_unsigned_bitref::concat_set ( int64  src,
int  low_i 
)
virtual

Reimplemented from sc_dt::sc_value_base.

◆ concat_set() [4/4]

virtual void sc_dt::sc_unsigned_bitref::concat_set ( uint64  src,
int  low_i 
)
virtual

Reimplemented from sc_dt::sc_value_base.

◆ operator&=()

const sc_unsigned_bitref& sc_dt::sc_unsigned_bitref::operator&= ( bool  )

◆ operator=() [1/3]

const sc_unsigned_bitref& sc_dt::sc_unsigned_bitref::operator= ( bool  )

◆ operator=() [2/3]

const sc_unsigned_bitref& sc_dt::sc_unsigned_bitref::operator= ( const sc_unsigned_bitref )

◆ operator=() [3/3]

const sc_unsigned_bitref& sc_dt::sc_unsigned_bitref::operator= ( const sc_unsigned_bitref_r )

◆ operator^=()

const sc_unsigned_bitref& sc_dt::sc_unsigned_bitref::operator^= ( bool  )

◆ operator|=()

const sc_unsigned_bitref& sc_dt::sc_unsigned_bitref::operator|= ( bool  )

◆ scan()

void sc_dt::sc_unsigned_bitref::scan ( ::std::istream &  is = ::std::cin)

Friends And Related Function Documentation

◆ sc_core::sc_vpool< sc_unsigned_bitref >

friend class sc_core::sc_vpool< sc_unsigned_bitref >
friend

Definition at line 680 of file sc_unsigned.hh.

◆ sc_unsigned

friend class sc_unsigned
friend

Definition at line 679 of file sc_unsigned.hh.

Member Data Documentation

◆ m_pool

sc_core::sc_vpool< sc_unsigned_bitref > sc_dt::sc_unsigned_bitref::m_pool
staticprotected

Definition at line 709 of file sc_unsigned.hh.


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

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