summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorSiddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com>2025-04-15 11:59:27 -0400
committerSiddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com>2025-04-15 11:59:27 -0400
commitf9e5214e87a935e1311b886e44bdfe1f8bfbdf56 (patch)
tree481b94886edf89f3bf08d06b96092298d1cdbf8c /inc
parent561f7a6e6c24b05383b6db86b48125ee80a8355f (diff)
Added pipeline to GUI
Diffstat (limited to 'inc')
-rw-r--r--inc/id.h2
-rw-r--r--inc/if.h2
-rw-r--r--inc/stage.h3
3 files changed, 7 insertions, 0 deletions
diff --git a/inc/id.h b/inc/id.h
index fd8c874..db22d7d 100644
--- a/inc/id.h
+++ b/inc/id.h
@@ -38,6 +38,8 @@ class ID : public Stage
*/
void write_guard(signed int &r);
+ std::vector<int> stage_info() override;
+
private:
void advance_helper() override;
/**
diff --git a/inc/if.h b/inc/if.h
index 63ca90e..7ee6ecb 100644
--- a/inc/if.h
+++ b/inc/if.h
@@ -17,6 +17,8 @@ class IF : public Stage
InstrDTO *advance(Response p) override;
+ std::vector<int> stage_info() override;
+
private:
void advance_helper() override;
};
diff --git a/inc/stage.h b/inc/stage.h
index da33075..1cedac6 100644
--- a/inc/stage.h
+++ b/inc/stage.h
@@ -38,6 +38,8 @@ class Stage
*/
virtual InstrDTO *advance(Response p);
+ virtual std::vector<int> stage_info();
+
/* The following methods are made public so that they may be tested, and are
* not to be called from outside classes during standard execution.
*/
@@ -132,6 +134,7 @@ class Stage
* The current status of this stage.
*/
Response status;
+
};
#endif /* STAGE_H_INCLUDED */