diff options
| author | Siddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com> | 2025-03-26 22:05:46 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-26 22:05:46 -0400 |
| commit | 7abc8926670c1701db8011cacc9c5e2e2ca95be8 (patch) | |
| tree | fd3263d2754d662fdad6d69851f14a84f44db4d1 /inc/if.h | |
| parent | 9eeea1ab8bf4eb17e5da46d57a6c1d455a0a262e (diff) | |
| parent | 8d37d15ebd1221e3b1698abb3b051d9d0c044c93 (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/if.h')
| -rw-r--r-- | inc/if.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,6 @@ #ifndef IF_H #define IF_H +#include "instrDTO.h" #include "response.h" #include "stage.h" @@ -8,7 +9,13 @@ class IF : public Stage public: using Stage::Stage; - Response advance(); + Response advance(InstrDTO &i) override; + + private: + /** + * The name this pipeline stages uses to access storage. + */ + const Accessor id = FETCH; }; #endif /* IF_H_INCLUDED */ |
