summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/cache.h1
-rw-r--r--inc/dram.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/inc/cache.h b/inc/cache.h
index 04f6181..5cdcea4 100644
--- a/inc/cache.h
+++ b/inc/cache.h
@@ -25,6 +25,7 @@ class Cache : public Storage
Accessor accessor,
int address,
std::array<signed int, LINE_SIZE> &data) override;
+ Response read_word(Accessor accessor, int address, signed int &data);
/**
* Getter for the meta attribute.
diff --git a/inc/dram.h b/inc/dram.h
index 2d4088f..d68797f 100644
--- a/inc/dram.h
+++ b/inc/dram.h
@@ -23,7 +23,9 @@ class Dram : public Storage
int address,
std::array<signed int, LINE_SIZE> &data) override;
- private:
+ void write_line(std::array<signed int, LINE_SIZE> data_line, int address);
+
+ private:
/**
* Helper for `write`.
*/