#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 |
Friends | |
| bool | operator== (const sc_int_base &a, const sc_int_base &b) |
| bool | operator!= (const sc_int_base &a, const sc_int_base &b) |
| bool | operator< (const sc_int_base &a, const sc_int_base &b) |
| bool | operator<= (const sc_int_base &a, const sc_int_base &b) |
| bool | operator> (const sc_int_base &a, const sc_int_base &b) |
| bool | operator>= (const sc_int_base &a, const sc_int_base &b) |
Definition at line 85 of file sc_int.h.
| sc_dt::sc_int< W >::sc_int | ( | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | int_type | v | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | const sc_int< W > & | a | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | const sc_int_base & | a | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | const sc_int_subref_r & | a | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | const sc_generic_base< T > & | a | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | const sc_signed & | a | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | const sc_unsigned & | a | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | const sc_bv_base & | a | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | const sc_lv_base & | a | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | const char * | a | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | unsigned long | a | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | long | a | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | unsigned int | a | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | int | a | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | uint64 | a | ) | [inline] |
| sc_dt::sc_int< W >::sc_int | ( | double | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | int_type | v | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | const sc_int_base & | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | const sc_int_subref_r & | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | const sc_int< W > & | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | const sc_generic_base< T > & | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | const sc_signed & | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | const sc_unsigned & | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | const sc_bv_base & | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | const sc_lv_base & | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | const char * | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | unsigned long | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | long | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | unsigned int | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | int | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | uint64 | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator= | ( | double | a | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator+= | ( | int_type | v | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator-= | ( | int_type | v | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator*= | ( | int_type | v | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator/= | ( | int_type | v | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator%= | ( | int_type | v | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator &= | ( | int_type | v | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator|= | ( | int_type | v | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator^= | ( | int_type | v | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator<<= | ( | int_type | v | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator>>= | ( | int_type | v | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator++ | ( | ) | [inline] |
| const sc_int<W> sc_dt::sc_int< W >::operator++ | ( | int | ) | [inline] |
| sc_int<W>& sc_dt::sc_int< W >::operator-- | ( | ) | [inline] |
| const sc_int<W> sc_dt::sc_int< W >::operator-- | ( | int | ) | [inline] |
| sc_int_bitref & sc_dt::sc_int_base::operator[] | ( | int | i | ) | [inline, inherited] |
Definition at line 1217 of file sc_int_base.h.
| const sc_int_bitref_r & sc_dt::sc_int_base::operator[] | ( | int | i | ) | const [inline, inherited] |
Definition at line 1227 of file sc_int_base.h.
| sc_int_bitref & sc_dt::sc_int_base::bit | ( | int | i | ) | [inline, inherited] |
Definition at line 1238 of file sc_int_base.h.
| const sc_int_bitref_r & sc_dt::sc_int_base::bit | ( | int | i | ) | const [inline, inherited] |
Definition at line 1248 of file sc_int_base.h.
| sc_int_subref & sc_dt::sc_int_base::operator() | ( | int | left, | |
| int | right | |||
| ) | [inline, inherited] |
Definition at line 1261 of file sc_int_base.h.
| const sc_int_subref_r & sc_dt::sc_int_base::operator() | ( | int | left, | |
| int | right | |||
| ) | const [inline, inherited] |
Definition at line 1271 of file sc_int_base.h.
| sc_int_subref & sc_dt::sc_int_base::range | ( | int | left, | |
| int | right | |||
| ) | [inline, inherited] |
Definition at line 1282 of file sc_int_base.h.
| const sc_int_subref_r & sc_dt::sc_int_base::range | ( | int | left, | |
| int | right | |||
| ) | const [inline, inherited] |
Definition at line 1292 of file sc_int_base.h.
| bool sc_dt::sc_int_base::test | ( | int | i | ) | const [inline, inherited] |
Definition at line 742 of file sc_int_base.h.
| void sc_dt::sc_int_base::set | ( | int | i | ) | [inline, inherited] |
Definition at line 745 of file sc_int_base.h.
| void sc_dt::sc_int_base::set | ( | int | i, | |
| bool | v | |||
| ) | [inline, inherited] |
Definition at line 748 of file sc_int_base.h.
| int sc_dt::sc_int_base::length | ( | ) | const [inline, inherited] |
Definition at line 754 of file sc_int_base.h.
| virtual int sc_dt::sc_int_base::concat_length | ( | bool * | xz_present_p | ) | const [inline, virtual, inherited] |
| bool sc_dt::sc_int_base::concat_get_ctrl | ( | sc_digit * | dst_p, | |
| int | low_i | |||
| ) | const [virtual, inherited] |
| bool sc_dt::sc_int_base::concat_get_data | ( | sc_digit * | dst_p, | |
| int | low_i | |||
| ) | const [virtual, inherited] |
| virtual uint64 sc_dt::sc_int_base::concat_get_uint64 | ( | ) | const [inline, virtual, inherited] |
| void sc_dt::sc_int_base::concat_set | ( | int64 | src, | |
| int | low_i | |||
| ) | [virtual, inherited] |
| void sc_dt::sc_int_base::concat_set | ( | const sc_signed & | src, | |
| int | low_i | |||
| ) | [virtual, inherited] |
| void sc_dt::sc_int_base::concat_set | ( | const sc_unsigned & | src, | |
| int | low_i | |||
| ) | [virtual, inherited] |
| void sc_dt::sc_int_base::concat_set | ( | uint64 | src, | |
| int | low_i | |||
| ) | [virtual, inherited] |
| bool sc_dt::sc_int_base::and_reduce | ( | ) | const [inherited] |
Definition at line 568 of file sc_int_base.cpp.
| bool sc_dt::sc_int_base::nand_reduce | ( | ) | const [inline, inherited] |
Definition at line 785 of file sc_int_base.h.
| bool sc_dt::sc_int_base::or_reduce | ( | ) | const [inherited] |
Definition at line 574 of file sc_int_base.cpp.
| bool sc_dt::sc_int_base::nor_reduce | ( | ) | const [inline, inherited] |
Definition at line 790 of file sc_int_base.h.
| bool sc_dt::sc_int_base::xor_reduce | ( | ) | const [inherited] |
Definition at line 580 of file sc_int_base.cpp.
| bool sc_dt::sc_int_base::xnor_reduce | ( | ) | const [inline, inherited] |
Definition at line 795 of file sc_int_base.h.
| sc_dt::sc_int_base::operator int_type | ( | ) | const [inline, inherited] |
Definition at line 801 of file sc_int_base.h.
| int_type sc_dt::sc_int_base::value | ( | ) | const [inline, inherited] |
Definition at line 807 of file sc_int_base.h.
| int sc_dt::sc_int_base::to_int | ( | ) | const [inline, inherited] |
Definition at line 811 of file sc_int_base.h.
| unsigned int sc_dt::sc_int_base::to_uint | ( | ) | const [inline, inherited] |
Definition at line 814 of file sc_int_base.h.
| long sc_dt::sc_int_base::to_long | ( | ) | const [inline, inherited] |
Definition at line 817 of file sc_int_base.h.
| unsigned long sc_dt::sc_int_base::to_ulong | ( | ) | const [inline, inherited] |
Definition at line 820 of file sc_int_base.h.
| int64 sc_dt::sc_int_base::to_int64 | ( | ) | const [inline, inherited] |
Definition at line 823 of file sc_int_base.h.
| uint64 sc_dt::sc_int_base::to_uint64 | ( | ) | const [inline, inherited] |
Definition at line 826 of file sc_int_base.h.
| double sc_dt::sc_int_base::to_double | ( | ) | const [inline, inherited] |
Definition at line 829 of file sc_int_base.h.
| long sc_dt::sc_int_base::long_low | ( | ) | const [inline, inherited] |
Definition at line 834 of file sc_int_base.h.
| long sc_dt::sc_int_base::long_high | ( | ) | const [inline, inherited] |
Definition at line 837 of file sc_int_base.h.
| const std::string sc_dt::sc_int_base::to_string | ( | sc_numrep | numrep = SC_DEC |
) | const [inherited] |
Definition at line 549 of file sc_int_base.cpp.
| const std::string sc_dt::sc_int_base::to_string | ( | sc_numrep | numrep, | |
| bool | w_prefix | |||
| ) | const [inherited] |
Definition at line 557 of file sc_int_base.cpp.
| void sc_dt::sc_int_base::print | ( | ::std::ostream & | os = ::std::cout |
) | const [inline, inherited] |
Definition at line 850 of file sc_int_base.h.
| void sc_dt::sc_int_base::scan | ( | ::std::istream & | is = ::std::cin |
) | [inherited] |
Definition at line 703 of file sc_int_base.cpp.
| bool operator== | ( | const sc_int_base & | a, | |
| const sc_int_base & | b | |||
| ) | [friend, inherited] |
Definition at line 703 of file sc_int_base.h.
| bool operator!= | ( | const sc_int_base & | a, | |
| const sc_int_base & | b | |||
| ) | [friend, inherited] |
Definition at line 706 of file sc_int_base.h.
| bool operator< | ( | const sc_int_base & | a, | |
| const sc_int_base & | b | |||
| ) | [friend, inherited] |
Definition at line 709 of file sc_int_base.h.
| bool operator<= | ( | const sc_int_base & | a, | |
| const sc_int_base & | b | |||
| ) | [friend, inherited] |
Definition at line 712 of file sc_int_base.h.
| bool operator> | ( | const sc_int_base & | a, | |
| const sc_int_base & | b | |||
| ) | [friend, inherited] |
Definition at line 715 of file sc_int_base.h.
| bool operator>= | ( | const sc_int_base & | a, | |
| const sc_int_base & | b | |||
| ) | [friend, inherited] |
Definition at line 718 of file sc_int_base.h.
int_type sc_dt::sc_int_base::m_val [protected, inherited] |
Definition at line 857 of file sc_int_base.h.
int sc_dt::sc_int_base::m_len [protected, inherited] |
Definition at line 858 of file sc_int_base.h.
int sc_dt::sc_int_base::m_ulen [protected, inherited] |
Definition at line 859 of file sc_int_base.h.
1.5.5