Base class for sc_int.
More...
#include <sysc/datatypes/int/sc_int_base.h>
|
| sc_int_base (int w=sc_length_param().len()) |
|
| sc_int_base (int_type v, int w) |
|
| sc_int_base (const sc_int_base &a) |
|
| sc_int_base (const sc_int_subref_r &a) |
|
template<class T > |
| sc_int_base (const sc_generic_base< T > &a) |
|
| sc_int_base (const sc_signed &a) |
|
| sc_int_base (const sc_unsigned &a) |
|
| sc_int_base (const sc_bv_base &v) |
|
| sc_int_base (const sc_lv_base &v) |
|
| sc_int_base (const sc_uint_subref_r &v) |
|
| sc_int_base (const sc_signed_subref_r &v) |
|
| sc_int_base (const sc_unsigned_subref_r &v) |
|
virtual | ~sc_int_base () |
|
sc_int_base & | operator= (int_type v) |
|
sc_int_base & | operator= (const sc_int_base &a) |
|
sc_int_base & | operator= (const sc_int_subref_r &a) |
|
template<class T > |
sc_int_base & | operator= (const sc_generic_base< T > &a) |
|
sc_int_base & | operator= (const sc_signed &a) |
|
sc_int_base & | operator= (const sc_unsigned &a) |
|
sc_int_base & | operator= (const sc_bv_base &a) |
|
sc_int_base & | operator= (const sc_lv_base &a) |
|
sc_int_base & | operator= (const char *a) |
|
sc_int_base & | operator= (unsigned long a) |
|
sc_int_base & | operator= (long a) |
|
sc_int_base & | operator= (unsigned int a) |
|
sc_int_base & | operator= (int a) |
|
sc_int_base & | operator= (uint64 a) |
|
sc_int_base & | operator= (double a) |
|
sc_int_base & | operator+= (int_type v) |
|
sc_int_base & | operator-= (int_type v) |
|
sc_int_base & | operator*= (int_type v) |
|
sc_int_base & | operator/= (int_type v) |
|
sc_int_base & | operator%= (int_type v) |
|
sc_int_base & | operator&= (int_type v) |
|
sc_int_base & | operator|= (int_type v) |
|
sc_int_base & | operator^= (int_type v) |
|
sc_int_base & | operator<<= (int_type v) |
|
sc_int_base & | operator>>= (int_type v) |
|
sc_int_base & | operator++ () |
|
const sc_int_base | operator++ (int) |
|
sc_int_base & | operator-- () |
|
const sc_int_base | 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) |
|
Base class for sc_int.
Definition at line 548 of file sc_int_base.h.
◆ sc_int_base() [1/12]
◆ sc_int_base() [2/12]
sc_dt::sc_int_base::sc_int_base |
( |
int_type |
v, |
|
|
int |
w |
|
) |
| |
|
inline |
◆ sc_int_base() [3/12]
sc_dt::sc_int_base::sc_int_base |
( |
const sc_int_base & |
a | ) |
|
|
inline |
◆ sc_int_base() [4/12]
◆ sc_int_base() [5/12]
◆ sc_int_base() [6/12]
sc_dt::sc_int_base::sc_int_base |
( |
const sc_signed & |
a | ) |
|
|
explicit |
◆ sc_int_base() [7/12]
sc_dt::sc_int_base::sc_int_base |
( |
const sc_unsigned & |
a | ) |
|
|
explicit |
◆ sc_int_base() [8/12]
sc_dt::sc_int_base::sc_int_base |
( |
const sc_bv_base & |
v | ) |
|
|
explicit |
◆ sc_int_base() [9/12]
sc_dt::sc_int_base::sc_int_base |
( |
const sc_lv_base & |
v | ) |
|
|
explicit |
◆ sc_int_base() [10/12]
◆ sc_int_base() [11/12]
◆ sc_int_base() [12/12]
◆ ~sc_int_base()
virtual sc_dt::sc_int_base::~sc_int_base |
( |
| ) |
|
|
inlinevirtual |
◆ and_reduce()
bool sc_dt::sc_int_base::and_reduce |
( |
| ) |
const |
◆ bit() [1/2]
◆ bit() [2/2]
◆ concat_get_ctrl()
virtual bool sc_dt::sc_int_base::concat_get_ctrl |
( |
sc_digit * |
dst_p, |
|
|
int |
low_i |
|
) |
| const |
|
virtual |
◆ concat_get_data()
virtual bool sc_dt::sc_int_base::concat_get_data |
( |
sc_digit * |
dst_p, |
|
|
int |
low_i |
|
) |
| const |
|
virtual |
◆ concat_get_uint64()
virtual uint64 sc_dt::sc_int_base::concat_get_uint64 |
( |
| ) |
const |
|
inlinevirtual |
◆ concat_length()
virtual int sc_dt::sc_int_base::concat_length |
( |
bool * |
xz_present_p | ) |
const |
|
inlinevirtual |
◆ concat_set() [1/4]
virtual void sc_dt::sc_int_base::concat_set |
( |
int64 |
src, |
|
|
int |
low_i |
|
) |
| |
|
virtual |
◆ concat_set() [2/4]
virtual void sc_dt::sc_int_base::concat_set |
( |
const sc_signed & |
src, |
|
|
int |
low_i |
|
) |
| |
|
virtual |
◆ concat_set() [3/4]
virtual void sc_dt::sc_int_base::concat_set |
( |
const sc_unsigned & |
src, |
|
|
int |
low_i |
|
) |
| |
|
virtual |
◆ concat_set() [4/4]
virtual void sc_dt::sc_int_base::concat_set |
( |
uint64 |
src, |
|
|
int |
low_i |
|
) |
| |
|
virtual |
◆ length()
int sc_dt::sc_int_base::length |
( |
| ) |
const |
|
inline |
◆ long_high()
long sc_dt::sc_int_base::long_high |
( |
| ) |
const |
|
inline |
◆ long_low()
long sc_dt::sc_int_base::long_low |
( |
| ) |
const |
|
inline |
◆ nand_reduce()
bool sc_dt::sc_int_base::nand_reduce |
( |
| ) |
const |
|
inline |
◆ nor_reduce()
bool sc_dt::sc_int_base::nor_reduce |
( |
| ) |
const |
|
inline |
◆ operator int_type()
sc_dt::sc_int_base::operator int_type |
( |
| ) |
const |
|
inline |
◆ operator%=()
◆ operator&=()
◆ operator()() [1/2]
sc_int_subref & sc_dt::sc_int_base::operator() |
( |
int |
left, |
|
|
int |
right |
|
) |
| |
|
inline |
◆ operator()() [2/2]
const sc_int_subref_r & sc_dt::sc_int_base::operator() |
( |
int |
left, |
|
|
int |
right |
|
) |
| const |
|
inline |
◆ operator*=()
◆ operator++() [1/2]
◆ operator++() [2/2]
const sc_int_base sc_dt::sc_int_base::operator++ |
( |
int |
| ) |
|
|
inline |
◆ operator+=()
◆ operator--() [1/2]
◆ operator--() [2/2]
const sc_int_base sc_dt::sc_int_base::operator-- |
( |
int |
| ) |
|
|
inline |
◆ operator-=()
◆ operator/=()
◆ operator<<=()
◆ operator=() [1/15]
◆ operator=() [2/15]
◆ operator=() [3/15]
◆ operator=() [4/15]
◆ operator=() [5/15]
◆ operator=() [6/15]
◆ operator=() [7/15]
◆ operator=() [8/15]
◆ operator=() [9/15]
sc_int_base& sc_dt::sc_int_base::operator= |
( |
const char * |
a | ) |
|
◆ operator=() [10/15]
sc_int_base& sc_dt::sc_int_base::operator= |
( |
unsigned long |
a | ) |
|
|
inline |
◆ operator=() [11/15]
◆ operator=() [12/15]
sc_int_base& sc_dt::sc_int_base::operator= |
( |
unsigned int |
a | ) |
|
|
inline |
◆ operator=() [13/15]
◆ operator=() [14/15]
◆ operator=() [15/15]
◆ operator>>=()
◆ operator[]() [1/2]
◆ operator[]() [2/2]
◆ operator^=()
◆ operator|=()
◆ or_reduce()
bool sc_dt::sc_int_base::or_reduce |
( |
| ) |
const |
◆ print()
void sc_dt::sc_int_base::print |
( |
::std::ostream & |
os = ::std::cout | ) |
const |
|
inline |
◆ range() [1/2]
sc_int_subref & sc_dt::sc_int_base::range |
( |
int |
left, |
|
|
int |
right |
|
) |
| |
|
inline |
◆ range() [2/2]
const sc_int_subref_r & sc_dt::sc_int_base::range |
( |
int |
left, |
|
|
int |
right |
|
) |
| const |
|
inline |
◆ scan()
void sc_dt::sc_int_base::scan |
( |
::std::istream & |
is = ::std::cin | ) |
|
◆ set() [1/2]
void sc_dt::sc_int_base::set |
( |
int |
i | ) |
|
|
inline |
◆ set() [2/2]
void sc_dt::sc_int_base::set |
( |
int |
i, |
|
|
bool |
v |
|
) |
| |
|
inline |
◆ test()
bool sc_dt::sc_int_base::test |
( |
int |
i | ) |
const |
|
inline |
◆ to_double()
double sc_dt::sc_int_base::to_double |
( |
| ) |
const |
|
inline |
◆ to_int()
int sc_dt::sc_int_base::to_int |
( |
| ) |
const |
|
inline |
◆ to_int64()
int64 sc_dt::sc_int_base::to_int64 |
( |
| ) |
const |
|
inline |
◆ to_long()
long sc_dt::sc_int_base::to_long |
( |
| ) |
const |
|
inline |
◆ to_string() [1/2]
const std::string sc_dt::sc_int_base::to_string |
( |
sc_numrep |
numrep = SC_DEC | ) |
const |
◆ to_string() [2/2]
const std::string sc_dt::sc_int_base::to_string |
( |
sc_numrep |
numrep, |
|
|
bool |
w_prefix |
|
) |
| const |
◆ to_uint()
unsigned int sc_dt::sc_int_base::to_uint |
( |
| ) |
const |
|
inline |
◆ to_uint64()
uint64 sc_dt::sc_int_base::to_uint64 |
( |
| ) |
const |
|
inline |
◆ to_ulong()
unsigned long sc_dt::sc_int_base::to_ulong |
( |
| ) |
const |
|
inline |
◆ value()
int_type sc_dt::sc_int_base::value |
( |
| ) |
const |
|
inline |
◆ xnor_reduce()
bool sc_dt::sc_int_base::xnor_reduce |
( |
| ) |
const |
|
inline |
◆ xor_reduce()
bool sc_dt::sc_int_base::xor_reduce |
( |
| ) |
const |
◆ operator!=
◆ operator<
◆ operator<=
◆ operator==
◆ operator>
◆ operator>=
◆ sc_int_bitref
◆ sc_int_bitref_r
◆ sc_int_subref
◆ sc_int_subref_r
◆ m_len
int sc_dt::sc_int_base::m_len |
|
protected |
◆ m_ulen
int sc_dt::sc_int_base::m_ulen |
|
protected |
◆ m_val
The documentation for this class was generated from the following file: