diff options
author | Siddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com> | 2025-03-11 11:18:01 -0400 |
---|---|---|
committer | Siddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com> | 2025-03-11 11:34:13 -0400 |
commit | 93b010dbbcdc921bfccae673918eb9fbf354538a (patch) | |
tree | ba813d226ae916abfef2502d3746f8fa3fbc40dc /inc/cache.h | |
parent | 1e1279817e8a2a03b8c1acb9425464c82a065e01 (diff) |
support for reading word, writing line to storage, dirty cache eviction, cache load
Diffstat (limited to 'inc/cache.h')
-rw-r--r-- | inc/cache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/cache.h b/inc/cache.h index 5cdcea4..bc37f54 100644 --- a/inc/cache.h +++ b/inc/cache.h @@ -21,11 +21,12 @@ class Cache : public Storage ~Cache(); Response write(Accessor accessor, signed int data, int address) override; + Response write_line(Accessor accessor, std::array<signed int, LINE_SIZE> data_line, int address) override; Response read( Accessor accessor, int address, std::array<signed int, LINE_SIZE> &data) override; - Response read_word(Accessor accessor, int address, signed int &data); + Response read_word(Accessor accessor, int address, signed int &data) override; /** * Getter for the meta attribute. |