From f9e5214e87a935e1311b886e44bdfe1f8bfbdf56 Mon Sep 17 00:00:00 2001 From: Siddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com> Date: Tue, 15 Apr 2025 11:59:27 -0400 Subject: Added pipeline to GUI --- inc/id.h | 2 ++ inc/if.h | 2 ++ inc/stage.h | 3 +++ 3 files changed, 7 insertions(+) (limited to 'inc') 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 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 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 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 */ -- cgit v1.2.3