109 class sc_signed_bitref_r;
110 class sc_signed_bitref;
111 class sc_signed_subref_r;
112 class sc_signed_subref;
121 class sc_int_subref_r;
122 class sc_uint_subref_r;
125 class sc_unsigned_subref_r;
208 sc_signed
operator + (
const sc_unsigned& u,
const sc_signed& v);
209 sc_signed
operator + (
const sc_signed& u,
const sc_unsigned& v);
212 sc_signed
operator + (
const sc_unsigned& u,
long v);
213 inline sc_signed
operator + (
const sc_unsigned& u,
int v);
216 sc_signed
operator + (
long u,
const sc_unsigned& v);
217 inline sc_signed
operator + (
int u,
const sc_unsigned& v);
219 sc_signed
operator + (
const sc_signed& u,
const sc_signed& v);
222 sc_signed
operator + (
const sc_signed& u,
long v);
223 sc_signed
operator + (
const sc_signed& u,
unsigned long v);
224 inline sc_signed
operator + (
const sc_signed& u,
int v);
225 inline sc_signed
operator + (
const sc_signed& u,
unsigned int v);
229 sc_signed
operator + (
long u,
const sc_signed& v);
230 sc_signed
operator + (
unsigned long u,
const sc_signed& v);
231 inline sc_signed
operator + (
int u,
const sc_signed& v);
232 inline sc_signed
operator + (
unsigned int u,
const sc_signed& v);
234 sc_signed
operator + (
const sc_unsigned& u,
const sc_int_base& v);
235 sc_signed
operator + (
const sc_int_base& u,
const sc_unsigned& v);
236 sc_signed
operator + (
const sc_signed& u,
const sc_int_base& v);
237 sc_signed
operator + (
const sc_signed& u,
const sc_uint_base& v);
238 sc_signed
operator + (
const sc_int_base& u,
const sc_signed& v);
239 sc_signed
operator + (
const sc_uint_base& u,
const sc_signed& v);
245 sc_signed
operator - (
const sc_unsigned& u,
const sc_signed& v);
246 sc_signed
operator - (
const sc_signed& u,
const sc_unsigned& v);
248 sc_signed
operator - (
const sc_unsigned& u,
const sc_unsigned& v);
251 sc_signed
operator - (
const sc_unsigned& u,
long v);
252 sc_signed
operator - (
const sc_unsigned& u,
unsigned long v);
253 inline sc_signed
operator - (
const sc_unsigned& u,
int v);
254 inline sc_signed
operator - (
const sc_unsigned& u,
unsigned int v);
258 sc_signed
operator - (
long u,
const sc_unsigned& v);
259 sc_signed
operator - (
unsigned long u,
const sc_unsigned& v);
260 inline sc_signed
operator - (
int u,
const sc_unsigned& v);
261 inline sc_signed
operator - (
unsigned int u,
const sc_unsigned& v);
263 sc_signed
operator - (
const sc_signed& u,
const sc_signed& v);
266 sc_signed
operator - (
const sc_signed& u,
long v);
267 sc_signed
operator - (
const sc_signed& u,
unsigned long v);
268 inline sc_signed
operator - (
const sc_signed& u,
int v);
269 inline sc_signed
operator - (
const sc_signed& u,
unsigned int v);
273 sc_signed
operator - (
long u,
const sc_signed& v);
274 sc_signed
operator - (
unsigned long u,
const sc_signed& v);
275 inline sc_signed
operator - (
int u,
const sc_signed& v);
276 inline sc_signed
operator - (
unsigned int u,
const sc_signed& v);
279 sc_signed
operator - (
const sc_unsigned& u,
const sc_int_base& v);
280 sc_signed
operator - (
const sc_unsigned& u,
const sc_uint_base& v);
281 sc_signed
operator - (
const sc_int_base& u,
const sc_unsigned& v);
282 sc_signed
operator - (
const sc_uint_base& u,
const sc_unsigned& v);
283 sc_signed
operator - (
const sc_signed& u,
const sc_int_base& v);
284 sc_signed
operator - (
const sc_signed& u,
const sc_uint_base& v);
285 sc_signed
operator - (
const sc_int_base& u,
const sc_signed& v);
286 sc_signed
operator - (
const sc_uint_base& u,
const sc_signed& v);
292 sc_signed
operator * (
const sc_unsigned& u,
const sc_signed& v);
293 sc_signed
operator * (
const sc_signed& u,
const sc_unsigned& v);
296 sc_signed
operator * (
const sc_unsigned& u,
long v);
297 inline sc_signed
operator * (
const sc_unsigned& u,
int v);
300 sc_signed
operator * (
long u,
const sc_unsigned& v);
301 inline sc_signed
operator * (
int u,
const sc_unsigned& v);
303 sc_signed
operator * (
const sc_signed& u,
const sc_signed& v);
306 sc_signed
operator * (
const sc_signed& u,
long v);
307 sc_signed
operator * (
const sc_signed& u,
unsigned long v);
308 inline sc_signed
operator * (
const sc_signed& u,
int v);
309 inline sc_signed
operator * (
const sc_signed& u,
unsigned int v);
313 sc_signed
operator * (
long u,
const sc_signed& v);
314 sc_signed
operator * (
unsigned long u,
const sc_signed& v);
315 inline sc_signed
operator * (
int u,
const sc_signed& v);
316 inline sc_signed
operator * (
unsigned int u,
const sc_signed& v);
318 sc_signed
operator * (
const sc_unsigned& u,
const sc_int_base& v);
319 sc_signed
operator * (
const sc_int_base& u,
const sc_unsigned& v);
320 sc_signed
operator * (
const sc_signed& u,
const sc_int_base& v);
321 sc_signed
operator * (
const sc_signed& u,
const sc_uint_base& v);
322 sc_signed
operator * (
const sc_int_base& u,
const sc_signed& v);
323 sc_signed
operator * (
const sc_uint_base& u,
const sc_signed& v);
329 sc_signed
operator / (
const sc_unsigned& u,
const sc_signed& v);
330 sc_signed
operator / (
const sc_signed& u,
const sc_unsigned& v);
333 sc_signed
operator / (
const sc_unsigned& u,
long v);
334 inline sc_signed
operator / (
const sc_unsigned& u,
int v);
337 sc_signed
operator / (
long u,
const sc_unsigned& v);
338 inline sc_signed
operator / (
int u,
const sc_unsigned& v);
340 sc_signed
operator / (
const sc_signed& u,
const sc_signed& v);
343 sc_signed
operator / (
const sc_signed& u,
long v);
344 sc_signed
operator / (
const sc_signed& u,
unsigned long v);
345 inline sc_signed
operator / (
const sc_signed& u,
int v);
346 inline sc_signed
operator / (
const sc_signed& u,
unsigned int v);
350 sc_signed
operator / (
long u,
const sc_signed& v);
351 sc_signed
operator / (
unsigned long u,
const sc_signed& v);
352 inline sc_signed
operator / (
int u,
const sc_signed& v);
353 inline sc_signed
operator / (
unsigned int u,
const sc_signed& v);
355 sc_signed
operator / (
const sc_unsigned& u,
const sc_int_base& v);
356 sc_signed
operator / (
const sc_int_base& u,
const sc_unsigned& v);
357 sc_signed
operator / (
const sc_signed& u,
const sc_int_base& v);
358 sc_signed
operator / (
const sc_signed& u,
const sc_uint_base& v);
359 sc_signed
operator / (
const sc_int_base& u,
const sc_signed& v);
360 sc_signed
operator / (
const sc_uint_base& u,
const sc_signed& v);
366 sc_signed
operator % (
const sc_unsigned& u,
const sc_signed& v);
367 sc_signed
operator % (
const sc_signed& u,
const sc_unsigned& v);
370 sc_signed
operator % (
const sc_unsigned& u,
long v);
371 inline sc_signed
operator % (
const sc_unsigned& u,
int v);
374 sc_signed
operator % (
long u,
const sc_unsigned& v);
375 inline sc_signed
operator % (
int u,
const sc_unsigned& v);
377 sc_signed
operator % (
const sc_signed& u,
const sc_signed& v);
380 sc_signed
operator % (
const sc_signed& u,
long v);
381 sc_signed
operator % (
const sc_signed& u,
unsigned long v);
382 inline sc_signed
operator % (
const sc_signed& u,
int v);
383 inline sc_signed
operator % (
const sc_signed& u,
unsigned int v);
387 sc_signed
operator % (
long u,
const sc_signed& v);
388 sc_signed
operator % (
unsigned long u,
const sc_signed& v);
389 inline sc_signed
operator % (
int u,
const sc_signed& v);
390 inline sc_signed
operator % (
unsigned int u,
const sc_signed& v);
392 sc_signed
operator % (
const sc_unsigned& u,
const sc_int_base& v);
393 sc_signed
operator % (
const sc_int_base& u,
const sc_unsigned& v);
394 sc_signed
operator % (
const sc_signed& u,
const sc_int_base& v);
395 sc_signed
operator % (
const sc_signed& u,
const sc_uint_base& v);
396 sc_signed
operator % (
const sc_int_base& u,
const sc_signed& v);
397 sc_signed
operator % (
const sc_uint_base& u,
const sc_signed& v);
405 sc_signed
operator & (
const sc_unsigned& u,
const sc_signed& v);
406 sc_signed
operator & (
const sc_signed& u,
const sc_unsigned& v);
409 sc_signed
operator & (
const sc_unsigned& u,
long v);
410 inline sc_signed
operator & (
const sc_unsigned& u,
int v);
413 sc_signed
operator & (
long u,
const sc_unsigned& v);
414 inline sc_signed
operator & (
int u,
const sc_unsigned& v);
416 sc_signed
operator & (
const sc_signed& u,
const sc_signed& v);
419 sc_signed
operator & (
const sc_signed& u,
long v);
420 sc_signed
operator & (
const sc_signed& u,
unsigned long v);
421 inline sc_signed
operator & (
const sc_signed& u,
int v);
422 inline sc_signed
operator & (
const sc_signed& u,
unsigned int v);
426 sc_signed
operator & (
long u,
const sc_signed& v);
427 sc_signed
operator & (
unsigned long u,
const sc_signed& v);
428 inline sc_signed
operator & (
int u,
const sc_signed& v);
429 inline sc_signed
operator & (
unsigned int u,
const sc_signed& v);
431 sc_signed
operator & (
const sc_unsigned& u,
const sc_int_base& v);
432 sc_signed
operator & (
const sc_int_base& u,
const sc_unsigned& v);
433 sc_signed
operator & (
const sc_signed& u,
const sc_int_base& v);
434 sc_signed
operator & (
const sc_signed& u,
const sc_uint_base& v);
435 sc_signed
operator & (
const sc_int_base& u,
const sc_signed& v);
436 sc_signed
operator & (
const sc_uint_base& u,
const sc_signed& v);
442 sc_signed
operator | (
const sc_unsigned& u,
const sc_signed& v);
443 sc_signed
operator | (
const sc_signed& u,
const sc_unsigned& v);
446 sc_signed
operator | (
const sc_unsigned& u,
long v);
447 inline sc_signed
operator | (
const sc_unsigned& u,
int v);
450 sc_signed
operator | (
long u,
const sc_unsigned& v);
451 inline sc_signed
operator | (
int u,
const sc_unsigned& v);
453 sc_signed
operator | (
const sc_signed& u,
const sc_signed& v);
456 sc_signed
operator | (
const sc_signed& u,
long v);
457 sc_signed
operator | (
const sc_signed& u,
unsigned long v);
458 inline sc_signed
operator | (
const sc_signed& u,
int v);
459 inline sc_signed
operator | (
const sc_signed& u,
unsigned int v);
463 sc_signed
operator | (
long u,
const sc_signed& v);
464 sc_signed
operator | (
unsigned long u,
const sc_signed& v);
465 inline sc_signed
operator | (
int u,
const sc_signed& v);
466 inline sc_signed
operator | (
unsigned int u,
const sc_signed& v);
468 sc_signed
operator | (
const sc_unsigned& u,
const sc_int_base& v);
469 sc_signed
operator | (
const sc_int_base& u,
const sc_unsigned& v);
470 sc_signed
operator | (
const sc_signed& u,
const sc_int_base& v);
471 sc_signed
operator | (
const sc_signed& u,
const sc_uint_base& v);
472 sc_signed
operator | (
const sc_int_base& u,
const sc_signed& v);
473 sc_signed
operator | (
const sc_uint_base& u,
const sc_signed& v);
479 sc_signed
operator ^ (
const sc_unsigned& u,
const sc_signed& v);
480 sc_signed
operator ^ (
const sc_signed& u,
const sc_unsigned& v);
483 sc_signed
operator ^ (
const sc_unsigned& u,
long v);
484 inline sc_signed
operator ^ (
const sc_unsigned& u,
int v);
487 sc_signed
operator ^ (
long u,
const sc_unsigned& v);
488 inline sc_signed
operator ^ (
int u,
const sc_unsigned& v);
490 sc_signed
operator ^ (
const sc_signed& u,
const sc_signed& v);
493 sc_signed
operator ^ (
const sc_signed& u,
long v);
494 sc_signed
operator ^ (
const sc_signed& u,
unsigned long v);
495 inline sc_signed
operator ^ (
const sc_signed& u,
int v);
496 inline sc_signed
operator ^ (
const sc_signed& u,
unsigned int v);
500 sc_signed
operator ^ (
long u,
const sc_signed& v);
501 sc_signed
operator ^ (
unsigned long u,
const sc_signed& v);
502 inline sc_signed
operator ^ (
int u,
const sc_signed& v);
503 inline sc_signed
operator ^ (
unsigned int u,
const sc_signed& v);
505 sc_signed
operator ^ (
const sc_unsigned& u,
const sc_int_base& v);
506 sc_signed
operator ^ (
const sc_int_base& u,
const sc_unsigned& v);
507 sc_signed
operator ^ (
const sc_signed& u,
const sc_int_base& v);
508 sc_signed
operator ^ (
const sc_signed& u,
const sc_uint_base& v);
509 sc_signed
operator ^ (
const sc_int_base& u,
const sc_signed& v);
510 sc_signed
operator ^ (
const sc_uint_base& u,
const sc_signed& v);
518 sc_unsigned
operator << (
const sc_unsigned& u,
const sc_signed& v);
519 sc_signed
operator << (
const sc_signed& u,
const sc_unsigned& v);
521 sc_signed
operator << (
const sc_signed& u,
const sc_signed& v);
524 sc_signed
operator << (
const sc_signed& u,
long v);
525 sc_signed
operator << (
const sc_signed& u,
unsigned long v);
526 inline sc_signed
operator << (
const sc_signed& u,
int v);
527 inline sc_signed
operator << (
const sc_signed& u,
unsigned int v);
529 sc_signed
operator << (
const sc_signed& u,
const sc_int_base& v);
530 sc_signed
operator << (
const sc_signed& u,
const sc_uint_base& v);
536 sc_unsigned
operator >> (
const sc_unsigned& u,
const sc_signed& v);
537 sc_signed
operator >> (
const sc_signed& u,
const sc_unsigned& v);
539 sc_signed
operator >> (
const sc_signed& u,
const sc_signed& v);
542 sc_signed
operator >> (
const sc_signed& u,
long v);
543 sc_signed
operator >> (
const sc_signed& u,
unsigned long v);
544 inline sc_signed
operator >> (
const sc_signed& u,
int v);
545 inline sc_signed
operator >> (
const sc_signed& u,
unsigned int v);
547 sc_signed
operator >> (
const sc_signed& u,
const sc_int_base& v);
548 sc_signed
operator >> (
const sc_signed& u,
const sc_uint_base& v);
561 bool operator == (
const sc_unsigned& u,
const sc_signed& v);
562 bool operator == (
const sc_signed& u,
const sc_unsigned& v);
564 bool operator == (
const sc_signed& u,
const sc_signed& v);
568 bool operator == (
const sc_signed& u,
unsigned long v);
569 inline bool operator == (
const sc_signed& u,
int v);
570 inline bool operator == (
const sc_signed& u,
unsigned int v);
575 bool operator == (
unsigned long u,
const sc_signed& v);
576 inline bool operator == (
int u,
const sc_signed& v);
577 inline bool operator == (
unsigned int u,
const sc_signed& v);
579 bool operator == (
const sc_signed& u,
const sc_int_base& v);
580 bool operator == (
const sc_signed& u,
const sc_uint_base& v);
581 bool operator == (
const sc_int_base& u,
const sc_signed& v);
582 bool operator == (
const sc_uint_base& u,
const sc_signed& v);
586 bool operator != (
const sc_unsigned& u,
const sc_signed& v);
587 bool operator != (
const sc_signed& u,
const sc_unsigned& v);
589 bool operator != (
const sc_signed& u,
const sc_signed& v);
593 bool operator != (
const sc_signed& u,
unsigned long v);
594 inline bool operator != (
const sc_signed& u,
int v);
595 inline bool operator != (
const sc_signed& u,
unsigned int v);
600 bool operator != (
unsigned long u,
const sc_signed& v);
601 inline bool operator != (
int u,
const sc_signed& v);
602 inline bool operator != (
unsigned int u,
const sc_signed& v);
604 bool operator != (
const sc_signed& u,
const sc_int_base& v);
605 bool operator != (
const sc_signed& u,
const sc_uint_base& v);
606 bool operator != (
const sc_int_base& u,
const sc_signed& v);
607 bool operator != (
const sc_uint_base& u,
const sc_signed& v);
611 bool operator < (
const sc_unsigned& u,
const sc_signed& v);
612 bool operator < (
const sc_signed& u,
const sc_unsigned& v);
614 bool operator < (
const sc_signed& u,
const sc_signed& v);
618 bool operator < (
const sc_signed& u,
unsigned long v);
619 inline bool operator < (
const sc_signed& u,
int v);
620 inline bool operator < (
const sc_signed& u,
unsigned int v);
625 bool operator < (
unsigned long u,
const sc_signed& v);
626 inline bool operator < (
int u,
const sc_signed& v);
627 inline bool operator < (
unsigned int u,
const sc_signed& v);
629 bool operator < (
const sc_signed& u,
const sc_int_base& v);
630 bool operator < (
const sc_signed& u,
const sc_uint_base& v);
631 bool operator < (
const sc_int_base& u,
const sc_signed& v);
632 bool operator < (
const sc_uint_base& u,
const sc_signed& v);
636 bool operator <= (
const sc_unsigned& u,
const sc_signed& v);
637 bool operator <= (
const sc_signed& u,
const sc_unsigned& v);
639 bool operator <= (
const sc_signed& u,
const sc_signed& v);
643 bool operator <= (
const sc_signed& u,
unsigned long v);
644 inline bool operator <= (
const sc_signed& u,
int v);
645 inline bool operator <= (
const sc_signed& u,
unsigned int v);
650 bool operator <= (
unsigned long u,
const sc_signed& v);
651 inline bool operator <= (
int u,
const sc_signed& v);
652 inline bool operator <= (
unsigned int u,
const sc_signed& v);
654 bool operator <= (
const sc_signed& u,
const sc_int_base& v);
655 bool operator <= (
const sc_signed& u,
const sc_uint_base& v);
656 bool operator <= (
const sc_int_base& u,
const sc_signed& v);
657 bool operator <= (
const sc_uint_base& u,
const sc_signed& v);
661 bool operator > (
const sc_unsigned& u,
const sc_signed& v);
662 bool operator > (
const sc_signed& u,
const sc_unsigned& v);
664 bool operator > (
const sc_signed& u,
const sc_signed& v);
668 bool operator > (
const sc_signed& u,
unsigned long v);
669 inline bool operator > (
const sc_signed& u,
int v);
670 inline bool operator > (
const sc_signed& u,
unsigned int v);
675 bool operator > (
unsigned long u,
const sc_signed& v);
676 inline bool operator > (
int u,
const sc_signed& v);
677 inline bool operator > (
unsigned int u,
const sc_signed& v);
679 bool operator > (
const sc_signed& u,
const sc_int_base& v);
680 bool operator > (
const sc_signed& u,
const sc_uint_base& v);
681 bool operator > (
const sc_int_base& u,
const sc_signed& v);
682 bool operator > (
const sc_uint_base& u,
const sc_signed& v);
686 bool operator >= (
const sc_unsigned& u,
const sc_signed& v);
687 bool operator >= (
const sc_signed& u,
const sc_unsigned& v);
689 bool operator >= (
const sc_signed& u,
const sc_signed& v);
693 bool operator >= (
const sc_signed& u,
unsigned long v);
694 inline bool operator >= (
const sc_signed& u,
int v);
695 inline bool operator >= (
const sc_signed& u,
unsigned int v);
700 bool operator >= (
unsigned long u,
const sc_signed& v);
701 inline bool operator >= (
int u,
const sc_signed& v);
702 inline bool operator >= (
unsigned int u,
const sc_signed& v);
704 bool operator >= (
const sc_signed& u,
const sc_int_base& v);
705 bool operator >= (
const sc_signed& u,
const sc_uint_base& v);
706 bool operator >= (
const sc_int_base& u,
const sc_signed& v);
707 bool operator >= (
const sc_uint_base& u,
const sc_signed& v);
732 m_obj_p = ( CCAST<sc_signed*>( obj_p ) );
764 {
return operator uint64(); }
767 {
return operator uint64(); }
772 {
if ( xz_present_p ) *xz_present_p =
false;
return 1; }
779 dst_p[word_i] &= ~bit_mask;
789 dst_p[word_i] |= bit_mask;
794 dst_p[word_i] &= ~bit_mask;
803 void print( ::std::ostream& os = ::std::cout )
const
872 void scan( ::std::istream& is = ::std::cin );
906 m_obj_p = ( CCAST<sc_signed*>( obj_p ));
958 if ( xz_present_p ) *xz_present_p =
false;
977 void print( ::std::ostream& os = ::std::cout )
const
1038 a->to_sc_unsigned(temp);
1066 void scan( ::std::istream& is = ::std::cin );
1096 typedef bool elemtype;
1121 { a->to_sc_signed(*
this);
return *
this; }
1136 {
return operator=((
unsigned long) v); }
1145 #ifdef SC_INCLUDE_FX
1157 #ifndef SC_MAX_NBITS
1167 {
if ( xz_present_p ) *xz_present_p =
false;
return nbits; }
1301 #ifdef SC_DT_DEPRECATED
1302 int to_signed()
const
1305 unsigned int to_unsigned()
const
1317 void print( ::std::ostream& os = ::std::cout )
const
1320 void scan( ::std::istream& is = ::std::cin );
1322 void dump( ::std::ostream& os = ::std::cout )
const;
1348 bool test(
int i)
const;
1417 {
return operator+(u, (
unsigned long) v); }
1426 {
return operator+((
unsigned long) u, v); }
1461 {
return operator-(u, (
unsigned long) v); }
1470 {
return operator-((
unsigned long) u, v); }
1480 {
return operator-(u, (
unsigned long) v); }
1489 {
return operator-((
unsigned long) u, v); }
1536 {
return operator*(u, (
unsigned long) v); }
1545 {
return operator*((
unsigned long) u, v); }
1590 {
return operator/(u, (
unsigned long) v); }
1599 {
return operator/((
unsigned long) u, v); }
1644 {
return operator%(u, (
unsigned long) v); }
1653 {
return operator%((
unsigned long) u, v); }
1700 {
return operator&(u, (
unsigned long) v); }
1709 {
return operator&((
unsigned long) u, v); }
1754 {
return operator|(u, (
unsigned long) v); }
1763 {
return operator|((
unsigned long) u, v); }
1808 {
return operator^(u, (
unsigned long) v); }
1817 {
return operator^((
unsigned long) u, v); }
1981 {
return operator<(u, (
unsigned long) v); }
1990 {
return operator<((
unsigned long) u, v); }
2039 {
return operator>(u, (
unsigned long) v); }
2048 {
return operator>((
unsigned long) u, v); }
2188 int num_bits(
int nb)
const {
return nb; }
2190 bool check_if_outside(
int bit_num)
const;
2192 void copy_digits(
int nb,
int nd,
const sc_digit *d)
2200 void convert_2C_to_SM()
2203 void convert_SM_to_2C_to_SM()
2215 operator << ( ::std::ostream&,
const sc_signed& );
2254 if ( !target_p->
test(i) )
return false;
2267 if ( target_p->
test(i) )
return true;
2282 if ( target_p->
test(i) ) odd = ~odd;
2283 return odd ?
true :
false;
2309 const sc_signed_subref&
2313 return ( *
this = aa = a );
2338 int nb = v->length();
2339 sgn = default_sign();
2341 nbits = num_bits( nb );
2345 "sc_unsigned( sc_generic_base<T> ) : nb = %d is not valid", nb);
2349 # ifdef SC_MAX_NBITS
2355 v->to_sc_signed(*
this);
void print(::std::ostream &os=::std::cout) const
void convert_signed_SM_to_2C(small_type s, int nd, sc_digit *d)
friend sc_signed operator+(const sc_unsigned &u, const sc_signed &v)
unsigned long to_ulong() const
friend sc_signed operator-(const sc_unsigned &u, const sc_signed &v)
small_type convert_signed_2C_to_SM(int nb, int nd, sc_digit *d)
virtual bool concat_get_ctrl(sc_digit *dst_p, int low_i) const
friend sc_signed operator*(const sc_unsigned &u, const sc_signed &v)
void scan(::std::istream &is=::std::cin)
unsigned long to_ulong() const
const sc_signed & operator<<=(const sc_signed &v)
friend sc_signed operator%(const sc_unsigned &u, const sc_signed &v)
friend bool operator>=(const sc_unsigned &u, const sc_signed &v)
const sc_bit operator|(const sc_bit &a, const sc_bit &b)
void scan(::std::istream &is=::std::cin)
sc_signed_subref & range(int i, int j)
#define SC_REPORT_ERROR(msg_type, msg)
void check_range(int l, int r) const
const sc_bit operator^(const sc_bit &a, const sc_bit &b)
friend sc_signed mod_signed_friend(small_type us, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
const sc_signed & operator%=(const sc_signed &v)
void copy_digits_signed(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
sc_signed_subref & operator()(int i, int j)
sc_signed_subref(const sc_signed_subref &a)
friend bool operator==(const sc_unsigned &u, const sc_signed &v)
sc_signed operator+(const sc_unsigned &u, const sc_signed &v)
unsigned int to_uint() const
void convert_SM_to_2C(small_type s, int nd, sc_digit *d)
friend sc_signed and_signed_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_signed & operator&=(const sc_signed &v)
void print(::std::ostream &os=::std::cout) const
bool operator<(const sc_int_base &a, const sc_int_base &b)
virtual int concat_length(bool *xz_present_p) const
friend sc_unsigned operator<<(const sc_unsigned &u, const sc_signed &v)
virtual ~sc_signed_subref_r()
virtual void concat_set(int64 src, int low_i)
const sc_signed_subref & operator=(const sc_signed_subref_r &a)
void dump(::std::ostream &os=::std::cout) const
void invalid_index(int i) const
virtual bool concat_get_ctrl(sc_digit *dst_p, int low_i) const
bool sc_io_show_base(systemc_ostream &)
friend sc_signed xor_signed_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_signed operator/(const sc_unsigned &u, const sc_signed &v)
const sc_bit operator~(const sc_bit &a)
virtual uint64 concat_get_uint64() const
friend class sc_signed_signal
const sc_signed & operator*=(const sc_signed &v)
friend sc_signed div_signed_friend(small_type s, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
virtual uint64 concat_get_uint64() const
void check_index(int i) const
friend sc_signed operator~(const sc_signed &u)
friend bool operator!=(const sc_unsigned &u, const sc_signed &v)
bool operator!=(const sc_bit &a, const sc_bit &b)
virtual int concat_length(bool *xz_present_p) const
bool operator==(const sc_bit &a, const sc_bit &b)
virtual int concat_length(bool *xz_present_p) const
sc_signed_bitref & operator[](int i)
virtual bool concat_get_data(sc_digit *dst_p, int low_i) const
sc_signed_bitref_r(const sc_signed_bitref_r &a)
sc_signed_subref_r(const sc_signed_subref_r &a)
sc_numrep sc_io_base(systemc_ostream &, sc_numrep)
friend bool operator>(const sc_unsigned &u, const sc_signed &v)
friend sc_signed or_signed_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_signed operator|(const sc_unsigned &u, const sc_signed &v)
sc_signed operator-(const sc_unsigned &u, const sc_signed &v)
static sc_core::sc_vpool< sc_signed_subref > m_pool
const std::string to_string(sc_numrep numrep=SC_DEC) const
void initialize(const sc_signed *obj_p, int index_)
inline::std::istream & operator>>(::std::istream &is, sc_bit &a)
bool operator>=(const sc_int_base &a, const sc_int_base &b)
sc_signed mul_signed_friend(small_type s, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
bool operator<=(const sc_int_base &a, const sc_int_base &b)
const sc_signed_bitref & operator&=(bool)
const sc_signed_bitref_r & bit(int i) const
void invalid_range(int l, int r) const
sc_digit * get_raw() const
sc_signed sub_signed_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_signed & operator>>=(const sc_signed &v)
friend bool operator<(const sc_unsigned &u, const sc_signed &v)
sc_signed and_signed_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
sc_signed_bitref & bit(int i)
const sc_signed & operator=(const sc_signed &v)
void print(::std::ostream &os=::std::cout) const
friend sc_signed operator&(const sc_unsigned &u, const sc_signed &v)
friend sc_signed operator^(const sc_unsigned &u, const sc_signed &v)
sc_signed(int nb=sc_length_param().len())
sc_signed_bitref(const sc_signed_bitref &a)
const sc_signed & operator/=(const sc_signed &v)
virtual bool concat_get_data(sc_digit *dst_p, int low_i) const
const sc_signed & operator-=(const sc_signed &v)
friend sc_signed sub_signed_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
static sc_core::sc_vpool< sc_signed_bitref > m_pool
const sc_signed & operator+=(const sc_signed &v)
virtual void concat_set(int64 src, int low_i)
virtual void concat_set(int64 src, int low_i)
sc_signed operator*(const sc_unsigned &u, const sc_signed &v)
sc_signed xor_signed_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
sc_signed operator%(const sc_unsigned &u, const sc_signed &v)
void scan(::std::istream &is=::std::cin)
sc_signed mod_signed_friend(small_type us, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
const sc_signed_bitref & operator^=(bool)
virtual ~sc_signed_bitref_r()
virtual bool concat_get_data(sc_digit *dst_p, int low_i) const
friend sc_unsigned operator>>(const sc_unsigned &u, const sc_signed &v)
const sc_signed_bitref & operator|=(bool)
virtual uint64 concat_get_uint64() const
inline::std::ostream & operator<<(::std::ostream &os, const sc_bit &a)
bool operator>(const sc_int_base &a, const sc_int_base &b)
friend bool operator<=(const sc_unsigned &u, const sc_signed &v)
const sc_signed_subref_r & range(int i, int j) const
const sc_signed_bitref & operator=(const sc_signed_bitref_r &)
void set_packed_rep(sc_digit *buf)
friend sc_signed add_signed_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
void initialize(const sc_signed *obj_p, int left_, int right_)
void get_packed_rep(sc_digit *buf) const
sc_signed add_signed_friend(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
small_type convert_signed_SM_to_2C_to_SM(small_type s, int nb, int nd, sc_digit *d)
friend sc_signed mul_signed_friend(small_type s, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
unsigned int to_uint() const
const sc_bit operator&(const sc_bit &a, const sc_bit &b)
sc_signed div_signed_friend(small_type s, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
const std::string to_string(sc_numrep numrep=SC_DEC) const
small_type make_zero(int nd, sc_digit *d)
const sc_signed & operator|=(const sc_signed &v)
virtual bool concat_get_ctrl(sc_digit *dst_p, int low_i) const
const sc_fxval operator/(const sc_fxnum &a, const sc_fxnum &b)
sc_signed or_signed_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_signed & operator^=(const sc_signed &v)