summaryrefslogtreecommitdiff
path: root/src/arch/riscv/RiscvInterrupts.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/RiscvInterrupts.py')
-rw-r--r--src/arch/riscv/RiscvInterrupts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/riscv/RiscvInterrupts.py b/src/arch/riscv/RiscvInterrupts.py
index 57b29b4ca..7e63dedea 100644
--- a/src/arch/riscv/RiscvInterrupts.py
+++ b/src/arch/riscv/RiscvInterrupts.py
@@ -31,9 +31,9 @@
# Sven Karlsson
# Alec Roelke
-from m5.SimObject import SimObject
+from m5.objects.BaseInterrupts import BaseInterrupts
-class RiscvInterrupts(SimObject):
+class RiscvInterrupts(BaseInterrupts):
type = 'RiscvInterrupts'
cxx_class = 'RiscvISA::Interrupts'
cxx_header = 'arch/riscv/interrupts.hh'