Lines Matching refs:sc_unsigned
22 sc_unsigned.h -- Arbitrary precision unsigned arithmetic.
25 sc_unsigned_subref, and sc_unsigned classes. The first two classes
27 sc_unsigned number, respectively.
32 because of its efficiency: The sc_signed and sc_unsigned types are
37 It is also important to note that an sc_unsigned number with n
41 The implementations of sc_signed and sc_unsigned classes are
48 efficient sc_signed and sc_unsigned types without compromising
73 // $Log: sc_unsigned.h,v $
120 class sc_unsigned;
144 extern template class sc_vpool<sc_dt::sc_unsigned>;
156 sc_unsigned add_unsigned_friend(
160 sc_unsigned sub_unsigned_friend(
164 sc_unsigned mul_unsigned_friend(
168 sc_unsigned div_unsigned_friend(
172 sc_unsigned mod_unsigned_friend(
176 sc_unsigned and_unsigned_friend(
181 sc_unsigned or_unsigned_friend(
185 sc_unsigned xor_unsigned_friend(
197 sc_signed operator + (const sc_unsigned &u, const sc_signed &v);
198 sc_signed operator + (const sc_signed &u, const sc_unsigned &v);
200 sc_unsigned operator + (const sc_unsigned &u, const sc_unsigned &v);
201 sc_signed operator + (const sc_unsigned &u, int64 v);
202 sc_unsigned operator + (const sc_unsigned &u, uint64 v);
203 sc_signed operator + (const sc_unsigned &u, long v);
204 sc_unsigned operator + (const sc_unsigned &u, unsigned long v);
205 sc_signed operator + (const sc_unsigned &u, int v);
206 inline sc_unsigned operator + (const sc_unsigned &u, unsigned int v);
208 sc_signed operator + (int64 u, const sc_unsigned &v);
209 sc_unsigned operator + (uint64 u, const sc_unsigned &v);
210 sc_signed operator + (long u, const sc_unsigned &v);
211 sc_unsigned operator + (unsigned long u, const sc_unsigned &v);
212 sc_signed operator + (int u, const sc_unsigned &v);
213 inline sc_unsigned operator + (unsigned int u, const sc_unsigned &v);
215 sc_unsigned operator + (const sc_unsigned &u, const sc_uint_base &v);
216 sc_signed operator + (const sc_unsigned &u, const sc_int_base &v);
217 sc_unsigned operator + (const sc_uint_base &u, const sc_unsigned &v);
218 sc_signed operator + (const sc_int_base &u, const sc_unsigned &v);
221 sc_signed operator - (const sc_unsigned &u, const sc_signed &v);
222 sc_signed operator - (const sc_signed &u, const sc_unsigned &v);
224 sc_signed operator - (const sc_unsigned &u, const sc_unsigned &v);
225 sc_signed operator - (const sc_unsigned &u, int64 v);
226 sc_signed operator - (const sc_unsigned &u, uint64 v);
227 sc_signed operator - (const sc_unsigned &u, long v);
228 sc_signed operator - (const sc_unsigned &u, unsigned long v);
229 sc_signed operator - (const sc_unsigned &u, int v);
230 sc_signed operator - (const sc_unsigned &u, unsigned int v);
232 sc_signed operator - (int64 u, const sc_unsigned &v);
233 sc_signed operator - (uint64 u, const sc_unsigned &v);
234 sc_signed operator - (long u, const sc_unsigned &v);
235 sc_signed operator - (unsigned long u, const sc_unsigned &v);
236 sc_signed operator - (int u, const sc_unsigned &v);
237 sc_signed operator - (unsigned int u, const sc_unsigned &v);
239 sc_signed operator - (const sc_unsigned &u, const sc_uint_base &v);
240 sc_signed operator - (const sc_unsigned &u, const sc_int_base &v);
241 sc_signed operator - (const sc_uint_base &u, const sc_unsigned &v);
242 sc_signed operator - (const sc_int_base &u, const sc_unsigned &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_unsigned operator * (const sc_unsigned &u, const sc_unsigned &v);
249 sc_signed operator * (const sc_unsigned &u, int64 v);
250 sc_unsigned operator * (const sc_unsigned &u, uint64 v);
251 sc_signed operator * (const sc_unsigned &u, long v);
252 sc_unsigned operator * (const sc_unsigned &u, unsigned long v);
253 sc_signed operator * (const sc_unsigned &u, int v);
254 inline sc_unsigned operator * (const sc_unsigned &u, unsigned int v);
256 sc_signed operator * (int64 u, const sc_unsigned &v);
257 sc_unsigned operator * (uint64 u, const sc_unsigned &v);
258 sc_signed operator * (long u, const sc_unsigned &v);
259 sc_unsigned operator * (unsigned long u, const sc_unsigned &v);
260 sc_signed operator * (int u, const sc_unsigned &v);
261 inline sc_unsigned operator * (unsigned int u, const sc_unsigned &v);
263 sc_unsigned operator * (const sc_unsigned &u, const sc_uint_base &v);
264 sc_signed operator * (const sc_unsigned &u, const sc_int_base &v);
265 sc_unsigned operator * (const sc_uint_base &u, const sc_unsigned &v);
266 sc_signed operator * (const sc_int_base &u, const sc_unsigned &v);
269 sc_signed operator / (const sc_unsigned &u, const sc_signed &v);
270 sc_signed operator / (const sc_signed &u, const sc_unsigned &v);
272 sc_unsigned operator / (const sc_unsigned &u, const sc_unsigned &v);
273 sc_signed operator / (const sc_unsigned &u, int64 v);
274 sc_unsigned operator / (const sc_unsigned &u, uint64 v);
275 sc_signed operator / (const sc_unsigned &u, long v);
276 sc_unsigned operator / (const sc_unsigned &u, unsigned long v);
277 sc_signed operator / (const sc_unsigned &u, int v);
278 inline sc_unsigned operator / (const sc_unsigned &u, unsigned int v);
280 sc_signed operator / (int64 u, const sc_unsigned &v);
281 sc_unsigned operator / (uint64 u, const sc_unsigned &v);
282 sc_signed operator / (long u, const sc_unsigned &v);
283 sc_unsigned operator / (unsigned long u, const sc_unsigned &v);
284 sc_signed operator / (int u, const sc_unsigned &v);
285 inline sc_unsigned operator / (unsigned int u, const sc_unsigned &v);
287 sc_unsigned operator / (const sc_unsigned &u, const sc_uint_base &v);
288 sc_signed operator / (const sc_unsigned &u, const sc_int_base &v);
289 sc_unsigned operator / (const sc_uint_base &u, const sc_unsigned &v);
290 sc_signed operator / (const sc_int_base &u, const sc_unsigned &v);
293 sc_signed operator % (const sc_unsigned &u, const sc_signed &v);
294 sc_signed operator % (const sc_signed &u, const sc_unsigned &v);
296 sc_unsigned operator % (const sc_unsigned &u, const sc_unsigned &v);
297 sc_signed operator % (const sc_unsigned &u, int64 v);
298 sc_unsigned operator % (const sc_unsigned &u, uint64 v);
299 sc_signed operator % (const sc_unsigned &u, long v);
300 sc_unsigned operator % (const sc_unsigned &u, unsigned long v);
301 sc_signed operator % (const sc_unsigned &u, int v);
302 inline sc_unsigned operator % (const sc_unsigned &u, unsigned int v);
304 sc_signed operator % (int64 u, const sc_unsigned &v);
305 sc_unsigned operator % (uint64 u, const sc_unsigned &v);
306 sc_signed operator % (long u, const sc_unsigned &v);
307 sc_unsigned operator % (unsigned long u, const sc_unsigned &v);
308 sc_signed operator % (int u, const sc_unsigned &v);
309 inline sc_unsigned operator % (unsigned int u, const sc_unsigned &v);
311 sc_unsigned operator % (const sc_unsigned &u, const sc_uint_base &v);
312 sc_signed operator % (const sc_unsigned &u, const sc_int_base &v);
313 sc_unsigned operator % (const sc_uint_base &u, const sc_unsigned &v);
314 sc_signed operator % (const sc_int_base &u, const sc_unsigned &v);
319 sc_signed operator & (const sc_unsigned &u, const sc_signed &v);
320 sc_signed operator & (const sc_signed &u, const sc_unsigned &v);
322 sc_unsigned operator & (const sc_unsigned &u, const sc_unsigned &v);
323 sc_signed operator & (const sc_unsigned &u, int64 v);
324 sc_unsigned operator & (const sc_unsigned &u, uint64 v);
325 sc_signed operator & (const sc_unsigned &u, long v);
326 sc_unsigned operator & (const sc_unsigned &u, unsigned long v);
327 sc_signed operator & (const sc_unsigned &u, int v);
328 inline sc_unsigned operator & (const sc_unsigned &u, unsigned int v);
330 sc_signed operator & (int64 u, const sc_unsigned &v);
331 sc_unsigned operator & (uint64 u, const sc_unsigned &v);
332 sc_signed operator & (long u, const sc_unsigned &v);
333 sc_unsigned operator & (unsigned long u, const sc_unsigned &v);
334 sc_signed operator & (int u, const sc_unsigned &v);
335 inline sc_unsigned operator & (unsigned int u, const sc_unsigned &v);
337 sc_unsigned operator & (const sc_unsigned &u, const sc_uint_base &v);
338 sc_signed operator & (const sc_unsigned &u, const sc_int_base &v);
339 sc_unsigned operator & (const sc_uint_base &u, const sc_unsigned &v);
340 sc_signed operator & (const sc_int_base &u, const sc_unsigned &v);
343 sc_signed operator | (const sc_unsigned &u, const sc_signed &v);
344 sc_signed operator | (const sc_signed &u, const sc_unsigned &v);
346 sc_unsigned operator | (const sc_unsigned &u, const sc_unsigned &v);
347 sc_signed operator | (const sc_unsigned &u, int64 v);
348 sc_unsigned operator | (const sc_unsigned &u, uint64 v);
349 sc_signed operator | (const sc_unsigned &u, long v);
350 sc_unsigned operator | (const sc_unsigned &u, unsigned long v);
351 sc_signed operator | (const sc_unsigned &u, int v);
352 inline sc_unsigned operator | (const sc_unsigned &u, unsigned int v);
354 sc_signed operator | (int64 u, const sc_unsigned &v);
355 sc_unsigned operator | (uint64 u, const sc_unsigned &v);
356 sc_signed operator | (long u, const sc_unsigned &v);
357 sc_unsigned operator | (unsigned long u, const sc_unsigned &v);
358 sc_signed operator | (int u, const sc_unsigned &v);
359 inline sc_unsigned operator | (unsigned int u, const sc_unsigned &v);
361 sc_unsigned operator | (const sc_unsigned &u, const sc_uint_base &v);
362 sc_signed operator | (const sc_unsigned &u, const sc_int_base &v);
363 sc_unsigned operator | (const sc_uint_base &u, const sc_unsigned &v);
364 sc_signed operator | (const sc_int_base &u, const sc_unsigned &v);
367 sc_signed operator ^ (const sc_unsigned &u, const sc_signed &v);
368 sc_signed operator ^ (const sc_signed &u, const sc_unsigned &v);
370 sc_unsigned operator ^ (const sc_unsigned &u, const sc_unsigned &v);
371 sc_signed operator ^ (const sc_unsigned &u, int64 v);
372 sc_unsigned operator ^ (const sc_unsigned &u, uint64 v);
373 sc_signed operator ^ (const sc_unsigned &u, long v);
374 sc_unsigned operator ^ (const sc_unsigned &u, unsigned long v);
375 sc_signed operator ^ (const sc_unsigned &u, int v);
376 inline sc_unsigned operator ^ (const sc_unsigned &u, unsigned int v);
378 sc_signed operator ^ (int64 u, const sc_unsigned &v);
379 sc_unsigned operator ^ (uint64 u, const sc_unsigned &v);
380 sc_signed operator ^ (long u, const sc_unsigned &v);
381 sc_unsigned operator ^ (unsigned long u, const sc_unsigned &v);
382 sc_signed operator ^ (int u, const sc_unsigned &v);
383 inline sc_unsigned operator ^ (unsigned int u, const sc_unsigned &v);
385 sc_unsigned operator ^ (const sc_unsigned &u, const sc_uint_base &v);
386 sc_signed operator ^ (const sc_unsigned &u, const sc_int_base &v);
387 sc_unsigned operator ^ (const sc_uint_base &u, const sc_unsigned &v);
388 sc_signed operator ^ (const sc_int_base &u, const sc_unsigned &v);
393 sc_unsigned operator << (const sc_unsigned &u, const sc_signed &v);
394 sc_signed operator << (const sc_signed &u, const sc_unsigned &v);
396 sc_unsigned operator << (const sc_unsigned &u, const sc_unsigned &v);
397 sc_unsigned operator << (const sc_unsigned &u, int64 v);
398 sc_unsigned operator << (const sc_unsigned &u, uint64 v);
399 sc_unsigned operator << (const sc_unsigned &u, long v);
400 sc_unsigned operator << (const sc_unsigned &u, unsigned long v);
401 inline sc_unsigned operator << (const sc_unsigned &u, int v);
402 inline sc_unsigned operator << (const sc_unsigned &u, unsigned int v);
404 sc_unsigned operator << (const sc_unsigned &u, const sc_uint_base &v);
405 sc_unsigned operator << (const sc_unsigned &u, const sc_int_base &v);
408 sc_unsigned operator >> (const sc_unsigned &u, const sc_signed &v);
409 sc_signed operator >> (const sc_signed &u, const sc_unsigned &v);
411 sc_unsigned operator >> (const sc_unsigned &u, const sc_unsigned &v);
412 sc_unsigned operator >> (const sc_unsigned &u, int64 v);
413 sc_unsigned operator >> (const sc_unsigned &u, uint64 v);
414 sc_unsigned operator >> (const sc_unsigned &u, long v);
415 sc_unsigned operator >> (const sc_unsigned &u, unsigned long v);
416 inline sc_unsigned operator >> (const sc_unsigned &u, int v);
417 inline sc_unsigned operator >> (const sc_unsigned &u, unsigned int v);
419 sc_unsigned operator >> ( const sc_unsigned &, const sc_uint_base &);
420 sc_unsigned operator >> ( const sc_unsigned&, const sc_int_base &);
423 sc_unsigned operator + (const sc_unsigned &u);
424 sc_signed operator - (const sc_unsigned &u);
429 bool operator == (const sc_unsigned &u, const sc_signed &v);
430 bool operator == (const sc_signed &u, const sc_unsigned &v);
432 bool operator == (const sc_unsigned &u, const sc_unsigned &v);
433 bool operator == (const sc_unsigned &u, int64 v);
434 bool operator == (const sc_unsigned &u, uint64 v);
435 bool operator == (const sc_unsigned &u, long v);
436 bool operator == (const sc_unsigned &u, unsigned long v);
437 inline bool operator == (const sc_unsigned &u, int v);
438 inline bool operator == (const sc_unsigned &u, unsigned int v);
440 bool operator == (int64 u, const sc_unsigned &v);
441 bool operator == (uint64 u, const sc_unsigned &v);
442 bool operator == (long u, const sc_unsigned &v);
443 bool operator == (unsigned long u, const sc_unsigned &v);
444 inline bool operator == (int u, const sc_unsigned &v);
445 inline bool operator == (unsigned int u, const sc_unsigned &v) ;
447 bool operator == (const sc_unsigned &u, const sc_uint_base &v);
448 bool operator == (const sc_unsigned &u, const sc_int_base &v);
449 bool operator == (const sc_uint_base &u, const sc_unsigned &v);
450 bool operator == (const sc_int_base &u, const sc_unsigned &v);
453 bool operator != (const sc_unsigned &u, const sc_signed &v);
454 bool operator != (const sc_signed &u, const sc_unsigned &v);
456 bool operator != (const sc_unsigned &u, const sc_unsigned &v);
457 bool operator != (const sc_unsigned &u, int64 v);
458 bool operator != (const sc_unsigned &u, uint64 v);
459 bool operator != (const sc_unsigned &u, long v);
460 bool operator != (const sc_unsigned &u, unsigned long v);
461 inline bool operator != (const sc_unsigned &u, int v);
462 inline bool operator != (const sc_unsigned &u, unsigned int v);
464 bool operator != (int64 u, const sc_unsigned &v);
465 bool operator != (uint64 u, const sc_unsigned &v);
466 bool operator != (long u, const sc_unsigned &v);
467 bool operator != (unsigned long u, const sc_unsigned &v);
468 inline bool operator != (int u, const sc_unsigned &v);
469 inline bool operator != (unsigned int u, const sc_unsigned &v);
471 bool operator != (const sc_unsigned &u, const sc_uint_base &v);
472 bool operator != (const sc_unsigned &u, const sc_int_base &v);
473 bool operator != (const sc_uint_base &u, const sc_unsigned &v);
474 bool operator != (const sc_int_base &u, const sc_unsigned &v);
477 bool operator < (const sc_unsigned &u, const sc_signed &v);
478 bool operator < (const sc_signed &u, const sc_unsigned &v);
480 bool operator < (const sc_unsigned &u, const sc_unsigned &v);
481 bool operator < (const sc_unsigned &u, int64 v);
482 bool operator < (const sc_unsigned &u, uint64 v);
483 bool operator < (const sc_unsigned &u, long v);
484 bool operator < (const sc_unsigned &u, unsigned long v);
485 inline bool operator < (const sc_unsigned &u, int v);
486 inline bool operator < (const sc_unsigned &u, unsigned int v);
488 bool operator < (int64 u, const sc_unsigned &v);
489 bool operator < (uint64 u, const sc_unsigned &v);
490 bool operator < (long u, const sc_unsigned &v);
491 bool operator < (unsigned long u, const sc_unsigned &v);
492 inline bool operator < (int u, const sc_unsigned &v);
493 inline bool operator < (unsigned int u, const sc_unsigned &v);
495 bool operator < (const sc_unsigned &u, const sc_uint_base &v);
496 bool operator < (const sc_unsigned &u, const sc_int_base &v);
497 bool operator < (const sc_uint_base &u, const sc_unsigned &v);
498 bool operator < (const sc_int_base &u, const sc_unsigned &v);
501 bool operator <= (const sc_unsigned &u, const sc_signed &v);
502 bool operator <= (const sc_signed &u, const sc_unsigned &v);
504 bool operator <= (const sc_unsigned &u, const sc_unsigned &v);
505 bool operator <= (const sc_unsigned &u, int64 v);
506 bool operator <= (const sc_unsigned &u, uint64 v);
507 bool operator <= (const sc_unsigned &u, long v);
508 bool operator <= (const sc_unsigned &u, unsigned long v);
509 inline bool operator <= (const sc_unsigned &u, int v);
510 inline bool operator <= (const sc_unsigned &u, unsigned int v);
512 bool operator <= (int64 u, const sc_unsigned &v);
513 bool operator <= (uint64 u, const sc_unsigned &v);
514 bool operator <= (long u, const sc_unsigned &v);
515 bool operator <= (unsigned long u, const sc_unsigned &v);
516 inline bool operator <= (int u, const sc_unsigned &v);
517 inline bool operator <= (unsigned int u, const sc_unsigned &v);
519 bool operator <= (const sc_unsigned &u, const sc_uint_base &v);
520 bool operator <= (const sc_unsigned &u, const sc_int_base &v);
521 bool operator <= (const sc_uint_base &u, const sc_unsigned &v);
522 bool operator <= (const sc_int_base &u, const sc_unsigned &v);
525 bool operator > (const sc_unsigned &u, const sc_signed &v);
526 bool operator > (const sc_signed &u, const sc_unsigned &v);
528 bool operator > (const sc_unsigned &u, const sc_unsigned &v);
529 bool operator > (const sc_unsigned &u, int64 v);
530 bool operator > (const sc_unsigned &u, uint64 v);
531 bool operator > (const sc_unsigned &u, long v);
532 bool operator > (const sc_unsigned &u, unsigned long v);
533 inline bool operator > (const sc_unsigned &u, int v);
534 inline bool operator > (const sc_unsigned &u, unsigned int v);
536 bool operator > (int64 u, const sc_unsigned &v);
537 bool operator > (uint64 u, const sc_unsigned &v);
538 bool operator > (long u, const sc_unsigned &v);
539 bool operator > (unsigned long u, const sc_unsigned &v);
540 inline bool operator > (int u, const sc_unsigned &v);
541 inline bool operator > (unsigned int u, const sc_unsigned &v);
543 bool operator > (const sc_unsigned &u, const sc_uint_base &v);
544 bool operator > (const sc_unsigned &u, const sc_int_base &v);
545 bool operator > (const sc_uint_base &u, const sc_unsigned &v);
546 bool operator > (const sc_int_base &u, const sc_unsigned &v);
549 bool operator >= (const sc_unsigned &u, const sc_signed &v);
550 bool operator >= (const sc_signed &u, const sc_unsigned &v);
552 bool operator >= (const sc_unsigned &u, const sc_unsigned &v);
553 bool operator >= (const sc_unsigned &u, int64 v);
554 bool operator >= (const sc_unsigned &u, uint64 v);
555 bool operator >= (const sc_unsigned &u, long v);
556 bool operator >= (const sc_unsigned &u, unsigned long v);
557 inline bool operator >= (const sc_unsigned &u, int v);
558 inline bool operator >= (const sc_unsigned &u, unsigned int v);
560 bool operator >= (int64 u, const sc_unsigned &v);
561 bool operator >= (uint64 u, const sc_unsigned &v);
562 bool operator >= (long u, const sc_unsigned &v);
563 bool operator >= (unsigned long u, const sc_unsigned &v);
564 inline bool operator >= (int u, const sc_unsigned &v);
565 inline bool operator >= (unsigned int u, const sc_unsigned &v);
567 bool operator >= (const sc_unsigned &u, const sc_uint_base &v);
568 bool operator >= (const sc_unsigned &u, const sc_int_base &v);
569 bool operator >= (const sc_uint_base &u, const sc_unsigned &v);
570 bool operator >= (const sc_int_base &u, const sc_unsigned &v);
573 sc_unsigned operator ~ (const sc_unsigned &u);
578 // Proxy class for sc_unsigned bit selection (r-value only).
583 friend class sc_unsigned;
590 initialize(const sc_unsigned *obj_p, int index_)
592 m_obj_p = const_cast<sc_unsigned *>(obj_p);
660 sc_unsigned *m_obj_p;
674 // Proxy class for sc_unsigned bit selection (r-value and l-value).
679 friend class sc_unsigned;
702 virtual void concat_set(const sc_unsigned &src, int low_i);
718 // Proxy class for sc_unsigned part selection (r-value only).
724 friend class sc_unsigned;
733 initialize(const sc_unsigned *obj_p, int left_, int right_)
735 m_obj_p = const_cast<sc_unsigned *>(obj_p);
760 // implicit conversion to sc_unsigned
761 operator sc_unsigned () const;
804 sc_unsigned *m_obj_p; // Target of this part selection.
819 // Proxy class for sc_unsigned part selection (r-value and l-value).
824 friend class sc_unsigned;
839 const sc_unsigned_subref &operator = (const sc_unsigned &a);
871 virtual void concat_set(const sc_unsigned &src, int low_i);
885 // CLASS : sc_unsigned
890 class sc_unsigned : public sc_value_base
901 // Needed for types using sc_unsigned.
908 explicit sc_unsigned(int nb=sc_length_param().len());
909 sc_unsigned(const sc_unsigned &v);
910 sc_unsigned(const sc_signed &v);
912 explicit sc_unsigned(const sc_generic_base<T> &v);
913 explicit sc_unsigned(const sc_bv_base &v);
914 explicit sc_unsigned(const sc_lv_base &v);
915 explicit sc_unsigned(const sc_int_subref_r &v);
916 explicit sc_unsigned(const sc_uint_subref_r &v);
917 explicit sc_unsigned(const sc_signed_subref_r &v);
918 explicit sc_unsigned(const sc_unsigned_subref_r &v);
921 const sc_unsigned &operator = (const sc_unsigned &v);
922 const sc_unsigned &operator = (const sc_unsigned_subref_r &a);
925 const sc_unsigned &
932 const sc_unsigned &operator = (const sc_signed &v);
933 const sc_unsigned &operator = (const sc_signed_subref_r &a);
935 const sc_unsigned &operator = (const char *v);
936 const sc_unsigned &operator = (int64 v);
937 const sc_unsigned &operator = (uint64 v);
938 const sc_unsigned &operator = (long v);
939 const sc_unsigned &operator = (unsigned long v);
941 const sc_unsigned &
947 const sc_unsigned &
953 const sc_unsigned &operator = (double v);
954 const sc_unsigned &operator = (const sc_int_base &v);
955 const sc_unsigned &operator = (const sc_uint_base &v);
957 const sc_unsigned &operator = (const sc_bv_base &);
958 const sc_unsigned &operator = (const sc_lv_base &);
960 const sc_unsigned &operator = (const sc_fxval &);
961 const sc_unsigned &operator = (const sc_fxval_fast &);
962 const sc_unsigned &operator = (const sc_fxnum &);
963 const sc_unsigned &operator = (const sc_fxnum_fast &);
966 virtual ~sc_unsigned()
987 virtual void concat_set(const sc_unsigned &src, int low_i);
991 sc_unsigned &operator ++ ();
992 const sc_unsigned operator ++ (int);
995 sc_unsigned &operator -- ();
996 const sc_unsigned operator -- (int);
1170 u = sc_unsigned,
1198 friend sc_signed operator + (const sc_unsigned &u, const sc_signed &v);
1199 friend sc_signed operator + (const sc_signed &u, const sc_unsigned &v);
1201 friend sc_unsigned operator + (const sc_unsigned &u, const sc_unsigned &v);
1202 friend sc_signed operator + (const sc_unsigned &u, int64 v);
1203 friend sc_unsigned operator + (const sc_unsigned &u, uint64 v);
1204 friend sc_signed operator + (const sc_unsigned &u, long v);
1205 friend sc_unsigned operator + (const sc_unsigned &u, unsigned long v);
1206 friend sc_signed operator + (const sc_unsigned &u, int v);
1207 friend sc_unsigned
1208 operator + (const sc_unsigned &u, unsigned int v)
1213 friend sc_signed operator + (int64 u, const sc_unsigned &v);
1214 friend sc_unsigned operator + (uint64 u, const sc_unsigned &v);
1215 friend sc_signed operator + (long u, const sc_unsigned &v);
1216 friend sc_unsigned operator + (unsigned long u, const sc_unsigned &v);
1217 friend sc_signed operator + (int u, const sc_unsigned &v);
1218 friend sc_unsigned
1219 operator + (unsigned int u, const sc_unsigned &v)
1224 const sc_unsigned &operator += (const sc_signed &v);
1225 const sc_unsigned &operator += (const sc_unsigned &v);
1226 const sc_unsigned &operator += (int64 v);
1227 const sc_unsigned &operator += (uint64 v);
1228 const sc_unsigned &operator += (long v);
1229 const sc_unsigned &operator += (unsigned long v);
1230 const sc_unsigned &
1235 const sc_unsigned &
1241 friend sc_unsigned operator + (
1242 const sc_unsigned &u, const sc_uint_base &v);
1243 friend sc_signed operator + (const sc_unsigned &u, const sc_int_base &v);
1244 friend sc_unsigned operator + (
1245 const sc_uint_base &u, const sc_unsigned &v);
1246 friend sc_signed operator + (const sc_int_base &u, const sc_unsigned &v);
1247 const sc_unsigned &operator += (const sc_int_base &v);
1248 const sc_unsigned &operator += (const sc_uint_base &v);
1251 friend sc_signed operator - (const sc_unsigned &u, const sc_signed &v);
1252 friend sc_signed operator - (const sc_signed &u, const sc_unsigned &v);
1254 friend sc_signed operator - (const sc_unsigned &u, const sc_unsigned &v);
1255 friend sc_signed operator - (const sc_unsigned &u, int64 v);
1256 friend sc_signed operator - (const sc_unsigned &u, uint64 v);
1257 friend sc_signed operator - (const sc_unsigned &u, long v);
1258 friend sc_signed operator - (const sc_unsigned &u, unsigned long v);
1259 friend sc_signed operator - (const sc_unsigned &u, int v);
1260 friend sc_signed operator - (const sc_unsigned &u, unsigned int v);
1262 friend sc_signed operator - (int64 u, const sc_unsigned &v);
1263 friend sc_signed operator - (uint64 u, const sc_unsigned &v);
1264 friend sc_signed operator - (long u, const sc_unsigned &v);
1265 friend sc_signed operator - (unsigned long u, const sc_unsigned &v);
1266 friend sc_signed operator - (int u, const sc_unsigned &v);
1267 friend sc_signed operator - (unsigned int u, const sc_unsigned &v);
1269 const sc_unsigned &operator -= (const sc_signed &v);
1270 const sc_unsigned &operator -= (const sc_unsigned &v);
1271 const sc_unsigned &operator -= (int64 v);
1272 const sc_unsigned &operator -= (uint64 v);
1273 const sc_unsigned &operator -= (long v);
1274 const sc_unsigned &operator -= (unsigned long v);
1275 const sc_unsigned &
1280 const sc_unsigned &
1286 friend sc_signed operator - (const sc_unsigned &u, const sc_uint_base &v);
1287 friend sc_signed operator - (const sc_unsigned &u, const sc_int_base &v);
1288 friend sc_signed operator - (const sc_uint_base &u, const sc_unsigned &v);
1289 friend sc_signed operator - (const sc_int_base &u, const sc_unsigned &v);
1290 const sc_unsigned &operator -= (const sc_int_base &v);
1291 const sc_unsigned &operator -= (const sc_uint_base &v);
1294 friend sc_signed operator * (const sc_unsigned &u, const sc_signed &v);
1295 friend sc_signed operator * (const sc_signed &u, const sc_unsigned &v);
1297 friend sc_unsigned operator * (const sc_unsigned &u, const sc_unsigned &v);
1298 friend sc_signed operator * (const sc_unsigned &u, int64 v);
1299 friend sc_unsigned operator * (const sc_unsigned &u, uint64 v);
1300 friend sc_signed operator * (const sc_unsigned &u, long v);
1301 friend sc_unsigned operator * (const sc_unsigned &u, unsigned long v);
1302 friend sc_signed operator * (const sc_unsigned &u, int v);
1303 friend sc_unsigned
1304 operator * (const sc_unsigned &u, unsigned int v)
1309 friend sc_signed operator * (int64 u, const sc_unsigned &v);
1310 friend sc_unsigned operator * (uint64 u, const sc_unsigned &v);
1311 friend sc_signed operator * (long u, const sc_unsigned &v);
1312 friend sc_unsigned operator * (unsigned long u, const sc_unsigned &v);
1313 friend sc_signed operator * (int u, const sc_unsigned &v);
1314 friend sc_unsigned
1315 operator * (unsigned int u, const sc_unsigned &v)
1320 const sc_unsigned &operator *= (const sc_signed &v);
1321 const sc_unsigned &operator *= (const sc_unsigned &v);
1322 const sc_unsigned &operator *= (int64 v);
1323 const sc_unsigned &operator *= (uint64 v);
1324 const sc_unsigned &operator *= (long v);
1325 const sc_unsigned &operator *= (unsigned long v);
1326 const sc_unsigned &operator *= (int v) { return operator *= ((long)v); }
1327 const sc_unsigned &
1333 friend sc_unsigned operator * (
1334 const sc_unsigned &u, const sc_uint_base &v);
1335 friend sc_signed operator * (const sc_unsigned &u, const sc_int_base &v);
1336 friend sc_unsigned operator * (
1337 const sc_uint_base &u, const sc_unsigned &v);
1338 friend sc_signed operator * (const sc_int_base &u, const sc_unsigned &v);
1339 const sc_unsigned &operator *= (const sc_int_base &v);
1340 const sc_unsigned &operator *= (const sc_uint_base &v);
1343 friend sc_signed operator / (const sc_unsigned &u, const sc_signed &v);
1344 friend sc_signed operator / (const sc_signed &u, const sc_unsigned &v);
1346 friend sc_unsigned operator / (const sc_unsigned &u, const sc_unsigned &v);
1347 friend sc_signed operator / (const sc_unsigned &u, int64 v);
1348 friend sc_unsigned operator / (const sc_unsigned &u, uint64 v);
1349 friend sc_signed operator / (const sc_unsigned &u, long v);
1350 friend sc_unsigned operator / (const sc_unsigned &u, unsigned long v);
1351 friend sc_signed operator / (const sc_unsigned &u, int v);
1352 friend sc_unsigned
1353 operator / (const sc_unsigned &u, unsigned int v)
1358 friend sc_signed operator / (int64 u, const sc_unsigned &v);
1359 friend sc_unsigned operator / (uint64 u, const sc_unsigned &v);
1360 friend sc_signed operator / (long u, const sc_unsigned &v);
1361 friend sc_unsigned operator / (unsigned long u, const sc_unsigned &v);
1362 friend sc_signed operator / (int u, const sc_unsigned &v);
1363 friend sc_unsigned
1364 operator / (unsigned int u, const sc_unsigned &v)
1369 const sc_unsigned &operator /= (const sc_signed &v);
1370 const sc_unsigned &operator /= (const sc_unsigned &v);
1371 const sc_unsigned &operator /= (int64 v);
1372 const sc_unsigned &operator /= (uint64 v);
1373 const sc_unsigned &operator /= (long v);
1374 const sc_unsigned &operator /= (unsigned long v);
1375 const sc_unsigned &operator /= (int v) { return operator /= ((long)v); }
1376 const sc_unsigned &
1382 friend sc_unsigned operator / (
1383 const sc_unsigned &u, const sc_uint_base &v);
1384 friend sc_signed operator / (const sc_unsigned &u, const sc_int_base &v);
1385 friend sc_unsigned operator / (
1386 const sc_uint_base &u, const sc_unsigned &v);
1387 friend sc_signed operator / (const sc_int_base &u, const sc_unsigned &v);
1388 const sc_unsigned &operator /= (const sc_int_base &v);
1389 const sc_unsigned &operator /= (const sc_uint_base &v);
1392 friend sc_signed operator % (const sc_unsigned &u, const sc_signed &v);
1393 friend sc_signed operator % (const sc_signed &u, const sc_unsigned &v);
1395 friend sc_unsigned operator % (const sc_unsigned &u, const sc_unsigned &v);
1396 friend sc_signed operator % (const sc_unsigned &u, int64 v);
1397 friend sc_unsigned operator % (const sc_unsigned &u, uint64 v);
1398 friend sc_signed operator % (const sc_unsigned &u, long v);
1399 friend sc_unsigned operator % (const sc_unsigned &u, unsigned long v);
1400 friend sc_signed operator % (const sc_unsigned &u, int v);
1401 friend sc_unsigned
1402 operator % (const sc_unsigned &u, unsigned int v)
1407 friend sc_signed operator % (int64 u, const sc_unsigned &v);
1408 friend sc_unsigned operator % (uint64 u, const sc_unsigned &v);
1409 friend sc_signed operator % (long u, const sc_unsigned &v);
1410 friend sc_unsigned operator % (unsigned long u, const sc_unsigned &v);
1411 friend sc_signed operator % (int u, const sc_unsigned &v);
1412 friend sc_unsigned
1413 operator % (unsigned int u, const sc_unsigned &v)
1418 const sc_unsigned &operator %= (const sc_signed &v);
1419 const sc_unsigned &operator %= (const sc_unsigned &v);
1420 const sc_unsigned &operator %= (int64 v);
1421 const sc_unsigned &operator %= (uint64 v);
1422 const sc_unsigned &operator %= (long v);
1423 const sc_unsigned &operator %= (unsigned long v);
1424 const sc_unsigned &operator %= (int v) { return operator %= ((long)v); }
1425 const sc_unsigned &
1431 friend sc_unsigned operator % (
1432 const sc_unsigned &u, const sc_uint_base &v);
1433 friend sc_signed operator % (const sc_unsigned &u, const sc_int_base &v);
1434 friend sc_unsigned operator % (
1435 const sc_uint_base &u, const sc_unsigned &v);
1436 friend sc_signed operator % (const sc_int_base &u, const sc_unsigned &v);
1437 const sc_unsigned &operator %= (const sc_int_base &v);
1438 const sc_unsigned &operator %= (const sc_uint_base &v);
1443 friend sc_signed operator & (const sc_unsigned &u, const sc_signed &v);
1444 friend sc_signed operator & (const sc_signed &u, const sc_unsigned &v);
1446 friend sc_unsigned operator & (const sc_unsigned &u, const sc_unsigned &v);
1447 friend sc_signed operator & (const sc_unsigned &u, int64 v);
1448 friend sc_unsigned operator & (const sc_unsigned &u, uint64 v);
1449 friend sc_signed operator & (const sc_unsigned &u, long v);
1450 friend sc_unsigned operator & (const sc_unsigned &u, unsigned long v);
1451 friend sc_signed operator & (const sc_unsigned &u, int v);
1452 friend sc_unsigned
1453 operator & (const sc_unsigned &u, unsigned int v)
1458 friend sc_signed operator & (int64 u, const sc_unsigned &v);
1459 friend sc_unsigned operator & (uint64 u, const sc_unsigned &v);
1460 friend sc_signed operator & (long u, const sc_unsigned &v);
1461 friend sc_unsigned operator & (unsigned long u, const sc_unsigned &v);
1462 friend sc_signed operator & (int u, const sc_unsigned &v);
1463 friend sc_unsigned
1464 operator & (unsigned int u, const sc_unsigned &v)
1469 const sc_unsigned &operator &= (const sc_signed &v);
1470 const sc_unsigned &operator &= (const sc_unsigned &v);
1471 const sc_unsigned &operator &= (int64 v);
1472 const sc_unsigned &operator &= (uint64 v);
1473 const sc_unsigned &operator &= (long v);
1474 const sc_unsigned &operator &= (unsigned long v);
1475 const sc_unsigned &operator &= (int v) { return operator&=((long) v); }
1476 const sc_unsigned &
1482 friend sc_unsigned operator & (
1483 const sc_unsigned &u, const sc_uint_base &v);
1484 friend sc_signed operator & (const sc_unsigned &u, const sc_int_base &v);
1485 friend sc_unsigned operator & (
1486 const sc_uint_base &u, const sc_unsigned &v);
1487 friend sc_signed operator & (const sc_int_base &u, const sc_unsigned &v);
1488 const sc_unsigned &operator &= (const sc_int_base &v);
1489 const sc_unsigned &operator &= (const sc_uint_base &v);
1492 friend sc_signed operator | (const sc_unsigned &u, const sc_signed &v);
1493 friend sc_signed operator | (const sc_signed &u, const sc_unsigned &v);
1495 friend sc_unsigned operator | (const sc_unsigned &u, const sc_unsigned &v);
1496 friend sc_signed operator | (const sc_unsigned &u, int64 v);
1497 friend sc_unsigned operator | (const sc_unsigned &u, uint64 v);
1498 friend sc_signed operator | (const sc_unsigned &u, long v);
1499 friend sc_unsigned operator | (const sc_unsigned &u, unsigned long v);
1500 friend sc_signed operator | (const sc_unsigned &u, int v);
1501 friend sc_unsigned
1502 operator | (const sc_unsigned &u, unsigned int v)
1507 friend sc_signed operator | (int64 u, const sc_unsigned &v);
1508 friend sc_unsigned operator | (uint64 u, const sc_unsigned &v);
1509 friend sc_signed operator | (long u, const sc_unsigned &v);
1510 friend sc_unsigned operator | (unsigned long u, const sc_unsigned &v);
1511 friend sc_signed operator | (int u, const sc_unsigned &v);
1512 friend sc_unsigned
1513 operator | (unsigned int u, const sc_unsigned &v)
1518 const sc_unsigned &operator |= (const sc_signed &v);
1519 const sc_unsigned &operator |= (const sc_unsigned &v);
1520 const sc_unsigned &operator |= (int64 v);
1521 const sc_unsigned &operator |= (uint64 v);
1522 const sc_unsigned &operator |= (long v);
1523 const sc_unsigned &operator |= (unsigned long v);
1524 const sc_unsigned &operator |= (int v) { return operator|=((long) v); }
1525 const sc_unsigned &
1531 friend sc_unsigned operator | (
1532 const sc_unsigned &u, const sc_uint_base &v);
1533 friend sc_signed operator | (const sc_unsigned &u, const sc_int_base &v);
1534 friend sc_unsigned operator | (
1535 const sc_uint_base &u, const sc_unsigned &v);
1536 friend sc_signed operator | (const sc_int_base &u, const sc_unsigned &v);
1537 const sc_unsigned &operator |= (const sc_int_base &v);
1538 const sc_unsigned &operator |= (const sc_uint_base &v);
1541 friend sc_signed operator ^ (const sc_unsigned &u, const sc_signed &v);
1542 friend sc_signed operator ^ (const sc_signed &u, const sc_unsigned &v);
1544 friend sc_unsigned operator ^ (const sc_unsigned &u, const sc_unsigned &v);
1545 friend sc_signed operator ^ (const sc_unsigned &u, int64 v);
1546 friend sc_unsigned operator ^ (const sc_unsigned &u, uint64 v);
1547 friend sc_signed operator ^ (const sc_unsigned &u, long v);
1548 friend sc_unsigned operator ^ (const sc_unsigned &u, unsigned long v);
1549 friend sc_signed operator ^ (const sc_unsigned &u, int v);
1550 friend sc_unsigned
1551 operator ^ (const sc_unsigned &u, unsigned int v)
1556 friend sc_signed operator ^ (int64 u, const sc_unsigned &v);
1557 friend sc_unsigned operator ^ (uint64 u, const sc_unsigned &v);
1558 friend sc_signed operator ^ (long u, const sc_unsigned &v);
1559 friend sc_unsigned operator ^ (unsigned long u, const sc_unsigned &v);
1560 friend sc_signed operator ^ (int u, const sc_unsigned &v);
1561 friend sc_unsigned
1562 operator ^ (unsigned int u, const sc_unsigned &v)
1567 const sc_unsigned &operator ^= (const sc_signed &v);
1568 const sc_unsigned &operator ^= (const sc_unsigned &v);
1569 const sc_unsigned &operator ^= (int64 v);
1570 const sc_unsigned &operator ^= (uint64 v);
1571 const sc_unsigned &operator ^= (long v);
1572 const sc_unsigned &operator ^= (unsigned long v);
1573 const sc_unsigned &
1578 const sc_unsigned &
1584 friend sc_unsigned operator ^ (
1585 const sc_unsigned &u, const sc_uint_base &v);
1586 friend sc_signed operator ^ (const sc_unsigned &u, const sc_int_base &v);
1587 friend sc_unsigned operator ^ (
1588 const sc_uint_base &u, const sc_unsigned &v);
1589 friend sc_signed operator ^ (const sc_int_base &u, const sc_unsigned &v);
1590 const sc_unsigned &operator ^= (const sc_int_base &v);
1591 const sc_unsigned &operator ^= (const sc_uint_base &v);
1596 friend sc_unsigned operator << (const sc_unsigned &u, const sc_signed &v);
1597 friend sc_signed operator << (const sc_signed &u, const sc_unsigned &v);
1599 friend sc_unsigned operator << (
1600 const sc_unsigned &u, const sc_unsigned &v);
1601 friend sc_unsigned operator << (const sc_unsigned &u, int64 v);
1602 friend sc_unsigned operator << (const sc_unsigned &u, uint64 v);
1603 friend sc_unsigned operator << (const sc_unsigned &u, long v);
1604 friend sc_unsigned operator << (const sc_unsigned &u, unsigned long v);
1605 friend sc_unsigned
1606 operator << (const sc_unsigned &u, int v)
1610 friend sc_unsigned
1611 operator << (const sc_unsigned &u, unsigned int v)
1616 const sc_unsigned &operator <<= (const sc_signed &v);
1617 const sc_unsigned &operator <<= (const sc_unsigned &v);
1618 const sc_unsigned &operator <<= (int64 v);
1619 const sc_unsigned &operator <<= (uint64 v);
1620 const sc_unsigned &operator <<= (long v);
1621 const sc_unsigned &operator <<= (unsigned long v);
1622 const sc_unsigned &operator <<= (int v) { return operator <<= ((long)v); }
1623 const sc_unsigned &
1629 friend sc_unsigned operator << (
1630 const sc_unsigned &u, const sc_uint_base &v);
1631 friend sc_unsigned operator << (
1632 const sc_unsigned &u, const sc_int_base &v);
1633 const sc_unsigned &operator <<= (const sc_int_base &v);
1634 const sc_unsigned &operator <<= (const sc_uint_base &v);
1637 friend sc_unsigned operator >> (const sc_unsigned &u, const sc_signed &v);
1638 friend sc_signed operator >> (const sc_signed &u, const sc_unsigned &v);
1640 friend sc_unsigned operator >> (
1641 const sc_unsigned &u, const sc_unsigned &v);
1642 friend sc_unsigned operator >> (const sc_unsigned &u, int64 v);
1643 friend sc_unsigned operator >> (const sc_unsigned &u, uint64 v);
1644 friend sc_unsigned operator >> (const sc_unsigned &u, long v);
1645 friend sc_unsigned operator >> (const sc_unsigned &u, unsigned long v);
1646 friend sc_unsigned
1647 operator >> (const sc_unsigned &u, int v)
1651 friend sc_unsigned
1652 operator >> (const sc_unsigned &u, unsigned int v)
1657 const sc_unsigned &operator >>= (const sc_signed &v);
1658 const sc_unsigned &operator >>= (const sc_unsigned &v);
1659 const sc_unsigned &operator >>= (int64 v);
1660 const sc_unsigned &operator >>= (uint64 v);
1661 const sc_unsigned &operator >>= (long v);
1662 const sc_unsigned &operator >>= (unsigned long v);
1663 const sc_unsigned &operator >>= (int v) { return operator >>= ((long)v); }
1664 const sc_unsigned &
1670 friend sc_unsigned operator >> (const sc_unsigned &, const sc_uint_base &);
1671 friend sc_unsigned operator >> (const sc_unsigned&, const sc_int_base &);
1672 const sc_unsigned &operator >>= (const sc_int_base &v);
1673 const sc_unsigned &operator >>= (const sc_uint_base &v);
1676 friend sc_unsigned operator + (const sc_unsigned &u);
1677 friend sc_signed operator - (const sc_unsigned &u);
1682 friend bool operator == (const sc_unsigned &u, const sc_signed &v);
1683 friend bool operator == (const sc_signed &u, const sc_unsigned &v);
1685 friend bool operator == (const sc_unsigned &u, const sc_unsigned &v);
1686 friend bool operator == (const sc_unsigned &u, int64 v);
1687 friend bool operator == (const sc_unsigned &u, uint64 v);
1688 friend bool operator == (const sc_unsigned &u, long v);
1689 friend bool operator == (const sc_unsigned &u, unsigned long v);
1691 operator == (const sc_unsigned &u, int v)
1696 operator == (const sc_unsigned &u, unsigned int v)
1701 friend bool operator == (int64 u, const sc_unsigned &v);
1702 friend bool operator == (uint64 u, const sc_unsigned &v);
1703 friend bool operator == (long u, const sc_unsigned &v);
1704 friend bool operator == (unsigned long u, const sc_unsigned &v);
1706 operator == (int u, const sc_unsigned &v)
1711 operator == (unsigned int u, const sc_unsigned &v)
1716 friend bool operator == (const sc_unsigned &u, const sc_uint_base &v);
1717 friend bool operator == (const sc_unsigned &u, const sc_int_base &v);
1718 friend bool operator == (const sc_uint_base &u, const sc_unsigned &v);
1719 friend bool operator == (const sc_int_base &u, const sc_unsigned &v);
1722 friend bool operator != (const sc_unsigned &u, const sc_signed &v);
1723 friend bool operator != (const sc_signed &u, const sc_unsigned &v);
1725 friend bool operator != (const sc_unsigned &u, const sc_unsigned &v);
1726 friend bool operator != (const sc_unsigned &u, int64 v);
1727 friend bool operator != (const sc_unsigned &u, uint64 v);
1728 friend bool operator != (const sc_unsigned &u, long v);
1729 friend bool operator != (const sc_unsigned &u, unsigned long v);
1731 operator != (const sc_unsigned &u, int v)
1736 operator != (const sc_unsigned &u, unsigned int v)
1741 friend bool operator != (int64 u, const sc_unsigned &v);
1742 friend bool operator != (uint64 u, const sc_unsigned &v);
1743 friend bool operator != (long u, const sc_unsigned &v);
1744 friend bool operator != (unsigned long u, const sc_unsigned &v);
1746 operator != (int u, const sc_unsigned &v)
1751 operator != (unsigned int u, const sc_unsigned &v)
1756 friend bool operator != (const sc_unsigned &u, const sc_uint_base &v);
1757 friend bool operator != (const sc_unsigned &u, const sc_int_base &v);
1758 friend bool operator != (const sc_uint_base &u, const sc_unsigned &v);
1759 friend bool operator != (const sc_int_base &u, const sc_unsigned &v);
1762 friend bool operator < (const sc_unsigned &u, const sc_signed &v);
1763 friend bool operator < (const sc_signed &u, const sc_unsigned &v);
1765 friend bool operator < (const sc_unsigned &u, const sc_unsigned &v);
1766 friend bool operator < (const sc_unsigned &u, int64 v);
1767 friend bool operator < (const sc_unsigned &u, uint64 v);
1768 friend bool operator < (const sc_unsigned &u, long v);
1769 friend bool operator < (const sc_unsigned &u, unsigned long v);
1771 operator < (const sc_unsigned &u, int v)
1776 operator < (const sc_unsigned &u, unsigned int v)
1781 friend bool operator < (int64 u, const sc_unsigned &v);
1782 friend bool operator < (uint64 u, const sc_unsigned &v);
1783 friend bool operator < (long u, const sc_unsigned &v);
1784 friend bool operator < (unsigned long u, const sc_unsigned &v);
1786 operator < (int u, const sc_unsigned &v)
1791 operator < (unsigned int u, const sc_unsigned &v)
1796 friend bool operator < (const sc_unsigned &u, const sc_uint_base &v);
1797 friend bool operator < (const sc_unsigned &u, const sc_int_base &v);
1798 friend bool operator < (const sc_uint_base &u, const sc_unsigned &v);
1799 friend bool operator < (const sc_int_base &u, const sc_unsigned &v);
1802 friend bool operator <= (const sc_unsigned &u, const sc_signed &v);
1803 friend bool operator <= (const sc_signed &u, const sc_unsigned &v);
1805 friend bool operator <= (const sc_unsigned &u, const sc_unsigned &v);
1806 friend bool operator <= (const sc_unsigned &u, int64 v);
1807 friend bool operator <= (const sc_unsigned &u, uint64 v);
1808 friend bool operator <= (const sc_unsigned &u, long v);
1809 friend bool operator <= (const sc_unsigned &u, unsigned long v);
1811 operator <= (const sc_unsigned &u, int v)
1816 operator <= (const sc_unsigned &u, unsigned int v)
1821 friend bool operator <= (int64 u, const sc_unsigned &v);
1822 friend bool operator <= (uint64 u, const sc_unsigned &v);
1823 friend bool operator <= (long u, const sc_unsigned &v);
1824 friend bool operator <= (unsigned long u, const sc_unsigned &v);
1826 operator <= (int u, const sc_unsigned &v)
1831 operator <= (unsigned int u, const sc_unsigned &v)
1836 friend bool operator <= (const sc_unsigned &u, const sc_uint_base &v);
1837 friend bool operator <= (const sc_unsigned &u, const sc_int_base &v);
1838 friend bool operator <= (const sc_uint_base &u, const sc_unsigned &v);
1839 friend bool operator <= (const sc_int_base &u, const sc_unsigned &v);
1842 friend bool operator > (const sc_unsigned &u, const sc_signed &v);
1843 friend bool operator > (const sc_signed &u, const sc_unsigned &v);
1845 friend bool operator > (const sc_unsigned &u, const sc_unsigned &v);
1846 friend bool operator > (const sc_unsigned &u, int64 v);
1847 friend bool operator > (const sc_unsigned &u, uint64 v);
1848 friend bool operator > (const sc_unsigned &u, long v);
1849 friend bool operator > (const sc_unsigned &u, unsigned long v);
1851 operator > (const sc_unsigned &u, int v)
1856 operator > (const sc_unsigned &u, unsigned int v)
1861 friend bool operator > (int64 u, const sc_unsigned &v);
1862 friend bool operator > (uint64 u, const sc_unsigned &v);
1863 friend bool operator > (long u, const sc_unsigned &v);
1864 friend bool operator > (unsigned long u, const sc_unsigned &v);
1866 operator > (int u, const sc_unsigned &v)
1871 operator > (unsigned int u, const sc_unsigned &v)
1876 friend bool operator > (const sc_unsigned &u, const sc_uint_base &v);
1877 friend bool operator > (const sc_unsigned &u, const sc_int_base &v);
1878 friend bool operator > (const sc_uint_base &u, const sc_unsigned &v);
1879 friend bool operator > (const sc_int_base &u, const sc_unsigned &v);
1882 friend bool operator >= (const sc_unsigned &u, const sc_signed &v);
1883 friend bool operator >= (const sc_signed &u, const sc_unsigned &v);
1885 friend bool operator >= (const sc_unsigned &u, const sc_unsigned &v);
1886 friend bool operator >= (const sc_unsigned &u, int64 v);
1887 friend bool operator >= (const sc_unsigned &u, uint64 v);
1888 friend bool operator >= (const sc_unsigned &u, long v);
1889 friend bool operator >= (const sc_unsigned &u, unsigned long v);
1891 operator >= (const sc_unsigned &u, int v)
1896 operator >= (const sc_unsigned &u, unsigned int v)
1901 friend bool operator >= (int64 u, const sc_unsigned &v);
1902 friend bool operator >= (uint64 u, const sc_unsigned &v);
1903 friend bool operator >= (long u, const sc_unsigned &v);
1904 friend bool operator >= (unsigned long u, const sc_unsigned &v);
1906 operator >= (int u, const sc_unsigned &v)
1911 operator >= (unsigned int u, const sc_unsigned &v)
1916 friend bool operator >= (const sc_unsigned &u, const sc_uint_base &v);
1917 friend bool operator >= (const sc_unsigned &u, const sc_int_base &v);
1918 friend bool operator >= (const sc_uint_base &u, const sc_unsigned &v);
1919 friend bool operator >= (const sc_int_base &u, const sc_unsigned &v);
1922 friend sc_unsigned operator ~ (const sc_unsigned &u);
1930 friend sc_unsigned add_unsigned_friend(
1934 friend sc_unsigned sub_unsigned_friend(
1938 friend sc_unsigned mul_unsigned_friend(
1942 friend sc_unsigned div_unsigned_friend(
1946 friend sc_unsigned mod_unsigned_friend(
1950 friend sc_unsigned and_unsigned_friend(
1954 friend sc_unsigned or_unsigned_friend(
1958 friend sc_unsigned xor_unsigned_friend(
1963 static sc_core::sc_vpool<sc_unsigned> m_pool;
1979 sc_unsigned(const sc_unsigned &v, small_type s);
1980 sc_unsigned(const sc_signed &v, small_type s);
1983 sc_unsigned(small_type s, int nb, int nd, sc_digit *d, bool alloc=true);
1986 sc_unsigned(const sc_signed *u, int l, int r);
1987 sc_unsigned(const sc_unsigned *u, int l, int r);
2022 inline ::std::ostream &operator << (::std::ostream &, const sc_unsigned &);
2024 inline ::std::istream &operator >> (::std::istream &, sc_unsigned &);
2032 // Proxy class for sc_unsigned bit selection (r-value only).
2047 // Proxy class for sc_unsigned bit selection (r-value and l-value).
2054 sc_unsigned temp(length());
2070 // Proxy class for sc_unsigned part selection (r-value only).
2078 const sc_unsigned *target_p = m_obj_p;
2094 const sc_unsigned *target_p = m_obj_p;
2111 const sc_unsigned *target_p = m_obj_p;
2131 // Proxy class for sc_unsigned part selection (r-value and l-value).
2139 sc_unsigned aa(length());
2153 // CLASS : sc_unsigned
2159 sc_unsigned::sc_unsigned( const sc_generic_base<T> &v)
2180 operator << (::std::ostream &os, const sc_unsigned &a)
2187 operator >> (::std::istream &is, sc_unsigned &a)