gem5  v21.2.1.1
Public Member Functions | Protected Member Functions | Static Protected Attributes | Friends | List of all members
sc_dt::sc_signed_bitref Class Reference

#include <sc_signed.hh>

Inheritance diagram for sc_dt::sc_signed_bitref:
sc_dt::sc_signed_bitref_r sc_dt::sc_value_base

Public Member Functions

 sc_signed_bitref (const sc_signed_bitref &a)
 
const sc_signed_bitrefoperator= (const sc_signed_bitref_r &)
 
const sc_signed_bitrefoperator= (const sc_signed_bitref &)
 
const sc_signed_bitrefoperator= (bool)
 
const sc_signed_bitrefoperator&= (bool)
 
const sc_signed_bitrefoperator|= (bool)
 
const sc_signed_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_signed_bitref_r
virtual ~sc_signed_bitref_r ()
 
 sc_signed_bitref_r (const sc_signed_bitref_r &a)
 
int length () const
 
 operator uint64 () const
 
bool operator! () const
 
bool operator~ () const
 
bool 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_signed_bitref ()
 
- Protected Member Functions inherited from sc_dt::sc_signed_bitref_r
 sc_signed_bitref_r ()
 
void initialize (const sc_signed *obj_p, int index_)
 

Static Protected Attributes

static sc_core::sc_vpool< sc_signed_bitrefm_pool
 

Friends

class sc_signed
 
class sc_core::sc_vpool< sc_signed_bitref >
 

Additional Inherited Members

- Protected Attributes inherited from sc_dt::sc_signed_bitref_r
int m_index
 
sc_signedm_obj_p
 

Detailed Description

Definition at line 770 of file sc_signed.hh.

Constructor & Destructor Documentation

◆ sc_signed_bitref() [1/2]

sc_dt::sc_signed_bitref::sc_signed_bitref ( )
inlineprotected

Definition at line 777 of file sc_signed.hh.

◆ sc_signed_bitref() [2/2]

sc_dt::sc_signed_bitref::sc_signed_bitref ( const sc_signed_bitref a)
inline

Definition at line 781 of file sc_signed.hh.

Member Function Documentation

◆ concat_set() [1/4]

virtual void sc_dt::sc_signed_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_signed_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_signed_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_signed_bitref::concat_set ( uint64  src,
int  low_i 
)
virtual

Reimplemented from sc_dt::sc_value_base.

◆ operator&=()

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

◆ operator=() [1/3]

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

◆ operator=() [2/3]

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

◆ operator=() [3/3]

const sc_signed_bitref& sc_dt::sc_signed_bitref::operator= ( const sc_signed_bitref_r )

◆ operator^=()

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

◆ operator|=()

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

◆ scan()

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

Friends And Related Function Documentation

◆ sc_core::sc_vpool< sc_signed_bitref >

friend class sc_core::sc_vpool< sc_signed_bitref >
friend

Definition at line 773 of file sc_signed.hh.

◆ sc_signed

friend class sc_signed
friend

Definition at line 772 of file sc_signed.hh.

Member Data Documentation

◆ m_pool

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

Definition at line 802 of file sc_signed.hh.


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

Generated on Wed May 4 2022 12:16:40 for gem5 by doxygen 1.8.17