Lines Matching defs:const

119 extern const uint_type mask_int[SC_INTWIDTH][SC_INTWIDTH];
122 inline bool operator == (const sc_uint_base &a, const sc_uint_base &b);
123 inline bool operator != (const sc_uint_base &a, const sc_uint_base &b);
124 inline bool operator < (const sc_uint_base &a, const sc_uint_base &b);
125 inline bool operator <= (const sc_uint_base &a, const sc_uint_base &b);
126 inline bool operator > (const sc_uint_base &a, const sc_uint_base &b);
127 inline bool operator >= (const sc_uint_base &a, const sc_uint_base &b);
143 sc_uint_bitref_r(const sc_uint_bitref_r &init) :
152 initialize(const sc_uint_base* obj_p, int index_)
164 concat_length(bool *xz_present_p) const
171 concat_get_ctrl(sc_digit *dst_p, int low_i) const
180 concat_get_data(sc_digit *dst_p, int low_i) const
195 virtual uint64 concat_get_uint64() const { return operator uint64(); }
198 int length() const { return 1; }
201 operator uint64 () const;
202 bool operator ! () const;
203 bool operator ~ () const;
206 uint64 value() const { return operator uint64 (); }
207 bool to_bool() const { return operator uint64 (); }
210 void print(::std::ostream &os=::std::cout) const { os << to_bool(); }
218 sc_uint_bitref_r &operator = (const sc_uint_bitref_r &);
222 ::std::ostream &, const sc_uint_bitref_r &);
241 sc_uint_bitref(const sc_uint_bitref &init) : sc_uint_bitref_r(init) {}
245 sc_uint_bitref &operator = (const sc_uint_bitref_r &b);
246 sc_uint_bitref &operator = (const sc_uint_bitref &b);
255 virtual void concat_set(const sc_signed &src, int low_i);
256 virtual void concat_set(const sc_unsigned &src, int low_i);
282 sc_uint_subref_r( const sc_uint_subref_r& init ) :
292 initialize(const sc_uint_base *obj_p, int left_i, int right_i)
304 int length() const { return (m_left - m_right + 1); }
308 concat_length(bool *xz_present_p) const
314 virtual bool concat_get_ctrl(sc_digit *dst_p, int low_i) const;
315 virtual bool concat_get_data(sc_digit *dst_p, int low_i) const;
317 concat_get_uint64() const
323 bool and_reduce() const;
324 bool nand_reduce() const { return !and_reduce(); }
325 bool or_reduce() const;
326 bool nor_reduce() const { return !or_reduce(); }
327 bool xor_reduce() const;
328 bool xnor_reduce() const { return !xor_reduce(); }
331 operator uint_type() const;
334 uint_type value() const { return operator uint_type(); }
336 int to_int() const;
337 unsigned int to_uint() const;
338 long to_long() const;
339 unsigned long to_ulong() const;
340 int64 to_int64() const;
341 uint64 to_uint64() const;
342 double to_double() const;
345 const std::string to_string(sc_numrep numrep=SC_DEC) const;
346 const std::string to_string(sc_numrep numrep, bool w_prefix) const;
350 print(::std::ostream &os=::std::cout) const
362 sc_uint_subref_r &operator = (const sc_uint_subref_r &);
366 ::std::ostream &, const sc_uint_subref_r &);
385 sc_uint_subref(const sc_uint_subref &init) : sc_uint_subref_r(init) {}
390 sc_uint_subref &operator = (const sc_uint_base &a);
392 operator = (const sc_uint_subref_r &a)
397 operator = (const sc_uint_subref &a)
403 operator = (const sc_generic_base<T> &a)
407 sc_uint_subref &operator = (const char *a);
438 sc_uint_subref &operator = (const sc_signed &);
439 sc_uint_subref &operator = (const sc_unsigned &);
440 sc_uint_subref &operator = (const sc_bv_base &);
441 sc_uint_subref &operator = (const sc_lv_base &);
445 virtual void concat_set(const sc_signed &src, int low_i);
446 virtual void concat_set(const sc_unsigned &src, int low_i);
473 void invalid_length() const;
474 void invalid_index(int i) const;
475 void invalid_range(int l, int r) const;
478 check_length() const
486 check_index(int i) const
494 check_range(int l, int r) const
501 void check_value() const;
527 sc_uint_base(const sc_uint_base &a) :
531 explicit sc_uint_base(const sc_uint_subref_r &a) :
538 explicit sc_uint_base(const sc_generic_base<T> &a) :
546 explicit sc_uint_base(const sc_bv_base &v);
547 explicit sc_uint_base(const sc_lv_base &v);
548 explicit sc_uint_base(const sc_int_subref_r &v);
549 explicit sc_uint_base(const sc_signed_subref_r &v);
550 explicit sc_uint_base(const sc_unsigned_subref_r &v);
551 explicit sc_uint_base(const sc_signed &a);
552 explicit sc_uint_base(const sc_unsigned &a);
566 operator = (const sc_uint_base &a)
573 operator = (const sc_uint_subref_r &a)
581 operator = (const sc_generic_base<T> &a)
587 sc_uint_base &operator = (const sc_signed &a);
588 sc_uint_base &operator = (const sc_unsigned &a);
589 sc_uint_base &operator = (const sc_fxval &a);
590 sc_uint_base &operator = (const sc_fxval_fast &a);
591 sc_uint_base &operator = (const sc_fxnum &a);
592 sc_uint_base &operator = (const sc_fxnum_fast &a);
593 sc_uint_base &operator = (const sc_bv_base &a);
594 sc_uint_base &operator = (const sc_lv_base &a);
595 sc_uint_base &operator = (const char *a);
721 const sc_uint_base
737 const sc_uint_base
748 operator == (const sc_uint_base &a, const sc_uint_base &b)
753 operator != (const sc_uint_base &a, const sc_uint_base &b)
758 operator < (const sc_uint_base &a, const sc_uint_base &b)
763 operator <= (const sc_uint_base &a, const sc_uint_base &b)
768 operator > (const sc_uint_base &a, const sc_uint_base &b)
773 operator >= (const sc_uint_base &a, const sc_uint_base &b)
780 const sc_uint_bitref_r &operator [] (int i) const;
783 const sc_uint_bitref_r &bit(int i) const;
787 const sc_uint_subref_r &operator () (int left, int right) const;
790 const sc_uint_subref_r &range(int left, int right) const;
793 bool test(int i) const { return (0 != (m_val & (UINT_ONE << i))); }
803 int length() const { return m_len; }
807 concat_length(bool *xz_present_p) const
813 virtual bool concat_get_ctrl(sc_digit *dst_p, int low_i) const;
814 virtual bool concat_get_data( sc_digit *dst_p, int low_i) const;
815 virtual uint64 concat_get_uint64() const { return m_val; }
817 virtual void concat_set(const sc_signed &src, int low_i);
818 virtual void concat_set(const sc_unsigned &src, int low_i);
822 bool and_reduce() const;
823 bool nand_reduce() const { return !and_reduce(); }
824 bool or_reduce() const;
825 bool nor_reduce() const { return !or_reduce(); }
826 bool xor_reduce() const;
827 bool xnor_reduce() const { return !xor_reduce(); }
830 operator uint_type() const { return m_val; }
833 uint_type value() const { return operator uint_type(); }
835 int to_int() const { return (int) m_val; }
836 unsigned int to_uint() const { return (unsigned int)m_val; }
837 long to_long() const { return (long)m_val; }
838 unsigned long to_ulong() const { return (unsigned long)m_val; }
839 int64 to_int64() const { return (int64)m_val; }
840 uint64 to_uint64() const { return (uint64)m_val; }
841 double to_double() const { return uint64_to_double(m_val); }
843 long long_low() const { return (long)(m_val & UINT64_32ONES); }
844 long long_high() const { return (long)((m_val >> 32) & UINT64_32ONES); }
847 const std::string to_string(sc_numrep numrep=SC_DEC) const;
848 const std::string to_string(sc_numrep numrep, bool w_prefix) const;
852 print(::std::ostream &os=::std::cout) const
865 inline ::std::ostream &operator << (::std::ostream &, const sc_uint_base &);
877 inline sc_uint_bitref_r::operator uint64 () const
883 sc_uint_bitref_r::operator ! () const
889 sc_uint_bitref_r::operator ~ () const
895 operator << (::std::ostream &os, const sc_uint_bitref_r &a)
911 sc_uint_bitref::operator = (const sc_uint_bitref_r &b)
918 sc_uint_bitref::operator = (const sc_uint_bitref &b)
974 inline sc_uint_subref_r::operator uint_type() const
984 sc_uint_subref_r::and_reduce() const
990 sc_uint_subref_r::or_reduce() const
996 sc_uint_subref_r::xor_reduce() const
1004 sc_uint_subref_r::to_int() const
1010 sc_uint_subref_r::to_uint() const
1016 sc_uint_subref_r::to_long() const
1022 sc_uint_subref_r::to_ulong() const
1028 sc_uint_subref_r::to_int64() const
1034 sc_uint_subref_r::to_uint64() const
1040 sc_uint_subref_r::to_double() const
1047 inline const std::string
1048 sc_uint_subref_r::to_string(sc_numrep numrep) const
1054 inline const std::string
1055 sc_uint_subref_r::to_string(sc_numrep numrep, bool w_prefix) const
1063 and_reduce(const sc_uint_subref_r &a)
1068 nand_reduce(const sc_uint_subref_r &a)
1073 or_reduce(const sc_uint_subref_r &a)
1078 nor_reduce(const sc_uint_subref_r &a)
1083 xor_reduce(const sc_uint_subref_r &a)
1088 xnor_reduce(const sc_uint_subref_r &a)
1094 operator << (::std::ostream &os, const sc_uint_subref_r &a)
1110 sc_uint_subref::operator = (const sc_uint_base &a)
1116 sc_uint_subref::operator = (const char *a)
1146 inline const sc_uint_bitref_r &
1147 sc_uint_base::operator [] (int i) const
1164 inline const sc_uint_bitref_r &
1165 sc_uint_base::bit(int i) const
1183 inline const sc_uint_subref_r &
1184 sc_uint_base::operator () (int left, int right) const
1201 inline const sc_uint_subref_r &
1202 sc_uint_base::range(int left, int right) const
1212 and_reduce(const sc_uint_base &a)
1217 nand_reduce(const sc_uint_base &a)
1222 or_reduce(const sc_uint_base &a)
1227 nor_reduce(const sc_uint_base &a)
1232 xor_reduce(const sc_uint_base &a)
1237 xnor_reduce(const sc_uint_base &a)
1243 operator << (::std::ostream &os, const sc_uint_base &a)