diff options
| author | bd <bdunahu@operationnull.com> | 2025-03-31 23:51:08 -0400 | 
|---|---|---|
| committer | bd <bdunahu@operationnull.com> | 2025-03-31 23:51:08 -0400 | 
| commit | a4e0e5ff6208205f6ebd980f9ed1eca91dcc4311 (patch) | |
| tree | b9530876cabcb9041b925d795778237757bc797f /inc/stage.h | |
| parent | 2235e18ad81be4ed7097cd9cab93e35a990ec327 (diff) | |
| parent | 574212dafcf1c4bdb7d5e6aaa577b74345988d67 (diff) | |
Merge remote-tracking branch 'origin/dev-sid' into bdunahu
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. | 
