From b81c86b438123457be86af2e7c24375856afa742 Mon Sep 17 00:00:00 2001 From: bd Date: Wed, 26 Mar 2025 12:21:52 -0400 Subject: Add fetch stage implementation, tests, program loading, DTO object --- inc/if.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'inc/if.h') diff --git a/inc/if.h b/inc/if.h index d9599dd..437fa8d 100644 --- a/inc/if.h +++ b/inc/if.h @@ -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 */ -- cgit v1.2.3