summaryrefslogtreecommitdiff
path: root/src/dram.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-14 16:28:05 -0400
committerbd <bdunahu@operationnull.com>2025-04-14 16:28:05 -0400
commitee433509972d9390a52f188e902eb74e55596822 (patch)
treea2bb8d9eb7220cbaf147c3af3fb837bec6736296 /src/dram.cc
parentb91eb002d4e6b2dc0c51b03df57c5089659ac669 (diff)
Allow multi-level cache by passing a size into the constructor
Diffstat (limited to 'src/dram.cc')
-rw-r--r--src/dram.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dram.cc b/src/dram.cc
index 2fd8a91..18c1a3e 100644
--- a/src/dram.cc
+++ b/src/dram.cc
@@ -24,7 +24,6 @@ Dram::write_word(void *id, signed int data, int address)
return process(id, address, [&](int line, int word) { this->data->at(line).at(word) = data; });
}
-// TODO requires testing
int
Dram::read_line(void *id, int address, std::array<signed int, LINE_SIZE> &data_line)
{