Lines Matching defs:sc_proxy
22 sc_proxy.h -- Proxy base class for vector data types.
46 // $Log: sc_proxy.h,v $
80 class sc_proxy;
109 inline void assign_p_(sc_proxy<X> &px, const sc_proxy<Y> &py);
111 // Vector types that are not derived from sc_proxy must have a length()
115 inline void assign_v_(sc_proxy<X> &px, const T &a);
125 // sc_proxy-based vector classes.
165 struct sc_proxy_traits<sc_proxy<X> > : sc_proxy_traits<X> {};
189 // CLASS TEMPLATE : sc_proxy
196 class sc_proxy // #### : public sc_value_base
204 virtual ~sc_proxy() {}
214 assign_(const sc_proxy<Y> &a)
475 inline X &operator &= (sc_proxy<X> &px, const sc_proxy<Y> &py);
480 const sc_proxy<X> &px, const sc_proxy<Y> &py);
485 inline const sc_lv_base operator & (tp b, const sc_proxy<X> &px);
505 inline X &operator |= (sc_proxy<X> &px, const sc_proxy<Y> &py);
509 const sc_proxy<X> &px, const sc_proxy<Y> &py);
514 inline const sc_lv_base operator | (tp a, const sc_proxy<X> &px);
534 inline X &operator ^= (sc_proxy<X> &px, const sc_proxy<Y> &py);
538 const sc_proxy<X> &px, const sc_proxy<Y> &py);
542 inline const sc_lv_base operator ^ (tp a, const sc_proxy<X> &px);
562 inline bool operator == (const sc_proxy<X> &px, const sc_proxy<Y> &py);
565 inline bool operator != (const sc_proxy<X> &px, const sc_proxy<Y> &py);
569 inline bool operator == (tp b, const sc_proxy<X> &px); \
572 inline bool operator != (const sc_proxy<X> &px, tp b); \
575 inline bool operator != (tp b, const sc_proxy<X> &px);
632 assign_p_(sc_proxy<X> &px, const sc_proxy<Y> &py)
649 // Vector types that are not derived from sc_proxy, sc_int_base,
657 assign_v_(sc_proxy<X> &px, const T &a)
675 assign_v_(sc_proxy<X> &px, const sc_int_base &a)
693 assign_v_(sc_proxy<X> &px, const sc_signed &a)
712 assign_v_(sc_proxy<X> &px, const sc_uint_base &a)
730 assign_v_(sc_proxy<X> &px, const sc_unsigned &a)
749 sc_proxy<X>::assign_(const char *a)
772 sc_proxy<X>::assign_(const bool *a)
785 sc_proxy<X>::assign_(const sc_logic *a)
798 sc_proxy<X>::assign_(unsigned int a)
810 sc_proxy<X>::assign_(int a)
823 sc_proxy<X>::assign_(unsigned long a)
839 sc_proxy<X>::assign_(long a)
858 sc_proxy<X>::assign_(unsigned long a)
870 sc_proxy<X>::assign_(long a)
884 sc_proxy<X>::assign_(uint64 a)
900 sc_proxy<X>::assign_(int64 a)
920 sc_proxy<X>::b_not()
936 b_and_assign_(sc_proxy<X> &px, const sc_proxy<Y> &py)
957 b_or_assign_(sc_proxy<X> &px, const sc_proxy<Y> &py)
978 b_xor_assign_(sc_proxy<X> &a, const sc_proxy<Y> &b)
999 sc_proxy<X>::operator <<= (int n)
1049 sc_proxy<X>::operator >>= (int n)
1098 inline const sc_lv_base lrotate(const sc_proxy<X> &x, int n);
1102 inline const sc_lv_base rrotate(const sc_proxy<X>& x, int n);
1107 sc_proxy<X>::reverse()
1121 inline const sc_lv_base reverse(const sc_proxy<X> &a);
1125 inline typename sc_proxy<X>::value_type
1126 sc_proxy<X>::and_reduce() const
1138 inline typename sc_proxy<X>::value_type
1139 sc_proxy<X>::or_reduce() const
1151 inline typename sc_proxy<X>::value_type
1152 sc_proxy<X>::xor_reduce() const
1166 operator != (const sc_proxy<X> &px, const sc_proxy<Y> &py)
1174 inline bool operator == (tp b, const sc_proxy<X> &px) { return (px == b); } \
1177 inline bool operator != (const sc_proxy<X> &px, tp b) { return !(px == b); } \
1180 inline bool operator != (tp b, const sc_proxy<X> &px) { return !(px == b); }
1201 sc_proxy<X>::to_string() const
1214 sc_proxy<X>::to_string(sc_numrep numrep) const
1221 sc_proxy<X>::to_string(sc_numrep numrep, bool w_prefix) const
1229 sc_proxy<X>::scan(::std::istream &is)
1238 sc_proxy<X>::check_bounds(int n) const // check if bit n accessible
1248 sc_proxy<X>::check_wbounds(int n) const // check if word n accessible
1258 sc_proxy<X>::to_anything_unsigned() const
1276 sc_proxy<X>::to_uint64() const
1302 sc_proxy<X>::to_anything_signed() const
1334 inline typename sc_proxy<X>::value_type
1335 and_reduce(const sc_proxy<X> &a)
1341 inline typename sc_proxy<X>::value_type
1342 nand_reduce(const sc_proxy<X> &a)
1348 inline typename sc_proxy<X>::value_type
1349 or_reduce(const sc_proxy<X> &a)
1355 inline typename sc_proxy<X>::value_type
1356 nor_reduce(const sc_proxy<X> &a)
1362 inline typename sc_proxy<X>::value_type
1363 xor_reduce(const sc_proxy<X> &a)
1369 inline typename sc_proxy<X>::value_type
1370 xnor_reduce(const sc_proxy<X> &a)
1379 operator << (::std::ostream &os, const sc_proxy<X> &a)
1387 operator >> (::std::istream &is, sc_proxy<X> &a)