Lines Matching defs:const

139     initialize(const sc_value_base &left, const sc_value_base &right)
155 unsigned int length() const { return m_len; }
159 concat_length(bool *xz_present_p) const
174 concat_get_ctrl(sc_digit *dst_p, int low_i) const
182 concat_get_data(sc_digit *dst_p, int low_i) const
190 concat_get_uint64() const
208 concat_set(const sc_signed &src, int low_i)
215 concat_set(const sc_unsigned &src, int low_i)
230 to_uint64() const
248 const sc_unsigned &
249 value() const
269 int64 to_int64() const { return (int64)to_uint64(); }
270 int to_int() const { return (int)to_int64(); }
271 unsigned int to_uint() const { return (unsigned int)to_uint64(); }
272 long to_long() const { return (long)to_int64(); }
273 unsigned long to_ulong() const { return (unsigned long)to_uint64(); }
274 double to_double() const { return value().to_double(); }
276 void to_sc_signed(sc_signed &target) const { target = value(); }
278 void to_sc_unsigned(sc_unsigned &target) const { target = value(); }
281 operator uint64 () const { return to_uint64(); }
283 operator const sc_unsigned & () const { return value(); }
286 sc_unsigned operator + () const { return value(); }
288 sc_signed operator - () const { return -value(); }
290 sc_unsigned operator ~ () const { return ~value(); }
293 const std::string
294 to_string(sc_numrep numrep=SC_DEC) const
299 const std::string
300 to_string(sc_numrep numrep, bool w_prefix) const
306 inline const sc_concatref &
314 inline const sc_concatref &
322 inline const sc_concatref &
330 inline const sc_concatref &
338 inline const sc_concatref &
346 inline const sc_concatref &
354 const sc_concatref &
355 operator = (const sc_concatref &v)
364 const sc_concatref &
365 operator = (const sc_signed &v)
372 const sc_concatref &
373 operator = (const sc_unsigned &v)
380 const sc_concatref &
381 operator = (const char *v_p)
390 const sc_concatref &
391 operator = (const sc_bv_base &v)
400 const sc_concatref &
401 operator = (const sc_lv_base &v)
411 bool and_reduce() const { return value().and_reduce(); }
412 bool nand_reduce() const { return value().nand_reduce(); }
413 bool or_reduce() const { return value().or_reduce(); }
414 bool nor_reduce() const { return value().nor_reduce(); }
415 bool xor_reduce() const { return value().xor_reduce(); }
416 bool xnor_reduce() const { return value().xnor_reduce(); }
419 void print(::std::ostream &os=::std::cout) const { os << this->value(); }
447 sc_concatref(const sc_concatref &);
453 inline bool and_reduce(const sc_concatref &a) { return a.and_reduce(); }
454 inline bool nand_reduce(const sc_concatref &a) { return a.nand_reduce(); }
455 inline bool or_reduce(const sc_concatref &a) { return a.or_reduce(); }
456 inline bool nor_reduce(const sc_concatref &a) { return a.nor_reduce(); }
457 inline bool xor_reduce(const sc_concatref &a) { return a.xor_reduce(); }
458 inline bool xnor_reduce(const sc_concatref &a) { return a.xnor_reduce(); }
467 inline const sc_unsigned
468 operator << (const sc_concatref &target, uint64 shift)
473 inline const sc_unsigned
474 operator << (const sc_concatref &target, int64 shift)
479 inline const sc_unsigned
480 operator << (const sc_concatref &target, unsigned long shift)
485 inline const sc_unsigned
486 operator << (const sc_concatref &target, int shift)
491 inline const sc_unsigned
492 operator << (const sc_concatref &target, unsigned int shift)
497 inline const sc_unsigned
498 operator << (const sc_concatref &target, long shift)
503 inline const sc_unsigned
504 operator >> (const sc_concatref &target, uint64 shift)
509 inline const sc_unsigned
510 operator >> (const sc_concatref &target, int64 shift)
515 inline const sc_unsigned
516 operator >> (const sc_concatref &target, unsigned long shift)
521 inline const sc_unsigned
522 operator >> (const sc_concatref &target, int shift)
527 inline const sc_unsigned
528 operator >> (const sc_concatref &target, unsigned int shift)
533 inline const sc_unsigned
534 operator >> (const sc_concatref &target, long shift)
541 operator << (::std::ostream &os, const sc_concatref &v)
586 concat_length(bool *xz_present_p) const
594 concat_get_ctrl(sc_digit *dst_p, int low_i) const
603 concat_get_data(sc_digit *dst_p, int low_i) const
615 concat_get_uint64() const
628 operator OP (const sc_concatref &a, OTHER_TYPE b) \
633 operator OP (OTHER_TYPE a, const sc_concatref &b) \
641 operator OP (const sc_concatref &a, const sc_concatref &b) \
645 SC_CONCAT_OP_TYPE(const sc_signed, OP, int) \
646 SC_CONCAT_OP_TYPE(const sc_signed, OP, long) \
647 SC_CONCAT_OP_TYPE(const sc_signed, OP, int64) \
651 SC_CONCAT_OP_TYPE(const sc_signed, OP, const sc_int_base &) \
652 SC_CONCAT_OP_TYPE(RESULT, OP, const sc_uint_base &) \
653 SC_CONCAT_OP_TYPE(const sc_signed, OP, const sc_signed &) \
654 SC_CONCAT_OP_TYPE(RESULT, OP, const sc_unsigned &) \
656 operator OP (const sc_concatref &a, bool b) \
661 operator OP (bool a, const sc_concatref &b) \
668 operator OP (const sc_concatref &a, const sc_concatref &b) \
678 SC_CONCAT_OP_TYPE(bool, OP, const sc_int_base &) \
679 SC_CONCAT_OP_TYPE(bool, OP, const sc_uint_base &) \
680 SC_CONCAT_OP_TYPE(bool, OP, const sc_signed &) \
681 SC_CONCAT_OP_TYPE(bool, OP, const sc_unsigned &) \
683 operator OP (const sc_concatref &a, bool b) \
688 operator OP (bool a, const sc_concatref &b) \
693 SC_CONCAT_OP(const sc_unsigned, +)
694 SC_CONCAT_OP(const sc_signed, -)
695 SC_CONCAT_OP(const sc_unsigned, *)
696 SC_CONCAT_OP(const sc_unsigned, /)
697 SC_CONCAT_OP(const sc_unsigned, %)
698 SC_CONCAT_OP(const sc_unsigned, &)
699 SC_CONCAT_OP(const sc_unsigned, |)
700 SC_CONCAT_OP(const sc_unsigned, ^)
726 inline const sc_dt::sc_concatref &
727 concat(const sc_dt::sc_value_base &a, const sc_dt::sc_value_base &b)
736 inline const sc_dt::sc_concatref &
737 concat(const sc_dt::sc_value_base &a, bool b)
739 const sc_dt::sc_concat_bool *b_p; // Proxy for boolean value.
748 inline const sc_dt::sc_concatref &
749 concat(bool a, const sc_dt::sc_value_base &b)
751 const sc_dt::sc_concat_bool *a_p; // Proxy for boolean value.
770 inline const sc_dt::sc_concatref &
771 operator , (const sc_dt::sc_value_base &a, const sc_dt::sc_value_base &b)
780 inline const sc_dt::sc_concatref &
781 operator , (const sc_dt::sc_value_base &a, bool b)
783 const sc_dt::sc_concat_bool *b_p; // Proxy for boolean value.
792 inline const sc_dt::sc_concatref &
793 operator , (bool a, const sc_dt::sc_value_base &b)
795 const sc_dt::sc_concat_bool *a_p; // Proxy for boolean value.