From 984ce6eef2e439955ff991f90c2b654be7c6c3f3 Mon Sep 17 00:00:00 2001 From: bd Date: Thu, 17 Apr 2025 19:56:53 -0400 Subject: Add option to turn off pipeline --- inc/stage.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'inc/stage.h') diff --git a/inc/stage.h b/inc/stage.h index 1cedac6..996c21c 100644 --- a/inc/stage.h +++ b/inc/stage.h @@ -118,6 +118,11 @@ class Stage * A flag indicating whether pipelining should be used. */ static bool is_pipelined; + /** + * A flag which tells fetch when the pipe is empty. Only used when the pipe + * is turned off. + */ + static bool is_empty; /** * The current clock cycle. */ @@ -134,7 +139,6 @@ class Stage * The current status of this stage. */ Response status; - }; #endif /* STAGE_H_INCLUDED */ -- cgit v1.2.3