diff options
author | bd <bdunahu@operationnull.com> | 2025-04-01 22:06:42 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-01 22:06:42 -0400 |
commit | d4e3a7a3b1cff6885978093d5cc125e38cc397b3 (patch) | |
tree | 92caf723e7eadfa063fafe2291ca6ec4ed9513e0 /inc | |
parent | 68324683cde10c636a4a602644f3e64d24b0e412 (diff) |
Finish adding initial tests for full pipeline
Diffstat (limited to 'inc')
-rw-r--r-- | inc/id.h | 2 | ||||
-rw-r--r-- | inc/stage.h | 5 |
2 files changed, 1 insertions, 6 deletions
@@ -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 @@ -55,11 +55,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. */ void squash(); |