Lines Matching refs:tagbits

200     is_tag(is_tag_), pure_ram(pure_ram_), pure_cam(pure_cam_), tagbits(0),
238 // if data array, let tagbits = 0
241 tagbits = g_ip->tag_w;
243 tagbits = ADDRESS_BITS + EXTRA_TAG_BITS - _log2(capacity_per_die) +
247 tagbits = (((tagbits + 3) >> 2) << 2);
251 num_c_subarray = (int)ceil((tagbits * g_ip->tag_assoc * Nspd / Ndwl));// + EPSILON);
271 tagbits = int(ceil(g_ip->tag_w / 8.0) * 8);
273 tagbits = int(ceil((ADDRESS_BITS + EXTRA_TAG_BITS) / 8.0) * 8);
277 //tagbits = (((tagbits + 3) >> 2) << 2);
279 //TODO: error check input of tagbits and blocksize
282 (g_ip->nbanks * tagbits / 8.0 * Ndbl));
283 //tag_num_c_subarray = (int)(tagbits + EPSILON);
284 tag_num_c_subarray = tagbits;
292 tagbits = g_ip->tag_w;
294 tagbits = ADDRESS_BITS + EXTRA_TAG_BITS - _log2(g_ip->block_sz);//TODO: should be the page_offset=log2(page size), but this info is not avail with CACTI, for McPAT this is no problem.
296 tagbits = (((tagbits + 3) >> 2) << 2);
300 tag_num_c_subarray = (int)ceil((tagbits * Nspd / Ndwl));// + EPSILON);
437 num_do_b_mat = data_num_c_subarray + tagbits;
440 num_do_b_mat = tagbits;
478 num_do_b_subbank = tagbits * g_ip->tag_assoc;
479 if (num_do_b_mat < tagbits) {
546 num_di_b_mat = tagbits;
553 num_si_b_mat = tagbits;
555 num_di_b_mat = tagbits;
556 num_si_b_mat = tagbits;//*num_subarrays/num_mats;
586 num_di_b_bank_per_port = tagbits;
594 num_di_b_bank_per_port = g_ip->out_w + tagbits;//TODO: out_w or block_sz?
595 num_si_b_bank_per_port = tagbits;
596 num_do_b_bank_per_port = g_ip->out_w + tagbits;
599 num_di_b_bank_per_port = tagbits;
600 num_si_b_bank_per_port = tagbits;
601 num_do_b_bank_per_port = tagbits;