summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.h
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2018-09-14 19:06:37 -0400
committerMahmoud <[email protected]>2018-09-14 19:06:37 -0400
commit7633c9da64049ee379ee48e17ace2c171a0c7abc (patch)
tree1af03364b7c2d28543d12e72a139f5d33943af06 /src/gpgpu-sim/gpu-sim.h
parenta3e64bb5465b2384c46003947c3b874892ba2f5f (diff)
parente8c9c7f780b237aad9e5914f4cc57831b562490b (diff)
Merge branch 'dev' of https://github.com/gpgpu-sim/gpgpu-sim_distribution into dev
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.h')
-rw-r--r--src/gpgpu-sim/gpu-sim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h
index a2d1b9b..7d92c66 100644
--- a/src/gpgpu-sim/gpu-sim.h
+++ b/src/gpgpu-sim/gpu-sim.h
@@ -195,7 +195,7 @@ struct memory_config {
for (i=0; nbkt>0; i++) {
nbkt = nbkt>>1;
}
- bk_tag_length = i;
+ bk_tag_length = i-1;
assert(nbkgrp>0 && "Number of bank groups cannot be zero");
tRCDWR = tRCD-(WL+1);
tRTW = (CL+(BL/data_command_freq_ratio)+2-WL);