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


Public Methods | |
| const sc_fxval | operator- () const |
| const sc_fxval | operator+ () const |
| const sc_fxval | operator++ (int) |
| const sc_fxval | operator-- (int) |
| sc_fxnum & | operator++ () |
| sc_fxnum & | operator-- () |
| const sc_fxnum_bitref | operator[] (int) const |
| sc_fxnum_bitref | operator[] (int) |
| const sc_fxnum_bitref | bit (int) const |
| sc_fxnum_bitref | bit (int) |
| const sc_fxnum_subref | operator() (int, int) const |
| sc_fxnum_subref | operator() (int, int) |
| const sc_fxnum_subref | range (int, int) const |
| sc_fxnum_subref | range (int, int) |
| const sc_fxnum_subref | operator() () const |
| sc_fxnum_subref | operator() () |
| const sc_fxnum_subref | range () const |
| sc_fxnum_subref | range () |
| operator double () const | |
| short | to_short () const |
| unsigned short | to_ushort () const |
| int | to_int () const |
| unsigned int | to_uint () const |
| long | to_long () const |
| unsigned long | to_ulong () const |
| float | to_float () const |
| double | to_double () const |
| const sc_string | to_string () const |
| const sc_string | to_string (sc_numrep) const |
| const sc_string | to_string (sc_numrep, bool) const |
| const sc_string | to_string (sc_fmt) const |
| const sc_string | to_string (sc_numrep, sc_fmt) const |
| const sc_string | to_string (sc_numrep, bool, sc_fmt) const |
| const sc_string | to_dec () const |
| const sc_string | to_bin () const |
| const sc_string | to_oct () const |
| const sc_string | to_hex () const |
| bool | is_neg () const |
| bool | is_zero () const |
| bool | is_normal () const |
| bool | quantization_flag () const |
| bool | overflow_flag () const |
| const sc_fxval | value () const |
| int | wl () const |
| int | iwl () const |
| sc_q_mode | q_mode () const |
| sc_o_mode | o_mode () const |
| int | n_bits () const |
| const sc_fxtype_params & | type_params () const |
| const sc_fxcast_switch & | cast_switch () const |
| void | print (ostream &=cout) const |
| void | scan (istream &=cin) |
| void | dump (ostream &=cout) const |
| void | observer_read () const |
| bool | get_bit (int) const |
Protected Methods | |
| sc_fxnum_observer * | observer () const |
| void | cast () |
| sc_fxnum (const sc_fxtype_params &, sc_enc, const sc_fxcast_switch &, sc_fxnum_observer *) | |
| ~sc_fxnum () | |
| const scfx_rep * | get_rep () const |
| bool | set_bit (int, bool) |
| bool | get_slice (int, int, sc_bv_base &) const |
| bool | set_slice (int, int, const sc_bv_base &) |
| sc_fxnum_observer * | lock_observer () const |
| void | unlock_observer (sc_fxnum_observer *) const |
Friends | |
| class | sc_fxval |
| class | sc_fxnum_bitref |
| class | sc_fxnum_subref |
| class | sc_fxnum_fast_bitref |
| class | sc_fxnum_fast_subref |
| class | ::vcd_sc_fxnum_trace |
| class | ::wif_sc_fxnum_trace |
| void | neg (sc_fxval &, const sc_fxnum &) |
| void | neg (sc_fxnum &, const sc_fxnum &) |
| const sc_fxval | operator/ (const sc_fxnum &, const sc_fxnum &) |
| const sc_fxval | operator<< (const sc_fxnum &, int) |
| const sc_fxval | operator>> (const sc_fxnum &, int) |
| void | lshift (sc_fxval &, const sc_fxnum &, int) |
| void | rshift (sc_fxval &, const sc_fxnum &, int) |
| void | lshift (sc_fxnum &, const sc_fxnum &, int) |
| void | rshift (sc_fxnum &, const sc_fxnum &, int) |
|
||||||||||||||||||||
|
Definition at line 2502 of file sc_fxnum.h. References sc_dt::m_observer(), sc_dt::sc_enc, SC_FXNUM_OBSERVER_CONSTRUCT_, and SC_FXNUM_OBSERVER_DEFAULT_. |
|
|
Definition at line 2567 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_DESTRUCT_. |
|
|
Definition at line 3249 of file sc_fxnum.h. References sc_dt::scfx_params::fwl(), SC_ERROR_IF_, sc_fxnum_bitref, and sc_dt::scfx_params::wl(). |
|
|
Definition at line 3240 of file sc_fxnum.h. References sc_dt::scfx_params::fwl(), SC_ERROR_IF_, sc_fxnum_bitref, and sc_dt::scfx_params::wl(). |
|
|
Definition at line 2490 of file sc_fxnum.h. References sc_dt::scfx_rep::cast(), sc_dt::scfx_params::cast_switch(), sc_dt::scfx_rep::is_normal(), SC_ERROR_IF_, and sc_dt::SC_ON. Referenced by sc_dt::b_not(), sc_dt::lshift(), sc_dt::neg(), and sc_dt::rshift(). |
|
|
Definition at line 3506 of file sc_fxnum.h. References sc_dt::scfx_params::cast_switch(). |
|
|
Definition at line 326 of file sc_fxnum.cpp. References sc_dt::scfx_params::dump(), and sc_dt::scfx_rep::dump(). Referenced by sc_dt::sc_fxnum_subref::dump(), and sc_dt::sc_fxnum_bitref::dump(). |
|
|
Definition at line 3524 of file sc_fxnum.h. References sc_dt::scfx_rep::get_bit(). Referenced by sc_dt::b_not(), sc_dt::sc_ufix::operator~(), and sc_dt::sc_fix::operator~(). |
|
|
Definition at line 2577 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_. |
|
||||||||||||||||
|
Definition at line 3545 of file sc_fxnum.h. References sc_dt::scfx_rep::get_slice(). |
|
|
Definition at line 3411 of file sc_fxnum.h. References sc_dt::scfx_rep::is_neg(), and SC_FXNUM_OBSERVER_READ_. |
|
|
Definition at line 3428 of file sc_fxnum.h. References sc_dt::scfx_rep::is_normal(), and SC_FXNUM_OBSERVER_READ_. |
|
|
Definition at line 3419 of file sc_fxnum.h. References sc_dt::scfx_rep::is_zero(), and SC_FXNUM_OBSERVER_READ_. |
|
|
Definition at line 3469 of file sc_fxnum.h. References sc_dt::scfx_params::iwl(). Referenced by sc_dt::b_not(), sc_dt::sc_ufix::operator~(), and sc_dt::sc_fix::operator~(). |
|
|
Definition at line 347 of file sc_fxnum.cpp. References SC_ASSERT_. |
|
|
Definition at line 3490 of file sc_fxnum.h. References sc_dt::scfx_params::n_bits(). |
|
|
Definition at line 3483 of file sc_fxnum.h. References sc_dt::scfx_params::o_mode(). |
|
|
Definition at line 2482 of file sc_fxnum.h. |
|
|
Definition at line 3515 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_. |
|
|
Definition at line 3333 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
|
Definition at line 3310 of file sc_fxnum.h. References operator()(), and sc_dt::scfx_params::wl(). |
|
|
Definition at line 3303 of file sc_fxnum.h. References sc_dt::scfx_params::wl(). Referenced by operator()(). |
|
||||||||||||
|
Definition at line 3271 of file sc_fxnum.h. References sc_dt::scfx_params::fwl(), SC_ERROR_IF_, sc_fxnum_subref, and sc_dt::scfx_params::wl(). |
|
||||||||||||
|
Definition at line 3260 of file sc_fxnum.h. References sc_dt::scfx_params::fwl(), SC_ERROR_IF_, sc_fxnum_subref, and sc_dt::scfx_params::wl(). |
|
|
Definition at line 2596 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_fxval. |
|
|
Reimplemented in sc_dt::sc_fix, sc_dt::sc_fixed< W, I, Q, O, N >, sc_dt::sc_ufix, and sc_dt::sc_ufixed< W, I, Q, O, N >. Definition at line 3204 of file sc_fxnum.h. |
|
|
Reimplemented in sc_dt::sc_fix, sc_dt::sc_fixed< W, I, Q, O, N >, sc_dt::sc_ufix, and sc_dt::sc_ufixed< W, I, Q, O, N >. Definition at line 3186 of file sc_fxnum.h. |
|
|
Definition at line 2588 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_fxval. |
|
|
Reimplemented in sc_dt::sc_fix, sc_dt::sc_fixed< W, I, Q, O, N >, sc_dt::sc_ufix, and sc_dt::sc_ufixed< W, I, Q, O, N >. Definition at line 3212 of file sc_fxnum.h. |
|
|
Reimplemented in sc_dt::sc_fix, sc_dt::sc_fixed< W, I, Q, O, N >, sc_dt::sc_ufix, and sc_dt::sc_ufixed< W, I, Q, O, N >. Definition at line 3195 of file sc_fxnum.h. |
|
|
Definition at line 3232 of file sc_fxnum.h. References sc_dt::scfx_params::fwl(), SC_ERROR_IF_, sc_fxnum_bitref, and sc_dt::scfx_params::wl(). |
|
|
Definition at line 3223 of file sc_fxnum.h. References sc_dt::scfx_params::fwl(), SC_ERROR_IF_, sc_fxnum_bitref, and sc_dt::scfx_params::wl(). |
|
|
Definition at line 3443 of file sc_fxnum.h. |
|
|
Definition at line 312 of file sc_fxnum.cpp. References SC_DEC, sc_dt::SC_F, and sc_dt::scfx_rep::to_string(). Referenced by sc_dt::operator<<(). |
|
|
Definition at line 3476 of file sc_fxnum.h. References sc_dt::scfx_params::q_mode(). |
|
|
Definition at line 3436 of file sc_fxnum.h. |
|
|
Definition at line 3324 of file sc_fxnum.h. References range(), and sc_dt::scfx_params::wl(). |
|
|
Definition at line 3317 of file sc_fxnum.h. References sc_dt::scfx_params::wl(). Referenced by range(). |
|
||||||||||||
|
Definition at line 3292 of file sc_fxnum.h. References sc_dt::scfx_params::fwl(), SC_ERROR_IF_, sc_fxnum_subref, and sc_dt::scfx_params::wl(). |
|
||||||||||||
|
Definition at line 3281 of file sc_fxnum.h. References sc_dt::scfx_params::fwl(), SC_ERROR_IF_, sc_fxnum_subref, and sc_dt::scfx_params::wl(). |
|
|
Definition at line 318 of file sc_fxnum.cpp. References sc_string::c_str(), and s. Referenced by sc_dt::operator>>(). |
|
||||||||||||
|
Definition at line 3534 of file sc_fxnum.h. References sc_dt::scfx_rep::clear(), and sc_dt::scfx_rep::set(). Referenced by sc_dt::b_not(), sc_dt::sc_ufix::operator~(), and sc_dt::sc_fix::operator~(). |
|
||||||||||||||||
|
Definition at line 3552 of file sc_fxnum.h. References sc_dt::scfx_rep::set_slice(). |
|
|
Definition at line 291 of file sc_fxnum.cpp. References SC_BIN, sc_dt::SC_F, and sc_dt::scfx_rep::to_string(). Referenced by sc_dt::convert_to_bin(). |
|
|
Definition at line 285 of file sc_fxnum.cpp. References SC_DEC, sc_dt::SC_F, and sc_dt::scfx_rep::to_string(). |
|
|
Definition at line 3400 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
|
Definition at line 3392 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
|
Definition at line 303 of file sc_fxnum.cpp. References sc_dt::SC_F, SC_HEX, and sc_dt::scfx_rep::to_string(). |
|
|
Definition at line 3360 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
|
Definition at line 3376 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
|
Definition at line 297 of file sc_fxnum.cpp. References sc_dt::SC_F, SC_OCT, and sc_dt::scfx_rep::to_string(). |
|
|
Definition at line 3344 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
||||||||||||||||
|
Definition at line 277 of file sc_fxnum.cpp. References sc_dt::sc_fmt, sc_numrep, and sc_dt::scfx_rep::to_string(). |
|
||||||||||||
|
Definition at line 271 of file sc_fxnum.cpp. References sc_dt::sc_fmt, sc_numrep, and sc_dt::scfx_rep::to_string(). |
|
|
Definition at line 265 of file sc_fxnum.cpp. References SC_DEC, sc_dt::sc_fmt, and sc_dt::scfx_rep::to_string(). |
|
||||||||||||
|
Definition at line 258 of file sc_fxnum.cpp. References sc_dt::SC_F, sc_numrep, and sc_dt::scfx_rep::to_string(). |
|
|
Definition at line 252 of file sc_fxnum.cpp. References sc_dt::SC_F, sc_numrep, and sc_dt::scfx_rep::to_string(). |
|
|
Definition at line 246 of file sc_fxnum.cpp. References SC_DEC, sc_dt::SC_F, and sc_dt::scfx_rep::to_string(). Referenced by sc_dt::convert_to_fmt(), sc_dt::sc_unsigned::to_string(), sc_dt::sc_uint_base::to_string(), sc_dt::sc_signed::to_string(), and sc_dt::sc_int_base::to_string(). |
|
|
Definition at line 3368 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
|
Definition at line 3384 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
|
Definition at line 3352 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
|
Definition at line 3498 of file sc_fxnum.h. References sc_dt::scfx_params::type_params(). |
|
|
Definition at line 356 of file sc_fxnum.cpp. References SC_ASSERT_. |
|
|
Definition at line 3451 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_fxval. |
|
|
Definition at line 3462 of file sc_fxnum.h. References sc_dt::scfx_params::wl(). Referenced by sc_dt::b_not(), sc_dt::sc_ufix::operator~(), and sc_dt::sc_fix::operator~(). |
|
|
Definition at line 543 of file sc_fxnum.h. |
|
|
Definition at line 544 of file sc_fxnum.h. |
|
||||||||||||||||
|
Definition at line 2919 of file sc_fxnum.h. |
|
||||||||||||||||
|
Definition at line 2903 of file sc_fxnum.h. |
|
||||||||||||
|
Definition at line 2615 of file sc_fxnum.h. |
|
||||||||||||
|
Definition at line 2607 of file sc_fxnum.h. |
|
||||||||||||
|
Definition at line 2701 of file sc_fxnum.h. |
|
||||||||||||
|
Definition at line 2749 of file sc_fxnum.h. |
|
||||||||||||
|
Definition at line 2757 of file sc_fxnum.h. |
|
||||||||||||||||
|
Definition at line 2930 of file sc_fxnum.h. |
|
||||||||||||||||
|
Definition at line 2911 of file sc_fxnum.h. |
|
|
Definition at line 538 of file sc_fxnum.h. Referenced by bit(), and operator[](). |
|
|
Definition at line 540 of file sc_fxnum.h. |
|
|
Definition at line 541 of file sc_fxnum.h. |
|
|
Definition at line 539 of file sc_fxnum.h. Referenced by operator()(), and range(). |
|
1.2.18