#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 | ::isdb_sc_fxnum_trace |
| 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 2506 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 2571 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_DESTRUCT_. |
|
|
Definition at line 3253 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 3244 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 2494 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 3510 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 3528 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 2581 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_. |
|
||||||||||||||||
|
Definition at line 3549 of file sc_fxnum.h. References sc_dt::scfx_rep::get_slice(). |
|
|
Definition at line 3415 of file sc_fxnum.h. References sc_dt::scfx_rep::is_neg(), and SC_FXNUM_OBSERVER_READ_. |
|
|
Definition at line 3432 of file sc_fxnum.h. References sc_dt::scfx_rep::is_normal(), and SC_FXNUM_OBSERVER_READ_. |
|
|
Definition at line 3423 of file sc_fxnum.h. References sc_dt::scfx_rep::is_zero(), and SC_FXNUM_OBSERVER_READ_. |
|
|
Definition at line 3473 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 3494 of file sc_fxnum.h. References sc_dt::scfx_params::n_bits(). |
|
|
Definition at line 3487 of file sc_fxnum.h. References sc_dt::scfx_params::o_mode(). |
|
|
Definition at line 2486 of file sc_fxnum.h. |
|
|
Definition at line 3519 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_. |
|
|
Definition at line 3337 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
|
Definition at line 3314 of file sc_fxnum.h. References operator()(), and sc_dt::scfx_params::wl(). |
|
|
Definition at line 3307 of file sc_fxnum.h. References sc_dt::scfx_params::wl(). Referenced by operator()(). |
|
||||||||||||
|
Definition at line 3275 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 3264 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 2600 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 3208 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 3190 of file sc_fxnum.h. |
|
|
Definition at line 2592 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 3216 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 3199 of file sc_fxnum.h. |
|
|
Definition at line 3236 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 3227 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 3447 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 3480 of file sc_fxnum.h. References sc_dt::scfx_params::q_mode(). |
|
|
Definition at line 3440 of file sc_fxnum.h. |
|
|
Definition at line 3328 of file sc_fxnum.h. References range(), and sc_dt::scfx_params::wl(). |
|
|
Definition at line 3321 of file sc_fxnum.h. References sc_dt::scfx_params::wl(). Referenced by range(). |
|
||||||||||||
|
Definition at line 3296 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 3285 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 3538 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 3556 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 3404 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
|
Definition at line 3396 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 3364 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
|
Definition at line 3380 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 3348 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 3372 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
|
Definition at line 3388 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
|
Definition at line 3356 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_dt::scfx_rep::to_double(). |
|
|
Definition at line 3502 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 3455 of file sc_fxnum.h. References SC_FXNUM_OBSERVER_READ_, and sc_fxval. |
|
|
Definition at line 3466 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 545 of file sc_fxnum.h. |
|
|
Definition at line 546 of file sc_fxnum.h. |
|
|
Definition at line 547 of file sc_fxnum.h. |
|
||||||||||||||||
|
Definition at line 2923 of file sc_fxnum.h. |
|
||||||||||||||||
|
Definition at line 2907 of file sc_fxnum.h. |
|
||||||||||||
|
Definition at line 2619 of file sc_fxnum.h. |
|
||||||||||||
|
Definition at line 2611 of file sc_fxnum.h. |
|
||||||||||||
|
Definition at line 2705 of file sc_fxnum.h. |
|
||||||||||||
|
Definition at line 2753 of file sc_fxnum.h. |
|
||||||||||||
|
Definition at line 2761 of file sc_fxnum.h. |
|
||||||||||||||||
|
Definition at line 2934 of file sc_fxnum.h. |
|
||||||||||||||||
|
Definition at line 2915 of file sc_fxnum.h. |
|
|
Definition at line 540 of file sc_fxnum.h. Referenced by bit(), and operator[](). |
|
|
Definition at line 542 of file sc_fxnum.h. |
|
|
Definition at line 543 of file sc_fxnum.h. |
|
|
Definition at line 541 of file sc_fxnum.h. Referenced by operator()(), and range(). |
|
1.2.18