diff options
| author | gpgpu-sim <[email protected]> | 2017-07-21 15:22:12 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-07-21 15:22:12 -0700 |
| commit | 320c815188d44694ca085d72081ed540129a5841 (patch) | |
| tree | 1391bd6f51c6d587f6680bf30e162f31ba7cff82 | |
| parent | be451de4abf4fac2ea4b8bd2a79c6037ac635990 (diff) | |
| parent | 28a0a22a65d9c1ebe1558c838ff92bf17a22073b (diff) | |
Merge pull request #39 from tgrogers/purdue-integ
Fixing BankGroup Indexing Bug
| -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); |
