summaryrefslogtreecommitdiff
path: root/rtl/core/core.sv
diff options
context:
space:
mode:
Diffstat (limited to 'rtl/core/core.sv')
-rw-r--r--rtl/core/core.sv4
1 files changed, 4 insertions, 0 deletions
diff --git a/rtl/core/core.sv b/rtl/core/core.sv
index ce51a71..cf63b2d 100644
--- a/rtl/core/core.sv
+++ b/rtl/core/core.sv
@@ -9,6 +9,7 @@ module core
input wire step,
input wire cpu_halt,
+ output wire cpu_alive,
output wire cpu_halted,
output wire breakpoint,
@@ -27,6 +28,8 @@ module core
generate
if (ID < `CONFIG_CPUS) begin: enable
+ assign cpu_alive = 1;
+
ptr addr;
word data_wr;
logic start, write;
@@ -57,6 +60,7 @@ module core
.*
);
end else begin
+ assign cpu_alive = 0;
assign cpu_halted = 1;
assign breakpoint = 0;