SystemC
2.3.2
Accellera SystemC proof-of-concept library
|
#include <sysc/datatypes/int/sc_int.h>
Public Member Functions | |
sc_int () | |
sc_int (int_type v) | |
sc_int (const sc_int< W > &a) | |
sc_int (const sc_int_base &a) | |
sc_int (const sc_int_subref_r &a) | |
template<class T > | |
sc_int (const sc_generic_base< T > &a) | |
sc_int (const sc_signed &a) | |
sc_int (const sc_unsigned &a) | |
sc_int (const sc_bv_base &a) | |
sc_int (const sc_lv_base &a) | |
sc_int (const char *a) | |
sc_int (unsigned long a) | |
sc_int (long a) | |
sc_int (unsigned int a) | |
sc_int (int a) | |
sc_int (uint64 a) | |
sc_int (double a) | |
sc_int< W > & | operator= (int_type v) |
sc_int< W > & | operator= (const sc_int_base &a) |
sc_int< W > & | operator= (const sc_int_subref_r &a) |
sc_int< W > & | operator= (const sc_int< W > &a) |
template<class T > | |
sc_int< W > & | operator= (const sc_generic_base< T > &a) |
sc_int< W > & | operator= (const sc_signed &a) |
sc_int< W > & | operator= (const sc_unsigned &a) |
sc_int< W > & | operator= (const sc_bv_base &a) |
sc_int< W > & | operator= (const sc_lv_base &a) |
sc_int< W > & | operator= (const char *a) |
sc_int< W > & | operator= (unsigned long a) |
sc_int< W > & | operator= (long a) |
sc_int< W > & | operator= (unsigned int a) |
sc_int< W > & | operator= (int a) |
sc_int< W > & | operator= (uint64 a) |
sc_int< W > & | operator= (double a) |
sc_int< W > & | operator+= (int_type v) |
sc_int< W > & | operator-= (int_type v) |
sc_int< W > & | operator*= (int_type v) |
sc_int< W > & | operator/= (int_type v) |
sc_int< W > & | operator%= (int_type v) |
sc_int< W > & | operator&= (int_type v) |
sc_int< W > & | operator|= (int_type v) |
sc_int< W > & | operator^= (int_type v) |
sc_int< W > & | operator<<= (int_type v) |
sc_int< W > & | operator>>= (int_type v) |
sc_int< W > & | operator++ () |
const sc_int< W > | operator++ (int) |
sc_int< W > & | operator-- () |
const sc_int< W > | operator-- (int) |
sc_int_bitref & | operator[] (int i) |
const sc_int_bitref_r & | operator[] (int i) const |
sc_int_bitref & | bit (int i) |
const sc_int_bitref_r & | bit (int i) const |
sc_int_subref & | operator() (int left, int right) |
const sc_int_subref_r & | operator() (int left, int right) const |
sc_int_subref & | range (int left, int right) |
const sc_int_subref_r & | range (int left, int right) const |
bool | test (int i) const |
void | set (int i) |
void | set (int i, bool v) |
int | length () 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) |
bool | and_reduce () const |
bool | nand_reduce () const |
bool | or_reduce () const |
bool | nor_reduce () const |
bool | xor_reduce () const |
bool | xnor_reduce () const |
operator int_type () const | |
int_type | value () 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 |
long | long_low () const |
long | long_high () 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) |
Protected Attributes | |
int_type | m_val |
int | m_len |
int | m_ulen |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inherited |
|
inlineinherited |
Definition at line 1259 of file sc_int_base.h.
|
inlineinherited |
Definition at line 1269 of file sc_int_base.h.
|
virtualinherited |
Reimplemented from sc_dt::sc_value_base.
|
virtualinherited |
Reimplemented from sc_dt::sc_value_base.
|
inlinevirtualinherited |
Reimplemented from sc_dt::sc_value_base.
Definition at line 791 of file sc_int_base.h.
|
inlinevirtualinherited |
Reimplemented from sc_dt::sc_value_base.
Definition at line 787 of file sc_int_base.h.
|
virtualinherited |
Reimplemented from sc_dt::sc_value_base.
|
virtualinherited |
Reimplemented from sc_dt::sc_value_base.
|
virtualinherited |
Reimplemented from sc_dt::sc_value_base.
|
virtualinherited |
Reimplemented from sc_dt::sc_value_base.
|
inlineinherited |
Definition at line 777 of file sc_int_base.h.
|
inlineinherited |
Definition at line 859 of file sc_int_base.h.
|
inlineinherited |
Definition at line 856 of file sc_int_base.h.
|
inlineinherited |
Definition at line 808 of file sc_int_base.h.
|
inlineinherited |
Definition at line 813 of file sc_int_base.h.
|
inlineinherited |
Definition at line 824 of file sc_int_base.h.
|
inline |
|
inline |
|
inlineinherited |
Definition at line 1282 of file sc_int_base.h.
|
inlineinherited |
Definition at line 1292 of file sc_int_base.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
Definition at line 1238 of file sc_int_base.h.
|
inlineinherited |
Definition at line 1248 of file sc_int_base.h.
|
inline |
|
inline |
|
inherited |
|
inlineinherited |
Definition at line 871 of file sc_int_base.h.
|
inlineinherited |
Definition at line 1303 of file sc_int_base.h.
|
inlineinherited |
Definition at line 1313 of file sc_int_base.h.
|
inherited |
|
inlineinherited |
Definition at line 768 of file sc_int_base.h.
|
inlineinherited |
Definition at line 771 of file sc_int_base.h.
|
inlineinherited |
Definition at line 765 of file sc_int_base.h.
|
inlineinherited |
Definition at line 852 of file sc_int_base.h.
|
inlineinherited |
Definition at line 834 of file sc_int_base.h.
|
inlineinherited |
Definition at line 846 of file sc_int_base.h.
|
inlineinherited |
Definition at line 840 of file sc_int_base.h.
|
inherited |
|
inlineinherited |
Definition at line 837 of file sc_int_base.h.
|
inlineinherited |
Definition at line 849 of file sc_int_base.h.
|
inlineinherited |
Definition at line 843 of file sc_int_base.h.
|
inlineinherited |
Definition at line 830 of file sc_int_base.h.
|
inlineinherited |
Definition at line 818 of file sc_int_base.h.
|
inherited |
|
protectedinherited |
Definition at line 879 of file sc_int_base.h.
|
protectedinherited |
Definition at line 880 of file sc_int_base.h.
|
protectedinherited |
Definition at line 878 of file sc_int_base.h.