SystemC 3.0.0
Accellera SystemC proof-of-concept library
Public Member Functions | Friends | List of all members
sc_dt::sc_ufix_fast Class Reference

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

Inheritance diagram for sc_dt::sc_ufix_fast:
Inheritance graph
[legend]
Collaboration diagram for sc_dt::sc_ufix_fast:
Collaboration graph
[legend]

Public Member Functions

 sc_ufix_fast (sc_fxnum_fast_observer *=0)
 
 sc_ufix_fast (int, int, sc_fxnum_fast_observer *=0)
 
 sc_ufix_fast (sc_q_mode, sc_o_mode, sc_fxnum_fast_observer *=0)
 
 sc_ufix_fast (sc_q_mode, sc_o_mode, int, sc_fxnum_fast_observer *=0)
 
 sc_ufix_fast (int, int, sc_q_mode, sc_o_mode, sc_fxnum_fast_observer *=0)
 
 sc_ufix_fast (int, int, sc_q_mode, sc_o_mode, int, sc_fxnum_fast_observer *=0)
 
 sc_ufix_fast (const sc_fxcast_switch &, sc_fxnum_fast_observer *=0)
 
 sc_ufix_fast (int, int, const sc_fxcast_switch &, sc_fxnum_fast_observer *=0)
 
 sc_ufix_fast (sc_q_mode, sc_o_mode, const sc_fxcast_switch &, sc_fxnum_fast_observer *=0)
 
 sc_ufix_fast (sc_q_mode, sc_o_mode, int, const sc_fxcast_switch &, sc_fxnum_fast_observer *=0)
 
 sc_ufix_fast (int, int, sc_q_mode, sc_o_mode, const sc_fxcast_switch &, sc_fxnum_fast_observer *=0)
 
 sc_ufix_fast (int, int, sc_q_mode, sc_o_mode, int, const sc_fxcast_switch &, sc_fxnum_fast_observer *=0)
 
 sc_ufix_fast (const sc_fxtype_params &, sc_fxnum_fast_observer *=0)
 
 sc_ufix_fast (const sc_fxtype_params &, const sc_fxcast_switch &, sc_fxnum_fast_observer *=0)
 
 sc_ufix_fast (const sc_ufix_fast &)
 
sc_ufix_fast operator~ () const
 
sc_ufix_fastoperator= (const sc_ufix_fast &)
 
sc_fxval_fast operator++ (int)
 
sc_fxval_fast operator-- (int)
 
sc_ufix_fastoperator++ ()
 
sc_ufix_fastoperator-- ()
 
- Public Member Functions inherited from sc_dt::sc_fxnum_fast
sc_fxval_fast operator- () const
 
sc_fxval_fast operator+ () const
 
 DECL_BIN_OP_T (/, int64) DECL_BIN_OP_T(/
 
uint64 DECL_BIN_OP_T (/, const sc_int_base &) DECL_BIN_OP_T(/
 
uint64 const sc_uint_baseDECL_BIN_OP_T (/, const sc_signed &) friend sc_fxval_fast operator<<(const sc_fxnum_fast &
 
sc_fxval_fast operator++ (int)
 
sc_fxval_fast operator-- (int)
 
sc_fxnum_fastoperator++ ()
 
sc_fxnum_fastoperator-- ()
 
sc_fxnum_fast_bitref_r operator[] (int) const
 
sc_fxnum_fast_bitref operator[] (int)
 
sc_fxnum_fast_bitref_r bit (int) const
 
sc_fxnum_fast_bitref bit (int)
 
sc_fxnum_fast_subref_r operator() (int, int) const
 
sc_fxnum_fast_subref operator() (int, int)
 
sc_fxnum_fast_subref_r range (int, int) const
 
sc_fxnum_fast_subref range (int, int)
 
sc_fxnum_fast_subref_r operator() () const
 
sc_fxnum_fast_subref operator() ()
 
sc_fxnum_fast_subref_r range () const
 
sc_fxnum_fast_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
 
std::string to_string () const
 
std::string to_string (sc_numrep) const
 
std::string to_string (sc_numrep, bool) const
 
std::string to_string (sc_fmt) const
 
std::string to_string (sc_numrep, sc_fmt) const
 
std::string to_string (sc_numrep, bool, sc_fmt) const
 
std::string to_dec () const
 
std::string to_bin () const
 
std::string to_oct () 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
 
sc_fxval_fast 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_paramstype_params () const
 
const sc_fxcast_switchcast_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
 

Friends

void b_not (sc_ufix_fast &, const sc_ufix_fast &)
 
sc_ufix_fast operator& (const sc_ufix_fast &, const sc_ufix_fast &)
 
sc_ufix_fast operator^ (const sc_ufix_fast &, const sc_ufix_fast &)
 
sc_ufix_fast operator| (const sc_ufix_fast &, const sc_ufix_fast &)
 
void b_and (sc_ufix_fast &, const sc_ufix_fast &, const sc_ufix_fast &)
 
void b_or (sc_ufix_fast &, const sc_ufix_fast &, const sc_ufix_fast &)
 
void b_xor (sc_ufix_fast &, const sc_ufix_fast &, const sc_ufix_fast &)
 

Additional Inherited Members

- Public Attributes inherited from sc_dt::sc_fxnum_fast
uint64 const sc_uint_base int
 
- Protected Member Functions inherited from sc_dt::sc_fxnum_fast
sc_fxnum_fast_observerobserver () const
 
void cast ()
 
 sc_fxnum_fast (const sc_fxtype_params &, sc_enc, const sc_fxcast_switch &, sc_fxnum_fast_observer *)
 
 ~sc_fxnum_fast ()
 
double get_val () 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_fast_observerlock_observer () const
 
void unlock_observer (sc_fxnum_fast_observer *) const
 

Detailed Description

Definition at line 300 of file sc_ufix.h.

Constructor & Destructor Documentation

◆ sc_ufix_fast() [1/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( sc_fxnum_fast_observer observer_ = 0)
inlineexplicit

Definition at line 1230 of file sc_ufix.h.

◆ sc_ufix_fast() [2/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( int  wl_,
int  iwl_,
sc_fxnum_fast_observer observer_ = 0 
)
inline

Definition at line 1238 of file sc_ufix.h.

◆ sc_ufix_fast() [3/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( sc_q_mode  qm,
sc_o_mode  om,
sc_fxnum_fast_observer observer_ = 0 
)
inline

Definition at line 1247 of file sc_ufix.h.

◆ sc_ufix_fast() [4/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( sc_q_mode  qm,
sc_o_mode  om,
int  nb,
sc_fxnum_fast_observer observer_ = 0 
)
inline

Definition at line 1256 of file sc_ufix.h.

◆ sc_ufix_fast() [5/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( int  wl_,
int  iwl_,
sc_q_mode  qm,
sc_o_mode  om,
sc_fxnum_fast_observer observer_ = 0 
)
inline

Definition at line 1265 of file sc_ufix.h.

◆ sc_ufix_fast() [6/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( int  wl_,
int  iwl_,
sc_q_mode  qm,
sc_o_mode  om,
int  nb,
sc_fxnum_fast_observer observer_ = 0 
)
inline

Definition at line 1274 of file sc_ufix.h.

◆ sc_ufix_fast() [7/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( const sc_fxcast_switch cast_sw,
sc_fxnum_fast_observer observer_ = 0 
)
inlineexplicit

Definition at line 1284 of file sc_ufix.h.

◆ sc_ufix_fast() [8/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( int  wl_,
int  iwl_,
const sc_fxcast_switch cast_sw,
sc_fxnum_fast_observer observer_ = 0 
)
inline

Definition at line 1293 of file sc_ufix.h.

◆ sc_ufix_fast() [9/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( sc_q_mode  qm,
sc_o_mode  om,
const sc_fxcast_switch cast_sw,
sc_fxnum_fast_observer observer_ = 0 
)
inline

Definition at line 1303 of file sc_ufix.h.

◆ sc_ufix_fast() [10/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( sc_q_mode  qm,
sc_o_mode  om,
int  nb,
const sc_fxcast_switch cast_sw,
sc_fxnum_fast_observer observer_ = 0 
)
inline

Definition at line 1313 of file sc_ufix.h.

◆ sc_ufix_fast() [11/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( int  wl_,
int  iwl_,
sc_q_mode  qm,
sc_o_mode  om,
const sc_fxcast_switch cast_sw,
sc_fxnum_fast_observer observer_ = 0 
)
inline

Definition at line 1323 of file sc_ufix.h.

◆ sc_ufix_fast() [12/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( int  wl_,
int  iwl_,
sc_q_mode  qm,
sc_o_mode  om,
int  nb,
const sc_fxcast_switch cast_sw,
sc_fxnum_fast_observer observer_ = 0 
)
inline

Definition at line 1333 of file sc_ufix.h.

◆ sc_ufix_fast() [13/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( const sc_fxtype_params type_params_,
sc_fxnum_fast_observer observer_ = 0 
)
inlineexplicit

Definition at line 1344 of file sc_ufix.h.

◆ sc_ufix_fast() [14/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( const sc_fxtype_params type_params_,
const sc_fxcast_switch cast_sw,
sc_fxnum_fast_observer observer_ = 0 
)
inline

Definition at line 1353 of file sc_ufix.h.

◆ sc_ufix_fast() [15/15]

sc_dt::sc_ufix_fast::sc_ufix_fast ( const sc_ufix_fast a)
inline

Definition at line 1710 of file sc_ufix.h.

Member Function Documentation

◆ operator++() [1/2]

sc_ufix_fast & sc_dt::sc_ufix_fast::operator++ ( )
inline

Definition at line 1898 of file sc_ufix.h.

◆ operator++() [2/2]

sc_fxval_fast sc_dt::sc_ufix_fast::operator++ ( int  )
inline

Definition at line 1884 of file sc_ufix.h.

◆ operator--() [1/2]

sc_ufix_fast & sc_dt::sc_ufix_fast::operator-- ( )
inline

Definition at line 1906 of file sc_ufix.h.

◆ operator--() [2/2]

sc_fxval_fast sc_dt::sc_ufix_fast::operator-- ( int  )
inline

Definition at line 1891 of file sc_ufix.h.

◆ operator=()

sc_ufix_fast & sc_dt::sc_ufix_fast::operator= ( const sc_ufix_fast a)
inline

Definition at line 1803 of file sc_ufix.h.

◆ operator~()

sc_ufix_fast sc_dt::sc_ufix_fast::operator~ ( ) const
inline

Definition at line 1723 of file sc_ufix.h.

Friends And Related Function Documentation

◆ b_and

void b_and ( sc_ufix_fast ,
const sc_ufix_fast ,
const sc_ufix_fast  
)
friend

◆ b_not

void b_not ( sc_ufix_fast c,
const sc_ufix_fast a 
)
friend

Definition at line 1739 of file sc_ufix.h.

◆ b_or

void b_or ( sc_ufix_fast ,
const sc_ufix_fast ,
const sc_ufix_fast  
)
friend

◆ b_xor

void b_xor ( sc_ufix_fast ,
const sc_ufix_fast ,
const sc_ufix_fast  
)
friend

◆ operator&

sc_ufix_fast operator& ( const sc_ufix_fast ,
const sc_ufix_fast  
)
friend

◆ operator^

sc_ufix_fast operator^ ( const sc_ufix_fast ,
const sc_ufix_fast  
)
friend

◆ operator|

sc_ufix_fast operator| ( const sc_ufix_fast ,
const sc_ufix_fast  
)
friend

The documentation for this class was generated from the following file: