diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-11-12 21:47:54 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-11-13 05:54:44 -0600 |
| commit | 6cb000adf57d7af2ec4aac8fd93d12f09cc63556 (patch) | |
| tree | 39610a5bd40d8fbb5b0ffd54252113f859dc3c71 /rtl/core/control/control.sv | |
| parent | 6281f45ac01e113f2b59fe6f49baad0cc8ab16fc (diff) | |
Implement CPU halt
Diffstat (limited to 'rtl/core/control/control.sv')
| -rw-r--r-- | rtl/core/control/control.sv | 4 |
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, |
