summaryrefslogtreecommitdiff
path: root/rtl/core/control/control.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-12-13 21:57:04 -0600
committerAlejandro Soto <alejandro@34project.org>2022-12-16 16:29:10 -0600
commitf3c153f342ed969b1abfbe79d1017b651f21a649 (patch)
tree20fb2e5d867d4412a46a0d928461119722c0be9a /rtl/core/control/control.sv
parent0c63c46e31642d0102542a745af6b445a9d22b3b (diff)
Implement IRQ exceptions
Diffstat (limited to 'rtl/core/control/control.sv')
-rw-r--r--rtl/core/control/control.sv3
1 files changed, 3 insertions, 0 deletions
diff --git a/rtl/core/control/control.sv b/rtl/core/control/control.sv
index 840cf19..5f290d2 100644
--- a/rtl/core/control/control.sv
+++ b/rtl/core/control/control.sv
@@ -4,6 +4,8 @@ module core_control
(
input logic clk,
rst_n,
+
+ input logic irq,
halt,
step,
@@ -11,6 +13,7 @@ module core_control
input ptr insn_pc,
input logic issue_abort,
input psr_mode mode,
+ input psr_intmask intmask,
input psr_flags flags,
alu_flags,
input word cpsr_rd,