diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/cache.h | 1 | ||||
-rw-r--r-- | inc/dram.h | 4 |
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. @@ -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`. */ |