SystemC
2.3.2
Accellera SystemC proof-of-concept library
|
"Constrained" signed fixed-point class; arbitrary precision. More...
#include <sysc/datatypes/fx/sc_fixed.h>
Public Member Functions | |
sc_fixed (sc_fxnum_observer *=0) | |
sc_fixed (const sc_fxcast_switch &, sc_fxnum_observer *=0) | |
sc_fixed (const sc_fixed< W, I, Q, O, N > &) | |
sc_fixed & | operator= (const sc_fixed< W, I, Q, O, N > &) |
const sc_fxval | operator++ (int) |
const sc_fxval | operator-- (int) |
sc_fixed & | operator++ () |
sc_fixed & | operator-- () |
const sc_fix | operator~ () const |
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 |
"Constrained" signed fixed-point class; arbitrary precision.
Definition at line 61 of file sc_fixed.h.
|
inlineexplicit |
Definition at line 320 of file sc_fixed.h.
|
inlineexplicit |
Definition at line 326 of file sc_fixed.h.
|
inline |
Definition at line 373 of file sc_fixed.h.
|
inlineinherited |
Definition at line 3329 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3338 of file sc_fxnum.h.
|
inlineprotectedinherited |
Definition at line 2572 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3611 of file sc_fxnum.h.
|
inherited |
|
inlineinherited |
Definition at line 3629 of file sc_fxnum.h.
|
inlineprotectedinherited |
Definition at line 2660 of file sc_fxnum.h.
|
inlineprotectedinherited |
Definition at line 3650 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3516 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3533 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3524 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3574 of file sc_fxnum.h.
|
protectedinherited |
|
inlineinherited |
Definition at line 3595 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3588 of file sc_fxnum.h.
|
inlineprotectedinherited |
Definition at line 2564 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3620 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3422 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3349 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3360 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3392 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3399 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 2679 of file sc_fxnum.h.
|
inline |
Definition at line 452 of file sc_fixed.h.
|
inline |
Definition at line 468 of file sc_fixed.h.
|
inlineinherited |
Definition at line 2671 of file sc_fxnum.h.
|
inline |
Definition at line 460 of file sc_fixed.h.
|
inline |
Definition at line 477 of file sc_fixed.h.
|
inline |
Definition at line 383 of file sc_fixed.h.
|
inlineinherited |
Definition at line 3312 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3321 of file sc_fxnum.h.
|
inlineinherited |
|
inlineinherited |
Definition at line 3548 of file sc_fxnum.h.
|
inherited |
|
inlineinherited |
Definition at line 3581 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3541 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3370 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3381 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3406 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3413 of file sc_fxnum.h.
|
inherited |
|
inlineprotectedinherited |
Definition at line 3639 of file sc_fxnum.h.
|
inlineprotectedinherited |
Definition at line 3657 of file sc_fxnum.h.
|
inherited |
|
inherited |
|
inlineinherited |
Definition at line 3505 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3497 of file sc_fxnum.h.
|
inherited |
|
inlineinherited |
Definition at line 3449 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3457 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3481 of file sc_fxnum.h.
|
inherited |
|
inlineinherited |
Definition at line 3433 of file sc_fxnum.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
Definition at line 3465 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3473 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3489 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3441 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3603 of file sc_fxnum.h.
|
protectedinherited |
|
inlineinherited |
Definition at line 3556 of file sc_fxnum.h.
|
inlineinherited |
Definition at line 3567 of file sc_fxnum.h.