diff options
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/controller.h | 6 | ||||
| -rw-r--r-- | inc/stage.h | 6 | 
2 files changed, 6 insertions, 6 deletions
diff --git a/inc/controller.h b/inc/controller.h index f56b1b4..778c5bc 100644 --- a/inc/controller.h +++ b/inc/controller.h @@ -19,7 +19,7 @@ class Controller : public Stage  	 */  	Controller(Stage *stage, Storage *storage, bool is_pipelined);  	InstrDTO *advance(Response p) override; -	 +  	/**  	 * Direct the simulator to run for `number` clock cycles.  	 * @param the number of clock cycles to run for. @@ -38,10 +38,6 @@ class Controller : public Stage  	 */  	int get_pc(); -	void set_gprs(int index, int value); - -	void set_pipelined(bool value); -    private:  	void advance_helper() override;  }; diff --git a/inc/stage.h b/inc/stage.h index 1cedac6..996c21c 100644 --- a/inc/stage.h +++ b/inc/stage.h @@ -119,6 +119,11 @@ class Stage  	 */  	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.  	 */  	static int clock_cycle; @@ -134,7 +139,6 @@ class Stage  	 * The current status of this stage.  	 */  	Response status; -  };  #endif /* STAGE_H_INCLUDED */  | 
