summaryrefslogtreecommitdiff
path: root/rtl/core/control/control.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-12 21:47:54 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-13 05:54:44 -0600
commit6cb000adf57d7af2ec4aac8fd93d12f09cc63556 (patch)
tree39610a5bd40d8fbb5b0ffd54252113f859dc3c71 /rtl/core/control/control.sv
parent6281f45ac01e113f2b59fe6f49baad0cc8ab16fc (diff)
Implement CPU halt
Diffstat (limited to 'rtl/core/control/control.sv')
-rw-r--r--rtl/core/control/control.sv4
1 files changed, 3 insertions, 1 deletions
diff --git a/rtl/core/control/control.sv b/rtl/core/control/control.sv
index 45e8e10..d204b96 100644
--- a/rtl/core/control/control.sv
+++ b/rtl/core/control/control.sv
@@ -4,6 +4,7 @@ module core_control
(
input logic clk,
rst_n,
+ halt,
input insn_decode dec,
input ptr insn_pc,
@@ -24,7 +25,8 @@ module core_control
input word insn,
`endif
- output logic stall,
+ output logic halted,
+ stall,
branch,
writeback,
update_flags,