summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSiddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com>2025-03-11 11:45:50 -0400
committerSiddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com>2025-03-11 11:45:50 -0400
commitb87fa0973b7a3ec08b08e86a2505e68879455b0e (patch)
treeca169a297c457abf3aad2edc1fbfcb3663ee1e26 /src
parentd7d24031e6df2529ba5c447da0393807be3e3e81 (diff)
Resolving conflicts
Diffstat (limited to 'src')
-rw-r--r--src/storage/dram.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/dram.cc b/src/storage/dram.cc
index be360a4..76c4f90 100644
--- a/src/storage/dram.cc
+++ b/src/storage/dram.cc
@@ -94,7 +94,7 @@ Response Dram::write(Accessor accessor, signed int data, int address)
return r;
}
-Response Dram::read(Accessor accessor, int address, std::array<signed int, LINE_SIZE>& data) {
+Response Dram::read(Accessor accessor, int address, std::array<signed int, LINE_SIZE>& data_line) {
Response r = WAIT;
if (this->requester == IDLE)
@@ -102,7 +102,7 @@ Response Dram::read(Accessor accessor, int address, std::array<signed int, LINE_
if (this->requester == accessor) {
if (this->wait_time == 0) {
- this->do_read(data, address);
+ this->do_read(data_line, address);
r = OK;
}
}