SystemC  Recoding Infrastructure for SystemC v0.6.3 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Classes | Namespaces | Macros
sc_fixed.h File Reference
#include "sysc/datatypes/fx/sc_fix.h"
Include dependency graph for sc_fixed.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sc_dt::sc_fixed< W, I, Q, O, N >
 
class  sc_dt::sc_fixed_fast< W, I, Q, O, N >
 
class  sc_dt::sc_fixed< W, I, Q, O, N >
 
class  sc_dt::sc_fixed_fast< W, I, Q, O, N >
 

Namespaces

 sc_dt
 

Macros

#define DECL_CTORS_T_A(tp)
 
#define DECL_CTORS_T_B(tp)
 
#define DECL_ASN_OP_T(op, tp)   sc_fixed& operator op ( tp );
 
#define DECL_ASN_OP_OTHER(op)
 
#define DECL_ASN_OP(op)
 
#define DECL_CTORS_T_A(tp)
 
#define DECL_CTORS_T_B(tp)
 
#define DECL_ASN_OP_T(op, tp)   sc_fixed_fast& operator op ( tp );
 
#define DECL_ASN_OP_OTHER(op)
 
#define DECL_ASN_OP(op)
 
#define DEFN_CTORS_T(tp)
 
#define DEFN_ASN_OP_T(op, tp)
 
#define DEFN_ASN_OP_OTHER(op)
 
#define DEFN_ASN_OP(op)
 
#define DEFN_CTORS_T(tp)
 
#define DEFN_ASN_OP_T(op, tp)
 
#define DEFN_ASN_OP_OTHER(op)
 
#define DEFN_ASN_OP(op)
 

Macro Definition Documentation

#define DECL_ASN_OP (   op)
Value:
DECL_ASN_OP_T(op,unsigned int) \
DECL_ASN_OP_T(op,long) \
DECL_ASN_OP_T(op,unsigned long) \
DECL_ASN_OP_T(op,float) \
DECL_ASN_OP_T(op,double) \
DECL_ASN_OP_T(op,const char*) \
DECL_ASN_OP_T(op,const sc_fxval&) \
DECL_ASN_OP_T(op,const sc_fxval_fast&) \
DECL_ASN_OP_T(op,const sc_fxnum&) \
DECL_ASN_OP_T(op,const sc_fxnum_fast&) \
#define DECL_ASN_OP_T(op, tp)
Definition: sc_fix.h:462
#define DECL_ASN_OP_OTHER(op)
Definition: sc_fix.h:466

Definition at line 261 of file sc_fixed.h.

#define DECL_ASN_OP (   op)
Value:
DECL_ASN_OP_T(op,unsigned int) \
DECL_ASN_OP_T(op,long) \
DECL_ASN_OP_T(op,unsigned long) \
DECL_ASN_OP_T(op,float) \
DECL_ASN_OP_T(op,double) \
DECL_ASN_OP_T(op,const char*) \
DECL_ASN_OP_T(op,const sc_fxval&) \
DECL_ASN_OP_T(op,const sc_fxval_fast&) \
DECL_ASN_OP_T(op,const sc_fxnum&) \
DECL_ASN_OP_T(op,const sc_fxnum_fast&) \
#define DECL_ASN_OP_T(op, tp)
Definition: sc_fix.h:462
#define DECL_ASN_OP_OTHER(op)
Definition: sc_fix.h:466

Definition at line 261 of file sc_fixed.h.

#define DECL_ASN_OP_OTHER (   op)
Value:
DECL_ASN_OP_T(op,const sc_int_base&) \
DECL_ASN_OP_T(op,const sc_uint_base&) \
DECL_ASN_OP_T(op,const sc_signed&) \
DECL_ASN_OP_T(op,const sc_unsigned&)
int64_t int64
Definition: sc_nbdefs.h:182
#define DECL_ASN_OP_T(op, tp)
Definition: sc_fix.h:462
uint64_t uint64
Definition: sc_nbdefs.h:183

Definition at line 250 of file sc_fixed.h.

#define DECL_ASN_OP_OTHER (   op)
Value:
DECL_ASN_OP_T(op,const sc_int_base&) \
DECL_ASN_OP_T(op,const sc_uint_base&) \
DECL_ASN_OP_T(op,const sc_signed&) \
DECL_ASN_OP_T(op,const sc_unsigned&)
int64_t int64
Definition: sc_nbdefs.h:182
#define DECL_ASN_OP_T(op, tp)
Definition: sc_fix.h:462
uint64_t uint64
Definition: sc_nbdefs.h:183

Definition at line 250 of file sc_fixed.h.

#define DECL_ASN_OP_T (   op,
  tp 
)    sc_fixed& operator op ( tp );

Definition at line 246 of file sc_fixed.h.

#define DECL_ASN_OP_T (   op,
  tp 
)    sc_fixed_fast& operator op ( tp );

Definition at line 246 of file sc_fixed.h.

#define DECL_CTORS_T_A (   tp)
Value:
sc_fixed( tp, sc_fxnum_observer* = 0 ); \
sc_fixed( tp, const sc_fxcast_switch&, sc_fxnum_observer* = 0 );

Definition at line 204 of file sc_fixed.h.

#define DECL_CTORS_T_A (   tp)
Value:
sc_fixed_fast( tp, sc_fxnum_fast_observer* = 0 ); \
sc_fixed_fast( tp, const sc_fxcast_switch&, \
sc_fxnum_fast_observer* = 0 );

Definition at line 204 of file sc_fixed.h.

#define DECL_CTORS_T_B (   tp)
Value:
explicit sc_fixed( tp, sc_fxnum_observer* = 0 ); \
sc_fixed( tp, const sc_fxcast_switch&, sc_fxnum_observer* = 0 );

Definition at line 209 of file sc_fixed.h.

#define DECL_CTORS_T_B (   tp)
Value:
explicit sc_fixed_fast( tp, sc_fxnum_fast_observer* = 0 ); \
sc_fixed_fast( tp, const sc_fxcast_switch&, \
sc_fxnum_fast_observer* = 0 );

Definition at line 209 of file sc_fixed.h.

#define DEFN_ASN_OP (   op)
Value:
DEFN_ASN_OP_T(op,unsigned int) \
DEFN_ASN_OP_T(op,long) \
DEFN_ASN_OP_T(op,unsigned long) \
DEFN_ASN_OP_T(op,float) \
DEFN_ASN_OP_T(op,double) \
DEFN_ASN_OP_T(op,const char*) \
DEFN_ASN_OP_T(op,const sc_fxval&) \
DEFN_ASN_OP_T(op,const sc_fxval_fast&) \
DEFN_ASN_OP_T(op,const sc_fxnum&) \
DEFN_ASN_OP_T(op,const sc_fxnum_fast&) \
#define DEFN_ASN_OP_T(op, tp)
Definition: sc_bit.h:174
#define DEFN_ASN_OP_OTHER(op)
Definition: sc_fix.h:1834

Definition at line 581 of file sc_fixed.h.

#define DEFN_ASN_OP (   op)
Value:
DEFN_ASN_OP_T(op,unsigned int) \
DEFN_ASN_OP_T(op,long) \
DEFN_ASN_OP_T(op,unsigned long) \
DEFN_ASN_OP_T(op,float) \
DEFN_ASN_OP_T(op,double) \
DEFN_ASN_OP_T(op,const char*) \
DEFN_ASN_OP_T(op,const sc_fxval&) \
DEFN_ASN_OP_T(op,const sc_fxval_fast&) \
DEFN_ASN_OP_T(op,const sc_fxnum&) \
DEFN_ASN_OP_T(op,const sc_fxnum_fast&) \
#define DEFN_ASN_OP_T(op, tp)
Definition: sc_bit.h:174
#define DEFN_ASN_OP_OTHER(op)
Definition: sc_fix.h:1834

Definition at line 581 of file sc_fixed.h.

#define DEFN_ASN_OP_OTHER (   op)
Value:
DEFN_ASN_OP_T(op,const sc_int_base&) \
DEFN_ASN_OP_T(op,const sc_uint_base&) \
DEFN_ASN_OP_T(op,const sc_signed&) \
DEFN_ASN_OP_T(op,const sc_unsigned&)
#define DEFN_ASN_OP_T(op, tp)
Definition: sc_bit.h:174
int64_t int64
Definition: sc_nbdefs.h:182
uint64_t uint64
Definition: sc_nbdefs.h:183

Definition at line 570 of file sc_fixed.h.

#define DEFN_ASN_OP_OTHER (   op)
Value:
DEFN_ASN_OP_T(op,const sc_int_base&) \
DEFN_ASN_OP_T(op,const sc_uint_base&) \
DEFN_ASN_OP_T(op,const sc_signed&) \
DEFN_ASN_OP_T(op,const sc_unsigned&)
#define DEFN_ASN_OP_T(op, tp)
Definition: sc_bit.h:174
int64_t int64
Definition: sc_nbdefs.h:182
uint64_t uint64
Definition: sc_nbdefs.h:183

Definition at line 570 of file sc_fixed.h.

#define DEFN_ASN_OP_T (   op,
  tp 
)
Value:
template<int W, int I, sc_q_mode Q, sc_o_mode O, int N> \
inline \
sc_fixed<W,I,Q,O,N>& \
sc_fixed<W,I,Q,O,N>::operator op ( tp a ) \
{ \
sc_fix::operator op ( a ); \
return *this; \
}

Definition at line 559 of file sc_fixed.h.

#define DEFN_ASN_OP_T (   op,
  tp 
)
Value:
template<int W, int I, sc_q_mode Q, sc_o_mode O, int N> \
inline \
sc_fixed_fast<W,I,Q,O,N>& \
sc_fixed_fast<W,I,Q,O,N>::operator op ( tp a ) \
{ \
sc_fix_fast::operator op ( a ); \
return *this; \
}

Definition at line 559 of file sc_fixed.h.

#define DEFN_CTORS_T (   tp)
Value:
template<int W, int I, sc_q_mode Q, sc_o_mode O, int N> \
inline \
sc_fixed<W,I,Q,O,N>::sc_fixed( tp a, \
sc_fxnum_observer* observer_ ) \
: sc_fix( a, W, I, Q, O, N, observer_ ) \
{} \
\
template<int W, int I, sc_q_mode Q, sc_o_mode O, int N> \
inline \
sc_fixed<W,I,Q,O,N>::sc_fixed( tp a, \
const sc_fxcast_switch& cast_sw, \
sc_fxnum_observer* observer_ ) \
: sc_fix( a, W, I, Q, O, N, cast_sw, observer_ ) \
{}

Definition at line 501 of file sc_fixed.h.

#define DEFN_CTORS_T (   tp)
Value:
template<int W, int I, sc_q_mode Q, sc_o_mode O, int N> \
inline \
sc_fixed_fast<W,I,Q,O,N>::sc_fixed_fast( tp a, \
sc_fxnum_fast_observer* observer_ ) \
: sc_fix_fast( a, W, I, Q, O, N, observer_ ) \
{} \
\
template<int W, int I, sc_q_mode Q, sc_o_mode O, int N> \
inline \
sc_fixed_fast<W,I,Q,O,N>::sc_fixed_fast( tp a, \
const sc_fxcast_switch& cast_sw, \
sc_fxnum_fast_observer* observer_ ) \
: sc_fix_fast( a, W, I, Q, O, N, cast_sw, observer_ ) \
{}

Definition at line 501 of file sc_fixed.h.