summaryrefslogtreecommitdiff
path: root/inc/cache.h
diff options
context:
space:
mode:
authorSiddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com>2025-03-11 11:18:01 -0400
committerSiddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com>2025-03-11 11:34:13 -0400
commitd7d24031e6df2529ba5c447da0393807be3e3e81 (patch)
treeba813d226ae916abfef2502d3746f8fa3fbc40dc /inc/cache.h
parent7284cc1391dbb250cd6738a75853be7e3576fa41 (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.h3
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.