diff options
author | Siddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com> | 2025-03-21 14:21:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-21 14:21:06 -0400 |
commit | 24e8a72b40cb185de04821f31be65b0ec8768fb7 (patch) | |
tree | ffd8e0bd2b112180251804a096f601f745f9af1b /src/storage/dram.cc | |
parent | 89b9d1e4592d11cd6146b1bc3b3c12e241e574d3 (diff) | |
parent | cf3ac49639bef5082489068e2d92a4d86f42080b (diff) |
Merge pull request #27 from bdunahu/bdunahu
Make memory simulator an optional command, switch to test fixtures
Changes look good
Diffstat (limited to 'src/storage/dram.cc')
-rw-r--r-- | src/storage/dram.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/dram.cc b/src/storage/dram.cc index 56eec47..20db47e 100644 --- a/src/storage/dram.cc +++ b/src/storage/dram.cc @@ -8,10 +8,10 @@ #include <iterator> #include <utils.h> -Dram::Dram(int lines, int delay) +Dram::Dram(int delay) { this->data = new std::vector<std::array<signed int, LINE_SIZE>>; - this->data->resize(lines); + this->data->resize(MEM_LINES); this->delay = delay; this->is_waiting = false; this->lower = nullptr; |