From eaa87e9fcd90c00d6261cbdb854efb7a09467f1d Mon Sep 17 00:00:00 2001 From: bd Date: Thu, 27 Mar 2025 20:30:18 -0400 Subject: Instr, InstrDTO gets/sets, other structures required for decode --- src/sim/wb.cc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/sim/wb.cc') diff --git a/src/sim/wb.cc b/src/sim/wb.cc index 9585fd3..218ed9a 100644 --- a/src/sim/wb.cc +++ b/src/sim/wb.cc @@ -1,12 +1,9 @@ #include "wb.h" +#include "accessor.h" #include "instrDTO.h" -#include "logger.h" #include "response.h" +#include "stage.h" -static Logger *global_log = Logger::getInstance(); +WB::WB(Stage *stage) : Stage(stage) { this->id = WRITE; } -Response WB::advance(InstrDTO &i) -{ - global_log->log(INFO, "hello from write back!"); - return OK; -} +Response WB::advance(InstrDTO &i) { return OK; } -- cgit v1.2.3