Searched refs:nb (Results 1 - 20 of 20) sorted by relevance

/gem5/src/systemc/dt/int/
H A Dsc_nbcommon.inc50 // Create a CLASS_TYPE number with nb bits.
51 CLASS_TYPE::CLASS_TYPE(int nb) :
55 if (nb > 0) {
56 nbits = num_bits(nb);
58 invalid_init("int nb", nb);
63 test_bound(nb);
104 int nb = v.length();
106 if (nb > 0) {
107 nbits = num_bits(nb);
[all...]
H A Dsc_signed_subref.inc250 int nb = m_left - m_right + 1;
251 int nd = DIV_CEIL(nb);
277 while (i < nb) {
H A Dsc_unsigned_subref.inc249 int nb = m_left - m_right + 1;
250 int nd = DIV_CEIL(nb);
272 while (i < nb) {
H A Dsc_nbutils.cc1741 void test_bound_failed(int nb)
1744 msg << "test_bound( int nb ) : "
1745 "nb = " << nb << " > SC_MAX_NBITS = " << SC_MAX_NBITS <<
H A Dsc_unsigned.cc118 sc_unsigned::invalid_init(const char *type_name, int nb) const
121 msg << "sc_unsigned("<< type_name << ") : nb = " << nb << " is not valid"; local
H A Dsc_signed.cc110 sc_signed::invalid_init(const char *type_name, int nb) const
113 msg << "sc_signed("<< type_name << ") : nb = " << nb << " is not valid"; local
/gem5/src/systemc/ext/dt/int/
H A Dsc_nbutils.hh507 void test_bound_failed(int nb);
510 test_bound(int nb) argument
512 if (nb > SC_MAX_NBITS) {
513 test_bound_failed(nb);
588 trim(small_type added, int nb, int nd, sc_digit *d) argument
591 sc_assert((nb > 0) && (nd > 0) && (d != NULL));
593 d[nd - 1] &= one_and_ones(bit_ord(nb - 1) + added);
600 small_type s, int nb, int nd, sc_digit *d)
604 trim(added, nb, nd, d);
625 trim_signed(int nb, in argument
599 convert_SM_to_2C_trimmed(small_type added, small_type s, int nb, int nd, sc_digit *d) argument
637 convert_signed_2C_to_SM(int nb, int nd, sc_digit *d) argument
670 convert_signed_SM_to_2C_to_SM(small_type s, int nb, int nd, sc_digit *d) argument
679 convert_signed_SM_to_2C_trimmed(small_type s, int nb, int nd, sc_digit *d) argument
700 trim_unsigned(int nb, int nd, sc_digit *d) argument
713 convert_unsigned_2C_to_SM(int nb, int nd, sc_digit *d) argument
724 convert_unsigned_SM_to_2C_to_SM(small_type s, int nb, int nd, sc_digit *d) argument
733 convert_unsigned_SM_to_2C_trimmed(small_type s, int nb, int nd, sc_digit *d) argument
[all...]
H A Dsc_signed.hh997 void invalid_init(const char *type_name, int nb) const;
1001 explicit sc_signed(int nb=sc_length_param().len());
2287 int nbits; // Shortened as nb.
2305 sc_signed(small_type s, int nb, int nd, sc_digit *d, bool alloc=true);
2313 int num_bits(int nb) const { return nb; }
2318 copy_digits(int nb, int nd, const sc_digit *d) argument
2320 copy_digits_signed(sgn, nbits, ndigits, digit, nb, nd, d);
2468 int nb = v->length(); local
2470 if (nb >
[all...]
H A Dsc_unsigned.hh904 void invalid_init(const char *type_name, int nb) const;
908 explicit sc_unsigned(int nb=sc_length_param().len());
1967 int nbits; // Shortened as nb.
1983 sc_unsigned(small_type s, int nb, int nd, sc_digit *d, bool alloc=true);
1993 int num_bits(int nb) const { return nb + 1; }
1998 copy_digits(int nb, int nd, const sc_digit *d) argument
2000 copy_digits_unsigned(sgn, nbits, ndigits, digit, nb, nd, d);
2161 int nb = v->length(); local
2163 if (nb >
[all...]
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_nbutils.h687 test_bound(int nb) argument
689 if (nb > SC_MAX_NBITS) {
691 std::sprintf( msg, "test_bound( int nb ) : "
692 "nb = %d > SC_MAX_NBITS = %d is not valid",
693 nb, SC_MAX_NBITS );
774 trim(small_type added, int nb, int nd, sc_digit *d) argument
777 assert((nb > 0) && (nd > 0) && (d != NULL));
780 d[nd - 1] &= one_and_ones(bit_ord(nb - 1) + added);
788 small_type s, int nb, int nd, sc_digit *d)
792 trim(added, nb, n
787 convert_SM_to_2C_trimmed(small_type added, small_type s, int nb, int nd, sc_digit *d) argument
815 trim_signed(int nb, int nd, sc_digit *d) argument
829 convert_signed_2C_to_SM(int nb, int nd, sc_digit *d) argument
865 convert_signed_SM_to_2C_to_SM(small_type s, int nb, int nd, sc_digit *d) argument
875 convert_signed_SM_to_2C_trimmed(small_type s, int nb, int nd, sc_digit *d) argument
898 trim_unsigned(int nb, int nd, sc_digit *d) argument
912 convert_unsigned_2C_to_SM(int nb, int nd, sc_digit *d) argument
924 convert_unsigned_SM_to_2C_to_SM(small_type s, int nb, int nd, sc_digit *d) argument
934 convert_unsigned_SM_to_2C_trimmed(small_type s, int nb, int nd, sc_digit *d) argument
[all...]
H A Dsc_nbcommon.inc50 // Create a CLASS_TYPE number with nb bits.
51 CLASS_TYPE::CLASS_TYPE( int nb ) :
55 if( nb > 0 ) {
56 nbits = num_bits( nb );
59 std::sprintf( msg, "%s::%s( int nb ) : nb = %d is not valid",
60 CLASS_TYPE_STR, CLASS_TYPE_STR, nb );
65 test_bound(nb);
106 int nb = v.length();
108 if( nb >
[all...]
H A Dsc_signed_subref.inc246 int nb = m_left - m_right + 1;
247 int nd = DIV_CEIL(nb);
276 while (i < nb) {
H A Dsc_unsigned_subref.inc246 int nb = m_left - m_right + 1;
247 int nd = DIV_CEIL(nb);
276 while (i < nb) {
H A Dsc_signed.h1104 explicit sc_signed( int nb = sc_length_param().len() );
2162 int nbits; // Shortened as nb.
2178 sc_signed(small_type s, int nb, int nd,
2190 int num_bits(int nb) const { return nb; }
2194 void copy_digits(int nb, int nd, const sc_digit *d) argument
2195 { copy_digits_signed(sgn, nbits, ndigits, digit, nb, nd, d); }
2340 int nb = v->length(); local
2342 if( nb > 0 ) {
2343 nbits = num_bits( nb );
[all...]
H A Dsc_unsigned.h1005 explicit sc_unsigned( int nb = sc_length_param().len() );
1951 int nbits; // Shortened as nb.
1967 sc_unsigned(small_type s, int nb, int nd,
1979 int num_bits(int nb) const { return nb + 1; }
1983 void copy_digits(int nb, int nd, const sc_digit *d) argument
1984 { copy_digits_unsigned(sgn, nbits, ndigits, digit, nb, nd, d); }
2150 int nb = v->length(); local
2152 if( nb > 0 ) {
2153 nbits = num_bits( nb );
[all...]
/gem5/ext/systemc/src/sysc/qt/md/
H A Dksr1.h149 #define QUICKTHREADS_VARGS(sp, nb, vargs, pt, startup, vuserf, cleanup) \
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dsc_fix.h563 sc_fix::sc_fix( sc_q_mode qm, sc_o_mode om, int nb, argument
565 : sc_fxnum( sc_fxtype_params( qm, om, nb ),
581 sc_fix::sc_fix( int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, argument
583 : sc_fxnum( sc_fxtype_params( wl_, iwl_, qm, om, nb ),
619 sc_fix::sc_fix( sc_q_mode qm, sc_o_mode om, int nb, argument
622 : sc_fxnum( sc_fxtype_params( qm, om, nb ),
639 sc_fix::sc_fix( int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, argument
642 : sc_fxnum( sc_fxtype_params( wl_, iwl_, qm, om, nb ),
702 sc_q_mode qm, sc_o_mode om, int nb, \
705 sc_fxtype_params( qm, om, nb ), \
1271 sc_fix_fast( sc_q_mode qm, sc_o_mode om, int nb, sc_fxnum_fast_observer* observer_ ) argument
1289 sc_fix_fast( int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, sc_fxnum_fast_observer* observer_ ) argument
1328 sc_fix_fast( sc_q_mode qm, sc_o_mode om, int nb, const sc_fxcast_switch& cast_sw, sc_fxnum_fast_observer* observer_ ) argument
1348 sc_fix_fast( int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, const sc_fxcast_switch& cast_sw, sc_fxnum_fast_observer* observer_ ) argument
[all...]
H A Dsc_ufix.h566 sc_ufix::sc_ufix( sc_q_mode qm, sc_o_mode om, int nb, argument
568 : sc_fxnum( sc_fxtype_params( qm, om, nb ),
584 sc_ufix::sc_ufix( int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, argument
586 : sc_fxnum( sc_fxtype_params( wl_, iwl_, qm, om, nb ),
622 sc_ufix::sc_ufix( sc_q_mode qm, sc_o_mode om, int nb, argument
625 : sc_fxnum( sc_fxtype_params( qm, om, nb ),
642 sc_ufix::sc_ufix( int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, argument
645 : sc_fxnum( sc_fxtype_params( wl_, iwl_, qm, om, nb ),
705 sc_q_mode qm, sc_o_mode om, int nb, \
708 sc_fxtype_params( qm, om, nb ), \
1274 sc_ufix_fast( sc_q_mode qm, sc_o_mode om, int nb, sc_fxnum_fast_observer* observer_ ) argument
1292 sc_ufix_fast( int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, sc_fxnum_fast_observer* observer_ ) argument
1331 sc_ufix_fast( sc_q_mode qm, sc_o_mode om, int nb, const sc_fxcast_switch& cast_sw, sc_fxnum_fast_observer* observer_ ) argument
1351 sc_ufix_fast( int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, const sc_fxcast_switch& cast_sw, sc_fxnum_fast_observer* observer_ ) argument
[all...]
/gem5/src/systemc/ext/dt/fx/
H A Dsc_fix.hh423 inline sc_fix::sc_fix(sc_q_mode qm, sc_o_mode om, int nb, argument
425 sc_fxnum(sc_fxtype_params(qm, om, nb), SC_TC_, sc_fxcast_switch(),
435 inline sc_fix::sc_fix(int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, argument
437 sc_fxnum(sc_fxtype_params(wl_, iwl_, qm, om, nb), SC_TC_,
457 inline sc_fix::sc_fix(sc_q_mode qm, sc_o_mode om, int nb, argument
460 sc_fxnum(sc_fxtype_params(qm, om, nb), SC_TC_, cast_sw, observer_)
470 inline sc_fix::sc_fix(int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, argument
473 sc_fxnum(sc_fxtype_params(wl_, iwl_, qm, om, nb), SC_TC_, cast_sw,
506 inline sc_fix::sc_fix(tp a, sc_q_mode qm, sc_o_mode om, int nb, \
508 sc_fxnum(a, sc_fxtype_params(qm, om, nb), SC_TC
896 sc_fix_fast(sc_q_mode qm, sc_o_mode om, int nb, sc_fxnum_fast_observer *observer_) argument
908 sc_fix_fast(int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, sc_fxnum_fast_observer *observer_) argument
931 sc_fix_fast(sc_q_mode qm, sc_o_mode om, int nb, const sc_fxcast_switch &cast_sw, sc_fxnum_fast_observer *observer_) argument
944 sc_fix_fast(int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, const sc_fxcast_switch &cast_sw, sc_fxnum_fast_observer *observer_) argument
[all...]
H A Dsc_ufix.hh432 sc_ufix::sc_ufix(sc_q_mode qm, sc_o_mode om, int nb, argument
434 sc_fxnum(sc_fxtype_params(qm, om, nb), SC_US_, sc_fxcast_switch(),
444 inline sc_ufix::sc_ufix(int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, argument
446 sc_fxnum(sc_fxtype_params(wl_, iwl_, qm, om, nb), SC_US_,
466 inline sc_ufix::sc_ufix(sc_q_mode qm, sc_o_mode om, int nb, argument
469 sc_fxnum(sc_fxtype_params(qm, om, nb), SC_US_, cast_sw, observer_)
479 inline sc_ufix::sc_ufix(int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, argument
482 sc_fxnum(sc_fxtype_params(wl_, iwl_, qm, om, nb), SC_US_, cast_sw,
515 inline sc_ufix::sc_ufix(tp a, sc_q_mode qm, sc_o_mode om, int nb, \
517 sc_fxnum(a, sc_fxtype_params(qm, om, nb), SC_US
909 sc_ufix_fast(sc_q_mode qm, sc_o_mode om, int nb, sc_fxnum_fast_observer *observer_) argument
922 sc_ufix_fast( int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, sc_fxnum_fast_observer *observer_) argument
946 sc_ufix_fast( sc_q_mode qm, sc_o_mode om, int nb, const sc_fxcast_switch &cast_sw, sc_fxnum_fast_observer *observer_) argument
959 sc_ufix_fast( int wl_, int iwl_, sc_q_mode qm, sc_o_mode om, int nb, const sc_fxcast_switch &cast_sw, sc_fxnum_fast_observer *observer_) argument
[all...]

Completed in 48 milliseconds