summaryrefslogtreecommitdiff
path: root/src/sim/dum.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-22 20:49:26 -0400
committerbd <bdunahu@operationnull.com>2025-04-22 20:49:26 -0400
commit95d09e12792cf5ececd32b8dc84f2cd090c496ef (patch)
tree8660a5fba2e60df5d34712383d727ad46809307d /src/sim/dum.cc
parent1bbc5b157e16dae032b5e44a7dcf009766eb9ca5 (diff)
Remove the accessor object
Diffstat (limited to 'src/sim/dum.cc')
-rw-r--r--src/sim/dum.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/sim/dum.cc b/src/sim/dum.cc
index 744c110..fd3b7a6 100644
--- a/src/sim/dum.cc
+++ b/src/sim/dum.cc
@@ -16,13 +16,10 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#include "dum.h"
-#include "accessor.h"
#include "instrDTO.h"
#include "response.h"
#include "stage.h"
-DUM::DUM(Stage *stage) : Stage(stage) { this->id = IDLE; }
-
InstrDTO *DUM::advance(Response p)
{
InstrDTO *r = nullptr;
@@ -38,7 +35,4 @@ InstrDTO *DUM::advance(Response p)
void DUM::advance_helper() {}
-void DUM::set_curr_instr(InstrDTO *d)
-{
- this->curr_instr = d;
-}
+void DUM::set_curr_instr(InstrDTO *d) { this->curr_instr = d; }