diff options
author | bd <bdunaisky@umass.edu> | 2025-04-01 02:12:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-01 02:12:15 +0000 |
commit | 6f536bd1bd1abab307c79d688c993e930cf7c250 (patch) | |
tree | 6132673f5aa85f2488d6f7de77fb33538b7320d3 /inc/stage.h | |
parent | 44cb9d396b909c84ef7ad3338e0a12cfcc082748 (diff) | |
parent | 574212dafcf1c4bdb7d5e6aaa577b74345988d67 (diff) |
Merge pull request #45 from bdunahu/dev-sid
MEM WB stage
Diffstat (limited to 'inc/stage.h')
-rw-r--r-- | inc/stage.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/inc/stage.h b/inc/stage.h index 84d2a7b..03048b0 100644 --- a/inc/stage.h +++ b/inc/stage.h @@ -30,11 +30,9 @@ class Stage * Advances this stage by a single clock cycle. * A boilerplate version is provided in stage.cc. * - * @param a DTO object containing the next instruction to be processed. * @param a response, indicating whether or not the parent pipe stage is * ready to accept a new instruction object next cycle. - * @return a response, indicating whether this pipeline stage is stalling, - * busy, or done. + * @return a DTO object containing the next instruction to be processed. * * Must set the status to STALLED when an operation completes. */ @@ -55,6 +53,11 @@ class Stage */ void set_pc(unsigned int pc); + /** + * Squashes the pipeline. + */ + void squash(); + protected: /** * The function expected to do the majority of the work. |