summaryrefslogtreecommitdiff
path: root/inc/dram.h
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-03-26 22:05:46 -0400
committerGitHub <noreply@github.com>2025-03-26 22:05:46 -0400
commit495a8af3a90257e491c063730bccf86e34e153fa (patch)
treebf2ff9e8033a89814f675d13ba6ce40281484491 /inc/dram.h
parent9476d1355493cdab93064ec123ac13bfb78e8ed3 (diff)
parentb417eefe0b451ac01cef794f97e548f987bf173d (diff)
Merge pull request #36 from bdunahu/bdunahu
Add fetch stage implementation, tests, program loading, DTO object Base classes plus base tests for Instruction Fetch stage with a default program
Diffstat (limited to 'inc/dram.h')
-rw-r--r--inc/dram.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/dram.h b/inc/dram.h
index 0799015..102ec0f 100644
--- a/inc/dram.h
+++ b/inc/dram.h
@@ -29,6 +29,11 @@ class Dram : public Storage
Response
read_word(Accessor accessor, int address, signed int &data) override;
+ /**
+ * TODO This will accept a file at a later date.
+ */
+ void load(std::vector<signed int> program);
+
private:
/**
* Helper for all access methods.