diff options
author | bd <bdunahu@operationnull.com> | 2025-03-20 19:28:57 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-20 19:28:57 -0400 |
commit | cf3ac49639bef5082489068e2d92a4d86f42080b (patch) | |
tree | ffd8e0bd2b112180251804a096f601f745f9af1b /src/storage | |
parent | 91cddc344db947c83c995c6f48fc23d54439c6eb (diff) |
Rewrite all Dram tests to use Fixture
Diffstat (limited to 'src/storage')
-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; |