Fixed bugs in hotleakage beta version{

In leakage.c:

Line 1134 was changed to line 1135, original code multiply il1_ports twice

Line 1430 was changed to line 1431, should be cache_il1->bsize

Line 1484 was changed to line 1485, original code multiply dl_ports twice

Line 2188 was changed to line 2189, original code multiply il2_ports twice

Line 2470, param3 = exp(c_nmos_tox*(1.6e-9-tox));

}

Enhancement to hotleakage beta version{

In cache_leak_ctrl.c:

   Variables added--> total_subleak_savings: the total subthreshold leakage energy of cache array and tag(The leakage power of the control components are excluded here).

                  --> total_gleak_savings: the total gate leakage energy of cache array and tag.

                  --> total_subleak: the total subthreshold leakage energy of cache array and tag if no leakage saving techniques are used

                  --> total_gleak: the total gate leakage energy of cache array and tag if no leakage saving   techniques are used.

                  --> total_bitlineleak: If you want to include bitline leakage for gatedVss tech, you need to count this number in the final caculation in your script.

   total_orig_leak_savings: The total leakage energy of cache array and tag.

กก

   In  function cache_leak_ctrl_init:  Some codes for initilizing the new variables are added

   In  function cache_leak_ctrl_update_stats: Some codes for updating the status of the new variables are added

   In function cache_leak_ctrl_reg_stats: Some codes for reporting the final value of the new variables are added

   New function subleak_savings and gleak_savings: Calculate the values needed to update the status of total_subleak_savings and total_gleak_savings every cycle.

   Fuction orig_leak_savings changed: To calculate the value needed to update the status of total_orig_leak_savings every cycle.

กก

In leakage.c:

   Line 1496: leakage_power->dl1_bitline_gateVss_leakage += leakage_power->dl1_bitline_data_ileak*tagbits;

   Functions changed or added: cache_active_subleakage, cache_active_gateleakage, cache_standby_subleakge, cache_standby_gateleakage, cache_active_leakage, cache_bitline_leakage, cache_standby_leakage

}

กก