From 8c0b7ea39d57cb6c80cf66207291837d95c71940 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Mon, 5 Apr 2021 13:32:41 -0700 Subject: Change the null byte from no-op to halt. --- hdl/top.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hdl') diff --git a/hdl/top.sv b/hdl/top.sv index 54cfdc5..a1cdbf7 100644 --- a/hdl/top.sv +++ b/hdl/top.sv @@ -133,7 +133,7 @@ always_ff @(posedge clk) begin if (operand[1]) ++acc; if (operand[2]) --acc; if (operand[6]) state = MEMORY; - if (operand[7]) state = HALT; + if (operand == 0) state = HALT; end 'h1: acc = sign_extended_operand; 'h2, 'h3: begin -- cgit v1.2.3