gem5 v25.0.0.1
Loading...
Searching...
No Matches
sc_dt::sc_unsigned_subref Class Reference

#include <sc_unsigned.hh>

Inheritance diagram for sc_dt::sc_unsigned_subref:
sc_dt::sc_unsigned_subref_r sc_dt::sc_value_base

Public Member Functions

 sc_unsigned_subref (const sc_unsigned_subref &a)
const sc_unsigned_subrefoperator= (const sc_unsigned_subref_r &a)
const sc_unsigned_subrefoperator= (const sc_unsigned_subref &a)
const sc_unsigned_subrefoperator= (const sc_unsigned &a)
template<class T>
const sc_unsigned_subrefoperator= (const sc_generic_base< T > &a)
const sc_unsigned_subrefoperator= (const sc_signed_subref_r &a)
const sc_unsigned_subrefoperator= (const sc_signed &a)
const sc_unsigned_subrefoperator= (const char *a)
const sc_unsigned_subrefoperator= (unsigned long a)
const sc_unsigned_subrefoperator= (long a)
const sc_unsigned_subrefoperator= (unsigned int a)
const sc_unsigned_subrefoperator= (int a)
const sc_unsigned_subrefoperator= (uint64 a)
const sc_unsigned_subrefoperator= (int64 a)
const sc_unsigned_subrefoperator= (double a)
const sc_unsigned_subrefoperator= (const sc_int_base &a)
const sc_unsigned_subrefoperator= (const sc_uint_base &a)
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_subref_r
virtual ~sc_unsigned_subref_r ()
 sc_unsigned_subref_r (const sc_unsigned_subref_r &a)
int length () const
 operator sc_unsigned () const
int to_int () const
unsigned int to_uint () const
long to_long () const
unsigned long to_ulong () const
int64 to_int64 () const
uint64 to_uint64 () const
double to_double () const
const std::string to_string (sc_numrep numrep=SC_DEC) const
const std::string to_string (sc_numrep numrep, bool w_prefix) 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
bool and_reduce () const
bool nand_reduce () const
bool or_reduce () const
bool nor_reduce () const
bool xor_reduce () const
bool xnor_reduce () 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_subref ()
Protected Member Functions inherited from sc_dt::sc_unsigned_subref_r
 sc_unsigned_subref_r ()
void initialize (const sc_unsigned *obj_p, int left_, int right_)

Static Protected Attributes

static sc_core::sc_vpool< sc_unsigned_subrefm_pool

Friends

class sc_unsigned
class sc_core::sc_vpool< sc_unsigned_subref >

Additional Inherited Members

Protected Attributes inherited from sc_dt::sc_unsigned_subref_r
int m_left
sc_unsignedm_obj_p
int m_right

Detailed Description

Definition at line 822 of file sc_unsigned.hh.

Constructor & Destructor Documentation

◆ sc_unsigned_subref() [1/2]

sc_dt::sc_unsigned_subref::sc_unsigned_subref ( )
inlineprotected

Definition at line 829 of file sc_unsigned.hh.

References sc_dt::sc_unsigned_subref_r::sc_unsigned_subref_r().

Referenced by sc_unsigned_subref().

◆ sc_unsigned_subref() [2/2]

sc_dt::sc_unsigned_subref::sc_unsigned_subref ( const sc_unsigned_subref & a)
inline

Member Function Documentation

◆ concat_set() [1/4]

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 325 of file sc_unsigned.cc.

◆ concat_set() [2/4]

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 347 of file sc_unsigned.cc.

References BITS_PER_DIGIT.

◆ concat_set() [3/4]

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 303 of file sc_unsigned.cc.

References DIGIT_MASK.

◆ concat_set() [4/4]

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 368 of file sc_unsigned.cc.

References sc_dt::sc_signed::length(), and sc_dt::sc_unsigned_subref_r::sc_signed.

◆ operator=() [1/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( const char * a)
inline

Definition at line 2137 of file sc_unsigned.hh.

References a, sc_dt::sc_unsigned_subref_r::length(), and sc_unsigned.

◆ operator=() [2/16]

template<class T>
const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( const sc_generic_base< T > & a)
inline

Definition at line 2052 of file sc_unsigned.hh.

References a, sc_dt::sc_unsigned_subref_r::length(), and sc_unsigned.

◆ operator=() [3/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( const sc_int_base & a)

Definition at line 290 of file sc_unsigned.cc.

References BITS_PER_DIGIT, and DIGIT_MASK.

◆ operator=() [4/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( const sc_signed & a)

Definition at line 191 of file sc_unsigned.cc.

◆ operator=() [5/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( const sc_signed_subref_r & a)

Definition at line 185 of file sc_unsigned.cc.

◆ operator=() [6/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( const sc_uint_base & a)

Definition at line 296 of file sc_unsigned.cc.

References BITS_PER_DIGIT, and DIGIT_MASK.

◆ operator=() [7/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( const sc_unsigned & a)

Definition at line 172 of file sc_unsigned.cc.

References BITS_PER_DIGIT.

◆ operator=() [8/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( const sc_unsigned_subref & a)

Definition at line 163 of file sc_unsigned.cc.

◆ operator=() [9/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( const sc_unsigned_subref_r & a)

Definition at line 157 of file sc_unsigned.cc.

◆ operator=() [10/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( double a)

Definition at line 246 of file sc_unsigned.cc.

References DIGIT_MASK.

◆ operator=() [11/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( int a)
inline

Definition at line 857 of file sc_unsigned.hh.

References a.

◆ operator=() [12/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( int64 a)

Definition at line 235 of file sc_unsigned.cc.

◆ operator=() [13/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( long a)

Definition at line 214 of file sc_unsigned.cc.

References BITS_PER_DIGIT, and SC_POS.

◆ operator=() [14/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( uint64 a)

Definition at line 225 of file sc_unsigned.cc.

References DIGIT_MASK.

◆ operator=() [15/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( unsigned int a)
inline

Definition at line 851 of file sc_unsigned.hh.

References a.

◆ operator=() [16/16]

const sc_unsigned_subref & sc_dt::sc_unsigned_subref::operator= ( unsigned long a)

Definition at line 204 of file sc_unsigned.cc.

References BITS_PER_DIGIT.

◆ scan()

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

Definition at line 390 of file sc_unsigned.cc.

◆ sc_core::sc_vpool< sc_unsigned_subref >

friend class sc_core::sc_vpool< sc_unsigned_subref >
friend

Definition at line 824 of file sc_unsigned.hh.

References sc_unsigned.

◆ sc_unsigned

friend class sc_unsigned
friend

Definition at line 824 of file sc_unsigned.hh.

Referenced by operator=(), operator=(), and sc_core::sc_vpool< sc_unsigned_subref >.

Member Data Documentation

◆ m_pool


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

Generated on Sat Oct 18 2025 08:07:54 for gem5 by doxygen 1.14.0