Searched refs:DIV_CEIL (Results 1 - 17 of 17) sorted by relevance

/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_nbdefs.cpp62 const int MAX_NDIGITS = DIV_CEIL(SC_MAX_NBITS) + 2;
65 // (x + y) bits. Assume that x + y <= SC_MAX_NBITS. Then, DIV_CEIL(x) +
66 // DIV_CEIL(y) <= DIV_CEIL(SC_MAX_NBITS) + 2. This is the reason for +2
H A Dsc_nbcommon.inc63 ndigits = DIV_CEIL(nbits);
92 ndigits = DIV_CEIL(nbits);
116 ndigits = DIV_CEIL(nbits);
139 ndigits = DIV_CEIL(nbits);
162 ndigits = DIV_CEIL(nbits);
185 ndigits = DIV_CEIL(nbits);
208 ndigits = DIV_CEIL(nbits);
231 ndigits = DIV_CEIL(nbits);
1717 int nd = DIV_CEIL(nb);
2603 ndigits = DIV_CEIL(nbit
[all...]
H A Dsc_nbdefs.h154 // DIV_CEIL(x) = ceil(x / BITS_PER_DIGIT) = the number of digits to
156 #define DIV_CEIL(x) DIV_CEIL2(x, BITS_PER_DIGIT) macro
162 // (x + y) bits. Assume that x + y <= SC_MAX_NBITS. Then, DIV_CEIL(x) +
163 // DIV_CEIL(y) <= DIV_CEIL(SC_MAX_NBITS) + 2. This is the reason for +2
H A Dsc_signed_subref.inc247 int nd = DIV_CEIL(nb);
H A Dsc_unsigned_subref.inc247 int nd = DIV_CEIL(nb);
H A Dsc_nbutils.cpp1727 nd = nsl / BITS_PER_DIGIT; // No need to use DIV_CEIL(nsl).
1731 nd = DIV_CEIL(nsl) - 1;
1795 nd = DIV_CEIL(nsr) - 1;
H A Dsc_signed.h2166 sc_digit digit[DIV_CEIL(SC_MAX_NBITS)]; // Shortened as d.
2350 ndigits = DIV_CEIL(nbits);
H A Dsc_unsigned.h1955 sc_digit digit[DIV_CEIL(SC_MAX_NBITS)]; // Shortened as d.
2160 ndigits = DIV_CEIL(nbits);
/gem5/src/systemc/ext/dt/int/
H A Dsc_nbdefs.hh142 // DIV_CEIL(x) = ceil(x / BITS_PER_DIGIT) = the number of digits to
144 #define DIV_CEIL(x) DIV_CEIL2(x, BITS_PER_DIGIT) macro
147 static const int MAX_NDIGITS = DIV_CEIL(SC_MAX_NBITS) + 2;
150 // (x + y) bits. Assume that x + y <= SC_MAX_NBITS. Then, DIV_CEIL(x) +
151 // DIV_CEIL(y) <= DIV_CEIL(SC_MAX_NBITS) + 2. This is the reason for +2
H A Dsc_signed.hh2291 sc_digit digit[DIV_CEIL(SC_MAX_NBITS)]; // Shortened as d.
2476 ndigits = DIV_CEIL(nbits);
H A Dsc_unsigned.hh1971 sc_digit digit[DIV_CEIL(SC_MAX_NBITS)]; // Shortened as d.
2169 ndigits = DIV_CEIL(nbits);
/gem5/src/systemc/dt/int/
H A Dsc_nbcommon.inc61 ndigits = DIV_CEIL(nbits);
90 ndigits = DIV_CEIL(nbits);
112 ndigits = DIV_CEIL(nbits);
133 ndigits = DIV_CEIL(nbits);
154 ndigits = DIV_CEIL(nbits);
175 ndigits = DIV_CEIL(nbits);
196 ndigits = DIV_CEIL(nbits);
217 ndigits = DIV_CEIL(nbits);
1462 int nd = DIV_CEIL(nb);
2260 ndigits = DIV_CEIL(nbit
[all...]
H A Dsc_signed_subref.inc251 int nd = DIV_CEIL(nb);
H A Dsc_unsigned_subref.inc250 int nd = DIV_CEIL(nb);
H A Dsc_nbutils.cc1600 nd = nsl / BITS_PER_DIGIT; // No need to use DIV_CEIL(nsl).
1603 nd = DIV_CEIL(nsl) - 1;
1657 nd = DIV_CEIL(nsr) - 1;
/gem5/ext/systemc/src/sysc/datatypes/misc/
H A Dsc_concatref.h245 result_p->ndigits = DIV_CEIL(result_p->nbits);
/gem5/src/systemc/ext/dt/misc/
H A Dsc_concatref.hh256 result_p->ndigits = DIV_CEIL(result_p->nbits);

Completed in 67 milliseconds