summaryrefslogtreecommitdiff
path: root/eater_cpu/eater_computer.sv
diff options
context:
space:
mode:
Diffstat (limited to 'eater_cpu/eater_computer.sv')
-rw-r--r--eater_cpu/eater_computer.sv3
1 files changed, 3 insertions, 0 deletions
diff --git a/eater_cpu/eater_computer.sv b/eater_cpu/eater_computer.sv
index 18b6833..6569831 100644
--- a/eater_cpu/eater_computer.sv
+++ b/eater_cpu/eater_computer.sv
@@ -9,6 +9,8 @@ module eater_computer(
input wire clk_in,
// Whether to automatically run (vs manual control)
input wire auto_run_in,
+
+ output wire halt,
// current content of the bus
output wire [7:0] debug_bus
);
@@ -47,6 +49,7 @@ wire CpuControlFlags automatic_flags;
wire CpuControlFlags flags;
assign flags = auto_run_in ? automatic_flags : manual_flags;
+assign halt = flags.halt;
/* verilator public_off */