diff options
| author | Mahmoud <[email protected]> | 2017-07-09 22:53:28 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2017-07-09 22:53:28 -0400 |
| commit | 9ca55c4871597e12a161bedb607308c28ed434e2 (patch) | |
| tree | a460c32c60bc01bba27eac39e421e7ebfacf57bb /src/gpgpu-sim/gpu-sim.h | |
| parent | 96d528311239d6ff82d7bec807a2509b344c9a60 (diff) | |
Fixing backgroup index bug
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.h')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.h | 2 |
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); |
