summaryrefslogtreecommitdiff
path: root/inc/dram.h
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-03-08 21:07:09 -0500
committerGitHub <noreply@github.com>2025-03-08 21:07:09 -0500
commit0c6c9f8074aa5c356e2a1e582ab81355967a2060 (patch)
treee76871ceee74d36a660d5347c694493411426a7b /inc/dram.h
parent71ce62bd7797300c72b635a81ebcf677be4936a7 (diff)
parent7e64289d658d077ceffaa9f7272ccbe0f27277fa (diff)
Merge pull request #14 from bdunahu/bdunahuer
Storage.view + Dram.store methods, tests
Diffstat (limited to 'inc/dram.h')
-rw-r--r--inc/dram.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/inc/dram.h b/inc/dram.h
index 41dd7de..cfac799 100644
--- a/inc/dram.h
+++ b/inc/dram.h
@@ -8,16 +8,15 @@ class Dram : public Storage
/**
* Constructor.
* @param The number of `lines` contained in memory. The total number of
- * words is this number multiplied by 4.
+ * words is this number multiplied by LINE_SIZE.
* @param The number of clock cycles each access takes.
* @return A new memory object.
*/
Dram(int lines, int delay);
~Dram();
- Response *write(Accessor accessor, signed int data, int address) override;
- Response *read(Accessor accessor, int address) override;
- int **view(int base, int lines) override;
+ Response write(Accessor accessor, signed int data, int address) override;
+ Response read(Accessor accessor, int address) override;
};
#endif /* DRAM_H_INCLUDED */