Lines Matching defs:const

71     explicit operator bool() const
73 return static_cast<const sc_bitref_r<T> &>(*this).to_bool();
79 operator ! () const
81 return !static_cast<const sc_bitref_r<T> &>(*this).to_bool();
104 sc_bitref_r(const T &obj_, int index_) :
109 sc_bitref_r(const sc_bitref_r<T> &a) : m_obj(a.m_obj), m_index(a.m_index)
113 sc_bitref_r<T> *clone() const { return new sc_bitref_r<T>(*this); }
119 operator ~ () const
125 operator bit_type() const { return bit_type(m_obj.get_bit(m_index)); }
128 value_type value() const { return m_obj.get_bit(m_index); }
129 bool is_01() const { return sc_logic(value()).is_01(); }
130 bool to_bool() const { return sc_logic(value()).to_bool(); }
131 char to_char() const { return sc_logic(value()).to_char(); }
134 int length() const { return 1; }
135 int size() const { return ((length() - 1) / SC_DIGIT_SIZE + 1); }
137 value_type get_bit(int n) const;
139 sc_digit get_word(int i) const;
140 sc_digit get_cword(int i) const;
143 void print(::std::ostream &os=::std::cout) const { os << to_char(); }
152 sc_bitref_r<T> &operator = (const sc_bitref_r<T> &);
160 const sc_bitref_r<T1> &a, const sc_bitref_r<T2> &b);
166 const sc_bitref_r<T1> &a, const sc_bitref_r<T2> &b);
171 const sc_bitref_r<T1> &a, const sc_bitref_r<T2> &b);
175 inline bool operator == (const sc_bitref_r<T1> &a, const sc_bitref_r<T2> &b);
178 inline bool operator != (const sc_bitref_r<T1> &a, const sc_bitref_r<T2> &b);
195 sc_bitref_r<T1>, const sc_proxy<T2> &);
199 sc_bitref_r<T>, const char *);
203 const char *, sc_bitref_r<T>);
207 sc_bitref_r<T>, const sc_logic &);
211 const sc_logic &, sc_bitref_r<T>);
236 sc_bitref_r<T1>, const sc_proxy<T2> &);
240 sc_bitref_r<T>, const char *);
244 const char *, sc_bitref_r<T>);
248 sc_bitref_r<T>, const sc_logic &);
252 const sc_logic &, sc_bitref_r<T>);
289 sc_bitref<T1>, const sc_proxy<T2> &);
297 sc_bitref<T>, const char *);
301 const char *, sc_bitref<T>);
305 sc_bitref<T>, const sc_logic &);
309 const sc_logic &, sc_bitref<T>);
346 sc_bitref<T1>, const sc_proxy<T2> &);
354 sc_bitref<T>, const char *);
358 const char *, sc_bitref<T>);
362 sc_bitref<T>, const sc_logic &);
366 const sc_logic &, sc_bitref<T>);
394 sc_bitref(const sc_bitref<X> &a) : sc_bitref_r<X>(a) {}
397 sc_bitref<X> *clone() const { return new sc_bitref<X>(*this); }
400 sc_bitref<X> &operator = (const sc_bitref_r<X> &a);
401 sc_bitref<X> &operator = (const sc_bitref<X> &a);
404 operator = (const sc_logic &a)
439 operator = (const sc_bit &a)
446 sc_bitref<X> &operator &= (const sc_bitref_r<X> &a);
447 sc_bitref<X> &operator &= (const sc_logic &a);
477 sc_bitref<X> &operator |= (const sc_bitref_r<X> &a);
478 sc_bitref<X> &operator |= (const sc_logic &a);
508 sc_bitref<X> &operator ^= (const sc_bitref_r<X> &a);
509 sc_bitref<X> &operator ^= (const sc_logic &a);
615 sc_subref_r(const X &obj_, int hi_, int lo_) :
620 sc_subref_r(const sc_subref_r<X> &a) :
625 sc_subref_r<X> *clone() const { return new sc_subref_r<X>(*this); }
628 int length() const { return m_len; }
630 int size() const { return ((length() - 1) / SC_DIGIT_SIZE + 1); }
632 value_type get_bit(int n) const;
635 sc_digit get_word(int i) const;
638 sc_digit get_cword(int i) const;
644 bool is_01() const;
645 bool reversed() const { return m_lo > m_hi; }
656 sc_subref_r<X> &operator = (const sc_subref_r<X> &);
676 sc_subref_r<T1>, const sc_proxy<T2> &);
680 sc_subref_r<T>, const char *);
684 const char *, sc_subref_r<T>);
688 sc_subref_r<T>, const sc_logic &);
692 const sc_logic &, sc_subref_r<T>);
717 sc_subref_r<T1>, const sc_proxy<T2> &);
721 sc_subref_r<T>, const char *);
725 const char *, sc_subref_r<T>);
729 sc_subref_r<T>, const sc_logic &);
733 const sc_logic &, sc_subref_r<T>);
768 sc_subref<T1>, const sc_proxy<T2> &);
776 sc_subref<T>, const char *);
780 const char *, sc_subref<T>);
784 sc_subref<T>, const sc_logic &);
788 const sc_logic &, sc_subref<T>);
825 sc_subref<T1>, const sc_proxy<T2> &);
833 sc_subref<T>, const char *);
837 const char *, sc_subref<T>);
841 sc_subref<T>, const sc_logic &);
845 const sc_logic &, sc_subref<T>);
871 sc_subref(const sc_subref<X> &a) : sc_subref_r<X>(a) {}
874 sc_subref<X> *clone() const { return new sc_subref<X>(*this); }
879 operator = (const sc_proxy<Y> &a)
885 sc_subref<X> &operator = (const sc_subref_r<X> &a);
886 sc_subref<X> &operator = (const sc_subref<X> &a);
889 operator = (const char *a)
896 operator = (const bool *a)
903 operator = (const sc_logic *a)
910 operator = (const sc_unsigned &a)
917 operator = (const sc_signed &a)
924 operator = (const sc_uint_base &a)
931 operator = (const sc_int_base &a)
1040 sc_concref_r(const X &left_, const Y &right_, int delete_=0) :
1046 sc_concref_r(const sc_concref_r<X, Y> &a) :
1055 sc_concref_r<X, Y> *clone() const { return new sc_concref_r<X, Y>(*this); }
1058 int length() const { return (m_left.length() + m_right.length()); }
1060 int size() const { return ((length() - 1) / SC_DIGIT_SIZE + 1); }
1062 value_type get_bit(int n) const;
1065 sc_digit get_word(int i) const;
1068 sc_digit get_cword(int i) const;
1074 bool is_01() const { return (m_left.is_01() && m_right.is_01()); }
1085 sc_concref_r<X, Y> &operator = (const sc_concref_r<X, Y> &);
1105 sc_concref_r<T1, T2>, const sc_proxy<T3> &);
1109 sc_concref_r<T1, T2>, const char *);
1113 const char *, sc_concref_r<T1, T2>);
1117 sc_concref_r<T1, T2>, const sc_logic &);
1121 const sc_logic &, sc_concref_r<T1, T2>);
1146 sc_concref_r<T1, T2>, const sc_proxy<T3> &);
1150 sc_concref_r<T1, T2>, const char *);
1154 const char *, sc_concref_r<T1, T2>);
1158 sc_concref_r<T1, T2>, const sc_logic &);
1162 const sc_logic &, sc_concref_r<T1, T2>);
1199 sc_concref<T1, T2>, const sc_proxy<T3> &);
1207 sc_concref<T1, T2>, const char *);
1211 const char *, sc_concref<T1, T2>);
1215 sc_concref<T1, T2>, const sc_logic &);
1219 const sc_logic &, sc_concref<T1, T2>);
1256 sc_concref<T1, T2>, const sc_proxy<T3> &);
1264 sc_concref<T1, T2>, const char *);
1268 const char *, sc_concref<T1, T2>);
1272 sc_concref<T1, T2>, const sc_logic &);
1276 const sc_logic &, sc_concref<T1, T2>);
1306 sc_concref(const sc_concref<X, Y> &a) : sc_concref_r<X, Y>(a) {}
1309 sc_concref<X, Y> *clone() const { return new sc_concref<X, Y>(*this); }
1314 operator = (const sc_proxy<Z> &a)
1321 operator = (const sc_concref<X, Y> &a)
1328 operator = (const char *a)
1335 operator = (const bool *a)
1342 operator = (const sc_logic *a)
1349 operator = (const sc_unsigned &a)
1356 operator = (const sc_signed &a)
1363 operator = (const sc_uint_base &a)
1370 operator = (const sc_int_base &a)
1478 const sc_proxy<T1> &, sc_bitref_r<T2>);
1482 const sc_proxy<T1> &, sc_subref_r<T2>);
1486 const sc_proxy<T1> &, sc_concref_r<T2, T3>);
1490 const sc_proxy<T1> &, const sc_proxy<T2> &);
1494 const sc_proxy<T> &, const char *);
1498 const char *, const sc_proxy<T> &);
1502 const sc_proxy<T> &, const sc_logic &);
1506 const sc_logic &, const sc_proxy<T> &);
1509 inline sc_concref_r<T, sc_bv_base> operator , (const sc_proxy<T> &, bool);
1512 inline sc_concref_r<sc_bv_base, T> operator , (bool, const sc_proxy<T> &);
1517 const sc_proxy<T1> &, sc_bitref_r<T2>);
1521 const sc_proxy<T1> &, sc_subref_r<T2>);
1525 const sc_proxy<T1> &, sc_concref_r<T2, T3>);
1528 inline sc_concref_r<T1, T2> concat(const sc_proxy<T1> &, const sc_proxy<T2> &);
1531 inline sc_concref_r<T, sc_lv_base> concat(const sc_proxy<T> &, const char *);
1534 inline sc_concref_r<sc_lv_base, T> concat(const char *, const sc_proxy<T> &);
1538 const sc_proxy<T> &, const sc_logic &);
1542 const sc_logic &, const sc_proxy<T> &);
1545 inline sc_concref_r<T, sc_bv_base> concat(const sc_proxy<T> &, bool);
1548 inline sc_concref_r<sc_bv_base, T> concat(bool, const sc_proxy<T> &);
1553 const sc_proxy<T1> &, sc_bitref<T2>);
1561 const sc_proxy<T1> &, sc_subref<T2>);
1569 const sc_proxy<T1> &, sc_concref<T2, T3>);
1576 inline sc_concref_r<T1, T2> operator , (const sc_proxy<T1> &, sc_proxy<T2> &);
1579 inline sc_concref_r<T1, T2> operator , (sc_proxy<T1> &, const sc_proxy<T2> &);
1582 inline sc_concref_r<T, sc_lv_base> operator , (sc_proxy<T> &, const char *);
1585 inline sc_concref_r<sc_lv_base, T> operator , (const char *, sc_proxy<T> &);
1589 sc_proxy<T> &, const sc_logic &);
1593 const sc_logic &, sc_proxy<T> &);
1604 const sc_proxy<T1> &, sc_bitref<T2>);
1612 const sc_proxy<T1> &, sc_subref<T2>);
1620 const sc_proxy<T1> &, sc_concref<T2, T3>);
1627 inline sc_concref_r<T1, T2> concat(const sc_proxy<T1> &, sc_proxy<T2> &);
1630 inline sc_concref_r<T1, T2> concat(sc_proxy<T1> &, const sc_proxy<T2> &);
1633 inline sc_concref_r<T, sc_lv_base> concat(sc_proxy<T> &, const char *);
1636 inline sc_concref_r<sc_lv_base, T> concat(const char *, sc_proxy<T> &);
1639 inline sc_concref_r<T, sc_lv_base> concat(sc_proxy<T> &, const sc_logic &);
1642 inline sc_concref_r<sc_lv_base, T> concat(const sc_logic &, sc_proxy<T> &);
1695 operator & (const sc_bitref_r<T1> &a, const sc_bitref_r<T2> &b)
1703 operator | (const sc_bitref_r<T1> &a, const sc_bitref_r<T2> &b)
1711 operator ^ (const sc_bitref_r<T1> &a, const sc_bitref_r<T2> &b)
1719 operator == (const sc_bitref_r<T1> &a, const sc_bitref_r<T2> &b)
1726 operator != (const sc_bitref_r<T1> &a, const sc_bitref_r<T2> &b)
1734 sc_bitref_r<T>::get_bit(int n) const
1746 sc_bitref_r<T>::get_word(int n) const
1758 sc_bitref_r<T>::get_cword(int n) const
1795 operator , (sc_bitref_r<T1> a, const sc_proxy<T2> &b)
1829 concat(sc_bitref_r<T1> a, const sc_proxy<T2> &b)
1886 operator , (sc_bitref<T1> a, const sc_proxy<T2> &b)
1951 concat(sc_bitref<T1> a, const sc_proxy<T2> &b)
1973 sc_bitref<X>::operator = (const sc_bitref_r<X> &a)
1981 sc_bitref<X>::operator = (const sc_bitref<X> &a)
1993 sc_bitref<X>::operator &= (const sc_bitref_r<X> &a)
2004 sc_bitref<X>::operator &= (const sc_logic &a)
2014 sc_bitref<X>::operator |= (const sc_bitref_r<X> &a)
2025 sc_bitref<X>::operator |= (const sc_logic &a)
2035 sc_bitref<X>::operator ^= (const sc_bitref_r<X> &a)
2046 sc_bitref<X>::operator ^= (const sc_logic &a)
2216 sc_subref_r<X>::get_bit(int n) const
2238 sc_subref_r<X>::get_word(int i) const
2289 sc_subref_r<X>::get_cword(int i) const
2340 sc_subref_r<X>::is_01() const
2378 operator , (sc_subref_r<T1> a, const sc_proxy<T2> &b)
2411 concat(sc_subref_r<T1> a, const sc_proxy<T2> &b)
2468 operator , (sc_subref<T1> a, const sc_proxy<T2> &b)
2531 concat(sc_subref<T1> a, const sc_proxy<T2> &b)
2551 // sc_subref<X>::operator = ( const sc_subref_r<X>& ) in sc_lv_base.h
2552 // sc_subref<X>::operator = ( const sc_subref<X>& ) in sc_lv_base.h
2664 sc_concref_r<X, Y>::get_bit(int n) const
2693 sc_concref_r<X, Y>::get_word(int i) const
2766 sc_concref_r<X, Y>::get_cword(int i) const
2864 operator , (sc_concref_r<T1, T2> a, const sc_proxy<T3> &b)
2897 concat(sc_concref_r<T1, T2> a, const sc_proxy<T3> &b)
2955 operator , (sc_concref<T1, T2> a, const sc_proxy<T3> &b)
3020 concat(sc_concref<T1, T2> a, const sc_proxy<T3> &b)
3137 operator , (const sc_proxy<T1> &a, sc_bitref_r<T2> b)
3145 operator , (const sc_proxy<T1> &a, sc_subref_r<T2> b)
3153 operator , (const sc_proxy<T1> &a, sc_concref_r<T2, T3> b)
3161 operator , (const sc_proxy<T1> &a, const sc_proxy<T2> &b)
3169 concat(const sc_proxy<T1> &a, sc_bitref_r<T2> b)
3176 concat(const sc_proxy<T1> &a, sc_subref_r<T2> b)
3183 concat(const sc_proxy<T1> &a, sc_concref_r<T2, T3> b )
3191 concat(const sc_proxy<T1> &a, const sc_proxy<T2> &b)
3199 operator , (const sc_proxy<T1> &a, sc_bitref<T2> b)
3213 operator , (const sc_proxy<T1> &a, sc_subref<T2> b)
3227 operator , (const sc_proxy<T1> &a, sc_concref<T2, T3> b)
3243 operator , (const sc_proxy<T1> &a, sc_proxy<T2> &b)
3250 operator , (sc_proxy<T1> &a, const sc_proxy<T2> &b)
3258 concat(const sc_proxy<T1> &a, sc_bitref<T2> b)
3272 concat(const sc_proxy<T1> &a, sc_subref<T2> b)
3286 concat(const sc_proxy<T1> &a, sc_concref<T2, T3> b)
3302 concat(const sc_proxy<T1> &a, sc_proxy<T2> &b)
3309 concat(sc_proxy<T1> &a, const sc_proxy<T2> &b)