summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim
diff options
context:
space:
mode:
authorTimothy G Rogers <[email protected]>2017-07-14 13:50:42 -0400
committerGitHub Enterprise <[email protected]>2017-07-14 13:50:42 -0400
commit36d1f3f1ef1bc53fc053ec7ae381422bd0e98385 (patch)
tree915858f34c76acbe68a7052980cd6b908ee14769 /src/gpgpu-sim
parent2f231086c67432cd4d9aabb2261e4f3515763851 (diff)
parenta3120435ca0e2d51bc06278ee242e9fb850b7076 (diff)
Merge pull request #1 from abdallm/dev-purdue-integration
Dev purdue integration
Diffstat (limited to 'src/gpgpu-sim')
-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);