#include <sysc/datatypes/fx/sc_fix.h>


Public Member Functions | |
| sc_fix (sc_fxnum_observer *=0) | |
| sc_fix (int, int, sc_fxnum_observer *=0) | |
| sc_fix (sc_q_mode, sc_o_mode, sc_fxnum_observer *=0) | |
| sc_fix (sc_q_mode, sc_o_mode, int, sc_fxnum_observer *=0) | |
| sc_fix (int, int, sc_q_mode, sc_o_mode, sc_fxnum_observer *=0) | |
| sc_fix (int, int, sc_q_mode, sc_o_mode, int, sc_fxnum_observer *=0) | |
| sc_fix (const sc_fxcast_switch &, sc_fxnum_observer *=0) | |
| sc_fix (int, int, const sc_fxcast_switch &, sc_fxnum_observer *=0) | |
| sc_fix (sc_q_mode, sc_o_mode, const sc_fxcast_switch &, sc_fxnum_observer *=0) | |
| sc_fix (sc_q_mode, sc_o_mode, int, const sc_fxcast_switch &, sc_fxnum_observer *=0) | |
| sc_fix (int, int, sc_q_mode, sc_o_mode, const sc_fxcast_switch &, sc_fxnum_observer *=0) | |
| sc_fix (int, int, sc_q_mode, sc_o_mode, int, const sc_fxcast_switch &, sc_fxnum_observer *=0) | |
| sc_fix (const sc_fxtype_params &, sc_fxnum_observer *=0) | |
| sc_fix (const sc_fxtype_params &, const sc_fxcast_switch &, sc_fxnum_observer *=0) | |
| sc_fix (const sc_fix &) | |
| const sc_fix | operator~ () const |
| sc_fix & | operator= (const sc_fix &) |
| const sc_fxval | operator++ (int) |
| const sc_fxval | operator-- (int) |
| sc_fix & | operator++ () |
| sc_fix & | operator-- () |
| const sc_fxval | operator- () const |
| const sc_fxval | operator+ () const |
| 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 | operator() () const |
| sc_fxnum_subref | operator() () |
| const sc_fxnum_subref | range (int, int) const |
| sc_fxnum_subref | range (int, int) |
| 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 |
| int64 | to_int64 () const |
| uint64 | to_uint64 () const |
| float | to_float () const |
| double | to_double () const |
| const std::string | to_string () const |
| const std::string | to_string (sc_numrep) const |
| const std::string | to_string (sc_numrep, bool) const |
| const std::string | to_string (sc_fmt) const |
| const std::string | to_string (sc_numrep, sc_fmt) const |
| const std::string | to_string (sc_numrep, bool, sc_fmt) const |
| const std::string | to_dec () const |
| const std::string | to_bin () const |
| const std::string | to_oct () const |
| const std::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 (::std::ostream &=::std::cout) const |
| void | scan (::std::istream &=::std::cin) |
| void | dump (::std::ostream &=::std::cout) const |
| void | observer_read () const |
| bool | get_bit (int) const |
Protected Member Functions | |
| sc_fxnum_observer * | observer () const |
| void | cast () |
| 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 | |
| void | b_not (sc_fix &, const sc_fix &) |
| const sc_fix | operator & (const sc_fix &, const sc_fix &) |
| const sc_fix | operator & (const sc_fix &, const sc_fix_fast &) |
| const sc_fix | operator & (const sc_fix_fast &, const sc_fix &) |
| const sc_fix | operator| (const sc_fix &, const sc_fix &) |
| const sc_fix | operator| (const sc_fix &, const sc_fix_fast &) |
| const sc_fix | operator| (const sc_fix_fast &, const sc_fix &) |
| const sc_fix | operator^ (const sc_fix &, const sc_fix &) |
| const sc_fix | operator^ (const sc_fix &, const sc_fix_fast &) |
| const sc_fix | operator^ (const sc_fix_fast &, const sc_fix &) |
| void | b_and (sc_fix &, const sc_fix &, const sc_fix &) |
| void | b_and (sc_fix &, const sc_fix &, const sc_fix_fast &) |
| void | b_and (sc_fix &, const sc_fix_fast &, const sc_fix &) |
| void | b_or (sc_fix &, const sc_fix &, const sc_fix &) |
| void | b_or (sc_fix &, const sc_fix &, const sc_fix_fast &) |
| void | b_or (sc_fix &, const sc_fix_fast &, const sc_fix &) |
| void | b_xor (sc_fix &, const sc_fix &, const sc_fix &) |
| void | b_xor (sc_fix &, const sc_fix &, const sc_fix_fast &) |
| void | b_xor (sc_fix &, const sc_fix_fast &, const sc_fix &) |
| class | sc_core::vcd_sc_fxnum_trace |
| class | sc_core::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 | lshift (sc_fxnum &, const sc_fxnum &, int) |
| void | rshift (sc_fxval &, const sc_fxnum &, int) |
| void | rshift (sc_fxnum &, const sc_fxnum &, int) |
Definition at line 66 of file sc_fix.h.
| sc_dt::sc_fix::sc_fix | ( | sc_fxnum_observer * | observer_ = 0 |
) | [inline, explicit] |
| sc_dt::sc_fix::sc_fix | ( | int | wl_, | |
| int | iwl_, | |||
| sc_fxnum_observer * | observer_ = 0 | |||
| ) | [inline] |
| sc_dt::sc_fix::sc_fix | ( | sc_q_mode | qm, | |
| sc_o_mode | om, | |||
| sc_fxnum_observer * | observer_ = 0 | |||
| ) | [inline] |
| sc_dt::sc_fix::sc_fix | ( | sc_q_mode | qm, | |
| sc_o_mode | om, | |||
| int | nb, | |||
| sc_fxnum_observer * | observer_ = 0 | |||
| ) | [inline] |
| sc_dt::sc_fix::sc_fix | ( | int | wl_, | |
| int | iwl_, | |||
| sc_q_mode | qm, | |||
| sc_o_mode | om, | |||
| sc_fxnum_observer * | observer_ = 0 | |||
| ) | [inline] |
| sc_dt::sc_fix::sc_fix | ( | int | wl_, | |
| int | iwl_, | |||
| sc_q_mode | qm, | |||
| sc_o_mode | om, | |||
| int | nb, | |||
| sc_fxnum_observer * | observer_ = 0 | |||
| ) | [inline] |
| sc_dt::sc_fix::sc_fix | ( | const sc_fxcast_switch & | cast_sw, | |
| sc_fxnum_observer * | observer_ = 0 | |||
| ) | [inline, explicit] |
| sc_dt::sc_fix::sc_fix | ( | int | wl_, | |
| int | iwl_, | |||
| const sc_fxcast_switch & | cast_sw, | |||
| sc_fxnum_observer * | observer_ = 0 | |||
| ) | [inline] |
| sc_dt::sc_fix::sc_fix | ( | sc_q_mode | qm, | |
| sc_o_mode | om, | |||
| const sc_fxcast_switch & | cast_sw, | |||
| sc_fxnum_observer * | observer_ = 0 | |||
| ) | [inline] |
| sc_dt::sc_fix::sc_fix | ( | sc_q_mode | qm, | |
| sc_o_mode | om, | |||
| int | nb, | |||
| const sc_fxcast_switch & | cast_sw, | |||
| sc_fxnum_observer * | observer_ = 0 | |||
| ) | [inline] |
| sc_dt::sc_fix::sc_fix | ( | int | wl_, | |
| int | iwl_, | |||
| sc_q_mode | qm, | |||
| sc_o_mode | om, | |||
| const sc_fxcast_switch & | cast_sw, | |||
| sc_fxnum_observer * | observer_ = 0 | |||
| ) | [inline] |
| sc_dt::sc_fix::sc_fix | ( | int | wl_, | |
| int | iwl_, | |||
| sc_q_mode | qm, | |||
| sc_o_mode | om, | |||
| int | nb, | |||
| const sc_fxcast_switch & | cast_sw, | |||
| sc_fxnum_observer * | observer_ = 0 | |||
| ) | [inline] |
| sc_dt::sc_fix::sc_fix | ( | const sc_fxtype_params & | type_params, | |
| sc_fxnum_observer * | observer_ = 0 | |||
| ) | [inline, explicit] |
| sc_dt::sc_fix::sc_fix | ( | const sc_fxtype_params & | type_params, | |
| const sc_fxcast_switch & | cast_sw, | |||
| sc_fxnum_observer * | observer_ = 0 | |||
| ) | [inline] |
| const sc_fxval sc_dt::sc_fix::operator++ | ( | int | ) | [inline] |
| const sc_fxval sc_dt::sc_fix::operator-- | ( | int | ) | [inline] |
| sc_fix & sc_dt::sc_fix::operator++ | ( | ) | [inline] |
| sc_fix & sc_dt::sc_fix::operator-- | ( | ) | [inline] |
| sc_fxnum_observer * sc_dt::sc_fxnum::observer | ( | ) | const [inline, protected, inherited] |
Definition at line 2537 of file sc_fxnum.h.
| void sc_dt::sc_fxnum::cast | ( | ) | [inline, protected, inherited] |
Definition at line 2545 of file sc_fxnum.h.
| const scfx_rep * sc_dt::sc_fxnum::get_rep | ( | ) | const [inline, protected, inherited] |
Definition at line 2632 of file sc_fxnum.h.
| const sc_fxval sc_dt::sc_fxnum::operator- | ( | ) | const [inline, inherited] |
Definition at line 2643 of file sc_fxnum.h.
| const sc_fxval sc_dt::sc_fxnum::operator+ | ( | ) | const [inline, inherited] |
Definition at line 2651 of file sc_fxnum.h.
| const sc_fxnum_bitref sc_dt::sc_fxnum::operator[] | ( | int | i | ) | const [inline, inherited] |
Definition at line 3278 of file sc_fxnum.h.
| sc_fxnum_bitref sc_dt::sc_fxnum::operator[] | ( | int | i | ) | [inline, inherited] |
Definition at line 3287 of file sc_fxnum.h.
| const sc_fxnum_bitref sc_dt::sc_fxnum::bit | ( | int | i | ) | const [inline, inherited] |
Definition at line 3295 of file sc_fxnum.h.
| sc_fxnum_bitref sc_dt::sc_fxnum::bit | ( | int | i | ) | [inline, inherited] |
Definition at line 3304 of file sc_fxnum.h.
| const sc_fxnum_subref sc_dt::sc_fxnum::operator() | ( | int | i, | |
| int | j | |||
| ) | const [inline, inherited] |
Definition at line 3315 of file sc_fxnum.h.
| sc_fxnum_subref sc_dt::sc_fxnum::operator() | ( | int | i, | |
| int | j | |||
| ) | [inline, inherited] |
Definition at line 3326 of file sc_fxnum.h.
| const sc_fxnum_subref sc_dt::sc_fxnum::operator() | ( | ) | const [inline, inherited] |
Definition at line 3358 of file sc_fxnum.h.
| sc_fxnum_subref sc_dt::sc_fxnum::operator() | ( | ) | [inline, inherited] |
Definition at line 3365 of file sc_fxnum.h.
| const sc_fxnum_subref sc_dt::sc_fxnum::range | ( | int | i, | |
| int | j | |||
| ) | const [inline, inherited] |
Definition at line 3336 of file sc_fxnum.h.
| sc_fxnum_subref sc_dt::sc_fxnum::range | ( | int | i, | |
| int | j | |||
| ) | [inline, inherited] |
Definition at line 3347 of file sc_fxnum.h.
| const sc_fxnum_subref sc_dt::sc_fxnum::range | ( | ) | const [inline, inherited] |
Definition at line 3372 of file sc_fxnum.h.
| sc_fxnum_subref sc_dt::sc_fxnum::range | ( | ) | [inline, inherited] |
Definition at line 3379 of file sc_fxnum.h.
| sc_dt::sc_fxnum::operator double | ( | ) | const [inline, inherited] |
Definition at line 3388 of file sc_fxnum.h.
| short sc_dt::sc_fxnum::to_short | ( | ) | const [inline, inherited] |
Definition at line 3399 of file sc_fxnum.h.
| unsigned short sc_dt::sc_fxnum::to_ushort | ( | ) | const [inline, inherited] |
Definition at line 3407 of file sc_fxnum.h.
| int sc_dt::sc_fxnum::to_int | ( | ) | const [inline, inherited] |
Definition at line 3415 of file sc_fxnum.h.
| unsigned int sc_dt::sc_fxnum::to_uint | ( | ) | const [inline, inherited] |
Definition at line 3431 of file sc_fxnum.h.
| long sc_dt::sc_fxnum::to_long | ( | ) | const [inline, inherited] |
Definition at line 3447 of file sc_fxnum.h.
| unsigned long sc_dt::sc_fxnum::to_ulong | ( | ) | const [inline, inherited] |
Definition at line 3455 of file sc_fxnum.h.
| int64 sc_dt::sc_fxnum::to_int64 | ( | ) | const [inline, inherited] |
Definition at line 3423 of file sc_fxnum.h.
| uint64 sc_dt::sc_fxnum::to_uint64 | ( | ) | const [inline, inherited] |
Definition at line 3439 of file sc_fxnum.h.
| float sc_dt::sc_fxnum::to_float | ( | ) | const [inline, inherited] |
Definition at line 3463 of file sc_fxnum.h.
| double sc_dt::sc_fxnum::to_double | ( | ) | const [inline, inherited] |
Definition at line 3471 of file sc_fxnum.h.
| const std::string sc_dt::sc_fxnum::to_string | ( | ) | const [inherited] |
Definition at line 255 of file sc_fxnum.cpp.
| const std::string sc_dt::sc_fxnum::to_string | ( | sc_numrep | numrep | ) | const [inherited] |
Definition at line 261 of file sc_fxnum.cpp.
| const std::string sc_dt::sc_fxnum::to_string | ( | sc_numrep | numrep, | |
| bool | w_prefix | |||
| ) | const [inherited] |
Definition at line 267 of file sc_fxnum.cpp.
| const std::string sc_dt::sc_fxnum::to_string | ( | sc_fmt | fmt | ) | const [inherited] |
Definition at line 274 of file sc_fxnum.cpp.
Definition at line 280 of file sc_fxnum.cpp.
| const std::string sc_dt::sc_fxnum::to_string | ( | sc_numrep | numrep, | |
| bool | w_prefix, | |||
| sc_fmt | fmt | |||
| ) | const [inherited] |
Definition at line 286 of file sc_fxnum.cpp.
| const std::string sc_dt::sc_fxnum::to_dec | ( | ) | const [inherited] |
Definition at line 294 of file sc_fxnum.cpp.
| const std::string sc_dt::sc_fxnum::to_bin | ( | ) | const [inherited] |
Definition at line 300 of file sc_fxnum.cpp.
| const std::string sc_dt::sc_fxnum::to_oct | ( | ) | const [inherited] |
Definition at line 306 of file sc_fxnum.cpp.
| const std::string sc_dt::sc_fxnum::to_hex | ( | ) | const [inherited] |
Definition at line 312 of file sc_fxnum.cpp.
| bool sc_dt::sc_fxnum::is_neg | ( | ) | const [inline, inherited] |
Definition at line 3482 of file sc_fxnum.h.
| bool sc_dt::sc_fxnum::is_zero | ( | ) | const [inline, inherited] |
Definition at line 3490 of file sc_fxnum.h.
| bool sc_dt::sc_fxnum::is_normal | ( | ) | const [inline, inherited] |
Definition at line 3499 of file sc_fxnum.h.
| bool sc_dt::sc_fxnum::quantization_flag | ( | ) | const [inline, inherited] |
Definition at line 3507 of file sc_fxnum.h.
| bool sc_dt::sc_fxnum::overflow_flag | ( | ) | const [inline, inherited] |
Definition at line 3514 of file sc_fxnum.h.
| const sc_fxval sc_dt::sc_fxnum::value | ( | ) | const [inline, inherited] |
Definition at line 3522 of file sc_fxnum.h.
| int sc_dt::sc_fxnum::wl | ( | ) | const [inline, inherited] |
Definition at line 3533 of file sc_fxnum.h.
| int sc_dt::sc_fxnum::iwl | ( | ) | const [inline, inherited] |
Definition at line 3540 of file sc_fxnum.h.
| sc_q_mode sc_dt::sc_fxnum::q_mode | ( | ) | const [inline, inherited] |
Definition at line 3547 of file sc_fxnum.h.
| sc_o_mode sc_dt::sc_fxnum::o_mode | ( | ) | const [inline, inherited] |
Definition at line 3554 of file sc_fxnum.h.
| int sc_dt::sc_fxnum::n_bits | ( | ) | const [inline, inherited] |
Definition at line 3561 of file sc_fxnum.h.
| const sc_fxtype_params & sc_dt::sc_fxnum::type_params | ( | ) | const [inline, inherited] |
Definition at line 3569 of file sc_fxnum.h.
| const sc_fxcast_switch & sc_dt::sc_fxnum::cast_switch | ( | ) | const [inline, inherited] |
Definition at line 3577 of file sc_fxnum.h.
| void sc_dt::sc_fxnum::print | ( | ::std::ostream & | os = ::std::cout |
) | const [inherited] |
Definition at line 321 of file sc_fxnum.cpp.
| void sc_dt::sc_fxnum::scan | ( | ::std::istream & | is = ::std::cin |
) | [inherited] |
Definition at line 327 of file sc_fxnum.cpp.
| void sc_dt::sc_fxnum::dump | ( | ::std::ostream & | os = ::std::cout |
) | const [inherited] |
Definition at line 335 of file sc_fxnum.cpp.
| void sc_dt::sc_fxnum::observer_read | ( | ) | const [inline, inherited] |
Definition at line 3586 of file sc_fxnum.h.
| bool sc_dt::sc_fxnum::get_bit | ( | int | i | ) | const [inline, inherited] |
Definition at line 3595 of file sc_fxnum.h.
| bool sc_dt::sc_fxnum::set_bit | ( | int | i, | |
| bool | high | |||
| ) | [inline, protected, inherited] |
Definition at line 3605 of file sc_fxnum.h.
| bool sc_dt::sc_fxnum::get_slice | ( | int | i, | |
| int | j, | |||
| sc_bv_base & | bv | |||
| ) | const [inline, protected, inherited] |
Definition at line 3616 of file sc_fxnum.h.
| bool sc_dt::sc_fxnum::set_slice | ( | int | i, | |
| int | j, | |||
| const sc_bv_base & | bv | |||
| ) | [inline, protected, inherited] |
Definition at line 3623 of file sc_fxnum.h.
| sc_fxnum_observer * sc_dt::sc_fxnum::lock_observer | ( | ) | const [protected, inherited] |
Definition at line 356 of file sc_fxnum.cpp.
| void sc_dt::sc_fxnum::unlock_observer | ( | sc_fxnum_observer * | observer_ | ) | const [protected, inherited] |
Definition at line 365 of file sc_fxnum.cpp.
| const sc_fix operator & | ( | const sc_fix & | , | |
| const sc_fix_fast & | ||||
| ) | [friend] |
| const sc_fix operator & | ( | const sc_fix_fast & | , | |
| const sc_fix & | ||||
| ) | [friend] |
| const sc_fix operator| | ( | const sc_fix & | , | |
| const sc_fix_fast & | ||||
| ) | [friend] |
| const sc_fix operator| | ( | const sc_fix_fast & | , | |
| const sc_fix & | ||||
| ) | [friend] |
| const sc_fix operator^ | ( | const sc_fix & | , | |
| const sc_fix_fast & | ||||
| ) | [friend] |
| const sc_fix operator^ | ( | const sc_fix_fast & | , | |
| const sc_fix & | ||||
| ) | [friend] |
| void b_and | ( | sc_fix & | , | |
| const sc_fix & | , | |||
| const sc_fix_fast & | ||||
| ) | [friend] |
| void b_and | ( | sc_fix & | , | |
| const sc_fix_fast & | , | |||
| const sc_fix & | ||||
| ) | [friend] |
| void b_or | ( | sc_fix & | , | |
| const sc_fix & | , | |||
| const sc_fix_fast & | ||||
| ) | [friend] |
| void b_or | ( | sc_fix & | , | |
| const sc_fix_fast & | , | |||
| const sc_fix & | ||||
| ) | [friend] |
| void b_xor | ( | sc_fix & | , | |
| const sc_fix & | , | |||
| const sc_fix_fast & | ||||
| ) | [friend] |
| void b_xor | ( | sc_fix & | , | |
| const sc_fix_fast & | , | |||
| const sc_fix & | ||||
| ) | [friend] |
friend class sc_core::vcd_sc_fxnum_trace [friend, inherited] |
Definition at line 558 of file sc_fxnum.h.
friend class sc_core::wif_sc_fxnum_trace [friend, inherited] |
Definition at line 559 of file sc_fxnum.h.
Definition at line 2662 of file sc_fxnum.h.
Definition at line 2670 of file sc_fxnum.h.
Definition at line 2756 of file sc_fxnum.h.
Definition at line 2804 of file sc_fxnum.h.
Definition at line 2812 of file sc_fxnum.h.
Definition at line 2958 of file sc_fxnum.h.
Definition at line 2974 of file sc_fxnum.h.
Definition at line 2966 of file sc_fxnum.h.
Definition at line 2985 of file sc_fxnum.h.
1.5.5