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 | b2dbd9fa44f57bfa7b67f828ed8b354f4af3a0b6 (patch) | |
tree | ffd8e0bd2b112180251804a096f601f745f9af1b /src/storage/dram.cc | |
parent | 1b01b557e76f8643964e5c367c072ab7778036f6 (diff) | |
parent | 5845ad71d78d310322046906ee4c8e91d007d57e (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; |