116 class sc_unsigned_bitref_r;
117 class sc_unsigned_bitref;
118 class sc_unsigned_subref_r;
119 class sc_unsigned_subref;
128 class sc_int_subref_r;
129 class sc_uint_subref_r;
131 class sc_signed_subref_r;
224 sc_signed
operator + (
const sc_unsigned& u,
const sc_signed& v);
225 sc_signed
operator + (
const sc_signed& u,
const sc_unsigned& v);
227 sc_unsigned
operator + (
const sc_unsigned& u,
const sc_unsigned& v);
230 sc_signed
operator + (
const sc_unsigned& u,
long v);
231 sc_unsigned
operator + (
const sc_unsigned& u,
unsigned long v);
232 sc_signed
operator + (
const sc_unsigned& u,
int v);
233 inline sc_unsigned
operator + (
const sc_unsigned& u,
unsigned int v);
237 sc_signed
operator + (
long u,
const sc_unsigned& v);
238 sc_unsigned
operator + (
unsigned long u,
const sc_unsigned& v);
239 sc_signed
operator + (
int u,
const sc_unsigned& v);
240 inline sc_unsigned
operator + (
unsigned int u,
const sc_unsigned& v);
242 sc_unsigned
operator + (
const sc_unsigned& u,
const sc_uint_base& v);
243 sc_signed
operator + (
const sc_unsigned& u,
const sc_int_base& v);
244 sc_unsigned
operator + (
const sc_uint_base& u,
const sc_unsigned& v);
245 sc_signed
operator + (
const sc_int_base& u,
const sc_unsigned& v);
249 sc_signed
operator - (
const sc_unsigned& u,
const sc_signed& v);
250 sc_signed
operator - (
const sc_signed& u,
const sc_unsigned& v);
252 sc_signed
operator - (
const sc_unsigned& u,
const sc_unsigned& v);
255 sc_signed
operator - (
const sc_unsigned& u,
long v);
256 sc_signed
operator - (
const sc_unsigned& u,
unsigned long v);
257 sc_signed
operator - (
const sc_unsigned& u,
int v);
258 sc_signed
operator - (
const sc_unsigned& u,
unsigned int v);
262 sc_signed
operator - (
long u,
const sc_unsigned& v);
263 sc_signed
operator - (
unsigned long u,
const sc_unsigned& v);
264 sc_signed
operator - (
int u,
const sc_unsigned& v);
265 sc_signed
operator - (
unsigned int u,
const sc_unsigned& v);
267 sc_signed
operator - (
const sc_unsigned& u,
const sc_uint_base& v);
268 sc_signed
operator - (
const sc_unsigned& u,
const sc_int_base& v);
269 sc_signed
operator - (
const sc_uint_base& u,
const sc_unsigned& v);
270 sc_signed
operator - (
const sc_int_base& u,
const sc_unsigned& v);
274 sc_signed
operator * (
const sc_unsigned& u,
const sc_signed& v);
275 sc_signed
operator * (
const sc_signed& u,
const sc_unsigned& v);
277 sc_unsigned
operator * (
const sc_unsigned& u,
const sc_unsigned& v);
280 sc_signed
operator * (
const sc_unsigned& u,
long v);
281 sc_unsigned
operator * (
const sc_unsigned& u,
unsigned long v);
282 sc_signed
operator * (
const sc_unsigned& u,
int v);
283 inline sc_unsigned
operator * (
const sc_unsigned& u,
unsigned int v);
287 sc_signed
operator * (
long u,
const sc_unsigned& v);
288 sc_unsigned
operator * (
unsigned long u,
const sc_unsigned& v);
289 sc_signed
operator * (
int u,
const sc_unsigned& v);
290 inline sc_unsigned
operator * (
unsigned int u,
const sc_unsigned& v);
292 sc_unsigned
operator * (
const sc_unsigned& u,
const sc_uint_base& v);
293 sc_signed
operator * (
const sc_unsigned& u,
const sc_int_base& v);
294 sc_unsigned
operator * (
const sc_uint_base& u,
const sc_unsigned& v);
295 sc_signed
operator * (
const sc_int_base& u,
const sc_unsigned& v);
299 sc_signed
operator / (
const sc_unsigned& u,
const sc_signed& v);
300 sc_signed
operator / (
const sc_signed& u,
const sc_unsigned& v);
302 sc_unsigned
operator / (
const sc_unsigned& u,
const sc_unsigned& v);
305 sc_signed
operator / (
const sc_unsigned& u,
long v);
306 sc_unsigned
operator / (
const sc_unsigned& u,
unsigned long v);
307 sc_signed
operator / (
const sc_unsigned& u,
int v);
308 inline sc_unsigned
operator / (
const sc_unsigned& u,
unsigned int v);
312 sc_signed
operator / (
long u,
const sc_unsigned& v);
313 sc_unsigned
operator / (
unsigned long u,
const sc_unsigned& v);
314 sc_signed
operator / (
int u,
const sc_unsigned& v);
315 inline sc_unsigned
operator / (
unsigned int u,
const sc_unsigned& v);
317 sc_unsigned
operator / (
const sc_unsigned& u,
const sc_uint_base& v);
318 sc_signed
operator / (
const sc_unsigned& u,
const sc_int_base& v);
319 sc_unsigned
operator / (
const sc_uint_base& u,
const sc_unsigned& v);
320 sc_signed
operator / (
const sc_int_base& u,
const sc_unsigned& v);
324 sc_signed
operator % (
const sc_unsigned& u,
const sc_signed& v);
325 sc_signed
operator % (
const sc_signed& u,
const sc_unsigned& v);
327 sc_unsigned
operator % (
const sc_unsigned& u,
const sc_unsigned& v);
330 sc_signed
operator % (
const sc_unsigned& u,
long v);
331 sc_unsigned
operator % (
const sc_unsigned& u,
unsigned long v);
332 sc_signed
operator % (
const sc_unsigned& u,
int v);
333 inline sc_unsigned
operator % (
const sc_unsigned& u,
unsigned int v);
337 sc_signed
operator % (
long u,
const sc_unsigned& v);
338 sc_unsigned
operator % (
unsigned long u,
const sc_unsigned& v);
339 sc_signed
operator % (
int u,
const sc_unsigned& v);
340 inline sc_unsigned
operator % (
unsigned int u,
const sc_unsigned& v);
342 sc_unsigned
operator % (
const sc_unsigned& u,
const sc_uint_base& v);
343 sc_signed
operator % (
const sc_unsigned& u,
const sc_int_base& v);
344 sc_unsigned
operator % (
const sc_uint_base& u,
const sc_unsigned& v);
345 sc_signed
operator % (
const sc_int_base& u,
const sc_unsigned& v);
351 sc_signed
operator & (
const sc_unsigned& u,
const sc_signed& v);
352 sc_signed
operator & (
const sc_signed& u,
const sc_unsigned& v);
354 sc_unsigned
operator & (
const sc_unsigned& u,
const sc_unsigned& v);
357 sc_signed
operator & (
const sc_unsigned& u,
long v);
358 sc_unsigned
operator & (
const sc_unsigned& u,
unsigned long v);
359 sc_signed
operator & (
const sc_unsigned& u,
int v);
360 inline sc_unsigned
operator & (
const sc_unsigned& u,
unsigned int v);
364 sc_signed
operator & (
long u,
const sc_unsigned& v);
365 sc_unsigned
operator & (
unsigned long u,
const sc_unsigned& v);
366 sc_signed
operator & (
int u,
const sc_unsigned& v);
367 inline sc_unsigned
operator & (
unsigned int u,
const sc_unsigned& v);
369 sc_unsigned
operator & (
const sc_unsigned& u,
const sc_uint_base& v);
370 sc_signed
operator & (
const sc_unsigned& u,
const sc_int_base& v);
371 sc_unsigned
operator & (
const sc_uint_base& u,
const sc_unsigned& v);
372 sc_signed
operator & (
const sc_int_base& u,
const sc_unsigned& v);
376 sc_signed
operator | (
const sc_unsigned& u,
const sc_signed& v);
377 sc_signed
operator | (
const sc_signed& u,
const sc_unsigned& v);
379 sc_unsigned
operator | (
const sc_unsigned& u,
const sc_unsigned& v);
382 sc_signed
operator | (
const sc_unsigned& u,
long v);
383 sc_unsigned
operator | (
const sc_unsigned& u,
unsigned long v);
384 sc_signed
operator | (
const sc_unsigned& u,
int v);
385 inline sc_unsigned
operator | (
const sc_unsigned& u,
unsigned int v);
389 sc_signed
operator | (
long u,
const sc_unsigned& v);
390 sc_unsigned
operator | (
unsigned long u,
const sc_unsigned& v);
391 sc_signed
operator | (
int u,
const sc_unsigned& v);
392 inline sc_unsigned
operator | (
unsigned int u,
const sc_unsigned& v);
394 sc_unsigned
operator | (
const sc_unsigned& u,
const sc_uint_base& v);
395 sc_signed
operator | (
const sc_unsigned& u,
const sc_int_base& v);
396 sc_unsigned
operator | (
const sc_uint_base& u,
const sc_unsigned& v);
397 sc_signed
operator | (
const sc_int_base& u,
const sc_unsigned& v);
401 sc_signed
operator ^ (
const sc_unsigned& u,
const sc_signed& v);
402 sc_signed
operator ^ (
const sc_signed& u,
const sc_unsigned& v);
404 sc_unsigned
operator ^ (
const sc_unsigned& u,
const sc_unsigned& v);
407 sc_signed
operator ^ (
const sc_unsigned& u,
long v);
408 sc_unsigned
operator ^ (
const sc_unsigned& u,
unsigned long v);
409 sc_signed
operator ^ (
const sc_unsigned& u,
int v);
410 inline sc_unsigned
operator ^ (
const sc_unsigned& u,
unsigned int v);
414 sc_signed
operator ^ (
long u,
const sc_unsigned& v);
415 sc_unsigned
operator ^ (
unsigned long u,
const sc_unsigned& v);
416 sc_signed
operator ^ (
int u,
const sc_unsigned& v);
417 inline sc_unsigned
operator ^ (
unsigned int u,
const sc_unsigned& v);
419 sc_unsigned
operator ^ (
const sc_unsigned& u,
const sc_uint_base& v);
420 sc_signed
operator ^ (
const sc_unsigned& u,
const sc_int_base& v);
421 sc_unsigned
operator ^ (
const sc_uint_base& u,
const sc_unsigned& v);
422 sc_signed
operator ^ (
const sc_int_base& u,
const sc_unsigned& v);
428 sc_unsigned
operator << (
const sc_unsigned& u,
const sc_signed& v);
429 sc_signed
operator << (
const sc_signed& u,
const sc_unsigned& v);
431 sc_unsigned
operator << (
const sc_unsigned& u,
const sc_unsigned& v);
434 sc_unsigned
operator << (
const sc_unsigned& u,
long v);
435 sc_unsigned
operator << (
const sc_unsigned& u,
unsigned long v);
436 inline sc_unsigned
operator << (
const sc_unsigned& u,
int v);
437 inline sc_unsigned
operator << (
const sc_unsigned& u,
unsigned int v);
439 sc_unsigned
operator << (
const sc_unsigned& u,
const sc_uint_base& v);
440 sc_unsigned
operator << (
const sc_unsigned& u,
const sc_int_base& v);
444 sc_unsigned
operator >> (
const sc_unsigned& u,
const sc_signed& v);
445 sc_signed
operator >> (
const sc_signed& u,
const sc_unsigned& v);
447 sc_unsigned
operator >> (
const sc_unsigned& u,
const sc_unsigned& v);
450 sc_unsigned
operator >> (
const sc_unsigned& u,
long v);
451 sc_unsigned
operator >> (
const sc_unsigned& u,
unsigned long v);
452 inline sc_unsigned
operator >> (
const sc_unsigned& u,
int v);
453 inline sc_unsigned
operator >> (
const sc_unsigned& u,
unsigned int v);
455 sc_unsigned
operator >> (
const sc_unsigned& ,
const sc_uint_base& );
456 sc_unsigned
operator >> (
const sc_unsigned&,
const sc_int_base& );
459 sc_unsigned
operator + (
const sc_unsigned& u);
466 bool operator == (
const sc_unsigned& u,
const sc_signed& v);
467 bool operator == (
const sc_signed& u,
const sc_unsigned& v);
469 bool operator == (
const sc_unsigned& u,
const sc_unsigned& v);
473 bool operator == (
const sc_unsigned& u,
unsigned long v);
474 inline bool operator == (
const sc_unsigned& u,
int v);
475 inline bool operator == (
const sc_unsigned& u,
unsigned int v);
480 bool operator == (
unsigned long u,
const sc_unsigned& v);
481 inline bool operator == (
int u,
const sc_unsigned& v);
482 inline bool operator == (
unsigned int u,
const sc_unsigned& v) ;
484 bool operator == (
const sc_unsigned& u,
const sc_uint_base& v);
485 bool operator == (
const sc_unsigned& u,
const sc_int_base& v);
486 bool operator == (
const sc_uint_base& u,
const sc_unsigned& v);
487 bool operator == (
const sc_int_base& u,
const sc_unsigned& v);
491 bool operator != (
const sc_unsigned& u,
const sc_signed& v);
492 bool operator != (
const sc_signed& u,
const sc_unsigned& v);
494 bool operator != (
const sc_unsigned& u,
const sc_unsigned& v);
498 bool operator != (
const sc_unsigned& u,
unsigned long v);
499 inline bool operator != (
const sc_unsigned& u,
int v);
500 inline bool operator != (
const sc_unsigned& u,
unsigned int v);
505 bool operator != (
unsigned long u,
const sc_unsigned& v);
506 inline bool operator != (
int u,
const sc_unsigned& v);
507 inline bool operator != (
unsigned int u,
const sc_unsigned& v);
509 bool operator != (
const sc_unsigned& u,
const sc_uint_base& v);
510 bool operator != (
const sc_unsigned& u,
const sc_int_base& v);
511 bool operator != (
const sc_uint_base& u,
const sc_unsigned& v);
512 bool operator != (
const sc_int_base& u,
const sc_unsigned& v);
516 bool operator < (
const sc_unsigned& u,
const sc_signed& v);
517 bool operator < (
const sc_signed& u,
const sc_unsigned& v);
519 bool operator < (
const sc_unsigned& u,
const sc_unsigned& v);
522 bool operator < (
const sc_unsigned& u,
long v);
523 bool operator < (
const sc_unsigned& u,
unsigned long v);
524 inline bool operator < (
const sc_unsigned& u,
int v);
525 inline bool operator < (
const sc_unsigned& u,
unsigned int v);
529 bool operator < (
long u,
const sc_unsigned& v);
530 bool operator < (
unsigned long u,
const sc_unsigned& v);
531 inline bool operator < (
int u,
const sc_unsigned& v);
532 inline bool operator < (
unsigned int u,
const sc_unsigned& v);
534 bool operator < (
const sc_unsigned& u,
const sc_uint_base& v);
535 bool operator < (
const sc_unsigned& u,
const sc_int_base& v);
536 bool operator < (
const sc_uint_base& u,
const sc_unsigned& v);
537 bool operator < (
const sc_int_base& u,
const sc_unsigned& v);
541 bool operator <= (
const sc_unsigned& u,
const sc_signed& v);
542 bool operator <= (
const sc_signed& u,
const sc_unsigned& v);
544 bool operator <= (
const sc_unsigned& u,
const sc_unsigned& v);
548 bool operator <= (
const sc_unsigned& u,
unsigned long v);
549 inline bool operator <= (
const sc_unsigned& u,
int v);
550 inline bool operator <= (
const sc_unsigned& u,
unsigned int v);
555 bool operator <= (
unsigned long u,
const sc_unsigned& v);
556 inline bool operator <= (
int u,
const sc_unsigned& v);
557 inline bool operator <= (
unsigned int u,
const sc_unsigned& v);
559 bool operator <= (
const sc_unsigned& u,
const sc_uint_base& v);
560 bool operator <= (
const sc_unsigned& u,
const sc_int_base& v);
561 bool operator <= (
const sc_uint_base& u,
const sc_unsigned& v);
562 bool operator <= (
const sc_int_base& u,
const sc_unsigned& v);
566 bool operator > (
const sc_unsigned& u,
const sc_signed& v);
567 bool operator > (
const sc_signed& u,
const sc_unsigned& v);
569 bool operator > (
const sc_unsigned& u,
const sc_unsigned& v);
572 bool operator > (
const sc_unsigned& u,
long v);
573 bool operator > (
const sc_unsigned& u,
unsigned long v);
574 inline bool operator > (
const sc_unsigned& u,
int v);
575 inline bool operator > (
const sc_unsigned& u,
unsigned int v);
579 bool operator > (
long u,
const sc_unsigned& v);
580 bool operator > (
unsigned long u,
const sc_unsigned& v);
581 inline bool operator > (
int u,
const sc_unsigned& v);
582 inline bool operator > (
unsigned int u,
const sc_unsigned& v);
584 bool operator > (
const sc_unsigned& u,
const sc_uint_base& v);
585 bool operator > (
const sc_unsigned& u,
const sc_int_base& v);
586 bool operator > (
const sc_uint_base& u,
const sc_unsigned& v);
587 bool operator > (
const sc_int_base& u,
const sc_unsigned& v);
591 bool operator >= (
const sc_unsigned& u,
const sc_signed& v);
592 bool operator >= (
const sc_signed& u,
const sc_unsigned& v);
594 bool operator >= (
const sc_unsigned& u,
const sc_unsigned& v);
598 bool operator >= (
const sc_unsigned& u,
unsigned long v);
599 inline bool operator >= (
const sc_unsigned& u,
int v);
600 inline bool operator >= (
const sc_unsigned& u,
unsigned int v);
605 bool operator >= (
unsigned long u,
const sc_unsigned& v);
606 inline bool operator >= (
int u,
const sc_unsigned& v);
607 inline bool operator >= (
unsigned int u,
const sc_unsigned& v);
609 bool operator >= (
const sc_unsigned& u,
const sc_uint_base& v);
610 bool operator >= (
const sc_unsigned& u,
const sc_int_base& v);
611 bool operator >= (
const sc_uint_base& u,
const sc_unsigned& v);
612 bool operator >= (
const sc_int_base& u,
const sc_unsigned& v);
615 sc_unsigned
operator ~ (
const sc_unsigned& u);
636 m_obj_p = CCAST<sc_unsigned*>( obj_p );
669 {
return operator uint64(); }
672 {
return operator uint64(); }
678 {
if ( xz_present_p ) *xz_present_p =
false;
return 1; }
685 dst_p[word_i] &= ~bit_mask;
695 dst_p[word_i] |= bit_mask;
700 dst_p[word_i] &= ~bit_mask;
708 void print( ::std::ostream& os = ::std::cout )
const
776 void scan( ::std::istream& is = ::std::cin );
810 m_obj_p = CCAST<sc_unsigned*>( obj_p );
863 if ( xz_present_p ) *xz_present_p =
false;
881 void print( ::std::ostream& os = ::std::cout )
const
966 void scan( ::std::istream& is = ::std::cin );
997 typedef bool elemtype;
1024 { a->to_sc_unsigned(*
this);
return *
this; }
1039 {
return operator=((
unsigned long) v); }
1048 #ifdef SC_INCLUDE_FX
1060 # ifndef SC_MAX_NBITS
1069 {
if ( xz_present_p ) *xz_present_p =
false;
return nbits-1; }
1202 #ifdef SC_DT_DEPRECATED
1203 int to_signed()
const
1206 unsigned int to_unsigned()
const
1217 void print( ::std::ostream& os = ::std::cout )
const
1220 void scan( ::std::istream& is = ::std::cin );
1222 void dump( ::std::ostream& os = ::std::cout )
const;
1249 bool test(
int i)
const;
1307 {
return operator+(u, (
unsigned long) v); }
1315 {
return operator+((
unsigned long) u, v); }
1385 {
return operator*(u, (
unsigned long) v); }
1393 {
return operator*((
unsigned long) u, v); }
1425 {
return operator/(u, (
unsigned long) v); }
1433 {
return operator/((
unsigned long) u, v); }
1465 {
return operator%(u, (
unsigned long) v); }
1473 {
return operator%((
unsigned long) u, v); }
1507 {
return operator&(u, (
unsigned long) v); }
1515 {
return operator&((
unsigned long) u, v); }
1547 {
return operator|(u, (
unsigned long) v); }
1555 {
return operator|((
unsigned long) u, v); }
1587 {
return operator^(u, (
unsigned long) v); }
1595 {
return operator^((
unsigned long) u, v); }
1756 {
return operator<(u, (
unsigned long) v); }
1765 {
return operator<((
unsigned long) u, v); }
1814 {
return operator>(u, (
unsigned long) v); }
1823 {
return operator>((
unsigned long) u, v); }
1977 int num_bits(
int nb)
const {
return nb + 1; }
1979 bool check_if_outside(
int bit_num)
const;
1981 void copy_digits(
int nb,
int nd,
const sc_digit *d)
1989 void convert_2C_to_SM()
1992 void convert_SM_to_2C_to_SM()
2004 operator << ( ::std::ostream&,
const sc_unsigned& );
2040 a->to_sc_unsigned(temp);
2041 return *
this = temp;
2065 if ( !target_p->
test(i) )
return false;
2078 if ( target_p->
test(i) )
return true;
2093 if ( target_p->
test(i) ) odd = ~odd;
2094 return odd ?
true :
false;
2121 const sc_unsigned_subref&
2125 return ( *
this = aa = a );
2148 int nb = v->length();
2149 sgn = default_sign();
2151 nbits = num_bits( nb );
2155 "sc_unsigned( sc_generic_base<T> ) : nb = %d is not valid", nb);
2159 # ifdef SC_MAX_NBITS
2165 v->to_sc_unsigned(*
this);
sc_digit * get_raw() const
friend sc_unsigned add_unsigned_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
const sc_unsigned & operator&=(const sc_signed &v)
sc_unsigned_subref & range(int i, int j)
sc_unsigned add_unsigned_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
const sc_unsigned & operator=(const sc_unsigned &v)
virtual bool concat_get_data(sc_digit *dst_p, int low_i) const
void print(::std::ostream &os=::std::cout) const
friend sc_signed operator-(const sc_unsigned &u, const sc_signed &v)
virtual bool concat_get_data(sc_digit *dst_p, int low_i) const
const sc_bit operator|(const sc_bit &a, const sc_bit &b)
friend sc_unsigned and_unsigned_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
#define SC_REPORT_ERROR(msg_type, msg)
virtual int concat_length(bool *xz_present_p) const
const sc_unsigned_subref & operator=(const sc_unsigned_subref_r &a)
const sc_bit operator^(const sc_bit &a, const sc_bit &b)
friend sc_unsigned xor_unsigned_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
friend sc_unsigned or_unsigned_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
void set_packed_rep(sc_digit *buf)
unsigned long to_ulong() const
small_type convert_unsigned_SM_to_2C_to_SM(small_type s, int nb, int nd, sc_digit *d)
void initialize(const sc_unsigned *obj_p, int index_)
virtual uint64 concat_get_uint64() const
sc_signed operator+(const sc_unsigned &u, const sc_signed &v)
void convert_SM_to_2C(small_type s, int nd, sc_digit *d)
friend sc_unsigned mul_unsigned_friend(small_type s, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
virtual bool concat_get_data(sc_digit *dst_p, int low_i) const
bool operator<(const sc_int_base &a, const sc_int_base &b)
sc_unsigned_subref_r(const sc_unsigned_subref_r &a)
friend bool operator<=(const sc_unsigned &u, const sc_signed &v)
virtual uint64 concat_get_uint64() const
unsigned long to_ulong() const
friend bool operator!=(const sc_unsigned &u, const sc_signed &v)
void scan(::std::istream &is=::std::cin)
const sc_unsigned & operator+=(const sc_signed &v)
unsigned int to_uint() const
friend sc_unsigned operator~(const sc_unsigned &u)
const sc_unsigned & operator^=(const sc_signed &v)
void check_index(int i) const
virtual void concat_set(int64 src, int low_i)
sc_unsigned_subref(const sc_unsigned_subref &a)
const sc_unsigned_bitref & operator|=(bool)
bool sc_io_show_base(systemc_ostream &)
sc_unsigned mul_unsigned_friend(small_type s, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
const sc_unsigned & operator/=(const sc_signed &v)
friend sc_signed operator*(const sc_unsigned &u, const sc_signed &v)
void copy_digits_unsigned(small_type &us, int unb, int und, sc_digit *ud, int, int vnd, const sc_digit *vd)
friend bool operator<(const sc_unsigned &u, const sc_signed &v)
sc_unsigned div_unsigned_friend(small_type s, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
const sc_bit operator~(const sc_bit &a)
virtual bool concat_get_ctrl(sc_digit *dst_p, int low_i) const
virtual int concat_length(bool *xz_present_p) const
small_type convert_unsigned_2C_to_SM(int nb, int nd, sc_digit *d)
const sc_unsigned & operator%=(const sc_signed &v)
const sc_unsigned_bitref & operator&=(bool)
friend bool operator==(const sc_unsigned &u, const sc_signed &v)
const std::string to_string(sc_numrep numrep=SC_DEC) const
void initialize(const sc_unsigned *obj_p, int left_, int right_)
bool operator!=(const sc_bit &a, const sc_bit &b)
bool operator==(const sc_bit &a, const sc_bit &b)
sc_unsigned_bitref_r(const sc_unsigned_bitref_r &a)
const sc_unsigned_subref_r & range(int i, int j) const
const sc_unsigned_bitref & operator^=(bool)
sc_unsigned & operator--()
friend sc_signed operator&(const sc_unsigned &u, const sc_signed &v)
virtual bool concat_get_ctrl(sc_digit *dst_p, int low_i) const
friend bool operator>(const sc_unsigned &u, const sc_signed &v)
sc_numrep sc_io_base(systemc_ostream &, sc_numrep)
virtual int concat_length(bool *xz_present_p) const
sc_signed operator-(const sc_unsigned &u, const sc_signed &v)
int compare_unsigned(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd, small_type if_u_signed=0, small_type if_v_signed=0)
friend sc_signed operator%(const sc_unsigned &u, const sc_signed &v)
void dump(::std::ostream &os=::std::cout) const
friend sc_unsigned div_unsigned_friend(small_type s, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
inline::std::istream & operator>>(::std::istream &is, sc_bit &a)
virtual void concat_set(int64 src, int low_i)
bool operator>=(const sc_int_base &a, const sc_int_base &b)
bool operator<=(const sc_int_base &a, const sc_int_base &b)
static sc_core::sc_vpool< sc_unsigned > m_pool
sc_unsigned or_unsigned_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
void print(::std::ostream &os=::std::cout) const
const std::string to_string(sc_numrep numrep=SC_DEC) const
const sc_unsigned_bitref_r & bit(int i) const
void get_packed_rep(sc_digit *buf) const
static sc_core::sc_vpool< sc_unsigned_bitref > m_pool
void convert_unsigned_SM_to_2C(small_type s, int nd, sc_digit *d)
virtual void concat_set(int64 src, int low_i)
const sc_unsigned & operator<<=(const sc_signed &v)
friend sc_unsigned operator<<(const sc_unsigned &u, const sc_signed &v)
const sc_unsigned & operator*=(const sc_signed &v)
sc_unsigned sub_unsigned_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
friend sc_unsigned sub_unsigned_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
const sc_unsigned & operator>>=(const sc_signed &v)
void scan(::std::istream &is=::std::cin)
void invalid_range(int l, int r) const
friend sc_signed operator/(const sc_unsigned &u, const sc_signed &v)
static sc_core::sc_vpool< sc_unsigned_subref > m_pool
sc_unsigned_bitref & operator[](int i)
void print(::std::ostream &os=::std::cout) const
virtual bool concat_get_ctrl(sc_digit *dst_p, int low_i) const
void invalid_index(int i) const
virtual ~sc_unsigned_subref_r()
sc_signed operator*(const sc_unsigned &u, const sc_signed &v)
sc_signed operator%(const sc_unsigned &u, const sc_signed &v)
friend sc_signed operator|(const sc_unsigned &u, const sc_signed &v)
virtual uint64 concat_get_uint64() const
void scan(::std::istream &is=::std::cin)
sc_unsigned & operator++()
friend sc_signed operator+(const sc_unsigned &u, const sc_signed &v)
const sc_unsigned & operator|=(const sc_signed &v)
friend int compare_unsigned(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd, small_type if_u_signed, small_type if_v_signed)
inline::std::ostream & operator<<(::std::ostream &os, const sc_bit &a)
bool operator>(const sc_int_base &a, const sc_int_base &b)
sc_unsigned_bitref(const sc_unsigned_bitref &a)
sc_unsigned and_unsigned_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
friend sc_unsigned operator>>(const sc_unsigned &u, const sc_signed &v)
friend class sc_unsigned_signal
friend bool operator>=(const sc_unsigned &u, const sc_signed &v)
const sc_unsigned_bitref & operator=(const sc_unsigned_bitref_r &)
unsigned int to_uint() const
friend sc_unsigned mod_unsigned_friend(small_type us, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
void check_range(int l, int r) const
sc_unsigned xor_unsigned_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
sc_unsigned_bitref & bit(int i)
const sc_unsigned & operator-=(const sc_signed &v)
const sc_bit operator&(const sc_bit &a, const sc_bit &b)
friend sc_signed operator^(const sc_unsigned &u, const sc_signed &v)
sc_unsigned(int nb=sc_length_param().len())
small_type make_zero(int nd, sc_digit *d)
virtual ~sc_unsigned_bitref_r()
sc_unsigned_subref & operator()(int i, int j)
sc_unsigned mod_unsigned_friend(small_type us, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
const sc_fxval operator/(const sc_fxnum &a, const sc_fxnum &b)