From 61fbe8cecd5c7f2545d27052c6da09afe0e90e49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A0rius=20Mont=C3=B3n?= Date: Thu, 6 Oct 2022 17:22:47 +0200 Subject: [PATCH] Remove unused headers --- src/BASE_ISA.cpp | 10 ---------- src/Timer.cpp | 6 ++---- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/BASE_ISA.cpp b/src/BASE_ISA.cpp index e5d4d95..b9cef5b 100644 --- a/src/BASE_ISA.cpp +++ b/src/BASE_ISA.cpp @@ -7,16 +7,6 @@ // SPDX-License-Identifier: GPL-3.0-or-later #include "BASE_ISA.h" -#include "tlm.h" -#include "tlm_utils/simple_initiator_socket.h" - -#include "memory.h" -#include "MemoryInterface.h" -#include "Instruction.h" -#include "C_extension.h" -#include "M_extension.h" -#include "A_extension.h" -#include "Registers.h" namespace riscv_tlm { diff --git a/src/Timer.cpp b/src/Timer.cpp index 7163915..d8bad5d 100644 --- a/src/Timer.cpp +++ b/src/Timer.cpp @@ -6,11 +6,10 @@ */ // SPDX-License-Identifier: GPL-3.0-or-later -#include #include "Timer.h" -namespace riscv_tlm { -namespace peripherals { +namespace riscv_tlm::peripherals { + SC_HAS_PROCESS(Timer); Timer::Timer(sc_core::sc_module_name const &name) : @@ -102,5 +101,4 @@ namespace peripherals { trans.set_response_status(tlm::TLM_OK_RESPONSE); } - } } \ No newline at end of file