summaryrefslogtreecommitdiff
path: root/src/gpuwattch/cacti/parameter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpuwattch/cacti/parameter.cc')
-rw-r--r--src/gpuwattch/cacti/parameter.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gpuwattch/cacti/parameter.cc b/src/gpuwattch/cacti/parameter.cc
index b52b0f0..3f5a802 100644
--- a/src/gpuwattch/cacti/parameter.cc
+++ b/src/gpuwattch/cacti/parameter.cc
@@ -207,6 +207,21 @@ DynamicParameter::DynamicParameter(
number_way_select_signals_mat(0), V_b_sense(0), use_inp_params(0),
is_main_mem(is_main_mem_), cell(), is_valid(false)
{
+
+ num_di_b_bank_per_port=0;
+ num_do_b_bank_per_port=0;
+ num_di_b_mat=0;
+ num_do_b_mat=0;
+ num_di_b_subbank=0;
+ num_do_b_subbank=0;
+ num_si_b_mat=0;
+ num_so_b_mat=0;
+ num_si_b_subbank=0;
+ num_so_b_subbank=0;
+ num_si_b_bank_per_port=0;
+ num_so_b_bank_per_port=0;
+
+
ram_cell_tech_type = (is_tag) ? g_ip->tag_arr_ram_cell_tech_type : g_ip->data_arr_ram_cell_tech_type;
is_dram = ((ram_cell_tech_type == lp_dram) || (ram_cell_tech_type == comm_dram));
@@ -214,6 +229,10 @@ DynamicParameter::DynamicParameter(
const TechnologyParameter::InterconnectType & wire_local = g_tp.wire_local;
fully_assoc = (g_ip->fully_assoc) ? true : false;
+
+
+
+
if (fully_assoc || pure_cam)
{ // fully-assocative cache -- ref: CACTi 2.0 report
if (Ndwl != 1 || //Ndwl is fixed to 1 for FA