diff options
author | bd <bdunahu@operationnull.com> | 2025-03-27 20:30:18 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-27 20:30:18 -0400 |
commit | eaa87e9fcd90c00d6261cbdb854efb7a09467f1d (patch) | |
tree | e7f4cc05a30e5589f8bd70ddc49f420369adbb3c /inc/stage.h | |
parent | 8d37d15ebd1221e3b1698abb3b051d9d0c044c93 (diff) |
Instr, InstrDTO gets/sets, other structures required for decode
Diffstat (limited to 'inc/stage.h')
-rw-r--r-- | inc/stage.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/inc/stage.h b/inc/stage.h index ac810a9..04de475 100644 --- a/inc/stage.h +++ b/inc/stage.h @@ -4,6 +4,7 @@ #include "instrDTO.h" #include "response.h" #include "storage.h" +#include "accessor.h" #include <array> class Stage @@ -27,13 +28,17 @@ class Stage protected: /** + * The name of the pipeline stage. + */ + Accessor id; + /** * The shared pool of general-purpose integer registers. */ - static std::array<int, GPR_NUM> gprs; + static std::array<signed int, GPR_NUM> gprs; /** * The address of the currently executing instruction. */ - static int pc; + static unsigned int pc; /** * A pointer to the next stage in the pipeline. */ |