From d4e3a7a3b1cff6885978093d5cc125e38cc397b3 Mon Sep 17 00:00:00 2001 From: bd Date: Tue, 1 Apr 2025 22:06:42 -0400 Subject: Finish adding initial tests for full pipeline --- inc/id.h | 2 +- inc/stage.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'inc') diff --git a/inc/id.h b/inc/id.h index 6178ad2..fd8c874 100644 --- a/inc/id.h +++ b/inc/id.h @@ -67,7 +67,7 @@ class ID : public Stage void get_instr_fields(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m, Type &t); void decode_R_type(signed int &s1, signed int &s2, signed int &s3); void decode_I_type(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m); - void decode_J_type(signed int &s1, signed int &s2); + void decode_J_type(signed int &s1, signed int &s2, signed int &s3); /** * Helper for `get_instr_fields`. * Given a raw instruction, returns the mnemonic and type. diff --git a/inc/stage.h b/inc/stage.h index 20f0191..51ab667 100644 --- a/inc/stage.h +++ b/inc/stage.h @@ -54,11 +54,6 @@ class Stage */ void set_condition(CC c, bool v); - /** - * Sets the value of the PC register. - */ - void set_pc(unsigned int pc); - /** * Squashes the pipeline. */ -- cgit v1.2.3