diff options
author | bd <bdunahu@operationnull.com> | 2025-03-06 00:34:35 -0500 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-06 00:34:35 -0500 |
commit | 3322aa0845f7fe9cc98aa4e429bd5ecf72a5c27e (patch) | |
tree | 75f627ee8e75c0763ab8b048496464c60e486490 /inc/storage.h | |
parent | 20fe698a4074df4abe02f14a1a14481770e90abc (diff) |
dram write (no delay, no accessor tracking
Diffstat (limited to 'inc/storage.h')
-rw-r--r-- | inc/storage.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/storage.h b/inc/storage.h index 5ad4f99..c0f09a3 100644 --- a/inc/storage.h +++ b/inc/storage.h @@ -1,5 +1,6 @@ #ifndef STORAGE_H #define STORAGE_H +#include "definitions.h" #include "response.h" #include <array> #include <vector> @@ -37,13 +38,13 @@ class Storage * @return A matrix of data values, where each row is a line and each column * is a word. */ - std::vector<std::array<signed int, 4>> view(int base, int lines); + std::vector<std::array<signed int, LINE_SIZE>> view(int base, int lines); protected: /** * The data currently stored in this level of storage. */ - std::vector<std::array<signed int, 4>> *data; + std::vector<std::array<signed int, LINE_SIZE>> *data; /** * A pointer to the next lowest level of storage. * Used in case of cache misses. |