diff options
author | Siddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com> | 2025-03-30 19:34:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-30 19:34:17 -0400 |
commit | 12a9e93f913c0057f2ef32f5894931c8b4bd3a85 (patch) | |
tree | 88669ed2be55b4f455ef4ac56263a01dd5f70a40 /inc/id.h | |
parent | eedf9686eb60f2008e7766cc9a5d3e037b9dae64 (diff) | |
parent | 36dabe6183af98b2e3f6d0316436dc3affc3d986 (diff) |
Merge pull request #41 from bdunahu/bdunahu
Add mock stage, proper decode tests
changes look good
Diffstat (limited to 'inc/id.h')
-rw-r--r-- | inc/id.h | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -14,8 +14,7 @@ class ID : public Stage * @return A newly allocated ID object. */ ID(Stage *next); - - InstrDTO *advance(Response p) override; + using Stage::advance; /* The following methods are made public so that they may be tested, and are * not to be called from outside classes during standard execution. @@ -56,10 +55,7 @@ class ID : public Stage void write_guard(signed int &r); private: - /** - * Decodes `curr_instr` and sets status to BLOCKED if a data hazard occurs. - */ - void advance_helper(); + void advance_helper() override; /** * Helper for `get_instr_fields` * Attempts to parse and dereference instruction arguments. Uses read and |