Lines Matching refs:sc_ufix

22   sc_ufix.h -
38 // $Log: sc_ufix.h,v $
59 class sc_ufix;
64 // CLASS : sc_ufix
69 class sc_ufix : public sc_fxnum
73 explicit sc_ufix(sc_fxnum_observer * =0);
74 sc_ufix(int, int, sc_fxnum_observer * =0);
75 sc_ufix(sc_q_mode, sc_o_mode, sc_fxnum_observer * =0);
76 sc_ufix(sc_q_mode, sc_o_mode, int, sc_fxnum_observer * =0);
77 sc_ufix(int, int, sc_q_mode, sc_o_mode, sc_fxnum_observer * =0);
78 sc_ufix(int, int, sc_q_mode, sc_o_mode, int, sc_fxnum_observer * =0);
79 explicit sc_ufix(const sc_fxcast_switch &, sc_fxnum_observer * =0);
80 sc_ufix(int, int, const sc_fxcast_switch &, sc_fxnum_observer * =0);
81 sc_ufix(sc_q_mode, sc_o_mode, const sc_fxcast_switch &,
83 sc_ufix(sc_q_mode, sc_o_mode, int, const sc_fxcast_switch &,
85 sc_ufix(int, int, sc_q_mode, sc_o_mode, const sc_fxcast_switch &,
87 sc_ufix(int, int, sc_q_mode, sc_o_mode, int, const sc_fxcast_switch &,
89 explicit sc_ufix(const sc_fxtype_params &, sc_fxnum_observer * =0);
90 sc_ufix(const sc_fxtype_params &, const sc_fxcast_switch &,
94 sc_ufix(tp, int, int, sc_fxnum_observer * =0); \
95 sc_ufix(tp, sc_q_mode, sc_o_mode, sc_fxnum_observer * =0); \
96 sc_ufix(tp, sc_q_mode, sc_o_mode, int, sc_fxnum_observer * =0); \
97 sc_ufix(tp, int, int, sc_q_mode, sc_o_mode, sc_fxnum_observer * =0); \
98 sc_ufix(tp, int, int, sc_q_mode, sc_o_mode, int, sc_fxnum_observer * =0); \
99 sc_ufix(tp, const sc_fxcast_switch &, sc_fxnum_observer * =0); \
100 sc_ufix(tp, int, int, const sc_fxcast_switch &, sc_fxnum_observer * =0); \
101 sc_ufix(tp, sc_q_mode, sc_o_mode, const sc_fxcast_switch &, \
103 sc_ufix(tp, sc_q_mode, sc_o_mode, int, const sc_fxcast_switch &, \
105 sc_ufix(tp, int, int, sc_q_mode, sc_o_mode, const sc_fxcast_switch &, \
107 sc_ufix(tp, int, int, sc_q_mode, sc_o_mode, int, \
109 sc_ufix(tp, const sc_fxtype_params &, sc_fxnum_observer * =0); \
110 sc_ufix(tp, const sc_fxtype_params &, const sc_fxcast_switch &, \
114 sc_ufix(tp, sc_fxnum_observer * =0); \
118 explicit sc_ufix(tp, sc_fxnum_observer * =0); \
145 sc_ufix(const sc_ufix &);
148 const sc_ufix operator ~ () const;
151 friend void b_not(sc_ufix &, const sc_ufix &);
154 friend const sc_ufix operator & (const sc_ufix &, const sc_ufix &);
155 friend const sc_ufix operator & (const sc_ufix &, const sc_ufix_fast &);
156 friend const sc_ufix operator & (const sc_ufix_fast &, const sc_ufix &);
157 friend const sc_ufix operator | (const sc_ufix &, const sc_ufix &);
158 friend const sc_ufix operator | (const sc_ufix &, const sc_ufix_fast &);
159 friend const sc_ufix operator | (const sc_ufix_fast &, const sc_ufix &);
160 friend const sc_ufix operator ^ (const sc_ufix &, const sc_ufix &);
161 friend const sc_ufix operator ^ (const sc_ufix &, const sc_ufix_fast &);
162 friend const sc_ufix operator ^ (const sc_ufix_fast &, const sc_ufix &);
165 friend void b_and(sc_ufix &, const sc_ufix &, const sc_ufix &);
166 friend void b_and(sc_ufix &, const sc_ufix &, const sc_ufix_fast &);
167 friend void b_and(sc_ufix &, const sc_ufix_fast &, const sc_ufix &);
168 friend void b_or(sc_ufix &, const sc_ufix &, const sc_ufix &);
169 friend void b_or(sc_ufix &, const sc_ufix &, const sc_ufix_fast &);
170 friend void b_or(sc_ufix &, const sc_ufix_fast &, const sc_ufix &);
171 friend void b_xor(sc_ufix &, const sc_ufix &, const sc_ufix &);
172 friend void b_xor(sc_ufix &, const sc_ufix &, const sc_ufix_fast &);
173 friend void b_xor(sc_ufix &, const sc_ufix_fast &, const sc_ufix &);
176 sc_ufix &operator = (const sc_ufix &);
178 #define DECL_ASN_OP_T(op,tp) sc_ufix &operator op (tp);
212 DECL_ASN_OP_T(&=, const sc_ufix &)
214 DECL_ASN_OP_T(|=, const sc_ufix &)
216 DECL_ASN_OP_T(^=, const sc_ufix &)
227 sc_ufix& operator ++ ();
228 sc_ufix& operator -- ();
386 DECL_ASN_OP_T(&=, const sc_ufix &)
388 DECL_ASN_OP_T(|=, const sc_ufix &)
390 DECL_ASN_OP_T(^=, const sc_ufix &)
409 // CLASS : sc_ufix
416 inline sc_ufix::sc_ufix(sc_fxnum_observer *observer_) :
420 inline sc_ufix::sc_ufix(int wl_, int iwl_, sc_fxnum_observer *observer_ ) :
425 inline sc_ufix::sc_ufix(sc_q_mode qm, sc_o_mode om,
432 sc_ufix::sc_ufix(sc_q_mode qm, sc_o_mode om, int nb,
438 inline sc_ufix::sc_ufix(int wl_, int iwl_, sc_q_mode qm, sc_o_mode om,
444 inline sc_ufix::sc_ufix(int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb,
450 inline sc_ufix::sc_ufix(const sc_fxcast_switch &cast_sw,
455 inline sc_ufix::sc_ufix(int wl_, int iwl_, const sc_fxcast_switch &cast_sw,
460 inline sc_ufix::sc_ufix(sc_q_mode qm, sc_o_mode om,
466 inline sc_ufix::sc_ufix(sc_q_mode qm, sc_o_mode om, int nb,
472 inline sc_ufix::sc_ufix(int wl_, int iwl_, sc_q_mode qm, sc_o_mode om,
479 inline sc_ufix::sc_ufix(int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb,
486 inline sc_ufix::sc_ufix(const sc_fxtype_params &type_params_,
491 inline sc_ufix::sc_ufix(const sc_fxtype_params &type_params_,
498 inline sc_ufix::sc_ufix(tp a, sc_fxnum_observer *observer_ ) : \
503 inline sc_ufix::sc_ufix(tp a, int wl_, int iwl_, \
509 inline sc_ufix::sc_ufix(tp a, sc_q_mode qm, sc_o_mode om, \
515 inline sc_ufix::sc_ufix(tp a, sc_q_mode qm, sc_o_mode om, int nb, \
521 inline sc_ufix::sc_ufix(tp a, int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, \
527 inline sc_ufix::sc_ufix(tp a, int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, \
533 inline sc_ufix::sc_ufix(tp a, const sc_fxcast_switch &cast_sw, \
538 inline sc_ufix::sc_ufix(tp a, int wl_, int iwl_, \
544 inline sc_ufix::sc_ufix(tp a, sc_q_mode qm, sc_o_mode om, \
550 inline sc_ufix::sc_ufix(tp a, sc_q_mode qm, sc_o_mode om, int nb, \
556 inline sc_ufix::sc_ufix(tp a, int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, \
563 inline sc_ufix::sc_ufix(tp a, int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, \
570 inline sc_ufix::sc_ufix(tp a, const sc_fxtype_params &type_params_, \
575 inline sc_ufix::sc_ufix(tp a, const sc_fxtype_params& type_params_, \
582 inline sc_ufix::sc_ufix(tp a, sc_fxnum_observer *observer_) : \
586 inline sc_ufix::sc_ufix(tp a, int wl_, int iwl_, \
593 sc_ufix::sc_ufix(tp a, sc_q_mode qm, sc_o_mode om, \
599 inline sc_ufix::sc_ufix(tp a, sc_q_mode qm, sc_o_mode om, int nb, \
605 inline sc_ufix::sc_ufix(tp a, int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, \
611 inline sc_ufix::sc_ufix(tp a, int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, \
617 inline sc_ufix::sc_ufix(tp a, const sc_fxcast_switch& cast_sw, \
622 inline sc_ufix::sc_ufix(tp a, int wl_, int iwl_, \
629 inline sc_ufix::sc_ufix(tp a, sc_q_mode qm, sc_o_mode om, \
636 inline sc_ufix::sc_ufix(tp a, sc_q_mode qm, sc_o_mode om, int nb, \
643 inline sc_ufix::sc_ufix(tp a, int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, \
650 inline sc_ufix::sc_ufix(tp a, int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, \
657 inline sc_ufix::sc_ufix(tp a, const sc_fxtype_params &type_params_, \
662 inline sc_ufix::sc_ufix(tp a, const sc_fxtype_params& type_params_, \
692 inline sc_ufix::sc_ufix(const sc_ufix &a) :
697 inline const sc_ufix
698 sc_ufix::operator ~ () const
703 sc_ufix c(wl_c, iwl_c);
706 return sc_ufix(c, wl_c, iwl_c);
711 b_not(sc_ufix &c, const sc_ufix &a)
723 inline const sc_ufix \
732 sc_ufix c(iwl_c + fwl_c, iwl_c); \
735 return sc_ufix(c, iwl_c + fwl_c, iwl_c); \
738 DEFN_BIN_OP_T(&, &&, sc_ufix, sc_ufix)
739 DEFN_BIN_OP_T(&, &&, sc_ufix, sc_ufix_fast)
740 DEFN_BIN_OP_T(&, &&, sc_ufix_fast, sc_ufix)
742 DEFN_BIN_OP_T(|, ||, sc_ufix, sc_ufix)
743 DEFN_BIN_OP_T(|, ||, sc_ufix, sc_ufix_fast)
744 DEFN_BIN_OP_T(|, ||, sc_ufix_fast, sc_ufix)
746 DEFN_BIN_OP_T(^, !=, sc_ufix, sc_ufix)
747 DEFN_BIN_OP_T(^, !=, sc_ufix, sc_ufix_fast)
748 DEFN_BIN_OP_T(^, !=, sc_ufix_fast, sc_ufix)
755 fnc (sc_ufix &c, const tp1 &a, const tp2 &b) \
766 DEFN_BIN_FNC_T(b_and, &&, sc_ufix, sc_ufix)
767 DEFN_BIN_FNC_T(b_and, &&, sc_ufix, sc_ufix_fast)
768 DEFN_BIN_FNC_T(b_and, &&, sc_ufix_fast, sc_ufix)
770 DEFN_BIN_FNC_T(b_or, ||, sc_ufix, sc_ufix)
771 DEFN_BIN_FNC_T(b_or, ||, sc_ufix, sc_ufix_fast)
772 DEFN_BIN_FNC_T(b_or, ||, sc_ufix_fast, sc_ufix)
774 DEFN_BIN_FNC_T(b_xor, !=, sc_ufix, sc_ufix)
775 DEFN_BIN_FNC_T(b_xor, !=, sc_ufix, sc_ufix_fast)
776 DEFN_BIN_FNC_T(b_xor, !=, sc_ufix_fast, sc_ufix)
781 inline sc_ufix &
782 sc_ufix::operator = (const sc_ufix &a)
789 inline sc_ufix & \
790 sc_ufix::operator op (tp a) \
834 inline sc_ufix & \
835 sc_ufix::operator op (const tp &b) \
847 DEFN_ASN_OP_T(&=, &&, sc_ufix)
849 DEFN_ASN_OP_T(|=, ||, sc_ufix)
851 DEFN_ASN_OP_T(^=, !=, sc_ufix)
858 sc_ufix::operator ++ (int)
864 sc_ufix::operator -- (int)
869 inline sc_ufix &
870 sc_ufix::operator ++ ()
876 inline sc_ufix &
877 sc_ufix::operator -- ()
1316 DEFN_ASN_OP_T(&=, &&, sc_ufix)
1318 DEFN_ASN_OP_T(|=, ||, sc_ufix)
1320 DEFN_ASN_OP_T(^=, !=, sc_ufix)