summaryrefslogtreecommitdiff
path: root/src/sim/dum.cc
diff options
context:
space:
mode:
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; }