Searched refs:BITS_PER_BYTE (Results 1 - 11 of 11) sorted by relevance

/gem5/ext/mcpat/
H A Dcommon.h60 #define BITS_PER_BYTE 8.0 macro
H A Dmemoryctrl.cc197 mcp.llcBlockSize * BITS_PER_BYTE / mcp.dataBusWidth +
306 (mcp.peak_transfer_rate * BITS_PER_BYTE / 1e3) * mcp.dataBusWidth /
313 mcp.llcBlockSize * BITS_PER_BYTE / 1e9 +
336 data = int(ceil((physical_address_width + mcp.opcodeW) / BITS_PER_BYTE));
342 interface_ip.out_w = interface_ip.line_sz * BITS_PER_BYTE;
381 BITS_PER_BYTE / mcp.dataBusWidth * mcp.dataBusWidth / 72;
383 BITS_PER_BYTE / mcp.dataBusWidth * mcp.dataBusWidth / 72;
390 data = (int)ceil(mcp.dataBusWidth / BITS_PER_BYTE);
396 interface_ip.out_w = interface_ip.line_sz * BITS_PER_BYTE;
425 BITS_PER_BYTE / mc
[all...]
H A Dcacheunit.cc86 dir_overhead = ceil(cache_params.num_cores / BITS_PER_BYTE) *
87 BITS_PER_BYTE / (line * BITS_PER_BYTE);
101 interface_ip.out_w = interface_ip.line_sz * BITS_PER_BYTE;
103 interface_ip.out_w = interface_ip.line_sz * BITS_PER_BYTE / 2;
224 (cache_params.blockW * BITS_PER_BYTE);
225 line = int(ceil(data / BITS_PER_BYTE));
236 interface_ip.out_w = line * BITS_PER_BYTE;
238 interface_ip.out_w = line * BITS_PER_BYTE / 2;
293 interface_ip.out_w = interface_ip.line_sz * BITS_PER_BYTE;
[all...]
H A Dcore.cc90 line = int(ceil(data / BITS_PER_BYTE));
101 interface_ip.out_w = line * BITS_PER_BYTE;
151 interface_ip.out_w = line * BITS_PER_BYTE;
322 data = int(ceil(branch_pred_params.global_predictor_bits / BITS_PER_BYTE));
327 interface_ip.out_w = interface_ip.line_sz * BITS_PER_BYTE;
347 BITS_PER_BYTE));
352 interface_ip.out_w = interface_ip.line_sz * BITS_PER_BYTE;
375 BITS_PER_BYTE));
380 interface_ip.out_w = interface_ip.line_sz * BITS_PER_BYTE;
401 BITS_PER_BYTE));
[all...]
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_nbutils.cpp1219 assert(BITS_PER_DIGIT >= 3 * BITS_PER_BYTE);
1232 uchar x[DIV_CEIL2(SC_MAX_NBITS, BITS_PER_BYTE)];
1233 uchar y[DIV_CEIL2(SC_MAX_NBITS, BITS_PER_BYTE)];
1234 uchar q[DIV_CEIL2(SC_MAX_NBITS, BITS_PER_BYTE)];
1269 sc_digit y2 = (y[ylen - 1] << BITS_PER_BYTE) + y[ylen - 2];
1271 const sc_digit DOUBLE_BITS_PER_BYTE = 2 * BITS_PER_BYTE;
1284 (x[k2 - 1] << BITS_PER_BYTE) + x[k2 - 2]) / y2;
1301 carry = (carry >> BITS_PER_BYTE) + (1 - (diff >> BITS_PER_BYTE));
1310 carry = 1 - (carry >> BITS_PER_BYTE);
[all...]
H A Dsc_nbdefs.h123 #define BITS_PER_BYTE 8 macro
127 // LOG2_BITS_PER_BYTE = log2(BITS_PER_BYTE), assuming that
128 // BITS_PER_BYTE is a power of 2.
142 // Make sure that BYTES_PER_DIGIT = ceil(BITS_PER_DIGIT / BITS_PER_BYTE).
/gem5/src/systemc/dt/int/
H A Dsc_nbutils.cc1142 sc_assert(BITS_PER_DIGIT >= 3 * BITS_PER_BYTE);
1155 uchar x[DIV_CEIL2(SC_MAX_NBITS, BITS_PER_BYTE)];
1156 uchar y[DIV_CEIL2(SC_MAX_NBITS, BITS_PER_BYTE)];
1157 uchar q[DIV_CEIL2(SC_MAX_NBITS, BITS_PER_BYTE)];
1194 sc_digit y2 = (y[ylen - 1] << BITS_PER_BYTE) + y[ylen - 2];
1196 const sc_digit DOUBLE_BITS_PER_BYTE = 2 * BITS_PER_BYTE;
1208 (x[k2 - 1] << BITS_PER_BYTE) + x[k2 - 2]) / y2;
1224 carry = (carry >> BITS_PER_BYTE) +
1225 (1 - (diff >> BITS_PER_BYTE));
1233 carry = 1 - (carry >> BITS_PER_BYTE);
[all...]
/gem5/src/systemc/ext/dt/int/
H A Dsc_nbdefs.hh111 #define BITS_PER_BYTE 8 macro
115 // LOG2_BITS_PER_BYTE = log2(BITS_PER_BYTE), assuming that
116 // BITS_PER_BYTE is a power of 2.
130 // Make sure that BYTES_PER_DIGIT = ceil(BITS_PER_DIGIT / BITS_PER_BYTE).
/gem5/ext/systemc/src/sysc/tracing/
H A Dsc_wif_trace.cpp191 if (bit_width < (int)(sizeof(sc_dt::uint64)*BITS_PER_BYTE))
257 if (bit_width < (int)(sizeof(sc_dt::int64)*BITS_PER_BYTE))
1073 if (bit_width < (int)(sizeof(unsigned long)*BITS_PER_BYTE)) {
1323 if (bit_width < (int)(sizeof(long)*BITS_PER_BYTE)) {
/gem5/src/systemc/ext/dt/bit/
H A Dsc_proxy.hh98 const int SC_DIGIT_SIZE = BITS_PER_BYTE * sizeof(sc_digit);
/gem5/ext/systemc/src/sysc/datatypes/bit/
H A Dsc_proxy.h94 const int SC_DIGIT_SIZE = BITS_PER_BYTE * sizeof( sc_digit );

Completed in 46 milliseconds