summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/storage/dram.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/storage/dram.cc b/src/storage/dram.cc
index 23dedc0..9dab4ed 100644
--- a/src/storage/dram.cc
+++ b/src/storage/dram.cc
@@ -8,9 +8,10 @@ Dram::Dram(int lines, int delay)
this->data = new std::vector<std::array<signed int, LINE_SIZE>>;
this->data->resize(lines);
this->delay = delay;
- this->wait_time = this->delay;
+ this->is_waiting = false;
this->lower = nullptr;
this->requester = IDLE;
+ this->wait_time = this->delay;
}
Dram::~Dram() { delete this->data; }