SystemC
Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
|
#include <sysc/datatypes/fx/sc_fxnum.h>
Public Member Functions | |
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 |
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 () |
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 | 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 | 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 561 of file sc_fxnum.h.
|
inlineprotected |
Definition at line 2581 of file sc_fxnum.h.
|
inlineprotected |
Definition at line 2647 of file sc_fxnum.h.
|
inline |
Definition at line 3326 of file sc_fxnum.h.
|
inline |
Definition at line 3335 of file sc_fxnum.h.
|
inlineprotected |
Definition at line 2569 of file sc_fxnum.h.
|
inline |
Definition at line 3608 of file sc_fxnum.h.
void sc_dt::sc_fxnum::dump | ( | ::std::ostream & | = ::std::cout | ) | const |
|
inline |
Definition at line 3626 of file sc_fxnum.h.
|
inlineprotected |
Definition at line 2657 of file sc_fxnum.h.
|
inlineprotected |
Definition at line 3647 of file sc_fxnum.h.
|
inline |
Definition at line 3513 of file sc_fxnum.h.
|
inline |
Definition at line 3530 of file sc_fxnum.h.
|
inline |
Definition at line 3521 of file sc_fxnum.h.
|
inline |
Definition at line 3571 of file sc_fxnum.h.
|
protected |
|
inline |
Definition at line 3592 of file sc_fxnum.h.
|
inline |
Definition at line 3585 of file sc_fxnum.h.
|
inlineprotected |
Definition at line 2561 of file sc_fxnum.h.
|
inline |
Definition at line 3617 of file sc_fxnum.h.
|
inline |
Definition at line 3419 of file sc_fxnum.h.
|
inline |
Definition at line 3346 of file sc_fxnum.h.
|
inline |
Definition at line 3357 of file sc_fxnum.h.
|
inline |
Definition at line 3389 of file sc_fxnum.h.
|
inline |
Definition at line 3396 of file sc_fxnum.h.
|
inline |
Definition at line 2676 of file sc_fxnum.h.
|
inline |
Definition at line 3272 of file sc_fxnum.h.
|
inline |
Definition at line 3290 of file sc_fxnum.h.
|
inline |
Definition at line 2668 of file sc_fxnum.h.
|
inline |
Definition at line 3281 of file sc_fxnum.h.
|
inline |
Definition at line 3298 of file sc_fxnum.h.
|
inline |
Definition at line 3309 of file sc_fxnum.h.
|
inline |
Definition at line 3318 of file sc_fxnum.h.
|
inline |
Definition at line 3545 of file sc_fxnum.h.
void sc_dt::sc_fxnum::print | ( | ::std::ostream & | = ::std::cout | ) | const |
|
inline |
Definition at line 3578 of file sc_fxnum.h.
|
inline |
Definition at line 3538 of file sc_fxnum.h.
|
inline |
Definition at line 3367 of file sc_fxnum.h.
|
inline |
Definition at line 3378 of file sc_fxnum.h.
|
inline |
Definition at line 3403 of file sc_fxnum.h.
|
inline |
Definition at line 3410 of file sc_fxnum.h.
void sc_dt::sc_fxnum::scan | ( | ::std::istream & | = ::std::cin | ) |
|
inlineprotected |
Definition at line 3636 of file sc_fxnum.h.
|
inlineprotected |
Definition at line 3654 of file sc_fxnum.h.
const std::string sc_dt::sc_fxnum::to_bin | ( | ) | const |
const std::string sc_dt::sc_fxnum::to_dec | ( | ) | const |
|
inline |
Definition at line 3502 of file sc_fxnum.h.
|
inline |
Definition at line 3494 of file sc_fxnum.h.
const std::string sc_dt::sc_fxnum::to_hex | ( | ) | const |
|
inline |
Definition at line 3446 of file sc_fxnum.h.
|
inline |
Definition at line 3454 of file sc_fxnum.h.
|
inline |
Definition at line 3478 of file sc_fxnum.h.
const std::string sc_dt::sc_fxnum::to_oct | ( | ) | const |
|
inline |
Definition at line 3430 of file sc_fxnum.h.
const std::string sc_dt::sc_fxnum::to_string | ( | ) | const |
const std::string sc_dt::sc_fxnum::to_string | ( | sc_numrep | ) | const |
const std::string sc_dt::sc_fxnum::to_string | ( | sc_numrep | , |
bool | |||
) | const |
const std::string sc_dt::sc_fxnum::to_string | ( | sc_fmt | ) | const |
|
inline |
Definition at line 3462 of file sc_fxnum.h.
|
inline |
Definition at line 3470 of file sc_fxnum.h.
|
inline |
Definition at line 3486 of file sc_fxnum.h.
|
inline |
Definition at line 3438 of file sc_fxnum.h.
|
inline |
Definition at line 3600 of file sc_fxnum.h.
|
protected |
|
inline |
Definition at line 3553 of file sc_fxnum.h.
|
inline |
Definition at line 3564 of file sc_fxnum.h.
Definition at line 2986 of file sc_fxnum.h.
Definition at line 3002 of file sc_fxnum.h.
Definition at line 2687 of file sc_fxnum.h.
Definition at line 2695 of file sc_fxnum.h.
Definition at line 2782 of file sc_fxnum.h.
Definition at line 2831 of file sc_fxnum.h.
Definition at line 2839 of file sc_fxnum.h.
Definition at line 2994 of file sc_fxnum.h.
Definition at line 3013 of file sc_fxnum.h.
|
friend |
Definition at line 570 of file sc_fxnum.h.
|
friend |
Definition at line 571 of file sc_fxnum.h.
|
friend |
Definition at line 565 of file sc_fxnum.h.
|
friend |
Definition at line 567 of file sc_fxnum.h.
|
friend |
Definition at line 568 of file sc_fxnum.h.
|
friend |
Definition at line 566 of file sc_fxnum.h.
|
friend |
Definition at line 563 of file sc_fxnum.h.