diff options
author | bd <bdunahu@operationnull.com> | 2025-03-24 14:41:13 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-24 14:41:13 -0400 |
commit | 9a0b9ed3d77bde99b1f1ba341850117c188f0156 (patch) | |
tree | e8546d59859b3723744e901b51e5448f2b190d7f /inc/stage.h | |
parent | 877aa98855fad77ef93a8c9f5a5e8191fbb9e699 (diff) |
Add skeleton classes for 5 major pipeline stages
Diffstat (limited to 'inc/stage.h')
-rw-r--r-- | inc/stage.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/inc/stage.h b/inc/stage.h index 769818c..494f3d3 100644 --- a/inc/stage.h +++ b/inc/stage.h @@ -1,13 +1,21 @@ #ifndef STAGE_H #define STAGE_H #include "definitions.h" +#include "response.h" #include "storage.h" #include <array> class Stage { public: + Stage(Stage *next); virtual ~Stage() = default; + /** + * Advances this stage by a single clock cycle. + * @return a response, indicating whether this pipeline stage is stalled, + * busy, or done. + */ + virtual Response advance() = 0; protected: /** |