Lines Matching defs:const

118 extern const uint_type mask_int[SC_INTWIDTH][SC_INTWIDTH];
124 inline bool operator == (const sc_int_base &a, const sc_int_base &b);
125 inline bool operator != (const sc_int_base &a, const sc_int_base &b);
126 inline bool operator < (const sc_int_base &a, const sc_int_base &b);
127 inline bool operator <= (const sc_int_base &a, const sc_int_base &b);
128 inline bool operator > (const sc_int_base &a, const sc_int_base &b);
129 inline bool operator >= (const sc_int_base &a, const sc_int_base &b);
147 void initialize(const sc_int_base *obj_p, int index_)
155 sc_int_bitref_r(const sc_int_bitref_r &a) :
163 int length() const { return 1; }
166 int bitwidth() const { return length(); }
171 concat_length(bool *xz_present_p) const
178 concat_get_ctrl(sc_digit *dst_p, int low_i) const
187 concat_get_data(sc_digit *dst_p, int low_i) const
203 concat_get_uint64() const
210 operator uint64 () const;
211 bool operator ! () const;
212 bool operator ~ () const;
216 uint64 value() const { return operator uint64(); }
218 bool to_bool() const { return operator uint64(); }
222 void print(::std::ostream& os=::std::cout) const { os << to_bool(); }
230 sc_int_bitref_r &operator = (const sc_int_bitref_r &);
234 inline ::std::ostream &operator << (::std::ostream &, const sc_int_bitref_r &);
253 sc_int_bitref(const sc_int_bitref &a) : sc_int_bitref_r(a) {}
256 sc_int_bitref &operator = (const sc_int_bitref_r &b);
257 sc_int_bitref &operator = (const sc_int_bitref &b);
266 virtual void concat_set(const sc_signed &src, int low_i);
267 virtual void concat_set(const sc_unsigned &src, int low_i);
299 void initialize( const sc_int_base *obj_p, int left_i, int right_i)
308 sc_int_subref_r(const sc_int_subref_r &a) :
317 int length() const { return (m_left - m_right + 1); }
321 concat_length(bool *xz_present_p) const
327 virtual bool concat_get_ctrl( sc_digit* dst_p, int low_i ) const;
328 virtual bool concat_get_data( sc_digit* dst_p, int low_i ) const;
330 concat_get_uint64() const
341 bool and_reduce() const;
342 bool nand_reduce() const { return !and_reduce(); }
343 bool or_reduce() const;
344 bool nor_reduce() const { return !or_reduce(); }
345 bool xor_reduce() const;
346 bool xnor_reduce() const { return !xor_reduce(); }
349 operator uint_type () const;
352 uint_type value() const { return operator uint_type(); }
355 int to_int() const;
356 unsigned int to_uint() const;
357 long to_long() const;
358 unsigned long to_ulong() const;
359 int64 to_int64() const;
360 uint64 to_uint64() const;
361 double to_double() const;
364 const std::string to_string(sc_numrep numrep=SC_DEC) const;
365 const std::string to_string(sc_numrep numrep, bool w_prefix) const;
369 print(::std::ostream &os=::std::cout) const
380 const sc_int_subref_r &operator = (const sc_int_subref_r &);
383 inline ::std::ostream &operator << (::std::ostream &, const sc_int_subref_r &);
403 sc_int_subref(const sc_int_subref &a) : sc_int_subref_r(a) {}
407 sc_int_subref &operator = (const sc_int_base &a);
410 operator = (const sc_int_subref_r &a)
416 operator = (const sc_int_subref &a)
423 operator = (const sc_generic_base<T> &a)
428 sc_int_subref &operator = (const char *a);
466 sc_int_subref &operator = (const sc_signed &);
467 sc_int_subref &operator = (const sc_unsigned &);
468 sc_int_subref &operator = (const sc_bv_base &);
469 sc_int_subref &operator = (const sc_lv_base &);
473 virtual void concat_set(const sc_signed &src, int low_i);
474 virtual void concat_set(const sc_unsigned &src, int low_i);
503 void invalid_length() const;
504 void invalid_index(int i) const;
505 void invalid_range(int l, int r) const;
508 check_length() const
516 check_index(int i) const
524 check_range(int l, int r) const
531 void check_value() const;
558 sc_int_base(const sc_int_base &a) :
562 explicit sc_int_base(const sc_int_subref_r &a) :
569 explicit sc_int_base(const sc_generic_base<T> &a) :
576 explicit sc_int_base(const sc_signed &a);
577 explicit sc_int_base(const sc_unsigned &a);
578 explicit sc_int_base(const sc_bv_base &v);
579 explicit sc_int_base(const sc_lv_base &v);
580 explicit sc_int_base(const sc_uint_subref_r &v);
581 explicit sc_int_base(const sc_signed_subref_r &v);
582 explicit sc_int_base(const sc_unsigned_subref_r &v);
598 operator = (const sc_int_base &a)
606 operator = (const sc_int_subref_r &a)
615 operator = (const sc_generic_base<T> &a)
622 sc_int_base &operator = (const sc_signed &a);
623 sc_int_base &operator = (const sc_unsigned &a);
625 sc_int_base &operator = (const sc_fxval &a);
626 sc_int_base &operator = (const sc_fxval_fast &a);
627 sc_int_base &operator = (const sc_fxnum &a);
628 sc_int_base &operator = (const sc_fxnum_fast &a);
630 sc_int_base &operator = (const sc_bv_base &a);
631 sc_int_base &operator = (const sc_lv_base &a);
633 sc_int_base &operator = (const char *a);
777 const sc_int_base
794 const sc_int_base
806 operator == (const sc_int_base &a, const sc_int_base &b)
812 operator != (const sc_int_base &a, const sc_int_base &b)
818 operator < (const sc_int_base &a, const sc_int_base &b)
824 operator <= (const sc_int_base &a, const sc_int_base &b)
830 operator > (const sc_int_base &a, const sc_int_base &b)
836 operator >= (const sc_int_base &a, const sc_int_base &b)
844 const sc_int_bitref_r &operator [] (int i) const;
847 const sc_int_bitref_r &bit(int i) const;
852 const sc_int_subref_r &operator () (int left, int right) const;
855 const sc_int_subref_r &range(int left, int right) const;
859 bool test(int i) const { return (0 != (m_val & (UINT_ONE << i))); }
870 int length() const { return m_len; }
874 concat_length(bool* xz_present_p) const
880 virtual bool concat_get_ctrl( sc_digit* dst_p, int low_i ) const;
881 virtual bool concat_get_data( sc_digit* dst_p, int low_i ) const;
883 concat_get_uint64() const
891 virtual void concat_set(const sc_signed &src, int low_i);
892 virtual void concat_set(const sc_unsigned &src, int low_i);
897 bool and_reduce() const;
898 bool nand_reduce() const { return !and_reduce(); }
899 bool or_reduce() const;
900 bool nor_reduce() const { return !or_reduce(); }
901 bool xor_reduce() const;
902 bool xnor_reduce() const { return !xor_reduce(); }
906 operator int_type() const { return m_val; }
910 int_type value() const { return operator int_type(); }
911 int to_int() const { return (int)m_val; }
912 unsigned int to_uint() const { return (unsigned int)m_val; }
913 long to_long() const { return (long)m_val; }
914 unsigned long to_ulong() const { return (unsigned long)m_val; }
915 int64 to_int64() const { return (int64)m_val; }
916 uint64 to_uint64() const { return (uint64)m_val; }
917 double to_double() const { return (double)m_val; }
918 long long_low() const { return (long)(m_val & UINT64_32ONES); }
919 long long_high() const { return (long)((m_val >> 32) & UINT64_32ONES); }
923 const std::string to_string(sc_numrep numrep=SC_DEC) const;
924 const std::string to_string(sc_numrep numrep, bool w_prefix) const;
929 print(::std::ostream &os=::std::cout) const
942 inline ::std::ostream &operator << (::std::ostream &, const sc_int_base &);
954 inline sc_int_bitref_r::operator uint64 () const
960 sc_int_bitref_r::operator ! () const
966 sc_int_bitref_r::operator ~ () const
973 operator << (::std::ostream &os, const sc_int_bitref_r &a)
989 sc_int_bitref::operator = (const sc_int_bitref_r &b)
997 sc_int_bitref::operator = (const sc_int_bitref &b)
1061 inline sc_int_subref_r::operator uint_type() const
1073 sc_int_subref_r::and_reduce() const
1080 sc_int_subref_r::or_reduce() const
1087 sc_int_subref_r::xor_reduce() const
1097 sc_int_subref_r::to_int() const
1104 sc_int_subref_r::to_uint() const
1111 sc_int_subref_r::to_long() const
1118 sc_int_subref_r::to_ulong() const
1125 sc_int_subref_r::to_int64() const
1132 sc_int_subref_r::to_uint64() const
1139 sc_int_subref_r::to_double() const
1148 inline const std::string
1149 sc_int_subref_r::to_string(sc_numrep numrep) const
1156 inline const std::string
1157 sc_int_subref_r::to_string(sc_numrep numrep, bool w_prefix) const
1168 and_reduce(const sc_int_subref_r &a)
1174 nand_reduce(const sc_int_subref_r &a)
1180 or_reduce(const sc_int_subref_r &a)
1186 nor_reduce(const sc_int_subref_r &a)
1192 xor_reduce(const sc_int_subref_r &a)
1198 xnor_reduce(const sc_int_subref_r &a)
1206 operator << (::std::ostream &os, const sc_int_subref_r &a)
1222 sc_int_subref::operator = (const sc_int_base &a)
1228 sc_int_subref::operator = (const char *a)
1261 inline const sc_int_bitref_r &
1262 sc_int_base::operator [] (int i) const
1280 inline const sc_int_bitref_r &
1281 sc_int_base::bit(int i) const
1301 inline const sc_int_subref_r &
1302 sc_int_base::operator () (int left, int right) const
1320 inline const sc_int_subref_r &
1321 sc_int_base::range(int left, int right) const
1333 and_reduce(const sc_int_base &a)
1339 nand_reduce(const sc_int_base &a)
1345 or_reduce(const sc_int_base &a)
1351 nor_reduce(const sc_int_base &a)
1357 xor_reduce(const sc_int_base &a)
1363 xnor_reduce(const sc_int_base &a)
1371 operator << (::std::ostream &os, const sc_int_base &a)