gem5 v24.0.0.0
Loading...
Searching...
No Matches
sc_dt::sc_bigint< W > Class Template Reference

#include <sc_bigint.hh>

Inheritance diagram for sc_dt::sc_bigint< W >:
sc_dt::sc_signed sc_dt::sc_value_base sc_core::sc_signal< sc_dt::sc_bigint< W > >

Public Member Functions

 sc_bigint ()
 
 sc_bigint (const sc_bigint< W > &v)
 
 sc_bigint (const sc_signed &v)
 
 sc_bigint (const sc_signed_subref &v)
 
template<class T >
 sc_bigint (const sc_generic_base< T > &a)
 
 sc_bigint (const sc_unsigned &v)
 
 sc_bigint (const sc_unsigned_subref &v)
 
 sc_bigint (const char *v)
 
 sc_bigint (int64 v)
 
 sc_bigint (uint64 v)
 
 sc_bigint (long v)
 
 sc_bigint (unsigned long v)
 
 sc_bigint (int v)
 
 sc_bigint (unsigned int v)
 
 sc_bigint (double v)
 
 sc_bigint (const sc_bv_base &v)
 
 sc_bigint (const sc_lv_base &v)
 
 sc_bigint (const sc_fxval &v)
 
 sc_bigint (const sc_fxval_fast &v)
 
 sc_bigint (const sc_fxnum &v)
 
 sc_bigint (const sc_fxnum_fast &v)
 
 ~sc_bigint ()
 
sc_bigint< W > & operator= (const sc_bigint< W > &v)
 
sc_bigint< W > & operator= (const sc_signed &v)
 
sc_bigint< W > & operator= (const sc_signed_subref &v)
 
template<class T >
sc_bigint< W > & operator= (const sc_generic_base< T > &a)
 
sc_bigint< W > & operator= (const sc_unsigned &v)
 
sc_bigint< W > & operator= (const sc_unsigned_subref &v)
 
sc_bigint< W > & operator= (const char *v)
 
sc_bigint< W > & operator= (int64 v)
 
sc_bigint< W > & operator= (uint64 v)
 
sc_bigint< W > & operator= (long v)
 
sc_bigint< W > & operator= (unsigned long v)
 
sc_bigint< W > & operator= (int v)
 
sc_bigint< W > & operator= (unsigned int v)
 
sc_bigint< W > & operator= (double v)
 
sc_bigint< W > & operator= (const sc_bv_base &v)
 
sc_bigint< W > & operator= (const sc_lv_base &v)
 
sc_bigint< W > & operator= (const sc_int_base &v)
 
sc_bigint< W > & operator= (const sc_uint_base &v)
 
sc_bigint< W > & operator= (const sc_fxval &v)
 
sc_bigint< W > & operator= (const sc_fxval_fast &v)
 
sc_bigint< W > & operator= (const sc_fxnum &v)
 
sc_bigint< W > & operator= (const sc_fxnum_fast &v)
 
- Public Member Functions inherited from sc_dt::sc_signed
 sc_signed (int nb=sc_length_param().len())
 
 sc_signed (const sc_signed &v)
 
 sc_signed (const sc_unsigned &v)
 
template<class T >
 sc_signed (const sc_generic_base< T > &v)
 
 sc_signed (const sc_bv_base &v)
 
 sc_signed (const sc_lv_base &v)
 
 sc_signed (const sc_int_subref_r &v)
 
 sc_signed (const sc_uint_subref_r &v)
 
 sc_signed (const sc_signed_subref_r &v)
 
 sc_signed (const sc_unsigned_subref_r &v)
 
const sc_signedoperator= (const sc_signed &v)
 
const sc_signedoperator= (const sc_signed_subref_r &a)
 
template<class T >
const sc_signedoperator= (const sc_generic_base< T > &a)
 
const sc_signedoperator= (const sc_unsigned &v)
 
const sc_signedoperator= (const sc_unsigned_subref_r &a)
 
const sc_signedoperator= (const char *v)
 
const sc_signedoperator= (int64 v)
 
const sc_signedoperator= (uint64 v)
 
const sc_signedoperator= (long v)
 
const sc_signedoperator= (unsigned long v)
 
const sc_signedoperator= (int v)
 
const sc_signedoperator= (unsigned int v)
 
const sc_signedoperator= (double v)
 
const sc_signedoperator= (const sc_int_base &v)
 
const sc_signedoperator= (const sc_uint_base &v)
 
const sc_signedoperator= (const sc_bv_base &)
 
const sc_signedoperator= (const sc_lv_base &)
 
const sc_signedoperator= (const sc_fxval &)
 
const sc_signedoperator= (const sc_fxval_fast &)
 
const sc_signedoperator= (const sc_fxnum &)
 
const sc_signedoperator= (const sc_fxnum_fast &)
 
virtual ~sc_signed ()
 
sc_digitget_raw () const
 
virtual int concat_length (bool *xz_present_p) 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
 
virtual uint64 concat_get_uint64 () const
 
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)
 
sc_signedoperator++ ()
 
const sc_signed operator++ (int)
 
sc_signedoperator-- ()
 
const sc_signed operator-- (int)
 
void check_index (int i) const
 
void invalid_index (int i) const
 
sc_signed_bitrefoperator[] (int i)
 
const sc_signed_bitref_roperator[] (int i) const
 
sc_signed_bitrefbit (int i)
 
const sc_signed_bitref_rbit (int i) const
 
void check_range (int l, int r) const
 
void invalid_range (int l, int r) const
 
sc_signed_subrefrange (int i, int j)
 
const sc_signed_subref_rrange (int i, int j) const
 
sc_signed_subrefoperator() (int i, int j)
 
const sc_signed_subref_roperator() (int i, int j) 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
 
void print (::std::ostream &os=::std::cout) const
 
void scan (::std::istream &is=::std::cin)
 
void dump (::std::ostream &os=::std::cout) const
 
int length () const
 
bool iszero () const
 
bool sign () 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
 
bool test (int i) const
 
void set (int i)
 
void clear (int i)
 
void set (int i, bool v)
 
void invert (int i)
 
void reverse ()
 
void get_packed_rep (sc_digit *buf) const
 
void set_packed_rep (sc_digit *buf)
 
const sc_signedoperator+= (const sc_signed &v)
 
const sc_signedoperator+= (const sc_unsigned &v)
 
const sc_signedoperator+= (int64 v)
 
const sc_signedoperator+= (uint64 v)
 
const sc_signedoperator+= (long v)
 
const sc_signedoperator+= (unsigned long v)
 
const sc_signedoperator+= (int v)
 
const sc_signedoperator+= (unsigned int v)
 
const sc_signedoperator+= (const sc_int_base &v)
 
const sc_signedoperator+= (const sc_uint_base &v)
 
const sc_signedoperator-= (const sc_signed &v)
 
const sc_signedoperator-= (const sc_unsigned &v)
 
const sc_signedoperator-= (int64 v)
 
const sc_signedoperator-= (uint64 v)
 
const sc_signedoperator-= (long v)
 
const sc_signedoperator-= (unsigned long v)
 
const sc_signedoperator-= (int v)
 
const sc_signedoperator-= (unsigned int v)
 
const sc_signedoperator-= (const sc_int_base &v)
 
const sc_signedoperator-= (const sc_uint_base &v)
 
const sc_signedoperator*= (const sc_signed &v)
 
const sc_signedoperator*= (const sc_unsigned &v)
 
const sc_signedoperator*= (int64 v)
 
const sc_signedoperator*= (uint64 v)
 
const sc_signedoperator*= (long v)
 
const sc_signedoperator*= (unsigned long v)
 
const sc_signedoperator*= (int v)
 
const sc_signedoperator*= (unsigned int v)
 
const sc_signedoperator*= (const sc_int_base &v)
 
const sc_signedoperator*= (const sc_uint_base &v)
 
const sc_signedoperator/= (const sc_signed &v)
 
const sc_signedoperator/= (const sc_unsigned &v)
 
const sc_signedoperator/= (int64 v)
 
const sc_signedoperator/= (uint64 v)
 
const sc_signedoperator/= (long v)
 
const sc_signedoperator/= (unsigned long v)
 
const sc_signedoperator/= (int v)
 
const sc_signedoperator/= (unsigned int v)
 
const sc_signedoperator/= (const sc_int_base &v)
 
const sc_signedoperator/= (const sc_uint_base &v)
 
const sc_signedoperator%= (const sc_signed &v)
 
const sc_signedoperator%= (const sc_unsigned &v)
 
const sc_signedoperator%= (int64 v)
 
const sc_signedoperator%= (uint64 v)
 
const sc_signedoperator%= (long v)
 
const sc_signedoperator%= (unsigned long v)
 
const sc_signedoperator%= (int v)
 
const sc_signedoperator%= (unsigned int v)
 
const sc_signedoperator%= (const sc_int_base &v)
 
const sc_signedoperator%= (const sc_uint_base &v)
 
const sc_signedoperator&= (const sc_signed &v)
 
const sc_signedoperator&= (const sc_unsigned &v)
 
const sc_signedoperator&= (int64 v)
 
const sc_signedoperator&= (uint64 v)
 
const sc_signedoperator&= (long v)
 
const sc_signedoperator&= (unsigned long v)
 
const sc_signedoperator&= (int v)
 
const sc_signedoperator&= (unsigned int v)
 
const sc_signedoperator&= (const sc_int_base &v)
 
const sc_signedoperator&= (const sc_uint_base &v)
 
const sc_signedoperator|= (const sc_signed &v)
 
const sc_signedoperator|= (const sc_unsigned &v)
 
const sc_signedoperator|= (int64 v)
 
const sc_signedoperator|= (uint64 v)
 
const sc_signedoperator|= (long v)
 
const sc_signedoperator|= (unsigned long v)
 
const sc_signedoperator|= (int v)
 
const sc_signedoperator|= (unsigned int v)
 
const sc_signedoperator|= (const sc_int_base &v)
 
const sc_signedoperator|= (const sc_uint_base &v)
 
const sc_signedoperator^= (const sc_signed &v)
 
const sc_signedoperator^= (const sc_unsigned &v)
 
const sc_signedoperator^= (int64 v)
 
const sc_signedoperator^= (uint64 v)
 
const sc_signedoperator^= (long v)
 
const sc_signedoperator^= (unsigned long v)
 
const sc_signedoperator^= (int v)
 
const sc_signedoperator^= (unsigned int v)
 
const sc_signedoperator^= (const sc_int_base &v)
 
const sc_signedoperator^= (const sc_uint_base &v)
 
const sc_signedoperator<<= (const sc_signed &v)
 
const sc_signedoperator<<= (const sc_unsigned &v)
 
const sc_signedoperator<<= (int64 v)
 
const sc_signedoperator<<= (uint64 v)
 
const sc_signedoperator<<= (long v)
 
const sc_signedoperator<<= (unsigned long v)
 
const sc_signedoperator<<= (int v)
 
const sc_signedoperator<<= (unsigned int v)
 
const sc_signedoperator<<= (const sc_int_base &v)
 
const sc_signedoperator<<= (const sc_uint_base &v)
 
const sc_signedoperator>>= (const sc_signed &v)
 
const sc_signedoperator>>= (const sc_unsigned &v)
 
const sc_signedoperator>>= (int64 v)
 
const sc_signedoperator>>= (uint64 v)
 
const sc_signedoperator>>= (long v)
 
const sc_signedoperator>>= (unsigned long v)
 
const sc_signedoperator>>= (int v)
 
const sc_signedoperator>>= (unsigned int v)
 
const sc_signedoperator>>= (const sc_int_base &v)
 
const sc_signedoperator>>= (const sc_uint_base &v)
 
- Public Member Functions inherited from sc_dt::sc_value_base
virtual ~sc_value_base ()
 

Detailed Description

template<int W>
class sc_dt::sc_bigint< W >

Definition at line 87 of file sc_bigint.hh.

Constructor & Destructor Documentation

◆ sc_bigint() [1/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( )
inline

Definition at line 91 of file sc_bigint.hh.

◆ sc_bigint() [2/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( const sc_bigint< W > & v)
inline

Definition at line 92 of file sc_bigint.hh.

◆ sc_bigint() [3/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( const sc_signed & v)
inline

Definition at line 93 of file sc_bigint.hh.

◆ sc_bigint() [4/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( const sc_signed_subref & v)
inline

Definition at line 94 of file sc_bigint.hh.

◆ sc_bigint() [5/21]

template<int W>
template<class T >
sc_dt::sc_bigint< W >::sc_bigint ( const sc_generic_base< T > & a)
inline

Definition at line 97 of file sc_bigint.hh.

References a.

◆ sc_bigint() [6/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( const sc_unsigned & v)
inline

Definition at line 102 of file sc_bigint.hh.

◆ sc_bigint() [7/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( const sc_unsigned_subref & v)
inline

Definition at line 103 of file sc_bigint.hh.

◆ sc_bigint() [8/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( const char * v)
inline

Definition at line 104 of file sc_bigint.hh.

◆ sc_bigint() [9/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( int64 v)
inline

Definition at line 105 of file sc_bigint.hh.

◆ sc_bigint() [10/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( uint64 v)
inline

Definition at line 106 of file sc_bigint.hh.

◆ sc_bigint() [11/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( long v)
inline

Definition at line 107 of file sc_bigint.hh.

◆ sc_bigint() [12/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( unsigned long v)
inline

Definition at line 108 of file sc_bigint.hh.

◆ sc_bigint() [13/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( int v)
inline

Definition at line 109 of file sc_bigint.hh.

◆ sc_bigint() [14/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( unsigned int v)
inline

Definition at line 110 of file sc_bigint.hh.

◆ sc_bigint() [15/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( double v)
inline

Definition at line 111 of file sc_bigint.hh.

◆ sc_bigint() [16/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( const sc_bv_base & v)
inline

Definition at line 112 of file sc_bigint.hh.

◆ sc_bigint() [17/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( const sc_lv_base & v)
inline

Definition at line 113 of file sc_bigint.hh.

◆ sc_bigint() [18/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( const sc_fxval & v)
inlineexplicit

Definition at line 115 of file sc_bigint.hh.

◆ sc_bigint() [19/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( const sc_fxval_fast & v)
inlineexplicit

Definition at line 116 of file sc_bigint.hh.

◆ sc_bigint() [20/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( const sc_fxnum & v)
inlineexplicit

Definition at line 117 of file sc_bigint.hh.

◆ sc_bigint() [21/21]

template<int W>
sc_dt::sc_bigint< W >::sc_bigint ( const sc_fxnum_fast & v)
inlineexplicit

Definition at line 118 of file sc_bigint.hh.

◆ ~sc_bigint()

template<int W>
sc_dt::sc_bigint< W >::~sc_bigint ( )
inline

Definition at line 122 of file sc_bigint.hh.

Member Function Documentation

◆ operator=() [1/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( const char * v)
inline

Definition at line 170 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [2/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( const sc_bigint< W > & v)
inline

Definition at line 127 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [3/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( const sc_bv_base & v)
inline

Definition at line 226 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [4/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( const sc_fxnum & v)
inline

Definition at line 268 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [5/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( const sc_fxnum_fast & v)
inline

Definition at line 275 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [6/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( const sc_fxval & v)
inline

Definition at line 254 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [7/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( const sc_fxval_fast & v)
inline

Definition at line 261 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [8/22]

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

Definition at line 149 of file sc_bigint.hh.

References a.

◆ operator=() [9/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( const sc_int_base & v)
inline

Definition at line 240 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [10/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( const sc_lv_base & v)
inline

Definition at line 233 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [11/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( const sc_signed & v)
inline

Definition at line 134 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [12/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( const sc_signed_subref & v)
inline

Definition at line 141 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [13/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( const sc_uint_base & v)
inline

Definition at line 247 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [14/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( const sc_unsigned & v)
inline

Definition at line 156 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [15/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( const sc_unsigned_subref & v)
inline

Definition at line 163 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [16/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( double v)
inline

Definition at line 218 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [17/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( int v)
inline

Definition at line 205 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [18/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( int64 v)
inline

Definition at line 177 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [19/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( long v)
inline

Definition at line 191 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [20/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( uint64 v)
inline

Definition at line 184 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [21/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( unsigned int v)
inline

Definition at line 212 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().

◆ operator=() [22/22]

template<int W>
sc_bigint< W > & sc_dt::sc_bigint< W >::operator= ( unsigned long v)
inline

Definition at line 198 of file sc_bigint.hh.

References sc_dt::sc_signed::operator=().


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

Generated on Tue Jun 18 2024 16:24:55 for gem5 by doxygen 1.11.0