diff options
author | bd <bdunahu@operationnull.com> | 2025-03-29 12:58:14 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-29 12:58:14 -0400 |
commit | ac0ae7206491a42cdba70560b0db41cfc8c7f642 (patch) | |
tree | 454c592fe2dec39f435225957a8b93af84c0c756 /inc/stage.h | |
parent | 9793bf119cc6314e264bdfc9e98bc27c81db0adb (diff) |
Add parameter to Stage::advance so status can transfer down the pipe
Diffstat (limited to 'inc/stage.h')
-rw-r--r-- | inc/stage.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/stage.h b/inc/stage.h index 0348263..761b9f6 100644 --- a/inc/stage.h +++ b/inc/stage.h @@ -22,10 +22,12 @@ class Stage * Advances this stage by a single clock cycle. * @param a DTO object containing various information about an instruction * moving through the pipeline. - * @return a response, indicating whether this pipeline stage is stalled, + * @param a response, indicating whether or not the parent pipe stage is + * busy. + * @return a response, indicating whether this pipeline stage is stalling, * busy, or done. */ - virtual Response advance(InstrDTO &i) = 0; + virtual Response advance(InstrDTO &i, Response p) = 0; protected: /** |