diff options
| author | Siddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com> | 2025-03-10 10:28:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-10 10:28:28 -0400 |
| commit | 357e7fb37caf58cdfcdf85f7553db9378ff16e0c (patch) | |
| tree | a0b0df4fff6f7d680901cd6007df67b15b3df3b6 /inc/dram.h | |
| parent | 57faaa064046824fec72e81a7e0973c495263395 (diff) | |
| parent | d0ec568e4f063fd1c85087582283f3511e0a12ec (diff) | |
Merge pull request #19 from bdunahu/bdunahu
cache store, handle load requests to memory, write allocate policy
-- changes look good
Diffstat (limited to 'inc/dram.h')
| -rw-r--r-- | inc/dram.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -19,7 +19,15 @@ class Dram : public Storage Response read(Accessor accessor, int address, std::array<signed int, LINE_SIZE>& data) override; private: + /** + * Helper for `write`. + */ + void do_write(signed int, int); + /** + * Helper for `read`. + */ void do_read(std::array<signed int, LINE_SIZE>& data_line, int address); }; #endif /* DRAM_H_INCLUDED */ + |
