#include <sc_uint_base.h>
Inheritance diagram for sc_dt::sc_uint_base:


Public Methods | |
| sc_uint_base (int w=sc_length_param().len()) | |
| sc_uint_base (uint_type v, int w) | |
| sc_uint_base (const sc_uint_base &a) | |
| sc_uint_base (const sc_uint_subref_r &a) | |
| sc_uint_base (const sc_concatref &a) | |
| sc_uint_base (const sc_signed &a) | |
| sc_uint_base (const sc_unsigned &a) | |
| virtual | ~sc_uint_base () |
| sc_uint_base & | operator= (uint_type v) |
| sc_uint_base & | operator= (const sc_uint_base &a) |
| sc_uint_base & | operator= (const sc_uint_subref_r &a) |
| sc_uint_base & | operator= (const sc_concatref &a) |
| sc_uint_base & | operator= (const sc_signed &a) |
| sc_uint_base & | operator= (const sc_unsigned &a) |
| sc_uint_base & | operator= (const sc_bv_base &a) |
| sc_uint_base & | operator= (const sc_lv_base &a) |
| sc_uint_base & | operator= (const char *a) |
| sc_uint_base & | operator= (unsigned long a) |
| sc_uint_base & | operator= (long a) |
| sc_uint_base & | operator= (unsigned int a) |
| sc_uint_base & | operator= (int a) |
| sc_uint_base & | operator= (int64 a) |
| sc_uint_base & | operator= (double a) |
| sc_uint_base & | operator+= (uint_type v) |
| sc_uint_base & | operator-= (uint_type v) |
| sc_uint_base & | operator *= (uint_type v) |
| sc_uint_base & | operator/= (uint_type v) |
| sc_uint_base & | operator%= (uint_type v) |
| sc_uint_base & | operator &= (uint_type v) |
| sc_uint_base & | operator|= (uint_type v) |
| sc_uint_base & | operator^= (uint_type v) |
| sc_uint_base & | operator<<= (uint_type v) |
| sc_uint_base & | operator>>= (uint_type v) |
| sc_uint_base & | operator++ () |
| const sc_uint_base | operator++ (int) |
| sc_uint_base & | operator-- () |
| const sc_uint_base | operator-- (int) |
| sc_uint_bitref | operator[] (int i) |
| sc_uint_bitref_r | operator[] (int i) const |
| sc_uint_bitref | bit (int i) |
| sc_uint_bitref_r | bit (int i) const |
| sc_uint_subref | operator() (int left, int right) |
| sc_uint_subref_r | operator() (int left, int right) const |
| sc_uint_subref | range (int left, int right) |
| sc_uint_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 (unsigned long *dst_p, int low_i) const |
| virtual bool | concat_get_data (unsigned long *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 uint_type () const | |
| uint_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 sc_string | to_string (sc_numrep numrep=SC_DEC) const |
| const sc_string | to_string (sc_numrep numrep, bool w_prefix) const |
| void | print (ostream &os=cout) const |
| void | scan (istream &is=cin) |
Protected Attributes | |
| uint_type | m_val |
| int | m_len |
| int | m_ulen |
Friends | |
| class | sc_uint_bitref_r |
| class | sc_uint_bitref |
| class | sc_uint_subref_r |
| class | sc_uint_subref |
| bool | operator== (const sc_uint_base &a, const sc_uint_base &b) |
| bool | operator!= (const sc_uint_base &a, const sc_uint_base &b) |
| bool | operator< (const sc_uint_base &a, const sc_uint_base &b) |
| bool | operator<= (const sc_uint_base &a, const sc_uint_base &b) |
| bool | operator> (const sc_uint_base &a, const sc_uint_base &b) |
| bool | operator>= (const sc_uint_base &a, const sc_uint_base &b) |
|
|
Definition at line 551 of file sc_uint_base.h. References m_len, m_ulen, m_val, and SC_INTWIDTH. |
|
||||||||||||
|
Definition at line 555 of file sc_uint_base.h. References m_len, m_ulen, m_val, SC_INTWIDTH, and sc_dt::uint_type. |
|
|
Definition at line 559 of file sc_uint_base.h. |
|
|
Definition at line 563 of file sc_uint_base.h. References length(), m_len, m_ulen, m_val, and SC_INTWIDTH. |
|
|
|
|
|
Definition at line 367 of file sc_uint_base.cpp. References m_len, SC_INTWIDTH, and set(). |
|
|
Definition at line 377 of file sc_uint_base.cpp. References m_len, SC_INTWIDTH, and set(). |
|
|
Definition at line 579 of file sc_uint_base.h. |
|
|
Definition at line 510 of file sc_uint_base.cpp. References m_ulen, m_val, and sc_dt::UINT_ZERO. Referenced by sc_dt::and_reduce(), sc_dt::sc_uint_subref_r::and_reduce(), and nand_reduce(). |
|
|
Definition at line 1210 of file sc_uint_base.h. References sc_uint_bitref_r. |
|
|
Definition at line 1202 of file sc_uint_base.h. References sc_uint_bitref. |
|
||||||||||||
|
Reimplemented from sc_dt::sc_value_base. Definition at line 536 of file sc_uint_base.cpp. References BITS_PER_DIGIT, m_len, and sc_dt::uint_type. |
|
||||||||||||
|
Reimplemented from sc_dt::sc_value_base. Definition at line 557 of file sc_uint_base.cpp. References BITS_PER_DIGIT, DIGIT_MASK, m_len, m_val, and sc_dt::uint_type. |
|
|
Reimplemented from sc_dt::sc_value_base. Definition at line 750 of file sc_uint_base.h. References m_val, and sc_dt::uint64. |
|
|
Reimplemented from sc_dt::sc_value_base. Definition at line 746 of file sc_uint_base.h. References length(). |
|
||||||||||||
|
Reimplemented from sc_dt::sc_value_base. Definition at line 626 of file sc_uint_base.cpp. References sc_dt::uint64. |
|
||||||||||||
|
Reimplemented from sc_dt::sc_value_base. Definition at line 618 of file sc_uint_base.cpp. References sc_dt::sc_unsigned::length(). |
|
||||||||||||
|
Reimplemented from sc_dt::sc_value_base. Definition at line 610 of file sc_uint_base.cpp. References sc_dt::sc_signed::length(). |
|
||||||||||||
|
Reimplemented from sc_dt::sc_value_base. Definition at line 605 of file sc_uint_base.cpp. References sc_dt::int64. |
|
|
Definition at line 736 of file sc_uint_base.h. References m_len. Referenced by concat_length(), and sc_uint_base(). |
|
|
Definition at line 814 of file sc_uint_base.h. References m_val, and sc_dt::UINT64_32ONES. |
|
|
Definition at line 811 of file sc_uint_base.h. References m_val, and sc_dt::UINT64_32ONES. |
|
|
Definition at line 762 of file sc_uint_base.h. References and_reduce(). Referenced by sc_dt::nand_reduce(). |
|
|
Definition at line 767 of file sc_uint_base.h. References or_reduce(). Referenced by sc_dt::nor_reduce(). |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 651 of file sc_uint_base.h. References m_val, and sc_dt::uint_type. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 639 of file sc_uint_base.h. References m_val, and sc_dt::uint_type. |
|
|
Definition at line 778 of file sc_uint_base.h. References m_val. Referenced by value(). |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 645 of file sc_uint_base.h. References m_val, and sc_dt::uint_type. |
|
||||||||||||
|
Definition at line 1229 of file sc_uint_base.h. References sc_uint_subref_r. |
|
||||||||||||
|
Definition at line 1221 of file sc_uint_base.h. References sc_uint_subref. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 673 of file sc_uint_base.h. References m_val. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 670 of file sc_uint_base.h. References m_val. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 633 of file sc_uint_base.h. References m_val, and sc_dt::uint_type. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 679 of file sc_uint_base.h. References m_val. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 676 of file sc_uint_base.h. References m_val. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 636 of file sc_uint_base.h. References m_val, and sc_dt::uint_type. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 642 of file sc_uint_base.h. References m_val, and sc_dt::uint_type. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 661 of file sc_uint_base.h. References m_val, and sc_dt::uint_type. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 627 of file sc_uint_base.h. References m_val. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 624 of file sc_uint_base.h. References sc_dt::int64, and m_val. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 621 of file sc_uint_base.h. References m_val. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 618 of file sc_uint_base.h. References m_val. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 615 of file sc_uint_base.h. References m_val. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 612 of file sc_uint_base.h. References m_val. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 464 of file sc_uint_base.cpp. References m_len, operator=(), sc_dt::SC_ON, SC_REPORT_ERROR, sc_dt::SC_TRN, sc_dt::SC_WRAP, and sprintf(). |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 448 of file sc_uint_base.cpp. References sc_dt::sc_lv_base::get_bit(), sc_dt::sc_lv_base::length(), m_len, sc_min(), and set(). |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 432 of file sc_uint_base.cpp. References sc_dt::sc_bv_base::get_bit(), sc_dt::sc_bv_base::length(), m_len, sc_min(), and set(). |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 408 of file sc_uint_base.cpp. References sc_dt::sc_unsigned::length(), m_len, sc_min(), set(), and sc_dt::sc_unsigned::test(). |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 391 of file sc_uint_base.cpp. References sc_dt::sc_signed::length(), m_len, sc_min(), set(), sc_dt::sc_signed::sign(), and sc_dt::sc_signed::test(). |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 425 of file sc_uint_base.cpp. References sc_dt::sc_concatref::concat_get_uint64(). |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 591 of file sc_uint_base.h. References m_val. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 588 of file sc_uint_base.h. References m_val. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 585 of file sc_uint_base.h. References m_val, and sc_dt::uint_type. Referenced by operator=(). |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 664 of file sc_uint_base.h. References m_val, and sc_dt::uint_type. |
|
|
Definition at line 1193 of file sc_uint_base.h. References sc_uint_bitref_r. |
|
|
Definition at line 1185 of file sc_uint_base.h. References sc_uint_bitref. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 657 of file sc_uint_base.h. References m_val, and sc_dt::uint_type. |
|
|
Reimplemented in sc_dt::sc_uint< W >. Definition at line 654 of file sc_uint_base.h. References m_val, and sc_dt::uint_type. |
|
|
Definition at line 516 of file sc_uint_base.cpp. References m_val, and sc_dt::uint_type. Referenced by nor_reduce(), sc_dt::or_reduce(), and sc_dt::sc_uint_subref_r::or_reduce(). |
|
|
Definition at line 826 of file sc_uint_base.h. References to_string(). Referenced by sc_dt::operator<<(). |
|
||||||||||||
|
Definition at line 1246 of file sc_uint_base.h. References sc_uint_subref_r. |
|
||||||||||||
|
Definition at line 1238 of file sc_uint_base.h. References sc_uint_subref. |
|
|
Definition at line 635 of file sc_uint_base.cpp. References sc_string::c_str(), and s. Referenced by sc_dt::operator>>(). |
|
||||||||||||
|
Definition at line 730 of file sc_uint_base.h. References m_val, and sc_dt::UINT_ONE. |
|
|
Definition at line 727 of file sc_uint_base.h. References m_val, and sc_dt::UINT_ONE. Referenced by sc_dt::sc_uint_bitref::operator &=(), sc_dt::sc_uint_bitref::operator=(), operator=(), sc_dt::sc_uint_bitref::operator|=(), and sc_uint_base(). |
|
|
Definition at line 724 of file sc_uint_base.h. References m_val, and sc_dt::UINT_ONE. Referenced by sc_dt::sc_uint_bitref_r::operator uint64(), sc_dt::sc_uint_bitref_r::operator!(), and sc_dt::sc_uint_bitref_r::operator~(). |
|
|
Definition at line 806 of file sc_uint_base.h. References m_val, and sc_dt::uint64_to_double(). Referenced by sc_dt::sc_uint_subref_r::to_double(). |
|
|
Definition at line 788 of file sc_uint_base.h. References m_val. Referenced by sc_dt::sc_uint_subref_r::to_int(). |
|
|
Definition at line 800 of file sc_uint_base.h. References sc_dt::int64, and m_val. Referenced by sc_dt::sc_uint_subref_r::to_int64(). |
|
|
Definition at line 794 of file sc_uint_base.h. References m_val. Referenced by sc_dt::sc_uint_subref_r::to_long(). |
|
||||||||||||
|
Definition at line 499 of file sc_uint_base.cpp. References m_len, sc_numrep, sc_dt::SC_ON, sc_dt::SC_TRN, sc_dt::SC_WRAP, and sc_dt::sc_fxnum::to_string(). |
|
|
Definition at line 491 of file sc_uint_base.cpp. References m_len, sc_numrep, sc_dt::SC_ON, sc_dt::SC_TRN, sc_dt::SC_WRAP, and sc_dt::sc_fxnum::to_string(). Referenced by print(), and sc_dt::sc_uint_subref_r::to_string(). |
|
|
Definition at line 791 of file sc_uint_base.h. References m_val. Referenced by sc_dt::sc_uint_subref_r::to_uint(). |
|
|
Definition at line 803 of file sc_uint_base.h. References m_val, and sc_dt::uint64. Referenced by sc_dt::sc_uint_subref_r::to_uint64(). |
|
|
Definition at line 797 of file sc_uint_base.h. References m_val. Referenced by sc_dt::sc_uint_subref_r::to_ulong(). |
|
|
Definition at line 784 of file sc_uint_base.h. References operator uint_type(), and sc_dt::uint_type. |
|
|
Definition at line 772 of file sc_uint_base.h. References xor_reduce(). Referenced by sc_dt::xnor_reduce(). |
|
|
Definition at line 522 of file sc_uint_base.cpp. References m_val, SC_INTWIDTH, sc_dt::uint_type, and sc_dt::UINT_ZERO. Referenced by xnor_reduce(), sc_dt::xor_reduce(), and sc_dt::sc_uint_subref_r::xor_reduce(). |
|
||||||||||||
|
Definition at line 688 of file sc_uint_base.h. |
|
||||||||||||
|
Definition at line 691 of file sc_uint_base.h. |
|
||||||||||||
|
Definition at line 694 of file sc_uint_base.h. |
|
||||||||||||
|
Definition at line 685 of file sc_uint_base.h. |
|
||||||||||||
|
Definition at line 697 of file sc_uint_base.h. |
|
||||||||||||
|
Definition at line 700 of file sc_uint_base.h. |
|
|
Definition at line 517 of file sc_uint_base.h. Referenced by bit(), and operator[](). |
|
|
Definition at line 516 of file sc_uint_base.h. Referenced by bit(), and operator[](). |